SWDEV-527731 - [Ubertrace] OpenCL driver reports wrong Instrumentation API Version (#211)
[ROCm/clr commit: 4f2a4b12a9]
Tá an tiomantas seo le fáil i:
tiomanta ag
GitHub
tuismitheoir
d4e36d0900
tiomantas
4fd8a0164a
@@ -20,7 +20,7 @@
|
||||
|
||||
set(PAL_CLIENT "OCL")
|
||||
|
||||
set(PAL_CLIENT_INTERFACE_MAJOR_VERSION 910)
|
||||
set(PAL_CLIENT_INTERFACE_MAJOR_VERSION 916)
|
||||
set(GPUOPEN_CLIENT_INTERFACE_MAJOR_VERSION 42)
|
||||
set(GPUOPEN_CLIENT_INTERFACE_MINOR_VERSION 0)
|
||||
set(AMD_DK_ROOT $ENV{DK_ROOT})
|
||||
|
||||
@@ -1390,6 +1390,7 @@ bool Device::init() {
|
||||
info.pSettingsPath = "OCL";
|
||||
info.maxSvmSize = static_cast<Pal::gpusize>(OCL_SET_SVM_SIZE * Mi);
|
||||
info.clientApiId = (amd::IS_HIP) ? Pal::ClientApi::Hip : Pal::ClientApi::OpenCl;
|
||||
info.instrApiVer = RgpSqttInstrumentationApiVersion;
|
||||
|
||||
if (IS_LINUX) {
|
||||
//! @note: Linux may have a deadlock if runtime will attempt to reserve
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir