Closed copybara-service[bot] closed 1 week ago
Avoid compile error on MacOS.
xla/service/gpu/gpu_transfer_manager.cc:241:24: error: no matching function for call to 'min' /chunk_size=/std::min(chunk_size, size - chunk_index * chunk_size)));
This can be avoided by explicitly casting to size_t.
Avoid compile error on MacOS.
xla/service/gpu/gpu_transfer_manager.cc:241:24: error: no matching function for call to 'min' /chunk_size=/std::min(chunk_size, size - chunk_index * chunk_size)));
This can be avoided by explicitly casting to size_t.