MCPcopy Create free account
hub / github.com/ROCm/clr / GetMaxStackSize

Function GetMaxStackSize

rocclr/device/device.cpp:785–794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783}
784
785size_t GetMaxStackSize(const std::string& procName) {
786 if (procName.find("gfx9") != std::string::npos || procName.find("gfx8") != std::string::npos) {
787 return kMaxStackSize9X;
788 } else if (procName.find("gfx11") != std::string::npos ||
789 procName.find("gfx10") != std::string::npos) {
790 return kMaxStackSize11X;
791 } else {
792 return kMaxStackSize12X;
793 }
794}
795
796bool Device::create(const Isa& isa) {
797 assert(!vaCacheAccess_ && !vaCacheMap_);

Callers 1

createMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected