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(
232232 clCreateBufferWithPropertiesINTEL_fn FuncPtr = nullptr ;
233233 cl_context CLContext = cl_adapter::cast<cl_context>(hContext);
234234 // First we need to look up the function pointer
235- UR_RETURN_ON_FAILURE (
235+ RetErr =
236236 cl_ext::getExtFuncFromContext<clCreateBufferWithPropertiesINTEL_fn>(
237237 CLContext,
238238 cl_ext::ExtFuncPtrCache->clCreateBufferWithPropertiesINTELCache ,
239- cl_ext::CreateBufferWithPropertiesName, &FuncPtr)) ;
239+ cl_ext::CreateBufferWithPropertiesName, &FuncPtr);
240240 if (FuncPtr) {
241241 std::vector<cl_mem_properties_intel> PropertiesIntel;
242242 auto Prop = static_cast <ur_base_properties_t *>(pProperties->pNext );
You can’t perform that action at this time.
0 commit comments