Skip to content

Commit b301ef2

Browse files
authored
SWDEV-461599 - Remove references to HCC in hip_runtime_api.h (#102)
1 parent 754b45b commit b301ef2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/hip/hip_runtime_api.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ typedef struct hipUUID_t {
9797
} hipUUID;
9898

9999
//---
100-
// Common headers for both NVCC and HCC paths:
100+
// Common headers for both NVCC and HIP-Clang paths:
101101

102102
#define hipGetDeviceProperties hipGetDevicePropertiesR0600
103103
#define hipDeviceProp_t hipDeviceProp_tR0600
@@ -296,7 +296,7 @@ typedef struct hipPointerAttribute_t {
296296
*
297297
*/
298298
// Developer note - when updating these, update the hipErrorName and hipErrorString functions in
299-
// NVCC and HCC paths Also update the hipCUDAErrorTohipError function in NVCC path.
299+
// NVCC and HIP-Clang paths Also update the hipCUDAErrorTohipError function in NVCC path.
300300

301301
typedef enum __HIP_NODISCARD hipError_t {
302302
hipSuccess = 0, ///< Successful completion.
@@ -2178,9 +2178,9 @@ hipError_t hipDeviceGetMemPool(hipMemPool_t* mem_pool, int device);
21782178
* @param [in] deviceId which device to query for information
21792179
*
21802180
* @returns #hipSuccess, #hipErrorInvalidDevice
2181-
* @bug HCC always returns 0 for maxThreadsPerMultiProcessor
2182-
* @bug HCC always returns 0 for regsPerBlock
2183-
* @bug HCC always returns 0 for l2CacheSize
2181+
* @bug HIP-Clang always returns 0 for maxThreadsPerMultiProcessor
2182+
* @bug HIP-Clang always returns 0 for regsPerBlock
2183+
* @bug HIP-Clang always returns 0 for l2CacheSize
21842184
*
21852185
* Populates hipGetDeviceProperties with information for the specified device.
21862186
*/
@@ -4323,7 +4323,7 @@ hipError_t hipMallocPitch(void** ptr, size_t* pitch, size_t width, size_t height
43234323
hipError_t hipMemAllocPitch(hipDeviceptr_t* dptr, size_t* pitch, size_t widthInBytes, size_t height,
43244324
unsigned int elementSizeBytes);
43254325
/**
4326-
* @brief Free memory allocated by the hcc hip memory allocation API.
4326+
* @brief Free memory allocated by the HIP-Clang hip memory allocation API.
43274327
* This API performs an implicit hipDeviceSynchronize() call.
43284328
* If pointer is NULL, the hip runtime is initialized and hipSuccess is returned.
43294329
*
@@ -4349,7 +4349,7 @@ hipError_t hipFree(void* ptr);
43494349
*/
43504350
hipError_t hipFreeHost(void* ptr);
43514351
/**
4352-
* @brief Free memory allocated by the hcc hip host memory allocation API
4352+
* @brief Free memory allocated by the HIP-Clang hip host memory allocation API
43534353
* This API performs an implicit hipDeviceSynchronize() call.
43544354
* If pointer is NULL, the hip runtime is initialized and hipSuccess is returned.
43554355
*

0 commit comments

Comments
 (0)