9 auto status = cudaSetDevice(0);
10 if (status != cudaSuccess) {
11 fprintf(stderr,
"CUDA initialization failed! Do you have a CUDA-capable GPU installed?");
void setWindowTitle(const std::string &title)
void initialize(int width, int height, bool usePlugin=false) override
GlfwApp(int argc=0, char **argv=NULL)
std::shared_ptr< GlfwRenderWindow > mRenderWindow
This is an implementation of AdditiveCCD based on peridyno.