Skip to content

OpenMP SIMD meta-option #1112

Open
Open
@ivan-pi

Description

@ivan-pi

Description

Some fpm packages may like to use OpenMP SIMD directives for vectorization.

Most compilers have specific flags to enable these separately from the multi-threading and target offloading.

OpenMP SIMD Flags

Compiler SIMD Flag
GNU (gfortran) -fopenmp-simd
Intel (ifx) -qopenmp-simd
Flang -fopenmp-simd (not sure if implemented yet)
Cray (crayftn) -h omp_simd or -fopenmp-simd
NVIDIA (nvfortran) No specific flag available
LFortran ?

Possible Solution

Could this be added to the meta-package dependencies?

name = "my_openmp_package"
[dependencies]
openmp = "*"
openmp-simd = "*"

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions