Advertisement
Guest User

Untitled

a guest
May 21st, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.22 KB | None | 0 0
  1. 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
  2. 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
  3. In file included from /usr/include/stdint.h:25:0,
  4. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/include/stdint.h:9,
  5. from /usr/include/CL/cl_platform.h:261,
  6. from /usr/include/CL/cl.h:30,
  7. from ocl_memtest.cpp:2:
  8. /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  9. # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
  10. ^~~~~~~
  11. ocl_memtest.cpp: In function ‘int main(int, const char**)’:
  12. 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]
  13. queues[i] = clCreateCommandQueue(contexts[i], devices[i], CL_QUEUE_PROFILING_ENABLE,NULL);
  14. ^~~~~~~~~~~~~~~~~~~~
  15. In file included from ocl_memtest.cpp:2:0:
  16. /usr/include/CL/cl.h:1422:1: note: declared here
  17. clCreateCommandQueue(cl_context /* context */,
  18. ^~~~~~~~~~~~~~~~~~~~
  19. 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]
  20. queues[i] = clCreateCommandQueue(contexts[i], devices[i], CL_QUEUE_PROFILING_ENABLE,NULL);
  21. ^
  22. In file included from ocl_memtest.cpp:2:0:
  23. /usr/include/CL/cl.h:1422:1: note: declared here
  24. clCreateCommandQueue(cl_context /* context */,
  25. ^~~~~~~~~~~~~~~~~~~~
  26. In file included from /usr/include/stdint.h:25:0,
  27. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/include/stdint.h:9,
  28. from /usr/include/CL/cl_platform.h:261,
  29. from /usr/include/CL/cl.h:30,
  30. from ocl_tests.cpp:1:
  31. /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  32. # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
  33. ^~~~~~~
  34. ocl_tests.cpp: In function 'unsigned int error_checking(memtest_control_t*)':
  35. ocl_tests.cpp:46:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  36. PRINTF("ERROR: error_count=%d\n", host_err_count);
  37. ^~~~~~~~~~~
  38. ocl_tests.cpp:47:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  39. PRINTF("ERROR: the last %d error addresses are:\t", MIN(MAX_ERR_RECORD_COUNT, host_err_count));
  40. ^~~~~~~~~~~~~~~~~~
  41. ocl_tests.cpp:55:46: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  42. PRINTF("ERROR: %dth error, expected value=0x%lx, current value=0x%lx, diff=0x%lx\n",
  43. ^~~~~~~~~~~~~~~~~~
  44. ocl_tests.cpp:63:46: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  45. PRINTF("Error Found in Memtest, exiting\n");
  46. ^~~~~
  47. ocl_tests.cpp: In function 'void test0(memtest_control_t*)':
  48. ocl_tests.cpp:179:42: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  49. PRINTF("Test0: global walk test\n");
  50. ^
  51. ocl_tests.cpp:200:42: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  52. PRINTF("Test0: local walk test\n");
  53. ^
  54. ocl_tests.cpp: In function 'void test6(memtest_control_t*)':
  55. ocl_tests.cpp:468:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  56. PRINTF("Test6[move inversion 32 bits test]: pattern =0x%x, offset=%d\n", pattern, i);
  57. ^~~~~~~~~~~~~~~~~~
  58. ocl_tests.cpp:470:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  59. PRINTF("Test6[move inversion 32 bits test]: pattern =0x%x, offset=%d\n", ~pattern, i);
  60. ^~~~~~~~~~~~~~~~~~
  61. ocl_tests.cpp: In function 'void test7(memtest_control_t*)':
  62. ocl_tests.cpp:496:44: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  63. PRINTF("ERROR: malloc failed for thost buf in test7\n");
  64. ^~~~~~~~~~~~~~~~~
  65. ocl_tests.cpp: In function 'void test8(memtest_control_t*)':
  66. ocl_tests.cpp:622:42: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  67. PRINTF("test8[mod test]: p1=0x%lx, p2=0x%lx\n", p1,p2);
  68. ^~~~~~~~~~~~~~~~
  69. ocl_tests.cpp:632:45: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  70. PRINTF("%dth repeating test8 because there are %d errors found in last run, p1=%lx, p2=%lx\n", iteration, err, p1, p2);
  71. ^~~~~~~~~~~~~~~~~~
  72. ocl_tests.cpp: In function 'void* run_tests(void*)':
  73. ocl_tests.cpp:820:41: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  74. PRINTF("%s\n", cuda_memtests[i].desc);
  75. ^
  76. ocl_tests.cpp:824:41: error: unable to find string literal operator 'operator""fmt' with 'const char [14]', 'long unsigned int' arguments
  77. PRINTF("Test%d finished in %.1f seconds\n", i, TDIFF(t1, t0));
  78. ^~~~~~~~~~~~~~~~~~
  79. Makefile:82: recipe for target 'ocl_tests.o' failed
  80. make: *** [ocl_tests.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement