SWDEV-229840 - Improve error messages on ROCCLR Layer.

Change-Id: Iab7d9156cdc206db86385aa05023a0095ed40f92


[ROCm/clr commit: 7458bf9964]
Tá an tiomantas seo le fáil i:
kjayapra-amd údaraithe agus Karthik Jayaprakash tiomanta 2020-04-19 20:01:49 -04:00
1 tuismitheoir 365054f997
tiomantas 236705c62f
16 comhad athraithe
+128 -26

Níor tháinig aon chomhaid le do chuardach

+2
Féach ar an gComhad
@@ -58,6 +58,7 @@ bool KernelParameters::check() {
for (size_t i = 0; i < signature_.numParameters(); ++i) {
if (!test(i)) {
DevLogPrintfError("Kernel Parameter test failed for idx: %d \n", i);
return false;
}
}
@@ -236,6 +237,7 @@ address KernelParameters::capture(const Device& device, uint64_t lclMemSize, int
bool KernelParameters::boundToSvmPointer(const Device& device, const_address capturedParameter,
size_t index) const {
if (!device.info().svmCapabilities_) {
DevLogPrintfError("The device: 0x%x does not have SVM Capabilities \n", &device);
return false;
}
//! Information about which arguments are SVM pointers is stored after