I am trying to run resnet18 (from the relay get started script) on an OpenCL device with very limited stack. As it is running, it seems that I do stack overflow. As the generated code doesn’t allocate stack too much I was wondering if TVM stores a sizable amount on data at the start and if so how much does it stores and if there is a way to limit it.
Thanks