xref: /aosp_15_r20/external/pytorch/c10/cuda/CUDAMiscFunctions.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1 #pragma once
2 // this file is to avoid circular dependency between CUDAFunctions.h and
3 // CUDAExceptions.h
4 
5 #include <c10/cuda/CUDAMacros.h>
6 
7 #include <mutex>
8 
9 namespace c10::cuda {
10 C10_CUDA_API const char* get_cuda_check_suffix() noexcept;
11 C10_CUDA_API std::mutex* getFreeMutex();
12 } // namespace c10::cuda
13