mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Summary: This is a first step towards creating context manager that errors out on synchronizing calls. Pull Request resolved: https://github.com/pytorch/pytorch/pull/61889 Reviewed By: albanD Differential Revision: D29805280 Pulled By: ngimel fbshipit-source-id: b66400fbe0941b7daa51e6b30abe27b9cccd4e8a
11 lines
254 B
C++
11 lines
254 B
C++
#pragma once
|
|
// this file is to avoid circular dependency between CUDAFunctions.h and
|
|
// CUDAExceptions.h
|
|
|
|
#include <c10/cuda/CUDAMacros.h>
|
|
|
|
namespace c10 {
|
|
namespace cuda {
|
|
C10_CUDA_API const char* get_cuda_check_suffix() noexcept;
|
|
}
|
|
} // namespace c10
|