Skip to content

Metal Backend type compatibility #17

Description

@tudorgmo

Hi,

I've been trying to use the package with the Metal (Apple Silicon) backend, but I run into issues due to the fact that Metal can only handle Float32 values, not Float64. Even when explicitly setting precision with set_precision(Float32), as well as defining all simulation parameters in the Float32 type, it seems like some of the internal parameters that get passed around are of type Float64 (such as time values t in field.jl). Would it be possible to look into fixing this error and making this compatible with Apple Silicon?

Thanks!

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