optimized gpu

This commit is contained in:
gfuse
2021-05-11 10:38:13 +02:00
parent 2d0f81ebe0
commit d3dbd88133
9 changed files with 12972 additions and 23 deletions
+3
View File
@@ -1,6 +1,9 @@
// Copyright (C) 2021 Majid Geravand
// Copyright (C) 2021 Gfuse
// Enable OpenCL 32-bit integer atomic functions.
#pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics : enable
__kernel void fast_gray(
__read_only image2d_t image,
__global int2 * corners,