P4 to Git Change 1311277 by lmoriche@lmoriche_opencl_dev on 2016/09/06 14:11:25

SWDEV-101853 - Fix the build, add a "return NULL" after the assert.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#7 edit


[ROCm/clr commit: 59ca1d70e6]
Этот коммит содержится в:
foreman
2016-09-06 14:19:41 -04:00
родитель 0a916189b5
Коммит c42b53faac
+1
Просмотреть файл
@@ -141,6 +141,7 @@ public:
Argument* hsailArgAt(size_t index) const {
for (auto arg : hsailArgList_) if (arg->index_ == index) return arg;
assert(!"Should not reach here");
return NULL;
}
//! Max number of possible extra (hidden) kernel arguments