SWDEV-343921 - added Max stack size

Change-Id: I5c1a088e05215ca951afc9d92f8d298c5e3a65f1
이 커밋은 다음에 포함됨:
Sarbojit Sarkar 작성하고 Sarbojit Sarkar가 2022-08-02 07:13:18 -04:00를 커밋함
1 부모 2eeb00ba8a
커밋 27a08a132f
3 파일이 변경됨
+7 -8

검색과 일치하는 파일 없음

+1 -2
파일 보기
@@ -737,8 +737,7 @@ bool Device::disableP2P(amd::Device* ptrDev) {
}
bool Device::UpdateStackSize(uint64_t stackSize) {
uint32_t maxMemPerThread = info().localMemSizePerCU_ / info().maxThreadsPerCU_;
if (maxMemPerThread < stackSize) {
if (stackSize > 16 * Ki) {
return false;
}
stack_size_ = stackSize;