-
Notifications
You must be signed in to change notification settings - Fork 53
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
Support code emission of nvptx on Apple #660
base: master
Are you sure you want to change the base?
Conversation
Your PR requires formatting changes to meet the project's style guidelines. Click here to view the suggested changes.diff --git a/test/gcn.jl b/test/gcn.jl
index c16bc5d..7a31089 100644
--- a/test/gcn.jl
+++ b/test/gcn.jl
@@ -14,7 +14,7 @@ end
end
-############################################################################################
+ ############################################################################################
@testset "assembly" begin
@testset "skip scalar trap" begin |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #660 +/- ##
==========================================
+ Coverage 71.76% 73.39% +1.62%
==========================================
Files 24 24
Lines 3326 3330 +4
==========================================
+ Hits 2387 2444 +57
+ Misses 939 886 -53 ☔ View full report in Codecov by Sentry. |
Just disable those tests? I don't see why we should include obviously broken code to test a non-realistic code path. |
The right answer is that the LLVM you are using needs to be built with nvptx as a target. |
So this is more than just a test, we actually want it to use this end to end. In particular through polygeists GPU to CPU pipeline this lets us run cuda code on macOS … if we can ask cuda.jl to get us the llvm IR for it (where this is a prerequisite) |
@vchuravy this now fails in GCN? |
When cross compiling a cuda kernel (for eventual CPU execution) on Apple, GPUCompiler presently errs: