Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion thrust/detail/complex/c99math.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ __host__ __device__ inline float copysignf(float x, float y){



#ifndef __CUDACC__
#if !defined(__CUDACC__) && !defined(__NVCOMPILER_CUDA__)

// Simple approximation to log1p as Visual Studio is lacking one
inline double log1p(double x){
Expand Down
2 changes: 1 addition & 1 deletion thrust/detail/config/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#endif // THRUST_HOST_COMPILER

// figure out which device compiler we're using
#if defined(__CUDACC__)
#if defined(__CUDACC__) || defined(__NVCOMPILER_CUDA__)
#define THRUST_DEVICE_COMPILER THRUST_DEVICE_COMPILER_NVCC
#elif THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_MSVC
#define THRUST_DEVICE_COMPILER THRUST_DEVICE_COMPILER_MSVC
Expand Down
2 changes: 1 addition & 1 deletion thrust/detail/config/forceinline.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <thrust/detail/config.h>

#if defined(__CUDACC__)
#if defined(__CUDACC__) || defined(__NVCOMPILER_CUDA__)

#define __thrust_forceinline__ __forceinline__

Expand Down
2 changes: 1 addition & 1 deletion thrust/system/cuda/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include <thrust/detail/config.h>

#if defined(__CUDACC__)
#if defined(__CUDACC__) || defined(__NVCOMPILER_CUDA__)
# if !defined(__CUDA_ARCH__) || (__CUDA_ARCH__>= 350 && defined(__CUDACC_RDC__))
# define __THRUST_HAS_CUDART__ 1
# define THRUST_RUNTIME_FUNCTION __host__ __device__ __forceinline__
Expand Down