summaryrefslogtreecommitdiffstats
path: root/src/opencl/qclworksize.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opencl/qclworksize.h')
-rw-r--r--src/opencl/qclworksize.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opencl/qclworksize.h b/src/opencl/qclworksize.h
index 0c5541e..e0c5b7f 100644
--- a/src/opencl/qclworksize.h
+++ b/src/opencl/qclworksize.h
@@ -82,6 +82,9 @@ public:
(const QCLWorkSize &maxWorkItemSize, size_t maxItemsPerGroup) const;
QCLWorkSize toLocalWorkSize(const QCLDevice &device) const;
+ QString toString() const;
+ static QCLWorkSize fromString(const QString &str);
+
private:
size_t m_dim;
size_t m_sizes[3];