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
4 lines
120 B
C
4 lines
120 B
C
// required for __clang_cuda_runtime_wrapper.h tests
|
|
#pragma once
|
|
void* memcpy(void* dst, const void* src, size_t num);
|