Displaying 1 result from an estimated 1 matches for "num_object".
Did you mean:
num_objects
2009 Oct 07
3
[LLVMdev] Instructions that cannot be duplicated
...barrier instruction(6.11.9).
However, in this simple CL code:
#pragma OPENCL EXTENSION cl_khr_local_int32_base_atomics: enable
#pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics: enable
__kernel void
KMeansMapReduceAtomic(const int num_attributes,
const int num_objects,
__global int* delta_d
)
{
__local int clusterCount[256];
__local int sTemp[1]; // amd opencl needed this to be
an array
const unsigned int point_id = get_local_id(0);
int index = 0;
int i, addr;
i...