xref: /aosp_15_r20/external/pytorch/torch/csrc/cuda/device_set.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1 #pragma once
2 
3 #include <c10/cuda/CUDAMacros.h>
4 #include <bitset>
5 #include <cstddef>
6 
7 namespace torch {
8 
9 using device_set = std::bitset<C10_COMPILE_TIME_MAX_GPUS>;
10 
11 } // namespace torch
12