Skip to content

Commit b74df53

Browse files
Fix hydroelastic SDF tests on multiple GPUs (#4034)
1 parent 61ed0b3 commit b74df53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

newton/tests/test_hydroelastic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def test_hydroelastic_attached_sdf_requires_padding_metadata(test, device):
331331
compute_uvs=False,
332332
compute_inertia=False,
333333
)
334-
mesh.build_sdf(max_resolution=32, margin=0.3)
334+
mesh.build_sdf(device=device, max_resolution=32, margin=0.3)
335335
mesh.sdf = newton.SDF.create_from_data(texture_data=mesh.sdf.texture_data)
336336

337337
builder = newton.ModelBuilder()
@@ -381,7 +381,7 @@ def test_hydroelastic_attached_sdf_uses_padding_metadata(test, device):
381381
compute_uvs=False,
382382
compute_inertia=False,
383383
)
384-
mesh.build_sdf(max_resolution=32, margin=0.3)
384+
mesh.build_sdf(device=device, max_resolution=32, margin=0.3)
385385
source_sdf = mesh.sdf
386386
texture_data = source_sdf.texture_data
387387

0 commit comments

Comments
 (0)