Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Run with cuda and f64 #68

@yunuoch

Description

@yunuoch

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions