mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/13900 Add c10 cuda library. Right now, this is not used by anything, and only tests if the CUDA headers are available (and not, e.g., that linking works.) Extra changes: - cmake/public/cuda.cmake now is correctly include guarded, so you can include it multiple times without trouble. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Reviewed By: smessmer Differential Revision: D13025313 fbshipit-source-id: fda85b4c35783ffb48ddd6bbb98dbd9154119d86
7 lines
199 B
C
7 lines
199 B
C
#pragma once
|
|
|
|
// Automatically generated header file for the C10 CUDA library. Do not
|
|
// include this file directly. Instead, include c10/cuda/CUDAMacros.h
|
|
|
|
#cmakedefine C10_CUDA_BUILD_SHARED_LIBS
|