File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -232,11 +232,11 @@ UR_APIEXPORT ur_result_t UR_APICALL urMemBufferCreate(
232
232
clCreateBufferWithPropertiesINTEL_fn FuncPtr = nullptr ;
233
233
cl_context CLContext = cl_adapter::cast<cl_context>(hContext);
234
234
// First we need to look up the function pointer
235
- UR_RETURN_ON_FAILURE (
235
+ RetErr =
236
236
cl_ext::getExtFuncFromContext<clCreateBufferWithPropertiesINTEL_fn>(
237
237
CLContext,
238
238
cl_ext::ExtFuncPtrCache->clCreateBufferWithPropertiesINTELCache ,
239
- cl_ext::CreateBufferWithPropertiesName, &FuncPtr)) ;
239
+ cl_ext::CreateBufferWithPropertiesName, &FuncPtr);
240
240
if (FuncPtr) {
241
241
std::vector<cl_mem_properties_intel> PropertiesIntel;
242
242
auto Prop = static_cast <ur_base_properties_t *>(pProperties->pNext );
You can’t perform that action at this time.
0 commit comments