diff --git a/dpnp/dpnp_algo/dpnp_algo.pxd b/dpnp/dpnp_algo/dpnp_algo.pxd index c2553a0983b7..0eef98ab6980 100644 --- a/dpnp/dpnp_algo/dpnp_algo.pxd +++ b/dpnp/dpnp_algo/dpnp_algo.pxd @@ -370,8 +370,6 @@ cdef extern from "dpnp_iface_fptr.hpp": struct DPNPFuncData: DPNPFuncType return_type void * ptr - DPNPFuncType return_type_no_fp64 - void *ptr_no_fp64 DPNPFuncData get_dpnp_function_ptr(DPNPFuncName name, DPNPFuncType first_type, DPNPFuncType second_type) except + diff --git a/dpnp/dpnp_algo/dpnp_algo.pyx b/dpnp/dpnp_algo/dpnp_algo.pyx index 8b6d4be73e94..2468a8fa4c0c 100644 --- a/dpnp/dpnp_algo/dpnp_algo.pyx +++ b/dpnp/dpnp_algo/dpnp_algo.pyx @@ -497,14 +497,8 @@ cdef utils.dpnp_descriptor call_fptr_2in_1out_strides(DPNPFuncName fptr_name, result_sycl_device, result_usm_type, result_sycl_queue = utils.get_common_usm_allocation(x1_obj, x2_obj) # get FPTR function and return type - cdef fptr_2in_1out_strides_t func = NULL - cdef DPNPFuncType return_type = DPNP_FT_NONE - if result_sycl_device.has_aspect_fp64: - return_type = kernel_data.return_type - func = < fptr_2in_1out_strides_t > kernel_data.ptr - else: - return_type = kernel_data.return_type_no_fp64 - func = < fptr_2in_1out_strides_t > kernel_data.ptr_no_fp64 + cdef fptr_2in_1out_strides_t func = < fptr_2in_1out_strides_t > kernel_data.ptr + cdef DPNPFuncType return_type = kernel_data.return_type # check 'out' parameter data if out is not None: