Skip to content

Commit

Permalink
lib: Add defines for Nvidia specific OpenCL extensions. To be used later
Browse files Browse the repository at this point in the history
  • Loading branch information
romw committed Dec 19, 2015
1 parent b815365 commit b8934d3
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions lib/cl_boinc.h
Expand Up @@ -194,12 +194,25 @@ typedef cl_bitfield cl_command_queue_properties;
#define CL_DEVICE_OPENCL_C_VERSION 0x103D

// Nvidia Specific Extensions
//
//

// cl_nv_device_attribute_query
#define CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV 0x4000
#define CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV 0x4001
#define CL_DEVICE_REGISTERS_PER_BLOCK_NV 0x4002
#define CL_DEVICE_WARP_SIZE_NV 0x4003
#define CL_DEVICE_GPU_OVERLAP_NV 0x4004
#define CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV 0x4005
#define CL_DEVICE_INTEGRATED_MEMORY_NV 0x4006


// AMD Specific Extensions
#ifndef CL_DEVICE_BOARD_NAME_AMD
//
//

// cl_amd_device_attribute_query
#define CL_DEVICE_BOARD_NAME_AMD 0x4038
#endif


#ifdef __cplusplus
Expand Down

0 comments on commit b8934d3

Please sign in to comment.