Combining OpenMP and OpenCL -
my task compute sum on array.
what plan perform partial sun using opencl kernel returns smaller array of size corresponding number of work-items. , use openmp sum little array.
now, i'm wondering if can use openmp in host part of opencl code. if yes, can use opencl type (say cl_float4) openmp.
i thank in advance,
Éric.
cl_float4
basicly represents array of 4 float
values proper memory alignement gpus. however, can used in host code without problems.
Comments
Post a Comment