[PATCH] D85349: [CUDA, test-suite] Prevent constant folding of the test inputs.
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 12:44:03 PDT 2020
tra created this revision.
tra added a reviewer: jlebar.
Herald added subscribers: sanjoy.google, bixia, yaxunl.
tra requested review of this revision.
We want to codegen the code and verify that it actually executes correctly on the GPU.
Passing constand input args via a volatile temporary ensures that the function call is not collapsed.
Repository:
rT test-suite
https://reviews.llvm.org/D85349
Files:
External/CUDA/math_h.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85349.283353.patch
Type: text/x-patch
Size: 46223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200805/45d9f588/attachment.bin>
More information about the llvm-commits
mailing list