| 68 | |
| 69 | |
| 70 | std::string GetDeviceStr(device_type_t dev) { |
| 71 | return dev == CPU ? "cpu" : "gpu"; |
| 72 | } |
| 73 | |
| 74 | // Allocates a buffer on the specified backend and, if necessary, another one for the CPU |
| 75 | template <typename Backend> |
no outgoing calls
no test coverage detected