remove extra spaces for hip_common.h platform defines

Change-Id: Ie0e39256abba307429985371671cde01f5ea2cc9
This commit is contained in:
pensun
2017-02-27 12:55:16 -06:00
parent bddd6b73c0
commit df9cbb6067
+3 -6
View File
@@ -39,21 +39,18 @@ THE SOFTWARE.
// Auto enable __HIP_PLATFORM_NVCC__ if compiling with NVCC
#if defined(__NVCC__)
#define __HIP_PLATFORM_NVCC__
# ifdef __CUDACC__
# define __HIPCC__
# endif
#ifdef __CUDACC__
#define __HIPCC__
#endif
#if defined(__CUDA_ARCH__) && (__CUDA_ARCH__ != 0)
#define __HIP_DEVICE_COMPILE__ 1
#else
#define __HIP_DEVICE_COMPILE__ 0
#endif
#endif
#if __HIP_DEVICE_COMPILE__ == 0
// 32-bit Atomics
#define __HIP_ARCH_HAS_GLOBAL_INT32_ATOMICS__ (0)