mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Add pragma cl_khr_3d_image_writes (#658)
This commit is contained in:
committed by
GitHub
parent
4c5a8fff6d
commit
d872d255f6
@@ -98,6 +98,7 @@ static const char *kernelpattern_image_write_1Darray_half =
|
||||
"}\n";
|
||||
|
||||
static const char *kernelpattern_image_write_3D =
|
||||
"#pragma OPENCL EXTENSION cl_khr_3d_image_writes : enable\n"
|
||||
"__kernel void sample_test( __global %s4 *source, write_only image3d_t dest )\n"
|
||||
"{\n"
|
||||
" int tidX = get_global_id(0);\n"
|
||||
@@ -111,6 +112,7 @@ static const char *kernelpattern_image_write_3D =
|
||||
"}\n";
|
||||
|
||||
static const char *kernelpattern_image_write_3D_half =
|
||||
"#pragma OPENCL EXTENSION cl_khr_3d_image_writes : enable\n"
|
||||
"__kernel void sample_test( __global half4 *source, write_only image3d_t dest )\n"
|
||||
"{\n"
|
||||
" int tidX = get_global_id(0);\n"
|
||||
|
||||
Reference in New Issue
Block a user