Commit a54796ad authored by Leonardo Solis's avatar Leonardo Solis
Browse files

fixed #4, added support for display OpenCL plat&dev

parent cb8e85dc
......@@ -112,8 +112,22 @@ endif
# Valid values: RELEASE, DEBUG
CONFIG=RELEASE
OCL_DEBUG_BASIC=-DPLATFORM_ATTRIBUTES_DISPLAY\
-DDEVICE_ATTRIBUTES_DISPLAY
OCL_DEBUG_ALL=$(OCL_DEBUG_BASIC) \
-DCONTEXT_INFO_DISPLAY \
-DCMD_QUEUE_INFO_DISPLAY \
-DCMD_QUEUE_PROFILING_ENABLE \
-DCMD_QUEUE_OUTORDER_ENABLE \
-DPROGRAM_INFO_DISPLAY \
-DPROGRAM_BUILD_INFO_DISPLAY \
-DKERNEL_INFO_DISPLAY \
-DKERNEL_WORK_GROUP_INFO_DISPLAY \
-DBUFFER_OBJECT_INFO_DISPLAY
ifeq ($(CONFIG),DEBUG)
OPT =-O0 -g3 -Wall
OPT =-O0 -g3 -Wall $(OCL_DEBUG_BASIC)
else ifeq ($(CONFIG),RELEASE)
OPT =-O3
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment