Ignore device-side asm constraint errors while compiling CUDA code for host and vice versa.
Details
Details
- Reviewers
eliben echristo - Commits
- rG5196fe7c197a: Ignore device-side asm constraint errors while compiling CUDA code for host and…
rC232747: Ignore device-side asm constraint errors while compiling CUDA code for host and…
rL232747: Ignore device-side asm constraint errors while compiling CUDA code for host and…
Diff Detail
Diff Detail
Event Timeline
test/SemaCUDA/asm-constraints.cu | ||
---|---|---|
7 ↗ | (On Diff #22118) | Are there checks anywhere that asm diagnostics are validated within device? Perhaps a positive test would be helpful (make sure that an invalid constraint produces a diagnostic within a kernel) |
Comment Actions
Added a test to verify that we do validate asm constraints in CUDA device compilation mode.
Addressed echristo@'s offline style comment.