[all-commits] [llvm/llvm-project] 75e941: [NFC][OpenMP][CUDA] Add test for using `-x cuda -f...
fodinabor via All-commits
all-commits at lists.llvm.org
Fri Jul 2 10:00:08 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75e941b05c78e19c51e5c960c925f334b08109bb
https://github.com/llvm/llvm-project/commit/75e941b05c78e19c51e5c960c925f334b08109bb
Author: Joachim Meyer <joachim at joameyer.de>
Date: 2021-07-02 (Fri, 02 Jul 2021)
Changed paths:
A clang/test/Headers/Inputs/include/crt/device_double_functions.hpp
A clang/test/Headers/Inputs/include/crt/device_functions.hpp
A clang/test/Headers/Inputs/include/crt/device_runtime.h
A clang/test/Headers/Inputs/include/crt/host_runtime.h
A clang/test/Headers/Inputs/include/crt/math_functions.hpp
A clang/test/Headers/Inputs/include/crt/sm_70_rt.hpp
M clang/test/Headers/Inputs/include/cstdlib
A clang/test/Headers/Inputs/include/cuda.h
A clang/test/Headers/Inputs/include/cuda_runtime.h
A clang/test/Headers/Inputs/include/curand_mtgp32_kernel.h
A clang/test/Headers/Inputs/include/device_atomic_functions.h
A clang/test/Headers/Inputs/include/device_atomic_functions.hpp
A clang/test/Headers/Inputs/include/device_double_functions.h
A clang/test/Headers/Inputs/include/driver_types.h
A clang/test/Headers/Inputs/include/host_config.h
A clang/test/Headers/Inputs/include/host_defines.h
A clang/test/Headers/Inputs/include/math_functions_dbl_ptx3.hpp
M clang/test/Headers/Inputs/include/new
A clang/test/Headers/Inputs/include/sm_20_atomic_functions.hpp
A clang/test/Headers/Inputs/include/sm_20_intrinsics.hpp
A clang/test/Headers/Inputs/include/sm_32_atomic_functions.hpp
A clang/test/Headers/Inputs/include/sm_60_atomic_functions.hpp
A clang/test/Headers/Inputs/include/sm_61_intrinsics.hpp
A clang/test/Headers/Inputs/include/string.h
A clang/test/Headers/Inputs/include/texture_indirect_functions.h
A clang/test/Headers/cuda_with_openmp.cu
Log Message:
-----------
[NFC][OpenMP][CUDA] Add test for using `-x cuda -fopenmp`
This adds a very basic test in `cuda_with_openmp.cu` that just checks whether the CUDA & OpenMP integrated headers do compile, when a CUDA file is compiled with OpenMP (CPU) enabled.
Thus this basically adds the missing test for https://reviews.llvm.org/D90415.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D105322
More information about the All-commits
mailing list