mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
11 lines
152 B
C++
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>;
|
|
|
|
}
|