Graph Framework
|
Name space for GPU backends. More...
Classes | |
class | cpu_context |
Class representing a cpu context. More... | |
class | cuda_context |
Class representing a cuda gpu context. More... | |
class | metal_context |
Class representing a metal gpu context. More... | |
Functions | |
llvm::SmallVector< const char *, 8 > | split_string (char *string) |
Split a string by the space delimiter. | |
Name space for GPU backends.
llvm::SmallVector< const char *, 8 > gpu::split_string | ( | char * | string | ) |
Split a string by the space delimiter.
The exec functions need the arguments split into individual calls. So this splits the strings that come from cmake into a char * vector. Note the first token will be duplacted in the first two elements.
[in] | string | Input string. |