FK20 CUDA
|
Go to the source code of this file.
Functions | |
void | testinit () |
Sets a global variable to true if the STDOUT is a terminal. Needs to be done like so because while a kernel is able to print to stdout, it is unable to execute isatty. More... | |
Variables | |
__managed__ int | stdout_isatty |
void testinit | ( | ) |
Sets a global variable to true if the STDOUT is a terminal. Needs to be done like so because while a kernel is able to print to stdout, it is unable to execute isatty.
Currently used so piping to a file doesn't output terminal control characters.
Definition at line 18 of file test.cu.