Sai Praveen Bangaru

Results 18 comments of Sai Praveen Bangaru

Looks like torch doesn't initialize its data pointer if array is empty. The fix is to check the array size before touching the data pointer on the Slang wrapper side....

Hi, I've pushed plot.py and a few other dependencies. This is an older test mainly to check that the C_PyBind backend works without crashing. It doesn't do any explicit correctness...

Hi @yyuting, There's actually two C-based backends for `eval()`: `C_PyBind`, `C` `C_PyBind` generates C code for the expression, compiles it into a python module the first time you eval the...

There are two approches we could take, to allow for more general functions. 1. Invertible maps. We have added support for a `BiMap` operator that acts as a two-way let...

We should port these examples over: https://github.com/shader-slang/slang-torch/tree/main/examples/fwd-rasterizer-example https://github.com/shader-slang/slang-torch/tree/main/examples/soft-rasterizer-example https://github.com/shader-slang/slang-torch/tree/main/examples/hard-rasterizer-example They'll need some minor changes to both the Python & Slang side. For slang-torch, we used `[AutoPyBindCUDA]` & `TensorView`, which should...

@csyonghe: I agree, it feels like things like inferring `N` from `N + 6` is simple enough, but it does get quickly harder when we start seeing constraints like `N...

Another comment is that these errors occur even if there is an additional equality constraint for N that can be used for inference instead. E.g.: in ```csharp void bar< int...

# OUTDATED PROPOSAL (See https://github.com/shader-slang/spec/pull/11 for latest) Summary of Planned Changes: # Parser ## Function Operator Declarations ```csharp __function_operator operator_name : operator_class; ``` where `operator_class` is a subtype of `FunctionOperatorDecl`....

@tangent-vector: I incorporated this feedback into a new proposal. The new system just represents everything internally as interfaces & extensions, and operators are treated as interface requirements. This has become...