AnsweredAssumed Answered

The smallest program ever to crash OpenCL compiler

Question asked by viscocoa on Feb 13, 2012
Latest reply on Feb 15, 2012 by 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);
}

Outcomes