mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
This PR adds unused parameter name comments in C++ declarations to improve code readability. Pull Request resolved: https://github.com/pytorch/pytorch/pull/164912 Approved by: https://github.com/Skylion007
16 lines
428 B
C++
16 lines
428 B
C++
#pragma once
|
|
// this file is to avoid circular dependency between CUDAFunctions.h and
|
|
// CUDAExceptions.h
|
|
|
|
#include <c10/cuda/CUDAMacros.h>
|
|
#include <cuda_runtime.h>
|
|
|
|
#include <mutex>
|
|
#include <string>
|
|
|
|
namespace c10::cuda {
|
|
C10_CUDA_API std::string get_cuda_error_help(cudaError_t /*error*/) noexcept;
|
|
C10_CUDA_API const char* get_cuda_check_suffix() noexcept;
|
|
C10_CUDA_API std::mutex* getFreeMutex();
|
|
} // namespace c10::cuda
|