导航菜单
首页 >  文章

分类:文章

OpenCL

amd.comhttps://adaptivesupport.amd.com/s/question/0D52E00006iHl5aSAC/opencl-local-…OpenCL: __local variables inside non-kernel functions - AMDaux_function(var); } // auxiliary function // void aux_function(__local float *arg){ __local float* im; ... } I checked the standard, and this is what it mentions regarding to __local variables : On page 151: The __local or local address space name is used to describe variables that need to be allocated in local memory and are shared by all ...