It may be convenient if whatever code is used to prepare inputs for the gpu-kernel-runner would not have to rely on generation of command-line options which define values this way or the other. Instead, we should allow for files with syntax like:
and so on, where each line is a definition. Then, in the command-like, instead of:
-DFOO -DBAR=baz -DQUUX=123
we'll just write
--definitions-file defs.txt
with defs.txt containing the three lines above.
Of course, if we do that, we might also need to support --undefined to exclude definitions from that.
It may be convenient if whatever code is used to prepare inputs for the gpu-kernel-runner would not have to rely on generation of command-line options which define values this way or the other. Instead, we should allow for files with syntax like:
and so on, where each line is a definition. Then, in the command-like, instead of:
we'll just write
with
defs.txtcontaining the three lines above.Of course, if we do that, we might also need to support
--undefinedto exclude definitions from that.