Displaying 1 result from an estimated 1 matches for "delta_d".
Did you mean:
delta_t
2009 Oct 07
3
[LLVMdev] Instructions that cannot be duplicated
...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;
int xx = get_local_id(0);
clusterCount[xx] =...