Skip to content

Non CUDA package version may lead to crash #221

@paskino

Description

@paskino

It looks like that installing the cpu only version of the reg toolkit conda package and requesting to run a routine on GPU is possible and leads to an exception: TomographicImaging/CIL#2288

In this function GPU_FUNC in this case is None when the CPU only package is installed and the function raises the exception. This could raise a warning saying that the GPU function is not available and that we will be running on CPU instead, or a better error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions