gpu-compute: Adding ioctl for HW context size

Adding runtime support for determining the memory required by a SIMD engine
when executing a particular wavefront.
This commit is contained in:
Alexandru Dutu
2016-09-16 12:27:56 -04:00
parent 589e13a23b
commit d5c8c5d3db
6 changed files with 35 additions and 2 deletions

View File

@@ -354,6 +354,12 @@ class Wavefront : public SimObject
void discardFetch();
/**
* Returns the size of the static hardware context of a particular wavefront
* This should be updated everytime the context is changed
*/
uint32_t getStaticContextSize() const;
private:
/**
* Stack containing Control Flow Graph nodes (i.e., kernel instructions)