Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCL warnings #33

Open
stevehoover opened this issue Oct 25, 2019 · 0 comments
Open

OpenCL warnings #33

stevehoover opened this issue Oct 25, 2019 · 0 comments

Comments

@stevehoover
Copy link
Collaborator

As of SDK 2018.3, OpenCL reports the following warnings:

source ../out/hw_emu/xilinx_aws-vu9p-f1_4ddr-xpr-2pr_4.0/rtl_kernel_wiz.tcl -notrace
../../../framework/host/kernel.c: In member function ‘void Kernel::initialize_platform()’:
../../../framework/host/kernel.c:143:14: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated (declared at /usr/include/CL/cl.h:1443) [-Wdeprecated-declarations]
   commands = clCreateCommandQueue(context, device_id, 0, &err);
              ^
../../../framework/host/kernel.c:143:62: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated (declared at /usr/include/CL/cl.h:1443) [-Wdeprecated-declarations]
   commands = clCreateCommandQueue(context, device_id, 0, &err);
                                                              ^
../../../framework/host/kernel.c: In member function ‘void Kernel::start_kernel()’:
../../../framework/host/kernel.c:259:9: warning: ‘cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)’ is deprecated (declared at /usr/include/CL/cl.h:1457) [-Wdeprecated-declarations]
   err = clEnqueueTask(commands, kernel, 0, NULL, NULL);
         ^
../../../framework/host/kernel.c:259:54: warning: ‘cl_int clEnqueueTask(cl_command_queue, cl_kernel, cl_uint, _cl_event* const*, _cl_event**)’ is deprecated (declared at /usr/include/CL/cl.h:1457) [-Wdeprecated-declarations]
   err = clEnqueueTask(commands, kernel, 0, NULL, NULL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant