Summary
Two pre-existing test skips reference Slang compiler bugs without issue tracking.
1. Generic vector explicit type map crash
test_add_vectors_generic_explicit in test_torchintegration.py crashes when calling add_vectors_generic.map("float3", "float3"). The Slang compiler cannot currently infer generic vector types from tensor shapes, and the explicit type map workaround crashes.
2. Polynomial vectors derivative returns zero
The polynomial_vectors case in test_polynomials (also test_torchintegration.py) is skipped because the Slang compiler produces zero derivatives for vector polynomial operations.
Affected tests
In slangpy/tests/slangpy_tests/test_torchintegration.py:
test_add_vectors_generic_explicit — all device types, all extra_dims
test_polynomials[...-polynomial_vectors_...] — all parametrizations
Notes
These are upstream Slang compiler issues, not SlangPy bugs. This issue tracks the test-side references so they can be re-enabled when the compiler fixes land.
Summary
Two pre-existing test skips reference Slang compiler bugs without issue tracking.
1. Generic vector explicit type map crash
test_add_vectors_generic_explicitintest_torchintegration.pycrashes when callingadd_vectors_generic.map("float3", "float3"). The Slang compiler cannot currently infer generic vector types from tensor shapes, and the explicit type map workaround crashes.2. Polynomial vectors derivative returns zero
The
polynomial_vectorscase intest_polynomials(alsotest_torchintegration.py) is skipped because the Slang compiler produces zero derivatives for vector polynomial operations.Affected tests
In
slangpy/tests/slangpy_tests/test_torchintegration.py:test_add_vectors_generic_explicit— all device types, all extra_dimstest_polynomials[...-polynomial_vectors_...]— all parametrizationsNotes
These are upstream Slang compiler issues, not SlangPy bugs. This issue tracks the test-side references so they can be re-enabled when the compiler fixes land.