CUDAMiscFunctions.h 331 B

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