SWDEV-477218 - add hipDeviceGetTexture1DLinearMaxWidth API
Change-Id: I0532360ef298cb2353ae0182b17f8024e7bb3dae
Этот коммит содержится в:
@@ -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));
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user