| 71 | //Taken from https://stackoverflow.com/a/69911/4053176 |
| 72 | |
| 73 | static std::string format(const char *fmt, ...) |
| 74 | { |
| 75 | va_list ap; |
| 76 | va_start(ap, fmt); |
| 77 | std::string buf = vformat(fmt, ap); |
| 78 | va_end(ap); |
| 79 | return buf; |
| 80 | } |
| 81 | //Taken from https://stackoverflow.com/a/69911/4053176 |
| 82 | |
| 83 | // Taken from https://codeyarns.com/2011/03/02/how-to-do-error-checking-in-cuda/ |
no outgoing calls
no test coverage detected