Skip to content

Only set CUDA_PATH if it is not already set #4

Description

@ptheywood
%env CUDA_PATH=/usr/local/cuda

May set the CUDA verison to an incorrect version in some cases.

Plus this is non-portable if running on Windows.

Only set this, if it is not already set. Ideally set it relative to a CUDA version which is on the PATH already.

Alterantively we could modify FLAMEGPU2 to try finding nvcc on the path and getting the CUDA directory that way instead.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions