aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cpu/device.h')
-rw-r--r--src/core/cpu/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/cpu/device.h b/src/core/cpu/device.h
index 52aa2d9..6dd2bce 100644
--- a/src/core/cpu/device.h
+++ b/src/core/cpu/device.h
@@ -105,6 +105,8 @@ class CPUDevice : public DeviceInterface
unsigned int numCPUs() const; /*!< \brief Number of cores in this (sub)device */
float cpuMhz() const; /*!< \brief Speed of the CPU in Mhz */
+ DeviceInterface * parentDevice() const { return p_parent_device; }
+
std::string builtinsHeader(void) const { return "cpu.h"; }
private: