TensorGpuHipCudaUndefines.h
Go to the documentation of this file.
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 gpuMemset2DAsync
30 #undef gpuMemcpyAsync
31 #undef gpuMemcpyDeviceToDevice
32 #undef gpuMemcpyDeviceToHost
33 #undef gpuMemcpyHostToDevice
34 #undef gpuStreamQuery
35 #undef gpuSharedMemConfig
36 #undef gpuDeviceSetSharedMemConfig
37 #undef gpuStreamSynchronize
38 #undef gpuDeviceSynchronize
39 #undef gpuMemcpy
40 
41 #endif // EIGEN_PERMANENTLY_ENABLE_GPU_HIP_CUDA_DEFINES
42 
43 #undef EIGEN_CXX11_TENSOR_GPU_HIP_CUDA_DEFINES_H
44 
45 #endif // EIGEN_CXX11_TENSOR_GPU_HIP_CUDA_DEFINES_H