Joachim Meyer 75e941b05c [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
2021-07-02 19:03:15 +02:00

3 lines
66 B
C

// required for __clang_cuda_runtime_wrapper.h tests
#pragma once