diff --git a/projects/clr/rocclr/runtime/device/rocm/rockernel.hpp b/projects/clr/rocclr/runtime/device/rocm/rockernel.hpp index a08a138a74..956d3be17e 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rockernel.hpp +++ b/projects/clr/rocclr/runtime/device/rocm/rockernel.hpp @@ -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