$NetBSD: patch-ocl__interface.yaml,v 1.1 2021/06/10 05:55:42 nia Exp $

[PATCH] Updated to support latest Khronos headers.

Signed-off-by: Laurent Carlier <lordheavym@gmail.com>

--- ocl_interface.yaml.orig	2021-03-30 16:10:38.000000000 +0000
+++ ocl_interface.yaml
@@ -674,18 +674,18 @@
                         const cl_device_partition_property_ext * /* properties */,
                         cl_uint /*num_entries*/,
                         cl_device_id * /*out_devices*/,
-                        cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;
+                        cl_uint * /*num_devices*/ ) CL_API_SUFFIX__VERSION_1_1;
 90: |-
   CL_API_ENTRY cl_int CL_API_CALL
-  clRetainDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
+  clRetainDeviceEXT( cl_device_id /*device*/ ) CL_API_SUFFIX__VERSION_1_1;
 91: |-
   CL_API_ENTRY cl_int CL_API_CALL
-  clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;
+  clReleaseDeviceEXT( cl_device_id /*device*/ ) CL_API_SUFFIX__VERSION_1_1;
 92: |-
   CL_API_ENTRY cl_event CL_API_CALL
   clCreateEventFromGLsyncKHR(cl_context           /* context */,
                              cl_GLsync            /* cl_GLsync */,
-                             cl_int *             /* errcode_ret */) CL_EXT_SUFFIX__VERSION_1_1;
+                             cl_int *             /* errcode_ret */) CL_API_SUFFIX__VERSION_1_1;
 93: |-
   CL_API_ENTRY cl_int CL_API_CALL
   clCreateSubDevices(cl_device_id                         /* in_device */,
@@ -1016,7 +1016,7 @@
                              const void * /*input_value*/,
                              size_t /*param_value_size*/,
                              void* /*param_value*/,
-                             size_t* /*param_value_size_ret*/ ) CL_EXT_SUFFIX__VERSION_2_0;
+                             size_t* /*param_value_size_ret*/ ) CL_API_SUFFIX__VERSION_2_0;
 137: |-
   CL_API_ENTRY cl_kernel CL_API_CALL
   clCloneKernel(cl_kernel     /* source_kernel */,
