SWDEV-477218 - add hipDeviceGetTexture1DLinearMaxWidth API
Change-Id: I0532360ef298cb2353ae0182b17f8024e7bb3dae
[ROCm/hipother commit: 55c17fb4dc]
Этот коммит содержится в:
@@ -4530,6 +4530,14 @@ inline static hipError_t hipDeviceGetGraphMemAttribute(int device, hipGraphMemAt
|
|||||||
return hipCUDAErrorTohipError(cudaDeviceGetGraphMemAttribute(device, attr, value));
|
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) {
|
inline static hipError_t hipDeviceSetGraphMemAttribute(int device, hipGraphMemAttributeType attr, void* value) {
|
||||||
return hipCUDAErrorTohipError(cudaDeviceSetGraphMemAttribute(device, attr, value));
|
return hipCUDAErrorTohipError(cudaDeviceSetGraphMemAttribute(device, attr, value));
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user