summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2023-05-02Markdown CommandOptions (#2860)jsmall-nvidia
* WIP CommandOptions * Fix some output issues. * Simplify word wrapping. * Add file extensions. * Change how lookup takes place. Add appendSplit functions to StringUtil. Make Categories hold the index range of their options. * Small improvement. * Lookup with partial option names. * Associate user values. * Encoding flags in the name. * Refactor setting up of command options. * Use CommandOptions in slang-options. * Remove old help text. * Cache the CommandOptions on the Session. * Range checking. Fix bug in the Options handling. * Extra checks for validity. * Get categories directly. * Slight improvements over output. * Added NameValue types. * Fix typo. Remove some now unused diagnostics. Fix diagnostic in testing, as output has changed. * Add minimal usage message. * Remove platform executable extension from diagnostics output. * Some improvements around getting names from NameValue types. * Improve some option descriptions. * Small fixes. * WIP improvements around CommandOptions. * Split out CommandOptionsWriter. * Add links to options. * Add command line options reference. * Link to the reference command line information. * Add quick links. * Improvements around lookup. Add categories to linking. * Small additional fixes. * Add LinkFlags control. * Small text fixes. * Fix typo. * Fix typo. * Fix typo. * Add support for -g and -O using CommandOptions. * Improve generated doc output/descriptions. Remove options listed directly in documentation.
2023-04-24Update a1-03-obfuscation.mdjsmall-nvidia
2023-04-21Update a1-03-obfuscation.mdjsmall-nvidia
2023-04-21Small obfuscation doc improvements (#2825)jsmall-nvidia
* #include an absolute path didn't work - because paths were taken to always be relative. * Small improvements to obfuscation doc.
2023-04-21Initial obfuscation documentation. (#2819)jsmall-nvidia
* #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>
2023-04-20Update 04-interfaces-generics.mdYong He
2023-04-20Update a1-01-matrix-layout.mdjsmall-nvidia
2023-04-14Some small fixes with Windows/DX usage (#2797)Ellie Hermaszewska
* 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
2023-04-12Update 02-conventional-features.mdYong He
2023-04-11Update documentation for `TorchTensor.alloc`.Yong He
2023-04-04Preliminary support for realtime clock (#2772)jsmall-nvidia
* #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.
2023-04-04Update a1-02-slangpy.mdYong He
2023-04-03Update a1-02-slangpy.mdYong He
2023-03-31Update a1-02-slangpy.mdYong He
2023-03-31Update TOC (#2764)Yong He
Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-31Add a complex example. to slangpy documentation. (#2763)Yong He
Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-31Fix typos in user-guide. (#2762)Yong He
Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-30Fix stdlib definitions for tensor interlocked methods. (#2761)Yong He
Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-29Update TOC (#2756)Yong He
Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-29Update a1-02-slangpy.mdYong He
2023-03-28Update a1-02-slangpy.mdYong He
2023-03-28Update a1-02-slangpy.mdYong He
2023-03-28Update a1-02-slangpy.mdYong He
2023-03-28Update a1-02-slangpy.mdYong He
2023-03-28Update a1-02-slangpy.mdYong He
2023-03-28Update a1-02-slangpy.mdYong He
2023-03-28Update a1-02-slangpy.mdYong He
2023-03-28Update a1-02-slangpy.mdYong He
2023-03-28Update toc (#2749)Yong He
Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-28Update a1-02-slangpy.mdYong He
2023-03-28Add slangpy doc, fix cuda prelude. (#2748)Yong He
* Add slangpy doc, fix cuda prelude. * more bug fix. * fix. * fix. * More fix. * fix. * f * fix prelude. * update prelude. * update doc * Update prelude. * add zeros_like * update doc. --------- Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-21[TreatAsDifferentiable] functions. (#2720)Yong He
2023-03-17Update 07-autodiff.mdYong He
2023-03-16Add test case for `makeStruct` transcription. (#2705)Yong He
* Add test case for `makeStruct` transcription. * Update documentation on `no_diff`. * Update toc --------- Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-15Update 07-autodiff.mdYong He
2023-03-15Update 07-autodiff.mdYong He
2023-03-14Update 07-autodiff.mdYong He
2023-03-14Support `fwd_diff(bwd_diff(f))`. (#2697)Yong He
* Support `fwd_diff(bwd_diff(f))`. * Fix. --------- Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-09Update restrictions sections in autodiff doc. (#2694)Yong He
* Update restrictions section in autodiff doc. * Update restrictions sections in autodiff doc. --------- Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-09Update user guide on `[PrimalSubstitute]`Yong He
2023-03-07Reuse higher-order `ResolveInvoke` logic to resolve func refs in ↵Yong He
`[*DerivativeOf]` attribs. (#2688) * Reuse higher-order `ResolveInvoke` logic to resolve func refs in [*DerivativeOf] attribs. * Add diff implementation matrix versions of binary and ternary intrinsics. * Add diff impl for legacy intrinsics. * Fix diagnostics of using non-differentiable function in a diff operator. * Add diff implementation for `determinant`. --------- Co-authored-by: Yong He <yhe@nvidia.com>
2023-03-01Implement derivatives for HLSL intrinsics. (#2684)Yong He
* Implement derivatives for HLSL intrinsics. * Vector intrinsics. * Add all intrinsics. --------- Co-authored-by: Yong He <yhe@nvidia.com>
2023-02-16Overhaul global inst deduplication and cpp/cuda backend. (#2654)Yong He
* Overhaul global inst deduplication and cpp/cuda backend. * Update IR documentation. --------- Co-authored-by: Yong He <yhe@nvidia.com>
2023-02-16Design doc on IR deduplication and best practices when working with IRYong He
2023-02-14Preliminary Shader Execution Reordering Doc (#2648)jsmall-nvidia
* #include an absolute path didn't work - because paths were taken to always be relative. * Add preliminary Shader Execution Reordering doc. Update target-compatibility docs. * Fix debugBreak.
2023-02-14Preliminary debugBreak support (#2647)jsmall-nvidia
* #include an absolute path didn't work - because paths were taken to always be relative. * Preliminary support for debug break. * Add C++ debug break support. Add details about usage. * Improve debug break test details. * Make HLSL output a comment about no support. * Handle specialize for target assert, without a body if it has spv_instruction/target intrinsic
2023-02-11Update 07-autodiff.mdYong He
2023-02-11Update 07-autodiff.mdYong He
2023-02-11Update 07-autodiff.mdYong He
2023-02-09Reverse-mode Loop Support (#2635)Sai Praveen Bangaru
* Full loop support now working. MaxItersAttr in progress * Lookup table updates? * Fixed the max iters decoration * Minox fixes & remove superfluous code * fixup warnings * Revert "Lookup table updates?" This reverts commit 7d9b0793fb5239f31d1155776e846dcf1892d8d9. * Update 07-autodiff.md * Change maxiters to MaxIters * Added asserts * Update 07-autodiff.md