#ifndef CL_COMMON_DEFINES_H #define CL_COMMON_DEFINES_H // This file includes defines that are common to both kernel code and // the NVPTX back-end. // // Common defines for Image intrinsics // Channel order enum { … }; clk_channel_type; clk_sampler_type; // Memory synchronization #define CLK_LOCAL_MEM_FENCE … #define CLK_GLOBAL_MEM_FENCE … #endif // CL_COMMON_DEFINES_H