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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user