aboutsummaryrefslogtreecommitdiff
path: root/compute_kernel_writer/include/ckw/types/ConstantData.h
diff options
context:
space:
mode:
Diffstat (limited to 'compute_kernel_writer/include/ckw/types/ConstantData.h')
-rw-r--r--compute_kernel_writer/include/ckw/types/ConstantData.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compute_kernel_writer/include/ckw/types/ConstantData.h b/compute_kernel_writer/include/ckw/types/ConstantData.h
index 7708818ca8..ea95049c9e 100644
--- a/compute_kernel_writer/include/ckw/types/ConstantData.h
+++ b/compute_kernel_writer/include/ckw/types/ConstantData.h
@@ -53,6 +53,10 @@ public:
template <typename T>
ConstantData(std::initializer_list<std::initializer_list<T>> values, DataType data_type);
+ /** Templated constructor */
+ template <typename T>
+ ConstantData(const std::vector<std::vector<T>> &values, DataType data_type);
+
private:
/** Validate the given data type and the template type
*