Skip to content

Commit 7982dd8

Browse files
committed
Merge remote-tracking branch 'upstream/main' into sensor_touch
2 parents 67f3291 + d78c8b2 commit 7982dd8

25 files changed

+2051
-617
lines changed

conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ def pytest_addoption(parser):
2424
default=False,
2525
help="run tests with cuda error checking",
2626
)
27+
parser.addoption("--lineinfo", action="store_true", default=False, help="add lineinfo to warp kernel")
2728

2829

2930
def pytest_configure(config):
3031
if config.getoption("--cpu"):
3132
wp.set_device("cpu")
3233
if config.getoption("--verify_cuda"):
3334
wp.config.verify_cuda = True
35+
if config.getoption("--lineinfo"):
36+
wp.config.lineinfo = True

contrib/kernel_analyzer/kernel_analyzer/ast_analyzer_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ def test_all_issues(
136136
@kernel
137137
def test_no_issues(
138138
# Model:
139-
qpos0: wp.array(dtype=float),
140-
geom_pos: wp.array(dtype=wp.vec3),
139+
qpos0: wp.array2d(dtype=float),
140+
geom_pos: wp.array2d(dtype=wp.vec3),
141141
# Data in:
142142
qpos_in: wp.array2d(dtype=float),
143143
qvel_in: wp.array2d(dtype=float),

mujoco_warp/_src/broadphase_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_sap_broadphase(self):
8585
(6, 7),
8686
]
8787

88-
_, _, m, d = test_util.fixture(xml=_SAP_MODEL)
88+
_, _, m, d = test_util.fixture(xml=_SAP_MODEL, qpos0=True)
8989

9090
mjwarp.sap_broadphase(m, d)
9191

0 commit comments

Comments
 (0)