Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
SWDEV-386749 - Update stack size limit
Browse files Browse the repository at this point in the history
Change-Id: Id0cf66820e76e1bbd7f6c17ceb110782cdb5f978
  • Loading branch information
gargrahul committed Mar 8, 2023
1 parent 1cf8f19 commit dd5f3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ bool Device::disableP2P(amd::Device* ptrDev) {
}

bool Device::UpdateStackSize(uint64_t stackSize) {
if (stackSize > 16 * Ki) {
if (stackSize > ((128 * Ki) - 16)) {
return false;
}
stack_size_ = stackSize;
Expand Down

0 comments on commit dd5f3d2

Please sign in to comment.