Skip to content

Commit

Permalink
Enable macro MEM_DEBUG_MSG in debug mode
Browse files Browse the repository at this point in the history
This prints diagnostic information in acl_mem.cpp and acl_kernel.cpp.

Signed-off-by: Peter Colberg <peter.colberg@intel.com>
  • Loading branch information
pcolberg committed Apr 21, 2022
1 parent 19ea29d commit 02e5316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ target_compile_definitions(acl_objs PUBLIC
CL_USE_DEPRECATED_OPENCL_1_1_APIS=1
CL_USE_DEPRECATED_OPENCL_1_2_APIS=1
CL_TARGET_OPENCL_VERSION=300
$<$<CONFIG:Debug>:MEM_DEBUG_MSG>
)
target_include_directories(acl_objs PUBLIC include)
target_include_directories(acl_objs PRIVATE
Expand Down

0 comments on commit 02e5316

Please # to comment.