https://github.com/shader-slang/slang

sort by:
Revision Author Date Message Commit Date
5379361 Embed stdlib documentation to AST. (#2851) * Embed stdlib documentation to AST. * Extract documentation for attributes. --------- Co-authored-by: Yong He <yhe@nvidia.com> 28 April 2023, 01:32:20 UTC
60d8290 Small fixes to autodiff pass. (#2852) * Remove obsolete assert in `extractPriamlFunc`. * Fix `findUniqueStoredVal` to ignore diff uses. --------- Co-authored-by: Yong He <yhe@nvidia.com> 28 April 2023, 00:00:37 UTC
d1cc6a8 Prevent storing loads of global parameters. (#2850) Co-authored-by: Yong He <yhe@nvidia.com> 27 April 2023, 21:30:36 UTC
7be108c Intellisense: show info on decl kind and differentiability. (#2847) 27 April 2023, 05:40:06 UTC
3acbe81 Fix most of the disabled warnings on gcc/clang (#2839) 27 April 2023, 04:36:59 UTC
a3da31c Fix specialization dictionaries cleanup pass (#2844) 27 April 2023, 02:25:25 UTC
fc54ade Autodiff support for dynamically dispatched generic method. (#2846) * Autodiff support for dynamically dispatched generic method. * Fix. * Support dynamically dispatched generic type. --------- Co-authored-by: Yong He <yhe@nvidia.com> 27 April 2023, 00:37:04 UTC
61eb17b Add support for `kIROp_DefaultConstruct` (#2845) 27 April 2023, 00:04:36 UTC
e1940e5 For C-like targets, emit resource declarations before other globals (#2843) * For C-like targets, emit resource declarations before other globals * Remove unused tests 26 April 2023, 19:46:24 UTC
a1739e8 Fix type legalization missing child upon recreate. (#2842) * Fix type legliazation missing child upon recreate. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 26 April 2023, 18:39:45 UTC
1717c6c Support recomputing phi params in bwd prop func. (#2841) 26 April 2023, 01:32:45 UTC
5abee6a StringBuilder to lowerCamel (#2840) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP lowerCamel Dictionary. * WIP more lowerCamel fixes for Dictionary. * Add/Remove/Clear * GetValue/Contains * Fix tabs in dictionary. Count -> getCount * Fix fields with caps. * Key -> key Value -> value Use m_ for members where appropriate. Use lowerCamel in linked list. * Some small fixes/improvements to Dictionary. * Kick CI. * Small tidy on String. * Append -> append * ToString -> toString ProduceString -> produceString * Small fixes. * StringToXXX -> stringToXXX * Fix typo introduced by Append -> append. * Made intToAscii do reversal at the end. --------- Co-authored-by: Yong He <yonghe@outlook.com> 25 April 2023, 16:25:52 UTC
e5d5e3c Cleanup checkpointing policy impl. (#2837) * Cleanup checkpointing policy impl. * More cleanup. --------- Co-authored-by: Yong He <yhe@nvidia.com> 25 April 2023, 16:09:00 UTC
5885829 Bump glm and stb + small neatenings (#2831) * bump glm to fix c++20 warnings * bump stb_image to fix c++20 warnings * Use static_assert for SLANG_COMPILE_TIME_ASSERT * Remove uses of deprecated is_pod * Remove bit operations between different enums 25 April 2023, 15:21:06 UTC
7b7c095 Dictionary using lowerCamel (#2835) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP lowerCamel Dictionary. * WIP more lowerCamel fixes for Dictionary. * Add/Remove/Clear * GetValue/Contains * Fix tabs in dictionary. Count -> getCount * Fix fields with caps. * Key -> key Value -> value Use m_ for members where appropriate. Use lowerCamel in linked list. * Some small fixes/improvements to Dictionary. * Kick CI. 25 April 2023, 14:43:29 UTC
284cee1 Change AD checkpointing policy to recompute more. (#2836) Co-authored-by: Yong He <yhe@nvidia.com> 25 April 2023, 02:44:23 UTC
fbe37ea Fix issue with Obfuscated hash (#2834) * #include an absolute path didn't work - because paths were taken to always be relative. * Remove legacy container writing. Test using module without source map. * Change hashing for obfuscated source map such that takes into account different line endings. 24 April 2023, 16:43:48 UTC
cef7a47 Update a1-03-obfuscation.md 24 April 2023, 16:12:30 UTC
94d6968 Add support for `kIROp_MakeExistential` (#2832) 23 April 2023, 21:12:14 UTC
e8673a5 Fix corner case with multi-level break elimination (#2828) 22 April 2023, 21:25:33 UTC
385d3f4 Add support for `kIROp_FloatCast` (#2824) * Add support for `kIROp_FloatCast` * Update float-cast.slang * Added flag to d3d options 21 April 2023, 22:57:39 UTC
957a4d3 Refactor checkpointing policy and availability pass. (#2826) Co-authored-by: Yong He <yhe@nvidia.com> 21 April 2023, 21:28:57 UTC
69a327a Update a1-03-obfuscation.md 21 April 2023, 19:28:48 UTC
2f0915b Small obfuscation doc improvements (#2825) * #include an absolute path didn't work - because paths were taken to always be relative. * Small improvements to obfuscation doc. 21 April 2023, 18:26:34 UTC
3406f27 AD: Various fixes around dynamic dispatch (#2820) * Add a test for the new diff material system * Various fixes for AD - inout primal context params converted to out params, - added attributed types to list of stored types - used differentiated primal func type instead of type of differentiated func to avoid tangling with user-code differential types. --------- Co-authored-by: Lifan Wu <lifanw@nvidia.com> 21 April 2023, 14:41:24 UTC
cc94855 Correct vulkan extension name for inline uniforms (#2822) Fixes https://github.com/shader-slang/slang/issues/2821 21 April 2023, 11:49:16 UTC
744b995 Initial obfuscation documentation. (#2819) * #include an absolute path didn't work - because paths were taken to always be relative. * Initial discussion around obfuscation. * Improve obfuscation documentation. * Spelling fix --------- Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com> 21 April 2023, 06:38:55 UTC
deb1306 Add warning for returning without initializing out parameter (#2807) * Add warning for returning without initializing out parameter * Add unused prelude function to squash uninitialized out variable warnings 21 April 2023, 06:05:49 UTC
8177fff Update 04-interfaces-generics.md 21 April 2023, 00:31:39 UTC
088644c Improve SourceMap coverage/testing (#2818) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP around more value like behavior for SourceMap/StringPool. * Use default impls on SourceMap ctor/assignment. * Handle comparison of SourceMaps. Some small fixes. Expand unit tests. 20 April 2023, 17:42:20 UTC
4e67cde Update a1-01-matrix-layout.md 20 April 2023, 16:11:29 UTC
467fa3a Improvements outputting containers (#2815) * #include an absolute path didn't work - because paths were taken to always be relative. * Moved JSON source map writing logic to JSONSourceMapUtil. * Use ArtifactHandler to read/write SourceMaps. Use ObjectCastableAdapter to hold SourceMap Only serialize SourceMap <-> JSON on demand. * Make some types swappable. * BoxValue impl. * Added asBoxValue. * Remove const get funcs. * Fix typo in asBoxValue. * Fix another typo in asBoxValue. * Slightly simplify conversion to blob of SourceMap. * WIP Api improvements around sourcemap/artifact/line-directive. * Small fix for asBoxValue * WIP outputting container with multiple artifacts. * Added ArtifactContailerUtil::filter to produce an artifact hierarchy that only contains "signficant" and "blobable" artifacts. * Make emitting IR disjoint to using a container. Added -emit-ir option. Simplfiy output. * Fix typo in options parsing. * Add a test that ouputs with an emit source map. * Enable emitting our SlangIR module if no targets are specified. * Fix issues constructing container. * Extra checks getting obfuscated source map from a translation unit. * Fix typo. 20 April 2023, 15:55:26 UTC
4d24f55 Changes for vkd3d proton (#2813) * Add some caches to .gitignore * Remove appendWideChars Use String::toWString instead * s/Sleep/sleepCurrentThread * formatting * Expand set of shared libraries which have buggy dlclose Work around https://github.com/microsoft/DirectXShaderCompiler/issues/5119 and https://github.com/doitsujin/dxvk/issues/3330 libdxcompiler.so invokes UB on dlclose, the dxvk libs break GDB when closed * Add assert for specialization failure on DX11 As a band aid for https://github.com/shader-slang/slang/issues/2805 * More fine grained selection of directx features 20 April 2023, 12:06:37 UTC
588991f Make SourceMap a value type (#2812) * #include an absolute path didn't work - because paths were taken to always be relative. * Moved JSON source map writing logic to JSONSourceMapUtil. * Use ArtifactHandler to read/write SourceMaps. Use ObjectCastableAdapter to hold SourceMap Only serialize SourceMap <-> JSON on demand. * Make some types swappable. * BoxValue impl. * Added asBoxValue. * Remove const get funcs. * Fix typo in asBoxValue. * Fix another typo in asBoxValue. * Slightly simplify conversion to blob of SourceMap. * Small fix for asBoxValue 19 April 2023, 21:06:56 UTC
520a3c0 Fixed issue with function signatures in higher-order AD (#2814) Also added GetStringHash to non-differentiable insts Co-authored-by: Yong He <yonghe@outlook.com> 19 April 2023, 16:49:14 UTC
181fd1f On demand SourceMap JSON serialization (#2811) * #include an absolute path didn't work - because paths were taken to always be relative. * Moved JSON source map writing logic to JSONSourceMapUtil. * Use ArtifactHandler to read/write SourceMaps. Use ObjectCastableAdapter to hold SourceMap Only serialize SourceMap <-> JSON on demand. 18 April 2023, 16:36:06 UTC
90a9f43 Round trip source map (#2810) * #include an absolute path didn't work - because paths were taken to always be relative. * Make output of obfuscation locs work in a slang-module. * Tidy up detection for writing serialized source locs. * Support for .zip references. Handling of obfuscated source maps read from containers. A test to check obfuscated source map working on a module. * When using obfuscation, always obfuscate locs instead of stripping them. We keep a source map, so we can still produce reasonable errors. * Write out source locs if debug information is enabled. * Check output without sourcemap. * Small fixes. * Small improvements around hash calculation for source map name. * Disable test that fails on x86 gcc linux for now. * Fix issues around obfuscated source map using lines rather than columns. Fix some issues around encoding/decoding. * Make column calculation of source locs take into account utf8/tabs. Don't special case obfuscated source map for lookup for source loc. * Support following multiple source maps. * Small fixes/improvements around SourceMap lookup. 17 April 2023, 19:09:37 UTC
a3f622a WIP: "deprecated" attribute (#2698) * Implement deprecated attribute * Prevent duplicate deprecated diagnostic on non-overloaded functions * Use FileCheck for deprecation test * formatting 17 April 2023, 14:22:13 UTC
f6ff73f Add render api category to synthesized tests (#2808) 15 April 2023, 10:08:58 UTC
2226ae0 Bugfix: compiler will run forever to eliminate dead code (#2809) * Add a test case that the compile will run forever * Fix. * fix. --------- Co-authored-by: Lifan Wu <lifanw@nvidia.com> Co-authored-by: Yong He <yhe@nvidia.com> 14 April 2023, 18:36:19 UTC
168c583 Diagnose on using uninitialized `out` param. (#2803) * Diagnose on using uninitialized `out` param. * Hack to allow `out Vertices<T>`. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 14 April 2023, 15:12:14 UTC
4c9c8a7 Some small fixes with Windows/DX usage (#2797) * Correct case of windows.h includes * Use Slang::SharedLibrary to load directx dlls * s/max/std::max/ * Factor common OS code in calcHasApi * Add DXIL test for compute/simple * s/false/FALSE for calls to WinAPI functions * Factor common OS code in gfxGetAdapters * 2 missing headers d3d12sdklayers for ID3DDebug climits for UINT_MAX * Define out unused function on Linux * Only try to load Vulkan and CUDA on Windows or Linux * simplify D3DUtil::getDxgiModule * Remove WIN32_LEAN_AND_MEAN &co from source files Add a global define * Set WIN32_LEAN_AND_MEAN &friends in headers Restore previous state also * regenerate vs projects 14 April 2023, 09:08:18 UTC
5a629b3 Enable SLANG_ENABLE_DXIL_SUPPORT on non-Windows platforms (#2750) * Enable SLANG_ENABLE_DXIL_SUPPORT on non-Windows platforms This currently grabs the DXC headers from the system, rather than from external/dxc We should make this consistent by either pulling in the Windows adapter from DXC into external/dxc or by making the Windows builds use <dxc/dxcapi.h> * Update dxcapi and add DXC's WinAdapter * Use our copy of dxcapi.h for non-windows DXC usage * Only set -fms-extensions where necessary * Work around dxc dlclose bug * Neaten and comment dxc-compiler.cpp 14 April 2023, 03:59:17 UTC
3bbac5f Warn on float-to-double coercion for arguments. (#2802) * Warn on float-to-double coercion for arguments. * Fix test. * Rename. * Fixup. --------- Co-authored-by: Yong He <yhe@nvidia.com> 13 April 2023, 23:40:36 UTC
3b4a50d Fix scalar swizzle write. (#2801) Co-authored-by: Yong He <yhe@nvidia.com> 13 April 2023, 17:34:08 UTC
7f09147 Add inherit interface test. (#2800) Fixes #2573. Co-authored-by: Yong He <yhe@nvidia.com> 13 April 2023, 17:32:38 UTC
813892c Set sharedMem argument to 0 when launching cuda kernel. (#2799) Co-authored-by: Yong He <yhe@nvidia.com> 13 April 2023, 16:49:22 UTC
352a460 Fix stack overflow in lookupWitness lowering pass. (#2798) Co-authored-by: Yong He <yhe@nvidia.com> 13 April 2023, 16:04:18 UTC
59a6035 Set the executable bit on Executable artifact files (#2796) * Set the executable bit on Executable artifact files * Don't zero out other permission bits in makeExecutable 13 April 2023, 16:00:56 UTC
c7e5601 Matrix swizzle writes (#2713) * Add a bunch of builder emit wrappers for constant indices To avoid cluttering any calling code with int instruction construction * Matrix swizzle stores Closes https://github.com/shader-slang/slang/issues/2512 * Matrix swizzle store tests * Squash vs warnings * Select scalar for singular swizzles * Test singular swizzle materialization * Use IRIntegerValue over UInt for IR wrappers * Correct size of swizzle vector type * Remove variable shadowing 13 April 2023, 15:49:00 UTC
6fbd892 Correct http header construction (#2795) Previously we were always setting mimeType as "mimeType" 13 April 2023, 13:53:44 UTC
ca7bf79 Combine lookupWitness lowering with specialization. (#2794) 13 April 2023, 05:58:22 UTC
12ec9b8 Downgrade github runner to 20.04 (#2792) * Downgrade github runner to 20.04 Specify gcc10 also * Select gcc with update-alternatives * Ignore persistent cache test on linux. --------- Co-authored-by: Yong He <yonghe@outlook.com> 12 April 2023, 21:01:06 UTC
947a78d Update 02-conventional-features.md 12 April 2023, 20:30:03 UTC
d631ef9 Reading artifact hierarchy from file system interface (#2787) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP simplifying artifact interface. * Use ContainedKind. * Remove LazyCastableList. Use ContainedKind for find. * Remove ICastableList. * Remove need for ICastableList. * Remove IArtifactContainer. * Small fixes. * Small improvements around Artifact. * Make explicit find is for *representations* that can cast. Fix bug in handling casting in lookup. * Made associated items artifacts too. * Small fixes. * Small improvements around writing a container. * WIP artifact container format. * Make the root a special case. * Special case if the artifact doesn't have children/associated. * First pass handling of interpretting a file system into artifact hierarchy. * Explain the final structure. Make the file system available. * Remove addArtifact from IArtifact interface - means will be compatible with previous version. * Rename function to get compile result as a filesytem. 12 April 2023, 20:24:08 UTC
2ce42a2 Fix for crashes around FileCheck (#2793) * #include an absolute path didn't work - because paths were taken to always be relative. * Fix scoping issue for filecheck lib. * Small fix for file check issue. 12 April 2023, 17:22:53 UTC
eda9dd3 Artifact Container (#2783) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP simplifying artifact interface. * Use ContainedKind. * Remove LazyCastableList. Use ContainedKind for find. * Remove ICastableList. * Remove need for ICastableList. * Remove IArtifactContainer. * Small fixes. * Small improvements around Artifact. * Make explicit find is for *representations* that can cast. Fix bug in handling casting in lookup. * Made associated items artifacts too. * Small fixes. * Small improvements around writing a container. * WIP artifact container format. * Make the root a special case. * Special case if the artifact doesn't have children/associated. 12 April 2023, 16:06:41 UTC
4e9ca28 Update documentation for `TorchTensor.alloc`. 12 April 2023, 01:24:43 UTC
195af97 Fix missing `f` suffix for float lits in CUDA backend. (#2791) Co-authored-by: Yong He <yhe@nvidia.com> 12 April 2023, 01:14:49 UTC
7c3a40c Small fixes to TorchTensor. (#2790) Co-authored-by: Yong He <yhe@nvidia.com> 11 April 2023, 22:11:45 UTC
54f112f WIP Hack to work around IFileCheck release (#2789) * #include an absolute path didn't work - because paths were taken to always be relative. * Upgrade to slang-llvm v13.x-38 * Hack to not release IFileCheck on windows debug. * Update to slang-llvm build with cast. * Disable IFileCheck * Disable IFileCheck. 11 April 2023, 20:56:59 UTC
1370b3b Upgrade to slang-llvm v13.x 38 (#2788) * #include an absolute path didn't work - because paths were taken to always be relative. * Upgrade to slang-llvm v13.x-38 11 April 2023, 17:20:59 UTC
d6dd38f Implement FileCheck tests for several test commands (#2747) * Add missing expected.txt for test * Diagnostics -> StdWriters in render test * Allow specifying several test prefixes to run `slang-test -- tests/foo tests/bar` * Squash warnings in some tests * Enable gfx debug layer in gfx test util Makes this issue present consistently: https://github.com/shader-slang/slang/issues/2766 * Allow DebugDevice to return interfaces instantiated by the debugged object * Check that we actaully have a shader cache for shader cache tests * Implement FileCheck tests for several test commands - SIMPLE, SIMPLE_EX - SIMPLE_LINE - REFLECTION, CPU_REFLECTION - CROSS_COMPILE It does not currently support the render tests or the COMPARE_COMPUTE commands It is invoked by adding `(filecheck=MY_FILECHECK_PREFIX)` to the test command, for example TEST:CROSS_COMPILE(filecheck=SPIRV): -target spirv-assembly * Move LLVM FileCheck interface to slang-llvm * Neaten slang-test tests * Refine handling of expected output in slang-test * Add example FileCheck buffer test * Add cuda-kernel-export tests Which were waiting on FileCheck * Bump vs project files * Make createLLVMFileCheck_V1 return a void* rather than specifically an IFileCheck * Remove use of CharSlice from filecheck interface * Bump slang-llvm version --------- Co-authored-by: jsmall-nvidia <jsmall@nvidia.com> 11 April 2023, 15:28:58 UTC
20ea33f Artifact simplification (#2781) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP simplifying artifact interface. * Use ContainedKind. * Remove LazyCastableList. Use ContainedKind for find. * Remove ICastableList. * Remove need for ICastableList. * Remove IArtifactContainer. * Small fixes. * Small improvements around Artifact. * Make explicit find is for *representations* that can cast. Fix bug in handling casting in lookup. * Made associated items artifacts too. * Small fixes. * Small improvements around writing a container. 11 April 2023, 14:18:18 UTC
d934bbc Fix inlining. (#2786) Co-authored-by: Yong He <yhe@nvidia.com> 10 April 2023, 21:36:39 UTC
d82992e Cleaner impl of unary stdlib derivative functions. (#2785) * Cleaner impl of unary stdlib derivative functions. * fixup * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 10 April 2023, 20:43:18 UTC
ea15647 Diagnose on attempt to specialize with interface type. (#2780) * Diagnose on attempt to specialize with interface type. Fixes ##1445. * Enable fixed test. * Fix test. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 07 April 2023, 17:12:00 UTC
0468cd0 Add SLANG_IID_PPV_ARGS (#2784) * Add SLANG_IID_PPV_ARGS To mirror IID_PPV_ARGS from the COM Coding Practices: https://learn.microsoft.com/en-us/windows/win32/LearnWin32/com-coding-practices#the-iid_ppv_args-macro * Make getTypeGuid constexpr --------- Co-authored-by: Yong He <yonghe@outlook.com> 07 April 2023, 17:11:27 UTC
7bbe7b4 Fix crash on overloaded custom derivative function (#2782) * Fix issue with resolving overloaded custom forward derivative methods. * Add test 07 April 2023, 13:57:39 UTC
c9eb594 Warn on dangling comparison operator. (#2779) Fixes #1685 Co-authored-by: Yong He <yhe@nvidia.com> 05 April 2023, 20:37:22 UTC
dc45802 Fix linking issue in slangpy + no mask param for kernels. (#2778) * Fix linking issue in slangpy + no mask param for kernels. * add cuda header changes * fix * More correct change of active mask insertion. --------- Co-authored-by: Yong He <yhe@nvidia.com> 05 April 2023, 18:19:00 UTC
5d0fe48 Register `IDifferentiable` witnesses for the differential associated types of registered types. (#2777) * Create high-order-forward-diff-struct.slang * Add a small pass to register differentials for differentials of registered types * Remove type reg pass and apply logic in differentiable type loading instead * Update slang-ir-autodiff.cpp * Fix comments. --------- Co-authored-by: Yong He <yonghe@outlook.com> 05 April 2023, 18:08:04 UTC
492c6f2 Diagnose on using assignment as predicate expr. (#2774) Co-authored-by: Yong He <yhe@nvidia.com> 04 April 2023, 22:29:36 UTC
68c7d5c Preliminary support for realtime clock (#2772) * #include an absolute path didn't work - because paths were taken to always be relative. * Initial support for realtime clock. * Add realtime-clock render feature where seems appropriate. * Fixes to make NVAPI compile properly. Change realtime-clock.slang check to use maths that can't overflow. 04 April 2023, 22:00:16 UTC
7bb2de1 Simplification around ArtifactRepresentation and unique identity (#2771) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP in handling artifacts/SourceFiles. * Add getUniqueIdentity to IPathArtifactRepresentation * Simplification because around using the representation to provide the uniqueIdentity. 04 April 2023, 21:20:05 UTC
34a2fd5 Fix crash on encountering undefined identifier when checking derivative attributes (#2773) * Fix compiler crash if referencing undefined method in the deriavative decorator * Delete sample.comp --------- Co-authored-by: Yong He <yonghe@outlook.com> 04 April 2023, 19:21:23 UTC
206b546 Update a1-02-slangpy.md 04 April 2023, 19:18:55 UTC
5e5c42f Update a1-02-slangpy.md 03 April 2023, 23:56:06 UTC
b68516e Emit simpler vector element access code. (#2770) * Emit simpler vector element access code * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 03 April 2023, 22:54:16 UTC
7a346b2 Squash some warnings (#2765) Co-authored-by: Yong He <yonghe@outlook.com> 03 April 2023, 03:47:10 UTC
271ae71 Fix several silently failing tests (#2767) * Add missing expected.txt for test * Diagnostics -> StdWriters in render test * Allow specifying several test prefixes to run `slang-test -- tests/foo tests/bar` * Squash warnings in some tests * Enable gfx debug layer in gfx test util Makes this issue present consistently: https://github.com/shader-slang/slang/issues/2766 * Allow DebugDevice to return interfaces instantiated by the debugged object * Check that we actaully have a shader cache for shader cache tests --------- Co-authored-by: Yong He <yonghe@outlook.com> 03 April 2023, 03:46:03 UTC
d7ba60c Fix type legalization pass. (#2768) 03 April 2023, 03:43:09 UTC
539f17a Update a1-02-slangpy.md 31 March 2023, 23:21:33 UTC
d1a49ed Update TOC (#2764) Co-authored-by: Yong He <yhe@nvidia.com> 31 March 2023, 21:26:20 UTC
321e8ee Add a complex example. to slangpy documentation. (#2763) Co-authored-by: Yong He <yhe@nvidia.com> 31 March 2023, 21:20:23 UTC
3ce11c3 Fix typos in user-guide. (#2762) Co-authored-by: Yong He <yhe@nvidia.com> 31 March 2023, 15:56:03 UTC
6a2bf87 Detect when calls to execv fail (#2751) * Detect when calls to execv fail * Use pipe+fcntl instead of pipe2 pipe2 is not available on macOS * remove outdated comment * Use _exit in child if execv fails * Prevent Process::create leaks on some failures, and more robust in setting std streams for child --------- Co-authored-by: Yong He <yonghe@outlook.com> 31 March 2023, 00:57:31 UTC
efeda20 Fix stdlib definitions for tensor interlocked methods. (#2761) Co-authored-by: Yong He <yhe@nvidia.com> 30 March 2023, 21:34:54 UTC
917416f More builtin library support in torch backend. (#2760) Co-authored-by: Yong He <yhe@nvidia.com> 30 March 2023, 19:50:02 UTC
e3b701c Enable CUDA render api on unix (#2757) * Remove extra qualification in cuda device impl Only MSVC accepts this illegal code * Enable CUDA render api on unix --------- Co-authored-by: Yong He <yonghe@outlook.com> 30 March 2023, 19:48:02 UTC
72f7928 Fix mismatched malloc/delete[] in toWString (#2758) Co-authored-by: Yong He <yonghe@outlook.com> 30 March 2023, 19:46:27 UTC
d01e28a Fix autodiff pass duplicates exported functions. (#2759) Co-authored-by: Yong He <yhe@nvidia.com> 30 March 2023, 18:41:54 UTC
37594df Update TOC (#2756) Co-authored-by: Yong He <yhe@nvidia.com> 30 March 2023, 04:06:23 UTC
6fa4edb Convert tensor types in `make_tensor_view`. (#2755) Co-authored-by: Yong He <yhe@nvidia.com> 30 March 2023, 01:23:21 UTC
af062bf Fix IRArrayType emit logic. (#2754) * Fix IRArrayType emit logic. * Fix test. * Fix ast constant folding. --------- Co-authored-by: Yong He <yhe@nvidia.com> 30 March 2023, 01:00:34 UTC
082c48d Update checkpoint policy to make obvious recompute decisions. (#2753) * Update checkpoint policy to make obvious recompute decisions. Also adds an optimization to fold updateElement chains on the same array or struct into a single makeArray or makeStruct. * Bug fixes around array types with different int typed count. * change test. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com> 30 March 2023, 00:05:07 UTC
a862f5b Update a1-02-slangpy.md 29 March 2023, 17:00:48 UTC
bbf12c2 Add missing initializer in json source map decoding (#2752) 29 March 2023, 16:25:15 UTC
64fe75c Update a1-02-slangpy.md 29 March 2023, 01:01:42 UTC
87d331c Update a1-02-slangpy.md 29 March 2023, 00:28:38 UTC
back to top