Skip to content

CUDA: Skip IPC tests on ARM - #7189

Merged
sklam merged 1 commit into
numba:masterfrom
gmarkall:issue-7178
Jul 28, 2021
Merged

sklam merged 1 commit into
numba:masterfrom
gmarkall:issue-7178

Conversation

@gmarkall

@gmarkall gmarkall commented Jul 6, 2021

Copy link
Copy Markdown
Member

These are unsupported on Tegra platforms (such as Jetson). There are some CUDA ARM systems that support IPC, but for now we will count these as not supported by Numba, and skip the tests regardless.

In the longer term (when we get to test Numba on CUDA ARM systems that support IPC) this should be re-visited, either by finding a more precise check for skipping the tests than just "Is the CPU architecture ARM?", or by moving the IPC implementation to use cuMemCreate() and obtaining shareable memory handles, which will be supported on Tegra.

Fixes #7178.

(cc @jeffhammond)

These are unsupported on Tegra platforms (such as Jetson). There are
some CUDA ARM systems that support IPC, but for now we will count these
as not supported by Numba, and skip the tests regardless.

In the longer term (when we get to test Numba on CUDA ARM systems that
support IPC) this should be re-visited, either by finding a more precise
check for skipping the tests than just "Is the CPU architecture ARM?",
or by moving the IPC implementation to use `cuMemCreate()` and obtaining
shareable memory handles, which will be supported on Tegra.

Fixes numba#7178.
@gmarkall

gmarkall commented Jul 6, 2021

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines successfully started running 1 pipeline(s).

@gmarkall gmarkall added this to the Numba 0.54 RC2 milestone Jul 6, 2021
@stuartarchibald stuartarchibald added the Effort - short Short size effort needed label Jul 7, 2021

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the patch, looks good on inspection.

@stuartarchibald stuartarchibald added 4 - Waiting on CI Review etc done, waiting for CI to finish and removed 3 - Ready for Review labels Jul 7, 2021
@stuartarchibald

Copy link
Copy Markdown
Contributor

NOTE: Need to find a way to test this manually, the build farm doesn't cover ARM+CUDA.

@sklam

sklam commented Jul 27, 2021

Copy link
Copy Markdown
Member

BFID numba_smoketest_cuda_yaml_84

@sklam sklam added Pending BuildFarm For PRs that have been reviewed but pending a push through our buildfarm BuildFarm Passed For PRs that have been through the buildfarm and passed and removed Pending BuildFarm For PRs that have been reviewed but pending a push through our buildfarm labels Jul 27, 2021
@sklam

sklam commented Jul 27, 2021

Copy link
Copy Markdown
Member

BF passed, but i think we still need a Jetson test(?)

@sklam

sklam commented Jul 28, 2021

Copy link
Copy Markdown
Member

Confirmed on a jetson nano

@sklam sklam added 5 - Ready to merge Review and testing done, is ready to merge and removed 4 - Waiting on CI Review etc done, waiting for CI to finish labels Jul 28, 2021
@sklam
sklam merged commit 5982e48 into numba:master Jul 28, 2021
sklam added a commit to sklam/numba that referenced this pull request Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to merge Review and testing done, is ready to merge BuildFarm Passed For PRs that have been through the buildfarm and passed CUDA CUDA related issue/PR Effort - short Short size effort needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CUDA: IPC tests run and fail when IPC is unsupported

3 participants