Skip to content

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

Merged
merged 12 commits into from
Dec 11, 2020

Conversation

vlad-perevezentsev
Copy link
Contributor

@vlad-perevezentsev vlad-perevezentsev commented Dec 3, 2020

Closes #30

Changed one test for the example.

@reazulhoque
Copy link
Contributor

@vlad-perevezentsev The changes are correct, let's change all the programs that need this change.

@PokhodenkoSA
Copy link
Contributor

@vlad-perevezentsev Please, merge with main. It will fix CI.

@reazulhoque
Copy link
Contributor

@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.

Copy link
Contributor

@PokhodenkoSA PokhodenkoSA left a 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.

Copy link
Contributor

@reazulhoque reazulhoque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@PokhodenkoSA PokhodenkoSA left a 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.

@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import numba_dppy as dppl
import numba_dppy as dppy

@PokhodenkoSA
Copy link
Contributor

Windows fails possibly because Level0 is also available on CI machine and it is used by default.

@reazulhoque
Copy link
Contributor

reazulhoque commented Dec 10, 2020

@vlad-perevezentsev Please merge main to this PR and please mention the issues this PR is addressing.

@diptorupd diptorupd mentioned this pull request Dec 11, 2020
6 tasks
@PokhodenkoSA
Copy link
Contributor

Applied comments from @diptorupd from #65 in this commit b34bb51

@PokhodenkoSA PokhodenkoSA merged commit d84fcb4 into IntelPython:main Dec 11, 2020
@vlad-perevezentsev vlad-perevezentsev deleted the changing_tests branch December 15, 2020 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix typing issues in dppy_lowerer All Numba-dppy tests and examples using the @njit decorator should be used with "with_context"
3 participants