File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -102,11 +102,12 @@ CL_API_ENTRY cl_int CL_API_CALL clGetLayerInfo(
102102 return CL_SUCCESS;
103103}
104104
105- CL_API_ENTRY cl_int CL_API_CALL clInitLayer (
105+ CL_API_ENTRY cl_int CL_API_CALL clInitLayerWithProperties (
106106 cl_uint num_entries,
107107 const struct _cl_icd_dispatch * target_dispatch,
108108 cl_uint* num_entries_out,
109- const struct _cl_icd_dispatch ** layer_dispatch_ret)
109+ const struct _cl_icd_dispatch ** layer_dispatch_ret,
110+ const cl_layer_properties* properties)
110111{
111112 const size_t dispatchTableSize =
112113 sizeof (dispatch) / sizeof (dispatch.clGetPlatformIDs );
@@ -130,3 +131,17 @@ CL_API_ENTRY cl_int CL_API_CALL clInitLayer(
130131
131132 return CL_SUCCESS;
132133}
134+
135+ CL_API_ENTRY cl_int CL_API_CALL clInitLayer (
136+ cl_uint num_entries,
137+ const struct _cl_icd_dispatch * target_dispatch,
138+ cl_uint* num_entries_out,
139+ const struct _cl_icd_dispatch ** layer_dispatch_ret)
140+ {
141+ return clInitLayerWithProperties (
142+ num_entries,
143+ target_dispatch,
144+ num_entries_out,
145+ layer_dispatch_ret,
146+ nullptr );
147+ }
You can’t perform that action at this time.
0 commit comments