Alternative Upload geometry data in parallel to multiple GPUs using the "Multi-Device" #107552

Open
William Leeson wants to merge 137 commits from leesonw/blender-cluster:upload_changed into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions
Showing only changes of commit df0fba0d7d - Show all commits

View File

@ -492,7 +492,7 @@ class MultiDevice : public Device {
peer_islands.begin(), peer_islands.end(), [&](const vector<SubDevice *> &island) {
for (const device_memory *buffer : buffers) {
VLOG_INFO << "Checking " << buffer->name << " on " << this;
if (buffer->modified && buffer->device_size > 0) {
if (buffer->modified && buffer->data_size > 0) {
device_ptr existing_key = buffer->device_pointer;
device_ptr key = (existing_key) ? existing_key : unique_key++;
size_t existing_size = buffer->device_size;