Skip to content

Commit f0e4490

Browse files
authored
Fixed format specifier in Diagnostics (CNugteren#626)
* Fixed format specifier * Fixed format specifier
1 parent e99ee93 commit f0e4490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/diagnostics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void OpenCLDiagnostics(int argc, char* argv[]) {
6060
for (auto i = size_t{0}; i < max_work_item_sizes.size(); ++i) {
6161
printf("* - Max work item size #%zu %zu\n", i, max_work_item_sizes[i]);
6262
}
63-
printf("* Local memory size %zuKB\n", device.LocalMemSize());
63+
printf("* Local memory size %lu KB\n", device.LocalMemSize());
6464
printf("* Extensions:\n%s\n", device.Capabilities().c_str());
6565

6666
// Simple OpenCL benchmarking

0 commit comments

Comments
 (0)