Skip to content

Add cuda.core.utils.PersistentProgramCache #178

Closed

Description

@leofang

Two kinds of on-disk caches:

  • one for sqlite3 based (suitable for single processes)
  • one for file-stream based (suitable for concurrent processes, thanks to atomic I/O)

It is unclear to me (yet) if they can be easily combined under the same class PersistentProgramCache. We'll need some research.

Activity

  1. added
    cuda.coreEverything related to the cuda.core module
    featureNew feature or request
    P1Medium priority - Should do
    on Oct 17, 2024
  2. added this to the cuda.core beta 2 milestone on Oct 17, 2024
  3. added
    P0High priority - Must do!
    and removed
    P1Medium priority - Should do
    on Dec 11, 2024
  4. removed this from the cuda.core backlog milestone on Mar 25, 2026
  5. 11 remaining items

  6. leofang commented on May 6, 2026

    @leofang
    MemberAuthor

    This issue is closed by #1912. For posterity:

    • one for sqlite3 based (suitable for single processes)

    This was originally implemented in #1912, but was removed/purged after the team review. (The discussion was somewhat coupled to the usage of pickle for serialization/deserialization, but I don't recall the full story.)

    • one for file-stream based (suitable for concurrent processes, thanks to atomic I/O)

    This was implemented as FileStreamProgramCache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P0High priority - Must do!cuda.coreEverything related to the cuda.core modulefeatureNew feature or request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions