pytorch/torch/csrc/cuda/device_set.h
2018-06-04 11:10:44 -04:00

11 lines
152 B
C++

#pragma once
#include <bitset>
namespace torch {
static constexpr size_t MAX_CUDA_DEVICES = 64;
using device_set = std::bitset<MAX_CUDA_DEVICES>;
}