OpenCL: Store pointer to global memory in local memory?
问题 any solutions? Is that even possible? __global *float abc; // pointer to global memory stored in private memory I want abc to be stored in local memory instead of private memory. 回答1: I think this is clarified here List 5.2: __global int global_data[128]; // 128 integers allocated on global memory __local float *lf; // pointer placed on the private memory, which points to a single-precision float located on the local memory __global char * __local lgc[8]; // 8 pointers stored on the local