summaryrefslogtreecommitdiff
path: root/src/gpu-compute/wavefront.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu-compute/wavefront.hh')
-rw-r--r--src/gpu-compute/wavefront.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gpu-compute/wavefront.hh b/src/gpu-compute/wavefront.hh
index 8caeda91e..ef8c80989 100644
--- a/src/gpu-compute/wavefront.hh
+++ b/src/gpu-compute/wavefront.hh
@@ -354,6 +354,18 @@ class Wavefront : public SimObject
*/
uint32_t getStaticContextSize() const;
+ /**
+ * Returns the hardware context as a stream of bytes
+ * This method is designed for HSAIL execution
+ */
+ void getContext(const void *out);
+
+ /**
+ * Sets the hardware context fromt a stream of bytes
+ * This method is designed for HSAIL execution
+ */
+ void setContext(const void *in);
+
private:
/**
* Stack containing Control Flow Graph nodes (i.e., kernel instructions)