[Parallel_libs-commits] [PATCH] D24618: [SE] Fix config bug with CUDA tests

Jason Henline via Parallel_libs-commits parallel_libs-commits at lists.llvm.org
Thu Sep 15 12:39:37 PDT 2016


jhen created this revision.
jhen added reviewers: jlebar, jprice.
jhen added a subscriber: parallel_libs-commits.
Herald added subscribers: jlebar, mgorny, beanz.

It turns out CMake errors out if a processed directory contains source
files that are not used. This was causing an error with the CUDATest.cpp
file when configuring StreamExecutor with the CUDA platform disabled.

Moving CUDATest.cpp to its own directory fixes this problem.

https://reviews.llvm.org/D24618

Files:
  streamexecutor/unittests/CoreTests/CMakeLists.txt
  streamexecutor/unittests/CoreTests/CUDATest.cpp
  streamexecutor/unittests/CoreTests/cuda/CUDATest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24618.71535.patch
Type: text/x-patch
Size: 7657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/parallel_libs-commits/attachments/20160915/93bff1d6/attachment.bin>


More information about the Parallel_libs-commits mailing list