Skip to content

Commit

Permalink
Rename kernel_language to cpp_language_extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
neon60 committed Jul 8, 2024
1 parent e1a8491 commit 037c162
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ HIP releases are typically naming convention for each ROCM release to help diffe

* [Installation](docs/install/install.rst)
* [HIP FAQ](docs/how-to/faq.md)
* [HIP Kernel Language](docs/reference/kernel_language.rst)
* [HIP C++ Language Extensions](docs/reference/cpp_language_extensions.rst)
* [HIP Porting Guide](docs/how-to/hip_porting_guide.md)
* [HIP Porting Driver Guide](docs/how-to/hip_porting_driver_api.md)
* [HIP Programming Guide](docs/how-to/programming_manual.md)
Expand Down Expand Up @@ -88,7 +88,7 @@ hipMemcpy(C_h, C_d, Nbytes, hipMemcpyDeviceToHost);
The HIP kernel language defines builtins for determining grid and block coordinates, math functions, short vectors,
atomics, and timer functions.
It also specifies additional defines and keywords for function types, address spaces, and optimization controls (See the [HIP Kernel Language](docs/reference/kernel_language.rst) for a full description).
It also specifies additional defines and keywords for function types, address spaces, and optimization controls (See the [HIP C++ Language Extensions](docs/reference/cpp_language_extensions.rst) for a full description).
Here's an example of defining a simple 'vector_square' kernel.
```cpp
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ See the [API Support Table](https://github.com/ROCm/HIPIFY/blob/amd-staging/docs
* Virtual functions, indirect functions and try/catch (CUDA 4.0)
* `__prof_trigger`
* PTX assembly (CUDA 4.0). HIP-Clang supports inline GCN assembly.
* Several kernel features are under development. See the {doc}`/reference/kernel_language` for more information.
* Several kernel features are under development. See the {doc}`/reference/cpp_language_extensions` for more information.

## Is HIP a drop-in replacement for CUDA?

Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/hip_porting_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ run hipcc when appropriate.
### ``warpSize``
Code should not assume a warp size of 32 or 64. See [Warp Cross-Lane Functions](https://rocm.docs.amd.com/projects/HIP/en/latest/reference/kernel_language.html#warp-cross-lane-functions) for information on how to write portable wave-aware code.
Code should not assume a warp size of 32 or 64. See [Warp Cross-Lane Functions](https://rocm.docs.amd.com/projects/HIP/en/latest/reference/cpp_language_extensions.html#warp-cross-lane-functions) for information on how to write portable wave-aware code.
### Kernel launch with group size > 256
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/programming_manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ HIP now supports runtime compilation (HIP RTC), the usage of which will provide
HIP RTC APIs accept HIP source files in character string format as input parameters and create handles of programs by compiling the HIP source files without spawning separate processes.
For more details on HIP RTC APIs, refer to [HIP Runtime API Reference](https://rocm.docs.amd.com/projects/HIP/en/latest/doxygen/html/index.html).
For more details on HIP RTC APIs, refer to [HIP Runtime API Reference](../doxygen/html/index).
For Linux developers, the link [here](https://github.com/ROCm/hip-tests/blob/develop/samples/2_Cookbook/23_cmake_hiprtc/saxpy.cpp) shows an example how to program HIP application using runtime compilation mechanism, and a detailed [HIP RTC programming guide](./hip_rtc) is also available.
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ On non-AMD platforms, like NVIDIA, HIP provides header files required to support
:::{grid-item-card} Reference

* {doc}`/doxygen/html/index`
* [C++ language extensions](./reference/kernel_language)
* [Comparing Syntax for different APIs](./reference/terms)
* [C++ Language Extensions](./reference/cpp_language_extensions)
* [Comparing Syntax for Different APIs](./reference/terms)
* [HSA Runtime API for ROCm](./reference/virtual_rocr)
* [HIP Managed Memory Allocation API](./reference/unified_memory_reference)
* [List of deprecated APIs](./reference/deprecated_api_list)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/sphinx/_toc.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ subtrees:
- caption: Reference
entries:
- file: doxygen/html/index
- file: reference/kernel_language
title: C++ language extensions
- file: reference/cpp_language_extensions
title: C++ Language Extensions
- file: reference/terms
title: Comparing Syntax for different APIs
- file: reference/virtual_rocr
Expand Down

0 comments on commit 037c162

Please sign in to comment.