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.
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 4ca1060431 - Show all commits

View File

@ -67,7 +67,7 @@ DeviceScene::DeviceScene(Device *device)
memset((void *)&data, 0, sizeof(data));
}
void DeviceScene::device_free(bool force_free)
void DeviceScene::device_free_geometry(bool force_free)
{
bvh_nodes.free_if_need_realloc(force_free);
bvh_leaf_nodes.free_if_need_realloc(force_free);

View File

@ -104,7 +104,7 @@ class DeviceScene {
DeviceScene(Device *device);
void device_free(bool force_free);
void device_free_geometry(bool force_free);
void device_scene_clear_modified();
void device_update_host_pointers(Device *device,
DeviceScene *dscene,

View File

@ -948,7 +948,7 @@ void GeometryManager::device_update(Device *device,
void GeometryManager::device_free(Device *device, DeviceScene *dscene, bool force_free)
{
dscene->device_free(force_free);
dscene->device_free_geometry(force_free);
#ifdef WITH_OSL
OSLGlobals *og = (OSLGlobals *)device->get_cpu_osl_memory();