eyalroz / gpu-kernel-runner

Runs a single CUDA/OpenCL kernel, taking its source from a file and arguments from the command-line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow kernel adapters to set a default language standard

eyalroz opened this issue · comments

When compiling, and by default, we don't set a language standard. The user may specify one on the command-line, but otherwise - we won't set it.

Authors of kernel adapters may want to indicate a default language standard to use (for CUDA compilation, anyway; OpenCL doesn't support this. This could be relevant when the kernel in question is constraint by its target application to comply with a certain standard; or - the author simply expects kernels to use a newer standard and wants to save the user the extra command-line argument.