7 Replies Latest reply on Feb 15, 2012 12:41 PM by viscocoa

    The smallest program ever to crash OpenCL compiler

    viscocoa
      I have created a tiny kernel that crashes the compiler using either clBuildProgram() or APP KernelAnalyzer. I am working on Windows 7 64 bit with Radeon HD 5870 GPU and AMD-APP-SDK v2.6.
      I am a newbie to here, and do not know how to file a bug.
      Does anyone have an idea on what is wrong with the kernel? How can I work around?
      Thank you in advance!
      #pragma OPENCL EXTENSION cl_amd_printf : enable
      __kernel void
      experiment(     float3 vector)
      {
           printf("Vector is: (%.2f, %.2f, %.2f\n)", vector.x, vector.y, vector.z);
      }