Skip to content

Re-instate memory limit #1670

@maleadt

Description

@maleadt

With the switch to the stream-ordered memory allocator, we lost the ability to limit the amount of GPU memory used by CUDA.jl. We filed this with NVIDIA as buf #3503815, but they mentioned that (awaiting proper support) it should be possible to emulate a limit by inspecting CU_MEMPOOL_ATTR_USED_MEM_CURRENT / CU_MEMPOOL_ATTR_RESERVED_MEM_CURRENT in our allocator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions