Spaces:
Running
Running
// We have not yet modified the AMD HIP build to generate this file so | |
// we add an extra option to specifically ignore it. | |
// See c10/macros/Export.h for a detailed explanation of what the function | |
// of these macros are. We need one set of macros for every separate library | |
// we build. | |
// This one is being used by libc10_cuda.so | |
/** | |
* The maximum number of GPUs that we recognizes. Increasing this beyond the | |
* initial limit of 16 broke Caffe2 testing, hence the ifdef guards. | |
* This value cannot be more than 128 because our DeviceIndex is a uint8_t. | |
o */ | |
// fbcode depends on this value being 16 | |