Skip to content

Commit

Permalink
Issue about "variadic macros" (printf)
Browse files Browse the repository at this point in the history
  • Loading branch information
kif committed Oct 24, 2014
1 parent 000869a commit 38ad60d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions openCL/preprocess.cl
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@



//OpenCL extensions are silently defined by opencl compiler at compile-time:
#ifdef cl_amd_printf
#pragma OPENCL EXTENSION cl_amd_printf : enable
//#define printf(...)
#elif defined(cl_intel_printf)
#pragma OPENCL EXTENSION cl_intel_printf : enable
#else
#define printf(...)
#endif

#ifndef WORKGROUP_SIZE
#define WORKGROUP_SIZE 1024
#endif
Expand Down

0 comments on commit 38ad60d

Please sign in to comment.