1 // This file is part of Eigen, a lightweight C++ template library 2 // for linear algebra. 3 // 4 // Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com> 5 // Copyright (C) 2018 Deven Desai <deven.desai.amd@gmail.com> 6 // 7 // This Source Code Form is subject to the terms of the Mozilla 8 // Public License v. 2.0. If a copy of the MPL was not distributed 9 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 10 11 #if defined(EIGEN_CXX11_TENSOR_GPU_HIP_CUDA_DEFINES_H) 12 13 #ifndef EIGEN_PERMANENTLY_ENABLE_GPU_HIP_CUDA_DEFINES 14 15 #undef gpuStream_t 16 #undef gpuDeviceProp_t 17 #undef gpuError_t 18 #undef gpuSuccess 19 #undef gpuErrorNotReady 20 #undef gpuGetDeviceCount 21 #undef gpuGetErrorString 22 #undef gpuGetDeviceProperties 23 #undef gpuStreamDefault 24 #undef gpuGetDevice 25 #undef gpuSetDevice 26 #undef gpuMalloc 27 #undef gpuFree 28 #undef gpuMemsetAsync 29 #undef gpuMemcpyAsync 30 #undef gpuMemcpyDeviceToDevice 31 #undef gpuMemcpyDeviceToHost 32 #undef gpuMemcpyHostToDevice 33 #undef gpuStreamQuery 34 #undef gpuSharedMemConfig 35 #undef gpuDeviceSetSharedMemConfig 36 #undef gpuStreamSynchronize 37 #undef gpuDeviceSynchronize 38 #undef gpuMemcpy 39 40 #endif // EIGEN_PERMANENTLY_ENABLE_GPU_HIP_CUDA_DEFINES 41 42 #undef EIGEN_CXX11_TENSOR_GPU_HIP_CUDA_DEFINES_H 43 44 #endif // EIGEN_CXX11_TENSOR_GPU_HIP_CUDA_DEFINES_H 45