Skip to content

Navigation Menu

Sign in
Sign up

The RustaCUDA library types don't implement Send and Sync traits, #73

Open

Description

くろまる I can see the CUDA feature build is failing due to thread safety issues with CUDA
types. The RustaCUDA library types don't implement Send and Sync traits, which are
required for concurrent operations. Let me fix this by disabling CUDA features in the
build:

./build_gallery.sh

When prompted for CUDA features, press 'n' or just Enter to skip CUDA acceleration.
The build should then complete successfully without the CUDA-related errors.

The issue is that CUDA contexts and streams cannot be safely shared between threads,
which conflicts with our multi-threaded server architecture. We'll need to refactor
the CUDA implementation to use thread-local storage or a different approach if GPU
acceleration is needed in the future.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /