Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run with cuda and f64 #68

Open
yunuoch opened this issue Dec 6, 2020 · 0 comments
Open

Run with cuda and f64 #68

yunuoch opened this issue Dec 6, 2020 · 0 comments

Comments

@yunuoch
Copy link

yunuoch commented Dec 6, 2020

Is it possible to run with cuda and ti.f64 precision? I changed all f32 in mpmsolver to f64 and set default_fp to f64. I can still run demo_2d.py sucessfully. However, running demo_3d.py will trigger the following error:
[cuda_driver.h:operator()@80] CUDA Error CUDA_ERROR_INVALID_CONTEXT: invalid device context while calling malloc_managed (cuMemAllocManaged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant