summaryrefslogtreecommitdiffstats
path: root/docs/cuda-target.md
Commit message (Collapse)AuthorAge
* Find OptiX headers (#6071)Simon Kallweit2025-01-13
| | | | | | | * add support for finding OptiX headers * add documentation * fix linux path
* docs: Reduce typo count (#5671)Bruce Mitchener2024-11-29
| | | Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
* Markdown emphasis corrections (#5588)Ellie Hermaszewska2024-11-19
| | | | | | | | | | | | | | | | | * Add markdown formatting to extras/formatting.sh * Correct formatting in markdown * Warn on unrecognized argument in formatting script * Print all diffs in formatting script * Correct markdown emph formatting * Don't format markdown by default --------- Co-authored-by: Yong He <yonghe@outlook.com>
* Swap the term StdLib with Core-Module or Standard-Module in documents (#5414)Jay Kwak2024-10-25
| | | | This PR is limited to documents. All use of "Standard library" or "StdLib" are replaced with either "core module" or "standard modules", depending on the context.
* Fix a few documentation typos (#5396)cheneym22024-10-24
|
* Improve documentation and example formatting consistency (#4299)Matthew Moulton2024-06-07
| | | | | | * Improve doc and example consistency Improve consistency of formatting in example shaders and remove trailing spaces in documentation files. Fix minor typos.
* Small fixes to cuda-target.mdjsmall-nvidia2023-01-09
|
* Fix typo in CUDA target docsjsmall-nvidia2023-01-09
|
* Read half->float RWTexture conversion (#1842)jsmall-nvidia2021-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Fix for writing to RWTexture with half types on CUDA. * CUDA half functionality doc updates. * First pass support for sust.p RWTexture format conversion on write. * Tidy up implementation of $C. Made clamping mode #define able. * A simple test for RWTexture CUDA format conversion. * Add support for float2 and float4. * WIP conversion testing. * Use $E to fix byte addressing in X in CUDA. * Do not scale when accessing via _convert versions of surface functions. * Revert to previous test. * Test with half/float convert write/read. * More broad half->float read conversion testing. * Improve documentation around half and RWTexture conversion.
* CUDA half RWTexture write support/doc improvements (#1839)jsmall-nvidia2021-05-14
| | | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Fix for writing to RWTexture with half types on CUDA. * CUDA half functionality doc updates.
* NVTRC 64 bit requirement (#1792)jsmall-nvidia2021-04-14
| | | | | | | | | | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Made 64 bit requirement clearer for CUDA/PTX. Added compile assert for NVRTC for 32 bit OS, that are known to require 64bit. * Disabled location of NVRTC on linux/win x86. * Only restrict NVRTC on windows * Simplify checking on 64 bit windows for NVRTC. Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
* Small improvements to CUDA doc (#1681)jsmall-nvidia2021-01-29
| | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * Small typo fixes for docs on CUDA target.
* Improved NVRTC location finding (#1674)jsmall-nvidia2021-01-26
| | | | | | | | | | | | | | | | | * #include an absolute path didn't work - because paths were taken to always be relative. * WIP more sophisticated mechanism to find NVRTC. * Improve nvrtc searching to include PATH. * Make getting an extension able to differentiate between no extension, and just a . * Add comment. * Add support for searching instance path. * Small improvements around scope and finding NVRTC. * Improve documentation around NVRTC loading.
* First pass at a Target Compatibility document (#1287)jsmall-nvidia2020-03-23
| | | | | | | | | | | | | | | * WIP compatibility docs. * Test transpose in matrix-float. * Small improvement to CUDA docs. * Added some discussion around tessellation. * Small improvements to target-compatibility.md * Improve compatibility documentation. Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
* CPU Texture GetDimensions support (#1283)jsmall-nvidia2020-03-21
| | | | | | | | | | | | | | | | | * Added CPU support for GetDimensions on C++/CPU target. Added texture-get-dimension.slang test * Fix some typos. * Update CUDA docs. * Fix output of GetDimensions on glsl when has an array. Disabled VK - because VK renderer doesn't support createTextureView * Fix typo. * Fix typo. * Fix bad-operator-call diagnostics output.
* Improve CUDA Wave intrinsics documentation. (#1276)jsmall-nvidia2020-03-17
| | | | | | * Improve CUDA Wave intrinsics documentation. Remove inappropriate comment. * Small CUDA doc improvement.
* WIP on RWTexture types on CUDA/CPU (#1234)jsmall-nvidia2020-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * CUDA support for array of resources. * * Add support for Texture2DArray on CPU * Expand texture-simple.slang to test Texture2DArray * Reorganise CUDAComputeUtil to split out createTextureResource. * Add TextureCubeArray support for CPU/CUDA targets. * Pulled out CUDAResource Renamed derived classes to reflect that change. * Creation of SurfObject type. * Functions to return read/write access for simplifying future additions. * WIP for RWTexture access on CPU/CUDA. * CUsurfObject cannot have mips. * Ability to set number of mips on test data. Preliminary support for CUsurfObj and RWTexture1D on CUDA. CUDA docs improvements. * Fix typo.
* Initial partial support for WaveXXX intrinsics on CUDA (#1228)jsmall-nvidia2020-02-19
| | | | | | | * Start work on wave intrinsics for CUDA. * Add prelimary CUDA support for some Wave intrinsics. Document the issue around WaveGetLaneIndex
* First pass Texture Array support on CUDA/CPU (#1225)jsmall-nvidia2020-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add cubemap support. * Add CUDA fence instrinsics. * Added Gather for CUDA. * Use the CUDA driver API as much as possible. * * Support 1D texture on CPU * WIP on 1D texture on CUDA * Added simplified texture test * Fix test. * Improve texture-simple tests. * * Add CPU support for 3d textures * Add support for mip maps to CUDA * Disable warnings in nvrtc * Update CUDA docs * WIP on 3d texture support. * Add support for 3d textures for CPU and CUDA. * CPU and CUDA support for cube maps. * Add CPU support for Texture1DArray. * Support CUDA Layered/Array type in meta library.
* CUDA/CPU resource coverage (#1224)jsmall-nvidia2020-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add cubemap support. * Add CUDA fence instrinsics. * Added Gather for CUDA. * Use the CUDA driver API as much as possible. * * Support 1D texture on CPU * WIP on 1D texture on CUDA * Added simplified texture test * Fix test. * Improve texture-simple tests. * * Add CPU support for 3d textures * Add support for mip maps to CUDA * Disable warnings in nvrtc * Update CUDA docs * WIP on 3d texture support. * Add support for 3d textures for CPU and CUDA.
* Synthesizing CUDA tests (#1183)jsmall-nvidia2020-01-28
| | | | | | | | | | | | | | | | | | | | * When using setUniform clamp the amount of data written to the buffer size. * CUDA implement StructuredBuffer/ByteAddressBuffer as pointer/count as is on CPU. Allow bounds check to zero index. Update docs. * Synthesize tests. * Fix bug in CUDA output. * Fixing more tests to run on CUDA. * Added BaseType for layout of Vector and Matrix - as they are held as int32_t vector array types. * Enable unbound array support on CUDA. * Added unsized array support for CUDA documentation.
* CUDA implement StructuredBuffer/ByteAddressBuffer as pointer/count as is on ↵jsmall-nvidia2020-01-27
| | | | | | CPU. (#1182) Allow bounds check to zero index. Update docs.
* Texture Sample available in CUDA (#1176)jsmall-nvidia2020-01-24
| | | | | | | | | | | | | | * WIP: Trying to figure out how texturing will work with CUDA. * WIP: Fixes for CUDA layout. Initial CUDA texture test. * WIP: Outputs something compilable by CUDA for TextureND.Sample * 2d texture working with CUDA. * Fix how binding for SamplerState occurs in CUDA. * Small tidy up of comments.
* Initial CUDA target doc. (#1174)jsmall-nvidia2020-01-23