Revision e038765d17109d6f1e4226e88809a123aa3a4a07 authored by Steven Johnson on 18 April 2022, 18:20:51 UTC, committed by Steven Johnson on 18 April 2022, 18:20:51 UTC
Technically, we should check the return code of sprintf() for failure conditions. This is a minimal fix designed to quietly ensure that encoding errors aren't overlooked.

(Since our "C" output actually requires C++11 at this point, I was tempted to replace it with `ostringstream`, but decided to avoid bringing that in...)
1 parent 60a909f
History
File Mode Size
figures
images
.clang-format -rw-r--r-- 50 bytes
.gitignore -rw-r--r-- 75 bytes
CMakeLists.txt -rw-r--r-- 9.5 KB
clock.h -rw-r--r-- 494 bytes
lesson_01_basics.cpp -rw-r--r-- 4.4 KB
lesson_02_input_image.cpp -rw-r--r-- 4.0 KB
lesson_03_debugging_1.cpp -rw-r--r-- 2.6 KB
lesson_04_debugging_2.cpp -rw-r--r-- 6.4 KB
lesson_05_scheduling_1.cpp -rw-r--r-- 23.1 KB
lesson_06_realizing_over_shifted_domains.cpp -rw-r--r-- 3.8 KB
lesson_07_multi_stage_pipelines.cpp -rw-r--r-- 6.9 KB
lesson_08_scheduling_2.cpp -rw-r--r-- 29.0 KB
lesson_09_update_definitions.cpp -rw-r--r-- 34.7 KB
lesson_10_aot_compilation_generate.cpp -rw-r--r-- 3.3 KB
lesson_10_aot_compilation_run.cpp -rw-r--r-- 2.7 KB
lesson_11_cross_compilation.cpp -rw-r--r-- 6.1 KB
lesson_12_using_the_gpu.cpp -rw-r--r-- 11.2 KB
lesson_13_tuples.cpp -rw-r--r-- 11.1 KB
lesson_14_types.cpp -rw-r--r-- 8.9 KB
lesson_15_generators.cpp -rw-r--r-- 6.7 KB
lesson_15_generators_usage.sh -rwxr-xr-x 8.1 KB
lesson_16_rgb_generate.cpp -rw-r--r-- 9.6 KB
lesson_16_rgb_run.cpp -rw-r--r-- 5.2 KB
lesson_17_predicated_rdom.cpp -rw-r--r-- 8.1 KB
lesson_18_parallel_associative_reductions.cpp -rw-r--r-- 13.1 KB
lesson_19_wrapper_funcs.cpp -rw-r--r-- 14.3 KB
lesson_20_cloning_funcs.cpp -rw-r--r-- 5.6 KB
lesson_21_auto_scheduler_generate.cpp -rw-r--r-- 10.6 KB
lesson_21_auto_scheduler_run.cpp -rw-r--r-- 2.0 KB
todo.txt -rw-r--r-- 1.1 KB

back to top