Thanks to visit codestin.com
Credit goes to github.com

Skip to content

openmp/target_map/derived_types may need additional mapping #7

@TApplencourt

Description

@TApplencourt

Hi,

If my comprehension of the OpenMP specification is correct (who is probably not the case...) in openmp/target_map/derived_types you are mapping only the pointer to the data (in setud_types wit !$omp target enter data map(to:op_ptr)) but you are not mapping the data pointed by the pointer (missing a !$omp target enter data map(to:op%array) in setup_values).
This causes segmentation fault in all the compiler I tested (ifx, gfortran, nvfortran).

Hope that Help,
Regards,
Thomas

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