aboutsummaryrefslogtreecommitdiff
path: root/compute_kernel_writer/prototype/include/ckw/Kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'compute_kernel_writer/prototype/include/ckw/Kernel.h')
-rw-r--r--compute_kernel_writer/prototype/include/ckw/Kernel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/compute_kernel_writer/prototype/include/ckw/Kernel.h b/compute_kernel_writer/prototype/include/ckw/Kernel.h
index 3deb2ace0d..ba31a29ba7 100644
--- a/compute_kernel_writer/prototype/include/ckw/Kernel.h
+++ b/compute_kernel_writer/prototype/include/ckw/Kernel.h
@@ -50,6 +50,11 @@ class Kernel
public:
/** Constructor
*
+ * @param[in] language The programming language to write the kernel.
+ */
+ Kernel(GpuTargetLanguage language);
+ /** Constructor
+ *
* @param[in] name The name of the kernel function.
* @param[in] language The programming language to write the kernel.
*/
@@ -61,6 +66,12 @@ public:
/** Get the name of the kernel function. */
const std::string &name() const;
+ /** Set the name of the kernel function.
+ *
+ * @param[in] name The name of the kernel function.
+ */
+ void name(const std::string &name);
+
/** Get the list of kernel arguments. */
::std::vector<KernelArgument> arguments() const;