Closed ysh329 closed 6 years ago
Add these lines:
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#include <CL/cl.h>
ref: compiler errors - Opencl function found deprecated by Visual Studio - Stack Overflow https://stackoverflow.com/questions/28500496/opencl-function-found-deprecated-by-visual-studio
warning: ‘clCreateCommandQueue’ is deprecated [-Wdeprecated-declarations]
I have similar problem and i believe this can avoid profiling. Do you have any idea?
regards, Jimbo
warning: ‘clCreateCommandQueue’ is deprecated [-Wdeprecated-declarations]
I have similar problem and i believe this can avoid profiling. Do you have any idea?
regards, Jimbo
If deprecated, I think you can try to read docs matching your version and device platform.