[PATCH] D49582: [CUDA, test-suite] Added tests for integer SIMD functions.
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 19 17:30:07 PDT 2018
tra created this revision.
tra added reviewers: jlebar, bkramer.
Herald added subscribers: bixia, mgorny, sanjoy.
CUDA-9.2 made these function compiler builtins, so clang no longer has access to
their implementation and we had to provide our own. These tests verify that the
result of these function match the ones provided by the reference
implementation.
Effectively the tests with CUDA-9.1 or older tests the reference
implementation. THe SIMD functions are provided by CUDA SDK and are the ground
truth for the test. The tests make sure that the code provided by the tests
matches it. The tests with CUDA-9.2 use clang-provided SIMD functions and the
implementation provided by the test is the ground truth.
Repository:
rT test-suite
https://reviews.llvm.org/D49582
Files:
External/CUDA/CMakeLists.txt
External/CUDA/simd.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49582.156410.patch
Type: text/x-patch
Size: 15620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180720/356a8d7f/attachment-0001.bin>
More information about the llvm-commits
mailing list