Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/smoke/flang-288613-2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX)

FLANG ?= flang
OMP_BIN = $(AOMP)/bin/$(FLANG)
CC = $(OMP_BIN) $(VERBOSE)
CC = $(OMP_BIN) $(VERBOSE) -mmlir --enable-gpu-heap-alloc
#-ccc-print-phases
#"-\#\#\#"

Expand Down
4 changes: 2 additions & 2 deletions test/smoke/flang-288613-2/flang-288613.f90
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ end subroutine dec_val_dev
integer i,j,k,l,m
real(rstd), dimension(nsize,nsize,nsize) :: tmp

!$omp target teams
!$omp target teams distribute
do i=1,nsize
#define PRIVATE_ARRAY 1
#ifdef PRIVATE_ARRAY
Expand All @@ -35,7 +35,7 @@ end subroutine dec_val_dev
end do
end do
end do
!$omp end target teams
!$omp end target teams distribute
end subroutine _compute_dev

subroutine compute_dev()
Expand Down
2 changes: 1 addition & 1 deletion test/smoke/flang-288613-3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX)

FLANG ?= flang
OMP_BIN = $(AOMP)/bin/$(FLANG)
CC = $(OMP_BIN) $(VERBOSE)
CC = $(OMP_BIN) $(VERBOSE) -mmlir --enable-gpu-heap-alloc
#-ccc-print-phases
#"-\#\#\#"

Expand Down
2 changes: 1 addition & 1 deletion test/smoke/flang-288613/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX)

FLANG ?= flang
OMP_BIN = $(AOMP)/bin/$(FLANG)
CC = $(OMP_BIN) $(VERBOSE)
CC = $(OMP_BIN) $(VERBOSE) -mmlir --enable-gpu-heap-alloc
#-ccc-print-phases
#"-\#\#\#"

Expand Down
4 changes: 2 additions & 2 deletions test/smoke/flang-288613/flang-288613.f90
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ end subroutine dec_val_dev
real(rstd) :: tmp
#endif

!$omp target teams
!$omp target teams distribute
do i=1,nsize
!$omp parallel do simd private(tmp)
do j=1,nsize
Expand All @@ -44,7 +44,7 @@ end subroutine dec_val_dev
end do
end do
end do
!$omp end target teams
!$omp end target teams distribute
end subroutine _compute_dev

subroutine compute_dev()
Expand Down