From 102702c10ac377381a5c626173e9e710b3ccd0e6 Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 28 Mar 2023 17:20:54 -0700 Subject: Update a1-02-slangpy.md --- docs/user-guide/a1-02-slangpy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/user-guide/a1-02-slangpy.md b/docs/user-guide/a1-02-slangpy.md index dd2199065..eac0493c9 100644 --- a/docs/user-guide/a1-02-slangpy.md +++ b/docs/user-guide/a1-02-slangpy.md @@ -10,7 +10,7 @@ to provide a simple way to define kernel functions that runs extremely fast in g automatic differentiation and PyTorch interop features, Slang provides a streamlined solution to author auto-differentiated kernels that runs at the speed of light with a strongly typed, per-thread programming model. -The advantage of a per-thread programming model in kernel programming is that developers no longer need to worry about maintaining masks for branches. When a kernel is written in Slang, you can use all the control flow statements, composite data types (structs, arrays etc.) and and function calls without any additional efforts. Code written with these language constructs can be automatically differentiated by the compiler without restrictions. Slang is a strongly typed language so you will never run into type errors at runtime, most code errors can be discovered as you type in your code in the editor thanks to the [compiler's coding assistance service}(https://marketplace.visualstudio.com/items?itemName=shader-slang.slang-language-extension). +The advantage of a per-thread programming model in kernel programming is that developers no longer need to worry about maintaining masks for branches. When a kernel is written in Slang, you can use all the control flow statements, composite data types (structs, arrays etc.) and and function calls without any additional efforts. Code written with these language constructs can be automatically differentiated by the compiler without restrictions. Slang is a strongly typed language so you will never run into type errors at runtime, most code errors can be discovered as you type in your code in the editor thanks to the [compiler's coding assistance service](https://marketplace.visualstudio.com/items?itemName=shader-slang.slang-language-extension). ## Getting Started with slangpy -- cgit v1.2.3