[CUDA, test-suite] Prevent constant folding of the test inputs.

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.

Differential Revision: https://reviews.llvm.org/D85349
1 file changed