Skip to content

Commit 02e5316

Browse files
committed
Enable macro MEM_DEBUG_MSG in debug mode
This prints diagnostic information in acl_mem.cpp and acl_kernel.cpp. Signed-off-by: Peter Colberg <[email protected]>
1 parent 19ea29d commit 02e5316

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ target_compile_definitions(acl_objs PUBLIC
303303
CL_USE_DEPRECATED_OPENCL_1_1_APIS=1
304304
CL_USE_DEPRECATED_OPENCL_1_2_APIS=1
305305
CL_TARGET_OPENCL_VERSION=300
306+
$<$<CONFIG:Debug>:MEM_DEBUG_MSG>
306307
)
307308
target_include_directories(acl_objs PUBLIC include)
308309
target_include_directories(acl_objs PRIVATE

0 commit comments

Comments
 (0)