-
Notifications
You must be signed in to change notification settings - Fork 32
All Numba-dppy tests and examples using the @njit decorator should be used with "with_context" #46
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
All Numba-dppy tests and examples using the @njit decorator should be used with "with_context" #46
Conversation
@vlad-perevezentsev The changes are correct, let's change all the programs that need this change. |
@vlad-perevezentsev Please, merge with main. It will fix CI. |
@vlad-perevezentsev Do you know what is causing the conflicts? Please let us know when the work is complete and we will start reviewing it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Will be merged after CI passes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, merge with main. Replace DPPLTestCase
with DPPYTestCase
. CI fails because of that.
numba_dppy/tests/test_vectorize.py
Outdated
@@ -5,21 +5,24 @@ | |||
import sys | |||
import numpy as np | |||
from numba import njit, vectorize | |||
import numba_dppy, numba_dppy as dppy | |||
import numba_dppy | |||
import numba_dppy as dppl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import numba_dppy as dppl | |
import numba_dppy as dppy |
Windows fails possibly because Level0 is also available on CI machine and it is used by default. |
@vlad-perevezentsev Please merge main to this PR and please mention the issues this PR is addressing. |
Applied comments from @diptorupd from #65 in this commit b34bb51 |
Closes #30
Changed one test for the example.