SWDEV-545273 - Respect HIP_LAUNCH_PARAM_BUFFER_SIZE (#770)

This commit is contained in:
Betigeri, Sourabh
2025-08-03 17:32:52 -07:00
committed by GitHub
parent 1492328894
commit 2a02d2c2f3
5 changed files with 35 additions and 19 deletions
+2 -2
View File
@@ -289,7 +289,7 @@ class KernelParameters : protected HeapObject {
address alloc(device::VirtualDevice& vDev);
//! Capture the arguments from signature and set.
bool captureAndSet(void** kernelParams, address kernArgs, address mem);
bool captureAndSet(void** kernelParams, address kernArgs, size_t kernArgsSize, address mem);
};
/*! \brief Encapsulates a __kernel function and the argument values
@@ -412,7 +412,7 @@ class Kernel : public RuntimeObject {
static const KernelFieldMapV3Type kKernelFieldMapV3[];
static const ArgValueKindV3Type kArgValueKindV3[];
static const ArgFieldMapV3Type kArgFieldMapV3[];
#endif
#endif
}; // defined(USE_COMGR_LIBRARY)