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
13 lines
592 B
C++
13 lines
592 B
C++
// required for __clang_cuda_runtime_wrapper.h tests
|
|
#pragma once
|
|
__device__ int __isinff(float);
|
|
__device__ int __isinf(double);
|
|
__device__ int __finitef(float);
|
|
__device__ int __isfinited(double);
|
|
__device__ int __isnanf(float);
|
|
__device__ int __isnan(double);
|
|
__device__ int __signbitf(float);
|
|
__device__ int __signbitd(double);
|
|
__device__ double max(double, double);
|
|
__device__ float max(float, float);
|