Returns the mode: running on CPU or GPU.
| 140 | |
| 141 | // Returns the mode: running on CPU or GPU. |
| 142 | inline static Brew mode() { return Get().mode_; } |
| 143 | // The setters for the variables |
| 144 | // Sets the mode. It is recommended that you don't change the mode halfway |
| 145 | // into the program since that may cause allocation of pinned memory being |