Skip to content

Update dpnp=0.5.0 #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ https://intelpython.github.io/dpnp/

* numba >=0.51 (IntelPython/numba)
* dpCtl >=0.5.1
* dpNP 0.4.* (optional)
* dpNP 0.5.0 (optional)
* llvm-spirv (SPIRV generation from LLVM IR)
* llvmdev (LLVM IR generation)
* spirv-tools
Expand Down
4 changes: 2 additions & 2 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ requirements:
- cython
- numba
- dpctl >=0.5.1rc1
- dpnp 0.4.* # [linux]
- dpnp 0.5.0 # [linux]
- wheel
run:
- python
Expand All @@ -29,7 +29,7 @@ requirements:
- spirv-tools
- llvm-spirv
- llvmdev
- dpnp 0.4.* # [linux]
- dpnp 0.5.0 # [linux]

test:
requires:
Expand Down
6 changes: 3 additions & 3 deletions numba_dppy/dpnp_glue/dpnp_fptr_interface.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import ctypes


cdef extern from "backend_iface_fptr.hpp" namespace "DPNPFuncName": # need this namespace for Enum import
cdef extern from "dpnp_iface_fptr.hpp" namespace "DPNPFuncName": # need this namespace for Enum import
cdef enum DPNPFuncName "DPNPFuncName":
DPNP_FN_ABSOLUTE
DPNP_FN_ADD
Expand Down Expand Up @@ -106,15 +106,15 @@ cdef extern from "backend_iface_fptr.hpp" namespace "DPNPFuncName": # need this
DPNP_FN_VAR


cdef extern from "backend_iface_fptr.hpp" namespace "DPNPFuncType": # need this namespace for Enum import
cdef extern from "dpnp_iface_fptr.hpp" namespace "DPNPFuncType": # need this namespace for Enum import
cdef enum DPNPFuncType "DPNPFuncType":
DPNP_FT_NONE
DPNP_FT_INT
DPNP_FT_LONG
DPNP_FT_FLOAT
DPNP_FT_DOUBLE

cdef extern from "backend_iface_fptr.hpp":
cdef extern from "dpnp_iface_fptr.hpp":
struct DPNPFuncData:
DPNPFuncType return_type
void * ptr
Expand Down