0 Replies Latest reply on Sep 11, 2017 7:20 PM by babitha

    Building the kernel with -cl-std=CL2.0 flag gives incorrect output.

    babitha

      Hi,

      Fairly new to OpenCL programming, I'm am using Ubuntu 14.04LTS with fglrx driver 15.10 on AMD Embedded R-Series RX-421BD Radeon R7 board. Have installed AMDAPPSDK-3.0. Running clinfo outputs GPU having Device OpenCL C version: OpenCL 2.0 support. I ran some of the OpenCL 2.0 binaries provided within the AMDAPPSDK folder. They run fine and pass the verification. Now I'm trying to build my kernels by passing -cl-std=CL2.0 flag. The output buffer holds incorrect results after the kernel has finished executing. (I'm not using any of the OpenCL 2.0 features in the kernel code yet).

      If i run the same application without the -cl-std=CL2.0 flag, I have the correct/expected output.

      Could somebody please help me figure out the issue?

       

      Thanks,

      Babitha