intel / intel-application-migration-tool-for-openacc-to-openmp

OpenACC* to OpenMP* API assisting migration tool
BSD 3-Clause "New" or "Revised" License
32 stars 6 forks source link

Invalid mapper declaration on structures with initialized values #6

Closed hservatg closed 2 years ago

hservatg commented 2 years ago

The following code

  type :: t_date
    integer :: year = 1992, month = 07, day = 01
  end type

leads to the following invalid declare mapper.

!$omp declare mapper (t_date::x) map (x%year = 1992,x%month = 07,x%day&
!$omp = 01)