<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/prelude/slang-torch-prelude.h, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2024-11-26T02:57:48+00:00</updated>
<entry>
<title>Fix issue with slang-embed &amp; include ordering (#5680)</title>
<updated>2024-11-26T02:57:48+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2024-11-26T02:57:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=e6cf93e3e638cb981a9be392a2f48ea06acd4e3f'/>
<id>urn:sha1:e6cf93e3e638cb981a9be392a2f48ea06acd4e3f</id>
<content type='text'>
* Fix issue with slang-embed &amp; include ordering

* Update CMakeLists.txt</content>
</entry>
<entry>
<title>format</title>
<updated>2024-10-29T06:49:26+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2024-10-29T06:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21'/>
<id>urn:sha1:f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21</id>
<content type='text'>
* format

* Minor test fixes

* enable checking cpp format in ci</content>
</entry>
<entry>
<title>Add `float16` support to slang-torch (#4584)</title>
<updated>2024-07-10T20:19:06+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2024-07-10T20:19:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=667e50498a226103278d0997528cc76979b2c4ef'/>
<id>urn:sha1:667e50498a226103278d0997528cc76979b2c4ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Error out when constructing tensor views from tensors with 0 stride. (#4516)</title>
<updated>2024-07-01T18:50:04+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2024-07-01T18:50:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=6e550430cf24a6324ce22f821181f2cab904d543'/>
<id>urn:sha1:6e550430cf24a6324ce22f821181f2cab904d543</id>
<content type='text'>
This avoids a problem with broadcasted tensors. Our tensor-view platform is designed to allow unrestricted access to tensor memory, while broadcasted tensors were designed for 'read-only' use-cases. Trying to write into a broadcasted tensor needs re-allocation, which Slang is not designed to do.

For now, we enforce contiguity on tensors with any 0 strides.

In the future, we will introduce a ConstTensorView object to allow such tensors to be used as an input.

This patch also propagates name-hint information through structs &amp; arrays of tensors, to allow sensible names for the error messages (before this the error messages were temporary inst numbers, which is nearly impossible to debug)</content>
</entry>
<entry>
<title>Prevent pointer validation for zero-size arrays (#4021)</title>
<updated>2024-04-24T23:50:50+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2024-04-24T23:50:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=941961e5dad5afa51095450b8d57380c322900c0'/>
<id>urn:sha1:941961e5dad5afa51095450b8d57380c322900c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More `slangpy` features + polishing (#3233)</title>
<updated>2023-09-23T16:11:45+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2023-09-23T16:11:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ab04bd0dd7dd6a818bbac8c5fef9372c4f597352'/>
<id>urn:sha1:ab04bd0dd7dd6a818bbac8c5fef9372c4f597352</id>
<content type='text'>
* Update user-guide with new slangpy features

* More polishing of new slangpy docs

* Update a1-02-slangpy.md

* Only require contiguity for vector element types

* Added `loadOnce/storeOnce` and subscript operations

* Added docs, `DiffTensorView.dims()`  &amp;  `DiffTensorView.stride(uint)`

* Add constructors, remove storeOnce/loadOnce test

* Adjusted intrinsic definitions</content>
</entry>
<entry>
<title>Add check for contiguous tensors (#3199)</title>
<updated>2023-09-09T00:12:25+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2023-09-09T00:12:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=87bb0b503544f1b8c6ec818e25c695b31cda24b7'/>
<id>urn:sha1:87bb0b503544f1b8c6ec818e25c695b31cda24b7</id>
<content type='text'>
Otherwise, this can lead to undetected scenario where the strides are incorrect for non-scalar types (`float2`, `float3`, etc..)

Users must call `tensor = tensor.contiguous()` on the inputs to avoid this error.</content>
</entry>
<entry>
<title>Remove unsupported torch types + add bool type. (#3197)</title>
<updated>2023-09-08T21:03:14+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2023-09-08T21:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=26a7cf79526b86a3dff4084d42dde8f1a8c9ac1d'/>
<id>urn:sha1:26a7cf79526b86a3dff4084d42dde8f1a8c9ac1d</id>
<content type='text'>
Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Avoid implicit casts or device transfers. (#2992)</title>
<updated>2023-07-14T22:12:38+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2023-07-14T22:12:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=1b778811dbc1468ed8d1f6f82117017064de2c96'/>
<id>urn:sha1:1b778811dbc1468ed8d1f6f82117017064de2c96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix native string emit for CUDA/Cpp backend. (#2980)</title>
<updated>2023-07-12T21:07:10+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2023-07-12T21:07:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=4ed3aafa20b667329f2f9dea94d7c65dc2e80db4'/>
<id>urn:sha1:4ed3aafa20b667329f2f9dea94d7c65dc2e80db4</id>
<content type='text'>
Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
</feed>
