SWDEV-452786, SWDEV-456037 - Fix format of tables in kernel_language.rst and doxygen in API header

Change-Id: I244ed2b21a24e31a25815e104230972b6e48d75d


[ROCm/hip commit: 29f2771fa8]
This commit is contained in:
Julia Jiang
2024-04-09 14:28:06 -04:00
zatwierdzone przez Julia Jiang
rodzic 5d43c91ae5
commit 5bc2fb470b
3 zmienionych plików z 1013 dodań i 22 usunięć
+1 -1
Wyświetl plik
@@ -162,7 +162,7 @@ Yes. HIP generates the object code which conforms to the GCC ABI, and also link
with GPU code compiled with HIP. Larger projects often contain a mixture of accelerator code (initially written in CUDA with nvcc) and host code (compiled with gcc, icc, or clang). These projects
can convert the accelerator code to HIP, compile that code with hipcc, and link with object code from their preferred compiler.
## Can HIP API support C style application? What is the differentce between C and C++ ?
## Can HIP API support C style application? What is the difference between C and C++ ?
HIP is C++ runtime API that supports C style applications as well.
Some C style applications (and interfaces to other languages (Fortran, Python)) would call certain HIP APIs but not use kernel programming.
@@ -102,7 +102,7 @@ typedef struct hipDeviceProp_t {
char luid[8]; ///< 8-byte unique identifier. Only valid on windows
unsigned int luidDeviceNodeMask; ///< LUID node mask
size_t totalGlobalMem; ///< Size of global memory region (in bytes).
size_t sharedMemPerBlock; ///< Size of shared memory region (in bytes).
size_t sharedMemPerBlock; ///< Size of shared memory per block (in bytes).
int regsPerBlock; ///< Registers per block.
int warpSize; ///< Warp size.
size_t memPitch; ///< Maximum pitch in bytes allowed by memory copies
@@ -111,7 +111,8 @@ typedef struct hipDeviceProp_t {
int maxThreadsDim[3]; ///< Max number of threads in each dimension (XYZ) of a block.
int maxGridSize[3]; ///< Max grid dimensions (XYZ).
int clockRate; ///< Max clock frequency of the multiProcessors in khz.
size_t totalConstMem; ///< Size of shared memory region (in bytes).
size_t totalConstMem; ///< Size of shared constant memory region on the device
///< (in bytes).
int major; ///< Major compute capability. On HCC, this is an approximation and features may
///< differ from CUDA CC. See the arch feature flags for portable ways to query
///< feature caps.
@@ -6692,9 +6693,9 @@ hipError_t hipStreamBeginCapture(hipStream_t stream, hipStreamCaptureMode mode);
* @brief Begins graph capture on a stream to an existing graph.
*
* @param [in] stream - Stream to initiate capture.
* @param [in] stream - Graph to capture into.
* @param [in] graph - Graph to capture into.
* @param [in] dependencies - Dependencies of the first node captured in the stream. Can be NULL if
numDependencies is 0.
* numDependencies is 0.
* @param [in] dependencyData - Optional array of data associated with each dependency.
* @param [in] numDependencies - Number of dependencies.
* @param [in] mode - Controls the interaction of this capture sequence with other API calls that