:github_url: https://github.com/pytorch/pytorch .. _file_c10_cuda_CUDAGuard.h: File CUDAGuard.h ================ |exhale_lsh| :ref:`Parent directory ` (``c10/cuda``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. contents:: Page Contents :local: :backlinks: none Definition (``c10/cuda/CUDAGuard.h``) ------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_c10_cuda_CUDAGuard.h.rst Includes -------- - ``c10/core/DeviceType.h`` (:ref:`file_c10_core_DeviceType.h`) - ``c10/core/impl/InlineDeviceGuard.h`` - ``c10/core/impl/InlineStreamGuard.h`` - ``c10/cuda/CUDAMacros.h`` - ``c10/cuda/impl/CUDAGuardImpl.h`` Namespaces ---------- - :ref:`namespace_c10` - :ref:`namespace_c10__cuda` Classes ------- - :ref:`exhale_struct_structc10_1_1cuda_1_1_c_u_d_a_guard` - :ref:`exhale_struct_structc10_1_1cuda_1_1_c_u_d_a_multi_stream_guard` - :ref:`exhale_struct_structc10_1_1cuda_1_1_c_u_d_a_stream_guard` - :ref:`exhale_struct_structc10_1_1cuda_1_1_optional_c_u_d_a_guard` - :ref:`exhale_struct_structc10_1_1cuda_1_1_optional_c_u_d_a_stream_guard`