SWDEV-477218 - add hipDeviceGetTexture1DLinearMaxWidth API

Change-Id: I0532360ef298cb2353ae0182b17f8024e7bb3dae


[ROCm/hipother commit: 55c17fb4dc]
Этот коммит содержится в:
victzhan
2024-11-26 15:18:03 -05:00
родитель 4bae839601
Коммит 1f7400d7bf
+8
Просмотреть файл
@@ -4530,6 +4530,14 @@ inline static hipError_t hipDeviceGetGraphMemAttribute(int device, hipGraphMemAt
return hipCUDAErrorTohipError(cudaDeviceGetGraphMemAttribute(device, attr, value));
}
inline static hipError_t hipDeviceGetTexture1DLinearMaxWidth(size_t* maxWidthInElements,
const hipChannelFormatDesc* fmtDesc,
int device) {
return hipCUDAErrorTohipError(cudaDeviceGetTexture1DLinearMaxWidth(maxWidthInElements,
fmtDesc,
device));
}
inline static hipError_t hipDeviceSetGraphMemAttribute(int device, hipGraphMemAttributeType attr, void* value) {
return hipCUDAErrorTohipError(cudaDeviceSetGraphMemAttribute(device, attr, value));
}