Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g++ -c -D_FORTIFY_SOURCE=2 ocl_memtest.cpp -I-I. -I/usr/local/cuda/include -I/usr/local/ati-stream-sdk-v2.1-lnx64//include
- g++ -c -D_FORTIFY_SOURCE=2 ocl_tests.cpp -I-I. -I/usr/local/cuda/include -I/usr/local/ati-stream-sdk-v2.1-lnx64//include
- In file included from /usr/include/stdint.h:25:0,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/include/stdint.h:9,
- from /usr/include/CL/cl_platform.h:261,
- from /usr/include/CL/cl.h:30,
- from ocl_memtest.cpp:2:
- /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
- # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
- ^~~~~~~
- ocl_memtest.cpp: In function ‘int main(int, const char**)’:
- ocl_memtest.cpp:366:17: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
- queues[i] = clCreateCommandQueue(contexts[i], devices[i], CL_QUEUE_PROFILING_ENABLE,NULL);
- ^~~~~~~~~~~~~~~~~~~~
- In file included from ocl_memtest.cpp:2:0:
- /usr/include/CL/cl.h:1422:1: note: declared here
- clCreateCommandQueue(cl_context /* context */,
- ^~~~~~~~~~~~~~~~~~~~
- ocl_memtest.cpp:366:92: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
- queues[i] = clCreateCommandQueue(contexts[i], devices[i], CL_QUEUE_PROFILING_ENABLE,NULL);
- ^
- In file included from ocl_memtest.cpp:2:0:
- /usr/include/CL/cl.h:1422:1: note: declared here
- clCreateCommandQueue(cl_context /* context */,
- ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/stdint.h:25:0,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/include/stdint.h:9,
- from /usr/include/CL/cl_platform.h:261,
- from /usr/include/CL/cl.h:30,
- from ocl_tests.cpp:1:
- /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
- # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
- ^~~~~~~
- ocl_tests.cpp: In function 'unsigned int error_checking(memtest_control_t*)':
- ocl_tests.cpp:46:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("ERROR: error_count=%d\n", host_err_count);
- ^~~~~~~~~~~
- ocl_tests.cpp:47:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("ERROR: the last %d error addresses are:\t", MIN(MAX_ERR_RECORD_COUNT, host_err_count));
- ^~~~~~~~~~~~~~~~~~
- ocl_tests.cpp:55:46: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("ERROR: %dth error, expected value=0x%lx, current value=0x%lx, diff=0x%lx\n",
- ^~~~~~~~~~~~~~~~~~
- ocl_tests.cpp:63:46: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("Error Found in Memtest, exiting\n");
- ^~~~~
- ocl_tests.cpp: In function 'void test0(memtest_control_t*)':
- ocl_tests.cpp:179:42: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("Test0: global walk test\n");
- ^
- ocl_tests.cpp:200:42: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("Test0: local walk test\n");
- ^
- ocl_tests.cpp: In function 'void test6(memtest_control_t*)':
- ocl_tests.cpp:468:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("Test6[move inversion 32 bits test]: pattern =0x%x, offset=%d\n", pattern, i);
- ^~~~~~~~~~~~~~~~~~
- ocl_tests.cpp:470:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("Test6[move inversion 32 bits test]: pattern =0x%x, offset=%d\n", ~pattern, i);
- ^~~~~~~~~~~~~~~~~~
- ocl_tests.cpp: In function 'void test7(memtest_control_t*)':
- ocl_tests.cpp:496:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("ERROR: malloc failed for thost buf in test7\n");
- ^~~~~~~~~~~~~~~~~
- ocl_tests.cpp: In function 'void test8(memtest_control_t*)':
- ocl_tests.cpp:622:42: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("test8[mod test]: p1=0x%lx, p2=0x%lx\n", p1,p2);
- ^~~~~~~~~~~~~~~~
- ocl_tests.cpp:632:45: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("%dth repeating test8 because there are %d errors found in last run, p1=%lx, p2=%lx\n", iteration, err, p1, p2);
- ^~~~~~~~~~~~~~~~~~
- ocl_tests.cpp: In function 'void* run_tests(void*)':
- ocl_tests.cpp:820:41: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("%s\n", cuda_memtests[i].desc);
- ^
- ocl_tests.cpp:824:41: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
- PRINTF("Test%d finished in %.1f seconds\n", i, TDIFF(t1, t0));
- ^~~~~~~~~~~~~~~~~~
- Makefile:82: recipe for target 'ocl_tests.o' failed
- make: *** [ocl_tests.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement