Skip to content

CUDA 3.x GPU method overrides CUDA.pow() error #25

@luraess

Description

@luraess

The scalar_porowaves2D.jl and HydroMech2D.jl miniapp codes produce a runtime error when running on the GPU using CUDA v3.x on Julia v1.6 as the @pow() macro calling CUDA.pow() in the GPU kernels is no longer supported (CUDA.jl implements now following GPU method overrides ). See here for the full supported intrinsic list.

The solution is to replace @pow(a, b) by a^b both in the host code and the device functions (kernels).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions