~ubuntu-branches/ubuntu/wily/khronos-opencl-headers/wily

« back to all changes in this revision

Viewing changes to .pc/AMD_extensions.patch/cl_ext.h

  • Committer: Package Import Robot
  • Author(s): Andreas Beckmann
  • Date: 2015-04-27 17:42:50 UTC
  • mfrom: (14.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20150427174250-fao1wjg2wfpoz0rg
Tags: 2.0~svn28973-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
 * cl_khr_initalize_memory extension *
135
135
 *************************************/
136
136
    
137
 
#define CL_CONTEXT_MEMORY_INITIALIZE_KHR            0x200E
 
137
#define CL_CONTEXT_MEMORY_INITIALIZE_KHR            0x2030
138
138
    
139
139
    
140
140
/**************************************
141
141
 * cl_khr_terminate_context extension *
142
142
 **************************************/
143
143
    
144
 
#define CL_DEVICE_TERMINATE_CAPABILITY_KHR          0x200F
145
 
#define CL_CONTEXT_TERMINATE_KHR                    0x2010
 
144
#define CL_DEVICE_TERMINATE_CAPABILITY_KHR          0x2031
 
145
#define CL_CONTEXT_TERMINATE_KHR                    0x2032
146
146
 
147
147
#define cl_khr_terminate_context 1
148
148
extern CL_API_ENTRY cl_int CL_API_CALL clTerminateContextKHR(cl_context /* context */) CL_EXT_SUFFIX__VERSION_1_2;
281
281
    /* Legal values will be defined in layered extensions. */
282
282
    cl_uint  allocation_type;
283
283
            
284
 
        /* Host cache policy for this external memory allocation. */
 
284
    /* Host cache policy for this external memory allocation. */
285
285
    cl_uint  host_cache_policy;
286
286
 
287
287
} cl_mem_ext_host_ptr;
308
308
 
309
309
#endif /* CL_VERSION_1_1 */
310
310
 
 
311
 
 
312
#ifdef CL_VERSION_2_0
 
313
/*********************************
 
314
* cl_khr_sub_groups extension
 
315
*********************************/
 
316
#define cl_khr_sub_groups 1
 
317
 
 
318
typedef cl_uint  cl_kernel_sub_group_info;
 
319
 
 
320
/* cl_khr_sub_group_info */
 
321
#define CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR    0x2033
 
322
#define CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE_KHR               0x2034
 
323
 
 
324
extern CL_API_ENTRY cl_int CL_API_CALL
 
325
clGetKernelSubGroupInfoKHR(cl_kernel /* in_kernel */,
 
326
                                                   cl_device_id /*in_device*/,
 
327
                                                   cl_kernel_sub_group_info /* param_name */,
 
328
                                                   size_t /*input_value_size*/,
 
329
                                                   const void * /*input_value*/,
 
330
                                                   size_t * /*param_value_size*/,
 
331
                                                   void* /*param_value*/,
 
332
                                                   size_t* /*param_value_size_ret*/ ) CL_EXT_SUFFIX__VERSION_2_0;
 
333
                                                   
 
334
typedef CL_API_ENTRY cl_int
 
335
     ( CL_API_CALL * clGetKernelSubGroupInfoKHR_fn)(cl_kernel /* in_kernel */,
 
336
                                                      cl_device_id /*in_device*/,
 
337
                                                      cl_kernel_sub_group_info /* param_name */,
 
338
                                                      size_t /*input_value_size*/,
 
339
                                                      const void * /*input_value*/,
 
340
                                                      size_t * /*param_value_size*/,
 
341
                                                      void* /*param_value*/,
 
342
                                                      size_t* /*param_value_size_ret*/ ) CL_EXT_SUFFIX__VERSION_2_0;
 
343
#endif /* CL_VERSION_2_0 */
 
344
 
311
345
#ifdef __cplusplus
312
346
}
313
347
#endif