Skip to content

"GPU out of Memory" How to solve? #1

@lokitkhemka

Description

@lokitkhemka

When run the test program mpm_test_fluid_dam_break, I get the following error:

[Cuda] Initialize device index to 0
[Cuda] Device Property:
        GPU Device: 0
        Global Memory: 3951624192 bytes
        Shared Memory: 49152 bytes
        Register Per SM: 65536
        Multi-processor count: 16
        SM compute capabilities: 8.6.
[Cuda] Created 32 streams for device 0.
[MPM Engine info] [18:57:33 +05:30] [thread 7913] Set Default dt = 5e-05
[MPM Engine info] [18:57:33 +05:30] [thread 7913] Start initializing particles.
[MPM Engine info] [18:57:33 +05:30] [thread 7913]       Initializing model with particle count 8994048
[MPM Engine info] [18:57:33 +05:30] [thread 7913] Finished initializating particles.
GPUassert: out of memory /home/loki/Desktop/CK-MPM/include/cuda_util.cuh 108

Is there any way to modify the simulation parameters, so that it uses less memory?

Thank you.

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