Commit 916b8c58 authored by lvs's avatar lvs
Browse files

added #define to remove warn in compilation for cmdqueue

parent ec44d6c7
......@@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//#include <malloc.h>
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#include <stdio.h>
#include <stdlib.h>
#include <CL/opencl.h>
......
......@@ -22,8 +22,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
#include "CommandQueues.h"
int createCommandQueue(cl_context context,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment