Answer the question
In order to leave comments, you need to log in
How to resolve "clCreateCommandQueue is deprecated" error in Visual Studio 2017?
There is a program on OpenCL 2.0. When compiling, an error appears:
The most popular solution is to declare a preprocessor macro at the beginning:
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#include <CL/cl.h>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question