├── bin ├── disableClassic ├── debian │ ├── aomp.install │ ├── aomp.links │ ├── compat │ └── source │ │ └── format ├── build_prereq.sh ├── rocm-test │ └── passes │ │ ├── 5.0.0 │ │ ├── omp5 │ │ │ └── omp5_passes.txt │ │ ├── examples_fortran │ │ │ └── examples_fortran_passes.txt │ │ └── examples_openmp │ │ │ └── examples_openmp_passes.txt │ │ ├── 5.1.0 │ │ ├── nekbone │ │ │ └── nekbone_passes.txt │ │ ├── babelstream │ │ │ └── babelstream_passes.txt │ │ ├── sollve45 │ │ │ └── sollve45_passes.txt │ │ ├── openmpvv45 │ │ │ └── openmpvv45_passes.txt │ │ └── openmpapps │ │ │ └── openmpapps_passes.txt │ │ ├── 5.4.3 │ │ └── examples_openmp │ │ │ └── examples_openmp_passes.txt │ │ ├── 5.5.0 │ │ ├── omp5 │ │ │ └── omp5_passes.txt │ │ ├── smoke-dev │ │ │ └── smoke-dev_passes.txt │ │ ├── smoke-fort-limbo │ │ │ └── smoke-fort-limbo_passes.txt │ │ ├── hpc2021 │ │ │ └── hpc2021_passes.txt │ │ ├── LLNL │ │ │ └── LLNL_passes.txt │ │ └── accel2023 │ │ │ └── accel2023_passes.txt │ │ └── 4.3.0 │ │ ├── examples_openmp │ │ └── examples_openmp_passes.txt │ │ ├── examples_fortran │ │ └── examples_fortran_passes.txt │ │ └── omp5 │ │ └── omp5_passes.txt ├── patches │ └── patch-control-file_4.0.txt └── rocmlibs │ └── patches │ ├── patch-control-file_20.0.txt │ ├── patch-control-file_21.0.txt │ └── patch-control-file_22.0.txt ├── test ├── smoke-fails │ ├── lockfile │ ├── clang-440121 │ │ ├── lib │ │ │ └── wrong.bc │ │ └── clang-440121.c │ ├── omp_lock │ │ └── NRUN │ ├── FNew-flang_isystem_prob │ │ ├── minimpi │ │ │ └── lib │ │ │ │ └── empty │ │ ├── mod.f90 │ │ └── flang_isystem_prob.f90 │ ├── Makefile.rules │ ├── flang-314750 │ │ ├── NPB_FT │ │ │ ├── config │ │ │ │ └── make.def │ │ │ ├── common │ │ │ │ ├── wtime.o │ │ │ │ ├── randi8.o │ │ │ │ ├── timers.o │ │ │ │ └── print_results.o │ │ │ ├── sys │ │ │ │ └── setparams │ │ │ └── FT │ │ │ │ └── blk_par0.h │ │ └── doit │ ├── flang-317868 │ │ ├── foo.f90 │ │ └── flang-317868.f90 │ ├── clang_llnl-58-1 │ │ └── clang_llnl_58.cc │ ├── flang-337105 │ │ ├── testmod.F90 │ │ └── test.F90 │ ├── hsa-lazy-queues │ │ └── empty-sink.c │ ├── clang-298140 │ │ ├── NPB_LU │ │ │ ├── MG │ │ │ │ ├── mg.config │ │ │ │ ├── mg.input.100iter │ │ │ │ ├── mg.input.sample │ │ │ │ └── timers.h │ │ │ ├── LU-HP │ │ │ │ └── lu.config │ │ │ └── common │ │ │ │ ├── wtime-host-x86_64-pc-linux-gnu.bc │ │ │ │ ├── c_timers-host-x86_64-pc-linux-gnu.bc │ │ │ │ ├── wtime-openmp-amdgcn-amd-amdhsa-gfx908.bc │ │ │ │ ├── print_results-host-x86_64-pc-linux-gnu.bc │ │ │ │ ├── c_timers-openmp-amdgcn-amd-amdhsa-gfx908.bc │ │ │ │ ├── print_results-openmp-amdgcn-amd-amdhsa-gfx908.bc │ │ │ │ ├── randdp.h │ │ │ │ └── timers.h │ │ └── doit │ ├── clang-358185 │ │ └── clang-358185.c │ ├── omp_task_dispatch │ │ └── README │ ├── clang-aa-293471 │ │ └── clang-293471.c │ ├── driver_test │ │ └── inc_arrayval.c │ ├── dynamic_module_load │ │ └── dynamic_module_load_shared.c │ ├── FNew-flang-308205 │ │ └── flang-308205.f90 │ ├── flang-flags-308205 │ │ └── flang-flags-308205.f90 │ ├── flang-cptrdiff │ │ └── flang-cptrdiff.f90 │ └── clang_llnl-58 │ │ └── clang_llnl_58.cc ├── smoke-dev │ ├── xteamr │ │ └── NRUN │ ├── Threads1xxx │ │ └── NRUN │ ├── omp_lock │ │ └── NRUN │ ├── snap_red │ │ └── NRUN │ ├── reduction_teams │ │ └── NRUN │ ├── Makefile.rules │ ├── xteam-red-unsupported │ │ └── NRUN │ ├── check_smoke_dev.sh │ ├── gdb_teams │ │ └── cmd_script │ ├── vmulsum-hsa-stats │ │ └── onesrc.c │ ├── global-usm-fort │ │ ├── chkit.sh │ │ └── wrapper.sh │ ├── mix_hipmemset_omp │ │ └── hip_memset.h │ ├── hipreg_usm │ │ ├── hip_hostreg.h │ │ └── hip_hostreg.hip │ ├── gpurun-tests │ │ └── gpurun-tests.c │ ├── clang-325070 │ │ └── doit.gdb │ └── flang_real16_prob │ │ └── flang_real16_prob.f90 ├── smoke-fort │ ├── end │ │ └── end.f90 │ ├── iso_flush │ │ ├── chk.stderr │ │ ├── chk.stdout │ │ ├── chkit.sh │ │ └── doit.sh │ ├── tgt-abort │ │ ├── chk.stdout │ │ ├── README.txt │ │ ├── chkit.sh │ │ ├── test.f90 │ │ ├── doit.sh │ │ └── chk.stderr │ ├── tgt-stop │ │ ├── chk.stdout │ │ ├── chk.stderr │ │ ├── README.txt │ │ ├── chkit.sh │ │ ├── doit.sh │ │ └── test.f90 │ ├── tgt-write │ │ ├── chk.stderr │ │ ├── chkit.sh │ │ ├── doit.sh │ │ └── chk.stdout │ ├── end-fopenmp │ │ └── end.f90 │ ├── flang-440121 │ │ ├── lib │ │ │ └── wrong.bc │ │ └── flang-440121.f95 │ ├── split-outer2 │ │ ├── chk.stderr │ │ ├── chk.stdout │ │ ├── chkit.sh │ │ └── doit.sh │ ├── tgt-print-hello │ │ ├── chk.stderr │ │ ├── chk.stdout │ │ ├── README.txt │ │ ├── chkit.sh │ │ ├── doit.sh │ │ └── test.f90 │ ├── tgt-print-val │ │ ├── chk.stderr │ │ ├── chkit.sh │ │ ├── doit.sh │ │ └── chk.stdout │ ├── Makefile.rules │ ├── end-ffixed-form │ │ └── end.f │ ├── check_smoke_fort.sh │ ├── fdefault-sizeof │ │ ├── buildit.sh │ │ └── chkit.sh │ ├── flang-gpu-stop-string │ │ ├── doit.sh │ │ └── chkit.sh │ ├── fdefault-type-8 │ │ └── chk.stdout │ ├── flang-445882 │ │ ├── chkit.sh │ │ └── doit.sh │ ├── flang-gpu-stop-integer │ │ ├── doit.sh │ │ └── chkit.sh │ ├── intrin-rename-func │ │ ├── chkit.sh │ │ └── doit.sh │ ├── intrin-rename-sub │ │ ├── chkit.sh │ │ └── doit.sh │ ├── milestone-3-babel │ │ ├── chkit.sh │ │ └── README │ ├── flang-416048 │ │ ├── doit.sh │ │ ├── macro.h │ │ ├── chkit.sh │ │ └── test.F90 │ ├── flang-420573 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-446005a │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-446005b │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-446034 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-453308a │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-472452 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-479382-1 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-479382-2 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-479382-3 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-479382-4 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-479382-5 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-479382 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-502486 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── milestone-3-babel-copy │ │ ├── chkit.sh │ │ └── README │ ├── milestone-3-babel-pdot │ │ ├── chkit.sh │ │ └── README │ ├── tgt-printf-c │ │ └── chkit.sh │ ├── milestone-3-babel-drop-1 │ │ ├── chkit.sh │ │ └── README │ ├── milestone-3-babel-noteams │ │ ├── chkit.sh │ │ └── README │ ├── target-cray-pointer │ │ ├── doit.sh │ │ └── chkit.sh │ ├── jacobi │ │ └── doit.sh │ ├── flang-446057a │ │ └── hello.f │ ├── flang-446057b │ │ └── hello.f │ ├── flang-446057c │ │ └── hello.f │ ├── flang-446057d │ │ └── hello.f │ ├── flang-462537 │ │ └── flang-462537.f90 │ ├── flang-458684 │ │ └── etime.f90 │ ├── flang-gpu-abort │ │ ├── chkit.sh │ │ └── runit.sh │ ├── flang-404247 │ │ └── comp_ver.f90 │ ├── rocm-issue-202 │ │ └── teams.F90 │ ├── flang-522104 │ │ └── declare-target-list.f90 │ └── flang-489863 │ │ └── doit.sh ├── smoke │ ├── clang-meta │ │ └── NRUN │ ├── devices │ │ └── NRUN │ ├── schedule │ │ └── NRUN │ ├── teams_nest │ │ └── NRUN │ ├── threads │ │ └── NRUN │ ├── virtfunc1 │ │ └── NRUN │ ├── clang-273738 │ │ └── NRUN │ ├── clang-353110 │ │ └── NRUN │ ├── clang-meta2 │ │ └── NRUN │ ├── clang-meta3 │ │ └── NRUN │ ├── clang-meta4 │ │ └── NRUN │ ├── data_enter_issue01 │ │ └── NRUN │ ├── data_share1 │ │ └── NRUN │ ├── data_share2 │ │ └── NRUN │ ├── min_reduction │ │ └── NRUN │ ├── nested_loop │ │ └── NRUN │ ├── no-loop-sched │ │ └── NRUN │ ├── targc-273738 │ │ └── NRUN │ ├── alignedattribute │ │ └── NRUN │ ├── clang_udel_saxpy │ │ └── NRUN │ ├── complex_reduction │ │ └── NRUN │ ├── map_to_from_prob │ │ └── NRUN │ ├── targetid_multi_image │ │ └── NRUN │ ├── unique-kernel-name │ │ ├── a.h │ │ ├── a.cpp │ │ ├── b.cpp │ │ └── t.h │ ├── omp_num_teams_generic │ │ └── NRUN │ ├── printf_parallel_for_target │ │ └── NRUN │ ├── clang-host-targ2 │ │ └── another.c │ ├── famd-opt-279975 │ │ └── targ-279975.cpp │ ├── vmulsum │ │ └── onesrc.c │ ├── clang-296953-ornla-38 │ │ ├── fg.h │ │ ├── f.cc │ │ ├── g.cc │ │ └── global.h │ ├── clang-279673 │ │ ├── one │ │ ├── two.h │ │ ├── one.c │ │ └── two.c │ ├── c-heatx │ │ └── heatx_256 │ ├── exp-303973 │ │ └── heatx.inp │ ├── clang-357649 │ │ └── clang-357649.cpp │ ├── issue_flang_libomp │ │ └── issue_flang_libomp.f90 │ ├── flang-433943 │ │ └── flang-433943.f90 │ ├── liba_bundled_cmdline │ │ ├── hfunc0.c │ │ └── MyHostLib │ │ │ ├── hfunc1.c │ │ │ ├── hfunc2.c │ │ │ └── hfunc3.c │ ├── issue_001 │ │ └── issue_001.execute.fail │ ├── ancestorC │ │ └── ancestorC.cpp │ ├── flang-321412 │ │ └── flang-321412.f90 │ ├── hipmalloc-omptarget-multifile │ │ └── support.h │ └── liba_bundled │ │ └── MyDeviceLib │ │ ├── func_1v.c │ │ └── func_2v.c ├── smoke-fort-dev │ ├── flang-463332 │ │ ├── chk.stdout │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-529628 │ │ ├── chk.stderr │ │ ├── chkit.sh │ │ └── doit.sh │ ├── target-cmplx4-div │ │ ├── chk.stderr │ │ ├── chkit.sh │ │ └── doit.sh │ ├── target-cmplx8-div │ │ ├── chk.stderr │ │ ├── chkit.sh │ │ └── doit.sh │ ├── tgt-stop-lhostdev │ │ ├── chk.stdout │ │ ├── chk.stderr │ │ ├── README.txt │ │ ├── chkit.sh │ │ ├── doit.sh │ │ └── test.f90 │ ├── chk-ffast-ama │ │ └── test.f90 │ ├── chk-ffast-fmod │ │ └── test.f90 │ ├── tgt-abort-lhostdev │ │ ├── chk.stdout │ │ ├── README.txt │ │ ├── chkit.sh │ │ ├── test.f90 │ │ ├── doit.sh │ │ └── chk.stderr │ ├── tgt-print-val-lhostdev │ │ ├── chk.stderr │ │ ├── chkit.sh │ │ ├── doit.sh │ │ └── chk.stdout │ ├── tgt-write-lhostdev │ │ ├── chk.stderr │ │ ├── chkit.sh │ │ ├── doit.sh │ │ └── chk.stdout │ ├── Makefile.rules │ ├── tgt-print-hello-lhostdev │ │ ├── chk.stderr │ │ ├── chk.stdout │ │ ├── chkit.sh │ │ ├── doit.sh │ │ └── test.f90 │ ├── check_smoke_fort_dev.sh │ ├── openmp-ver │ │ └── test.f90 │ ├── flang-505726 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-568012 │ │ └── doit.sh │ ├── hipfort │ │ ├── f2003 │ │ │ ├── rocfft │ │ │ │ └── Makefile │ │ │ ├── hipfft │ │ │ │ └── Makefile │ │ │ ├── rocblas │ │ │ │ └── Makefile │ │ │ ├── rocsparse │ │ │ │ └── Makefile │ │ │ ├── rocsolver │ │ │ │ └── Makefile │ │ │ ├── hipblas │ │ │ │ └── Makefile │ │ │ └── vecadd │ │ │ │ └── Makefile │ │ └── f2008 │ │ │ ├── rocfft │ │ │ └── Makefile │ │ │ ├── hipfft │ │ │ └── Makefile │ │ │ ├── rocblas │ │ │ └── Makefile │ │ │ ├── rocsparse │ │ │ └── Makefile │ │ │ ├── rocsolver │ │ │ └── Makefile │ │ │ ├── hipblas │ │ │ └── Makefile │ │ │ ├── hipsolver │ │ │ └── Makefile │ │ │ └── vecadd │ │ │ └── Makefile │ ├── flang-519081 │ │ └── real10.f90 │ ├── flang-523587 │ │ └── test.f90 │ ├── flang-561059 │ │ └── doit.sh │ ├── amdflang-test │ │ └── amdflang-test.f90 │ └── flang-315421 │ │ └── blk_par.h ├── smoke-asan │ ├── Makefile.rules │ └── check_smoke_asan.sh ├── smoke-limbo │ ├── Makefile.rules │ └── check_smoke_limbo.sh ├── smoke-training │ ├── Makefile.rules │ └── check_smoke_training.sh ├── smoke-fort-fails │ ├── Makefile.rules │ ├── check_smoke_fort_fails.sh │ ├── flang-446525 │ │ └── chkit.sh │ ├── flang-469194 │ │ ├── clean.sh │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-480581 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-509589 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── rocm-issue-251 │ │ ├── doit.sh │ │ └── chkit.sh │ ├── flang-gpu-exit │ │ └── chkit.sh │ ├── rocm-issue-241 │ │ └── Notes.txt │ └── inc_omp_lib_h │ │ └── inc_omp_lib_h.f90 ├── smoke-fort-limbo │ ├── Makefile.rules │ ├── check_smoke_fort_limbo.sh │ ├── flang-474712 │ │ ├── chkit.sh │ │ └── doit.sh │ └── clause_task_detach │ │ ├── doit.sh │ │ └── chkit.sh ├── LLNL │ └── openmp5.0-tests │ │ └── xfail-list ├── usm │ └── README ├── OpenMP │ ├── clean.sh │ └── run.sh ├── hip-openmp │ └── kern_latency │ │ └── timestampit.sh └── USM_check.make ├── trunk ├── .gitignore ├── build_prereq.sh ├── build_supp.sh └── test │ └── driver_test │ ├── README │ ├── dec_arrayval.c │ └── inc_arrayval.c ├── examples ├── hipfort │ ├── rocblas │ │ └── .gitignore │ ├── rocfft │ │ └── .gitignore │ ├── rocsparse │ │ └── .gitignore │ └── hipblas │ │ └── .gitignore ├── fortran │ ├── gdb-simple │ │ └── gdbcmds │ └── helloworld │ │ ├── README.md │ │ └── helloworld.f90 ├── hip │ └── device_lib │ │ ├── inc_arrayval.c │ │ ├── dec_arrayval.c │ │ └── _myomplib.c ├── kokkos │ └── README.md ├── opencl │ └── README.md ├── stress │ ├── README.md │ └── many_regions │ │ └── src │ │ ├── vmul_000.c │ │ ├── vmul_001.c │ │ ├── vmul_002.c │ │ ├── vmul_003.c │ │ ├── vmul_004.c │ │ ├── vmul_005.c │ │ ├── vmul_006.c │ │ ├── vmul_007.c │ │ ├── vmul_008.c │ │ ├── vmul_009.c │ │ ├── vmul_010.c │ │ ├── vmul_011.c │ │ ├── vmul_012.c │ │ ├── vmul_013.c │ │ ├── vmul_014.c │ │ ├── vmul_015.c │ │ ├── vmul_016.c │ │ ├── vmul_017.c │ │ ├── vmul_018.c │ │ ├── vmul_019.c │ │ ├── vmul_020.c │ │ ├── vmul_021.c │ │ ├── vmul_022.c │ │ ├── vmul_023.c │ │ ├── vmul_024.c │ │ ├── vmul_025.c │ │ ├── vmul_026.c │ │ ├── vmul_027.c │ │ ├── vmul_028.c │ │ ├── vmul_029.c │ │ ├── vmul_030.c │ │ ├── vmul_031.c │ │ ├── vmul_032.c │ │ ├── vmul_033.c │ │ ├── vmul_034.c │ │ ├── vmul_035.c │ │ ├── vmul_036.c │ │ ├── vmul_037.c │ │ ├── vmul_038.c │ │ ├── vmul_039.c │ │ ├── vmul_040.c │ │ ├── vmul_041.c │ │ ├── vmul_042.c │ │ ├── vmul_043.c │ │ ├── vmul_044.c │ │ ├── vmul_045.c │ │ ├── vmul_046.c │ │ ├── vmul_047.c │ │ ├── vmul_048.c │ │ ├── vmul_049.c │ │ ├── vmul_050.c │ │ ├── vmul_051.c │ │ ├── vmul_052.c │ │ ├── vmul_053.c │ │ ├── vmul_054.c │ │ ├── vmul_055.c │ │ ├── vmul_056.c │ │ ├── vmul_057.c │ │ ├── vmul_058.c │ │ ├── vmul_059.c │ │ ├── vmul_060.c │ │ ├── vmul_061.c │ │ ├── vmul_062.c │ │ ├── vmul_063.c │ │ ├── vmul_064.c │ │ ├── vmul_065.c │ │ ├── vmul_066.c │ │ ├── vmul_067.c │ │ ├── vmul_068.c │ │ ├── vmul_069.c │ │ ├── vmul_070.c │ │ ├── vmul_071.c │ │ ├── vmul_072.c │ │ ├── vmul_073.c │ │ ├── vmul_074.c │ │ ├── vmul_075.c │ │ ├── vmul_076.c │ │ ├── vmul_077.c │ │ ├── vmul_078.c │ │ ├── vmul_079.c │ │ ├── vmul_080.c │ │ ├── vmul_081.c │ │ ├── vmul_082.c │ │ ├── vmul_083.c │ │ ├── vmul_084.c │ │ ├── vmul_085.c │ │ ├── vmul_086.c │ │ ├── vmul_087.c │ │ ├── vmul_088.c │ │ ├── vmul_089.c │ │ ├── vmul_090.c │ │ ├── vmul_091.c │ │ ├── vmul_092.c │ │ ├── vmul_093.c │ │ ├── vmul_094.c │ │ ├── vmul_095.c │ │ ├── vmul_096.c │ │ ├── vmul_097.c │ │ ├── vmul_098.c │ │ ├── vmul_099.c │ │ ├── vmul_100.c │ │ ├── vmul_101.c │ │ ├── vmul_102.c │ │ ├── vmul_103.c │ │ ├── vmul_104.c │ │ ├── vmul_105.c │ │ ├── vmul_106.c │ │ ├── vmul_107.c │ │ ├── vmul_108.c │ │ ├── vmul_109.c │ │ ├── vmul_110.c │ │ ├── vmul_111.c │ │ ├── vmul_112.c │ │ ├── vmul_113.c │ │ ├── vmul_114.c │ │ ├── vmul_115.c │ │ ├── vmul_116.c │ │ ├── vmul_117.c │ │ ├── vmul_118.c │ │ ├── vmul_119.c │ │ ├── vmul_120.c │ │ ├── vmul_121.c │ │ ├── vmul_122.c │ │ ├── vmul_123.c │ │ ├── vmul_124.c │ │ ├── vmul_125.c │ │ ├── vmul_126.c │ │ ├── vmul_127.c │ │ ├── vmul_128.c │ │ ├── vmul_129.c │ │ ├── vmul_130.c │ │ ├── vmul_131.c │ │ ├── vmul_132.c │ │ ├── vmul_133.c │ │ ├── vmul_134.c │ │ ├── vmul_135.c │ │ ├── vmul_136.c │ │ ├── vmul_137.c │ │ ├── vmul_138.c │ │ ├── vmul_139.c │ │ ├── vmul_140.c │ │ ├── vmul_141.c │ │ ├── vmul_142.c │ │ ├── vmul_143.c │ │ ├── vmul_144.c │ │ ├── vmul_145.c │ │ ├── vmul_146.c │ │ ├── vmul_147.c │ │ ├── vmul_148.c │ │ ├── vmul_149.c │ │ ├── vmul_150.c │ │ ├── vmul_151.c │ │ ├── vmul_152.c │ │ ├── vmul_153.c │ │ ├── vmul_154.c │ │ ├── vmul_155.c │ │ ├── vmul_156.c │ │ ├── vmul_157.c │ │ ├── vmul_158.c │ │ ├── vmul_159.c │ │ ├── vmul_160.c │ │ ├── vmul_161.c │ │ ├── vmul_162.c │ │ ├── vmul_163.c │ │ ├── vmul_164.c │ │ ├── vmul_165.c │ │ ├── vmul_166.c │ │ ├── vmul_167.c │ │ ├── vmul_168.c │ │ ├── vmul_169.c │ │ ├── vmul_170.c │ │ ├── vmul_171.c │ │ ├── vmul_172.c │ │ ├── vmul_173.c │ │ ├── vmul_174.c │ │ ├── vmul_175.c │ │ ├── vmul_176.c │ │ ├── vmul_177.c │ │ ├── vmul_178.c │ │ ├── vmul_179.c │ │ ├── vmul_180.c │ │ ├── vmul_181.c │ │ ├── vmul_182.c │ │ ├── vmul_183.c │ │ ├── vmul_184.c │ │ ├── vmul_185.c │ │ ├── vmul_186.c │ │ ├── vmul_187.c │ │ ├── vmul_188.c │ │ ├── vmul_189.c │ │ ├── vmul_190.c │ │ ├── vmul_191.c │ │ ├── vmul_192.c │ │ ├── vmul_193.c │ │ ├── vmul_194.c │ │ ├── vmul_195.c │ │ ├── vmul_196.c │ │ ├── vmul_197.c │ │ ├── vmul_198.c │ │ ├── vmul_199.c │ │ ├── vmul_200.c │ │ ├── vmul_201.c │ │ ├── vmul_202.c │ │ ├── vmul_203.c │ │ ├── vmul_204.c │ │ ├── vmul_205.c │ │ ├── vmul_206.c │ │ ├── vmul_207.c │ │ ├── vmul_208.c │ │ ├── vmul_209.c │ │ ├── vmul_210.c │ │ ├── vmul_211.c │ │ ├── vmul_212.c │ │ ├── vmul_213.c │ │ ├── vmul_214.c │ │ ├── vmul_215.c │ │ ├── vmul_216.c │ │ ├── vmul_217.c │ │ ├── vmul_218.c │ │ ├── vmul_219.c │ │ ├── vmul_220.c │ │ ├── vmul_221.c │ │ ├── vmul_222.c │ │ ├── vmul_223.c │ │ ├── vmul_224.c │ │ ├── vmul_225.c │ │ ├── vmul_226.c │ │ ├── vmul_227.c │ │ ├── vmul_228.c │ │ ├── vmul_229.c │ │ ├── vmul_230.c │ │ ├── vmul_231.c │ │ ├── vmul_232.c │ │ ├── vmul_233.c │ │ ├── vmul_234.c │ │ ├── vmul_235.c │ │ ├── vmul_236.c │ │ ├── vmul_237.c │ │ ├── vmul_238.c │ │ ├── vmul_239.c │ │ ├── vmul_240.c │ │ ├── vmul_241.c │ │ ├── vmul_242.c │ │ ├── vmul_243.c │ │ ├── vmul_244.c │ │ ├── vmul_245.c │ │ ├── vmul_246.c │ │ ├── vmul_247.c │ │ ├── vmul_248.c │ │ ├── vmul_249.c │ │ ├── vmul_250.c │ │ ├── vmul_251.c │ │ ├── vmul_252.c │ │ ├── vmul_253.c │ │ ├── vmul_254.c │ │ ├── vmul_255.c │ │ ├── vmul_256.c │ │ ├── vmul_257.c │ │ ├── vmul_258.c │ │ ├── vmul_259.c │ │ ├── vmul_260.c │ │ ├── vmul_261.c │ │ ├── vmul_262.c │ │ ├── vmul_263.c │ │ ├── vmul_264.c │ │ ├── vmul_265.c │ │ ├── vmul_266.c │ │ ├── vmul_267.c │ │ ├── vmul_268.c │ │ ├── vmul_269.c │ │ ├── vmul_270.c │ │ ├── vmul_271.c │ │ ├── vmul_272.c │ │ ├── vmul_273.c │ │ ├── vmul_274.c │ │ ├── vmul_275.c │ │ ├── vmul_276.c │ │ ├── vmul_277.c │ │ ├── vmul_278.c │ │ ├── vmul_279.c │ │ ├── vmul_280.c │ │ ├── vmul_281.c │ │ ├── vmul_282.c │ │ ├── vmul_283.c │ │ ├── vmul_284.c │ │ ├── vmul_285.c │ │ ├── vmul_286.c │ │ ├── vmul_287.c │ │ ├── vmul_288.c │ │ ├── vmul_289.c │ │ ├── vmul_290.c │ │ ├── vmul_291.c │ │ ├── vmul_292.c │ │ ├── vmul_293.c │ │ ├── vmul_294.c │ │ ├── vmul_295.c │ │ ├── vmul_296.c │ │ ├── vmul_297.c │ │ ├── vmul_298.c │ │ ├── vmul_299.c │ │ ├── vmul_300.c │ │ ├── vmul_301.c │ │ └── vmul_302.c └── openmp │ ├── reduction │ └── README │ ├── veccopy │ └── README │ ├── hello │ ├── hello1.c │ └── hello3.c │ ├── vmul_template │ └── README │ └── print_device │ └── print_device.c ├── upstream-buildbots ├── Ubu22 │ ├── rocm-pin-600 │ └── rocm.list ├── Ubu22-HIP-TPL │ ├── rocm-pin-600 │ └── rocm.list ├── RHEL8 │ └── rocm-6.3.repo └── RHEL9 │ └── rocm-6.3.repo ├── .github └── CODEOWNERS └── f18bin └── patches └── patch-control-file.txt /bin/disableClassic: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/debian/aomp.install: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/debian/aomp.links: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /test/smoke-fails/lockfile: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/build_prereq.sh: -------------------------------------------------------------------------------- 1 | build_supp.sh -------------------------------------------------------------------------------- /test/smoke-dev/xteamr/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-fort/end/end.f90: -------------------------------------------------------------------------------- 1 | end 2 | -------------------------------------------------------------------------------- /test/smoke-fort/iso_flush/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-abort/chk.stdout: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-stop/chk.stdout: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-write/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke/clang-meta/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/devices/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/schedule/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/teams_nest/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/threads/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/virtfunc1/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /trunk/.gitignore: -------------------------------------------------------------------------------- 1 | tmpc/ 2 | tmpf/ 3 | -------------------------------------------------------------------------------- /bin/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /examples/hipfort/rocblas/.gitignore: -------------------------------------------------------------------------------- 1 | saxpy -------------------------------------------------------------------------------- /test/smoke-dev/Threads1xxx/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-dev/omp_lock/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-dev/snap_red/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-440121/lib/wrong.bc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fails/omp_lock/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-463332/chk.stdout: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-529628/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort/end-fopenmp/end.f90: -------------------------------------------------------------------------------- 1 | end 2 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-440121/lib/wrong.bc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort/split-outer2/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-print-hello/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-print-val/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke/clang-273738/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/clang-353110/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/clang-meta2/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/clang-meta3/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/clang-meta4/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/data_enter_issue01/NRUN: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /test/smoke/data_share1/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/data_share2/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/min_reduction/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/nested_loop/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/no-loop-sched/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/targc-273738/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /trunk/build_prereq.sh: -------------------------------------------------------------------------------- 1 | ../bin/build_supp.sh -------------------------------------------------------------------------------- /trunk/build_supp.sh: -------------------------------------------------------------------------------- 1 | ../bin/build_supp.sh -------------------------------------------------------------------------------- /trunk/test/driver_test/README: -------------------------------------------------------------------------------- 1 | driver_test.sh -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.0.0/omp5/omp5_passes.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/hipfort/rocfft/.gitignore: -------------------------------------------------------------------------------- 1 | rocfft 2 | -------------------------------------------------------------------------------- /examples/hipfort/rocsparse/.gitignore: -------------------------------------------------------------------------------- 1 | ddoti 2 | -------------------------------------------------------------------------------- /test/smoke-dev/reduction_teams/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/target-cmplx4-div/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/target-cmplx8-div/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-stop-lhostdev/chk.stdout: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke/alignedattribute/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/clang_udel_saxpy/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/complex_reduction/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/map_to_from_prob/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/targetid_multi_image/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke/unique-kernel-name/a.h: -------------------------------------------------------------------------------- 1 | void a(); 2 | -------------------------------------------------------------------------------- /examples/fortran/gdb-simple/gdbcmds: -------------------------------------------------------------------------------- 1 | run 2 | exit 3 | -------------------------------------------------------------------------------- /test/smoke-asan/Makefile.rules: -------------------------------------------------------------------------------- 1 | ../smoke/Makefile.rules -------------------------------------------------------------------------------- /test/smoke-dev/Makefile.rules: -------------------------------------------------------------------------------- 1 | ../smoke/Makefile.rules -------------------------------------------------------------------------------- /test/smoke-dev/xteam-red-unsupported/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/chk-ffast-ama/test.f90: -------------------------------------------------------------------------------- 1 | end 2 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/chk-ffast-fmod/test.f90: -------------------------------------------------------------------------------- 1 | end 2 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-abort-lhostdev/chk.stdout: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-print-val-lhostdev/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-write-lhostdev/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort/Makefile.rules: -------------------------------------------------------------------------------- 1 | ../smoke/Makefile.rules -------------------------------------------------------------------------------- /test/smoke-fort/end-ffixed-form/end.f: -------------------------------------------------------------------------------- 1 | end 2 | -------------------------------------------------------------------------------- /test/smoke-fort/iso_flush/chk.stdout: -------------------------------------------------------------------------------- 1 | Hello ISO 2 | -------------------------------------------------------------------------------- /test/smoke/omp_num_teams_generic/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-asan/check_smoke_asan.sh: -------------------------------------------------------------------------------- 1 | ../smoke/check_smoke.sh -------------------------------------------------------------------------------- /test/smoke-dev/check_smoke_dev.sh: -------------------------------------------------------------------------------- 1 | ../smoke/check_smoke.sh -------------------------------------------------------------------------------- /test/smoke-fails/FNew-flang_isystem_prob/minimpi/lib/empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fails/Makefile.rules: -------------------------------------------------------------------------------- 1 | ../smoke/Makefile.rules -------------------------------------------------------------------------------- /test/smoke-fort-dev/Makefile.rules: -------------------------------------------------------------------------------- 1 | ../smoke/Makefile.rules -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-print-hello-lhostdev/chk.stderr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/smoke-fort/check_smoke_fort.sh: -------------------------------------------------------------------------------- 1 | ../smoke/check_smoke.sh -------------------------------------------------------------------------------- /test/smoke-fort/fdefault-sizeof/buildit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | -------------------------------------------------------------------------------- /test/smoke-limbo/Makefile.rules: -------------------------------------------------------------------------------- 1 | ../smoke/Makefile.rules -------------------------------------------------------------------------------- /test/smoke-training/Makefile.rules: -------------------------------------------------------------------------------- 1 | ../smoke/Makefile.rules -------------------------------------------------------------------------------- /test/smoke/printf_parallel_for_target/NRUN: -------------------------------------------------------------------------------- 1 | 30 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/Makefile.rules: -------------------------------------------------------------------------------- 1 | ../smoke/Makefile.rules -------------------------------------------------------------------------------- /test/smoke-fort-limbo/Makefile.rules: -------------------------------------------------------------------------------- 1 | ../smoke/Makefile.rules -------------------------------------------------------------------------------- /test/smoke-limbo/check_smoke_limbo.sh: -------------------------------------------------------------------------------- 1 | ../smoke/check_smoke.sh -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.1.0/nekbone/nekbone_passes.txt: -------------------------------------------------------------------------------- 1 | nekbone 2 | -------------------------------------------------------------------------------- /examples/hipfort/hipblas/.gitignore: -------------------------------------------------------------------------------- 1 | dgemm 2 | dger 3 | dscal 4 | -------------------------------------------------------------------------------- /test/LLNL/openmp5.0-tests/xfail-list: -------------------------------------------------------------------------------- 1 | test_imperfect_loop run 2 | -------------------------------------------------------------------------------- /test/smoke-fails/flang-314750/NPB_FT/config/make.def: -------------------------------------------------------------------------------- 1 | make.def_flang -------------------------------------------------------------------------------- /test/smoke-fort-dev/check_smoke_fort_dev.sh: -------------------------------------------------------------------------------- 1 | ../smoke/check_smoke.sh -------------------------------------------------------------------------------- /test/smoke-fort/flang-gpu-stop-string/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | $1 3 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-stop/chk.stderr: -------------------------------------------------------------------------------- 1 | Fortran STOP: code 2 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-training/check_smoke_training.sh: -------------------------------------------------------------------------------- 1 | ../smoke/check_smoke.sh -------------------------------------------------------------------------------- /test/smoke-fails/flang-317868/foo.f90: -------------------------------------------------------------------------------- 1 | !You shouldn't see me twice 2 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/check_smoke_fort_fails.sh: -------------------------------------------------------------------------------- 1 | ../smoke/check_smoke.sh -------------------------------------------------------------------------------- /test/smoke-fort-limbo/check_smoke_fort_limbo.sh: -------------------------------------------------------------------------------- 1 | ../smoke/check_smoke.sh -------------------------------------------------------------------------------- /test/smoke-fort/fdefault-type-8/chk.stdout: -------------------------------------------------------------------------------- 1 | c = 1.2 2 | c = 1.2 3 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-445882/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ! grep Error $1 3 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-gpu-stop-integer/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | $1 3 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.1.0/babelstream/babelstream_passes.txt: -------------------------------------------------------------------------------- 1 | babelstream 2 | -------------------------------------------------------------------------------- /test/smoke-fails/FNew-flang_isystem_prob/mod.f90: -------------------------------------------------------------------------------- 1 | module mpi 2 | end 3 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/openmp-ver/test.f90: -------------------------------------------------------------------------------- 1 | integer :: var1 = _OPENMP 2 | end 3 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-stop-lhostdev/chk.stderr: -------------------------------------------------------------------------------- 1 | Fortran STOP: code 2 2 | 3 | -------------------------------------------------------------------------------- /test/smoke-fort/intrin-rename-func/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff chk dst3 3 | -------------------------------------------------------------------------------- /test/smoke-fort/intrin-rename-sub/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff chk dst3 3 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ! grep Error $1 3 | -------------------------------------------------------------------------------- /test/smoke-fort/split-outer2/chk.stdout: -------------------------------------------------------------------------------- 1 | 20 20 20 20 20 20 20 20 20 20 2 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-print-hello/chk.stdout: -------------------------------------------------------------------------------- 1 | Hello OpenMP 2 | Hello World 3 | -------------------------------------------------------------------------------- /test/smoke-fails/clang_llnl-58-1/clang_llnl_58.cc: -------------------------------------------------------------------------------- 1 | #include "hip/hip_runtime.h" 2 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/flang-446525/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ! grep Error $1 3 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/flang-469194/clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f *.o *.mod 3 | -------------------------------------------------------------------------------- /test/smoke-fort-limbo/flang-474712/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ! grep Error $1 3 | -------------------------------------------------------------------------------- /test/smoke-fort/fdefault-sizeof/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff $1 chk.stdout 3 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-416048/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-420573/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446005a/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446005b/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446034/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-453308a/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-472452/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-1/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-2/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-3/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-4/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-5/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-502486/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel-copy/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ! grep Error $1 3 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel-pdot/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ! grep Error $1 3 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-printf-c/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | grep -q 'hello dev' $1 3 | -------------------------------------------------------------------------------- /test/smoke/clang-host-targ2/another.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /test/smoke/famd-opt-279975/targ-279975.cpp: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/usm/README: -------------------------------------------------------------------------------- 1 | This directory if for newer tests targeting omp6 and beyond 2 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.0.0/examples_fortran/examples_fortran_passes.txt: -------------------------------------------------------------------------------- 1 | helloworld 2 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.4.3/examples_openmp/examples_openmp_passes.txt: -------------------------------------------------------------------------------- 1 | driver_tests 2 | -------------------------------------------------------------------------------- /test/OpenMP/clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | rm -rf Examples C CXX F F90 4 | 5 | -------------------------------------------------------------------------------- /test/smoke-dev/gdb_teams/cmd_script: -------------------------------------------------------------------------------- 1 | b 32 2 | r 3 | bt 4 | d 1 5 | c 6 | quit 7 | 8 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-505726/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/flang-469194/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/flang-480581/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/flang-509589/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel-drop-1/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ! grep Error $1 3 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel-noteams/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ! grep Error $1 3 | -------------------------------------------------------------------------------- /test/smoke-fort/target-cray-pointer/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-print-hello/README.txt: -------------------------------------------------------------------------------- 1 | 3/10/2025 test working with emissary I/O 2 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.0.0/examples_openmp/examples_openmp_passes.txt: -------------------------------------------------------------------------------- 1 | show-offload-types 2 | -------------------------------------------------------------------------------- /test/smoke-fails/flang-337105/testmod.F90: -------------------------------------------------------------------------------- 1 | module testmod 2 | real :: x 3 | end module 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-print-hello-lhostdev/chk.stdout: -------------------------------------------------------------------------------- 1 | Hello OpenMP 2 | Hello World 3 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/rocm-issue-251/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort-limbo/clause_task_detach/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-416048/macro.h: -------------------------------------------------------------------------------- 1 | #define DECLARE_PARAM(var) INTEGER, PARAMETER :: var 2 | -------------------------------------------------------------------------------- /test/smoke/vmulsum/onesrc.c: -------------------------------------------------------------------------------- 1 | #include "main.c" 2 | #include "vmul.c" 3 | #include "vsum.c" 4 | -------------------------------------------------------------------------------- /examples/hip/device_lib/inc_arrayval.c: -------------------------------------------------------------------------------- 1 | void inc_arrayval(int i, int *array) { array[i]++; } 2 | -------------------------------------------------------------------------------- /test/smoke/clang-296953-ornla-38/fg.h: -------------------------------------------------------------------------------- 1 | double f(const double x); 2 | double g(const double x); 3 | -------------------------------------------------------------------------------- /test/smoke-fails/hsa-lazy-queues/empty-sink.c: -------------------------------------------------------------------------------- 1 | extern "C" { 2 | void consume(int *p) {} 3 | } 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-416048/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-420573/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446005a/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446005b/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446034/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-453308a/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-472452/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-1/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-2/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-3/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-4/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382-5/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-479382/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-502486/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke/clang-279673/one: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke/clang-279673/one -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.5.0/omp5/omp5_passes.txt: -------------------------------------------------------------------------------- 1 | declare_target_nested 2 | mapper_prob 3 | metadirective 4 | -------------------------------------------------------------------------------- /test/smoke-dev/vmulsum-hsa-stats/onesrc.c: -------------------------------------------------------------------------------- 1 | #include "main.c" 2 | #include "vmul.c" 3 | #include "vsum.c" 4 | -------------------------------------------------------------------------------- /test/smoke-fails/flang-317868/flang-317868.f90: -------------------------------------------------------------------------------- 1 | #include "foo.f90" 2 | program main 3 | end program main 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-505726/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-568012/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | export OMP_TARGET_OFFLOAD=DISABLED 3 | ./$1 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2003/rocfft/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lrocfft 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2008/rocfft/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lrocfft 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/flang-469194/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/flang-480581/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/flang-509589/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/rocm-issue-251/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/target-cray-pointer/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-abort/README.txt: -------------------------------------------------------------------------------- 1 | Failure mode: 2 | ld.lld: error: undefined symbol: _FortranAAbort 3 | -------------------------------------------------------------------------------- /test/smoke/c-heatx/heatx_256: -------------------------------------------------------------------------------- 1 | 256 256 256 2 | 10000 1000 3 | 1.0 0.0 1.0 0.0 1.0 0.0 4 | 1.000000e-05 5 | -------------------------------------------------------------------------------- /test/smoke/exp-303973/heatx.inp: -------------------------------------------------------------------------------- 1 | 256 256 256 2 | 10000 1000 3 | 1.0 0.0 1.0 0.0 1.0 0.0 4 | 1.e-05 5 | 6 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.1.0/sollve45/sollve45_passes.txt: -------------------------------------------------------------------------------- 1 | test_target_teams_distribute_parallel_for_devices.c 2 | -------------------------------------------------------------------------------- /examples/kokkos/README.md: -------------------------------------------------------------------------------- 1 | # AOMP -- Examples for Kokkos 2 | 3 | This directory contains examples for Kokkos. 4 | -------------------------------------------------------------------------------- /examples/opencl/README.md: -------------------------------------------------------------------------------- 1 | # AOMP -- Examples for OpenCL 2 | 3 | This directory contains examples for OpenCL. 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2003/hipfft/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lhipfft -lrocfft 2 | 3 | include ../../Makefile.in -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2003/rocblas/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lrocblas 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2003/rocsparse/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lrocsparse 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2008/hipfft/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lhipfft -lrocfft 2 | 3 | include ../../Makefile.in -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2008/rocblas/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lrocblas 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2008/rocsparse/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lrocsparse 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-limbo/clause_task_detach/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "compile only, no runtime check" 4 | -------------------------------------------------------------------------------- /test/smoke-fort/jacobi/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "ZZZZZZZZZZ $1" # marker for extract-tests 3 | ./$1 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-stop/README.txt: -------------------------------------------------------------------------------- 1 | Failure mode: 2 | ld.lld: error: undefined symbol: _FortranAStopStatement 3 | -------------------------------------------------------------------------------- /upstream-buildbots/Ubu22/rocm-pin-600: -------------------------------------------------------------------------------- 1 | Package: * 2 | Pin: release o=repo.radeon.com 3 | Pin-Priority: 600 4 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.1.0/openmpvv45/openmpvv45_passes.txt: -------------------------------------------------------------------------------- 1 | test_target_teams_distribute_parallel_for_devices.c 2 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-440121/clang-440121.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | #pragma omp target 3 | { 4 | } 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /upstream-buildbots/Ubu22-HIP-TPL/rocm-pin-600: -------------------------------------------------------------------------------- 1 | Package: * 2 | Pin: release o=repo.radeon.com 3 | Pin-Priority: 600 4 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @estewart08 @gregrodgers @ronlieb @zGoldthorpe @carlobertolli 2 | 3 | /bin/rocmlibs/ @saiislam 4 | -------------------------------------------------------------------------------- /examples/stress/README.md: -------------------------------------------------------------------------------- 1 | # AOMP -- Examples for stress tests 2 | 3 | This directory contains example stress tests. 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2003/rocsolver/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lrocsolver -lrocblas 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2008/rocsolver/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lrocblas -lrocsolver 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-abort-lhostdev/README.txt: -------------------------------------------------------------------------------- 1 | Failure mode: 2 | ld.lld: error: undefined symbol: _FortranAAbort 3 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-stop/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-dev/global-usm-fort/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -o pipefail 3 | grep '^ XNACK' $1 | diff - ref.csv 4 | exit $? 5 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-519081/real10.f90: -------------------------------------------------------------------------------- 1 | program real10 2 | use ieee_arithmetic 3 | implicit none 4 | end program 5 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-stop-lhostdev/README.txt: -------------------------------------------------------------------------------- 1 | Failure mode: 2 | ld.lld: error: undefined symbol: _FortranAStopStatement 3 | -------------------------------------------------------------------------------- /test/smoke-fort/iso_flush/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort/split-outer2/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-abort/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-print-val/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-write/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke/unique-kernel-name/a.cpp: -------------------------------------------------------------------------------- 1 | #include "t.h" 2 | #include "a.h" 3 | 4 | void a() 5 | { 6 | foo local; 7 | } 8 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-529628/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2003/hipblas/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lhipblas -lrocsolver -lrocblas 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2008/hipblas/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lhipblas -lrocsolver -lrocblas 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort/iso_flush/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 > $1.stdout.log 2> $1.stderr.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-print-hello/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke/clang-357649/clang-357649.cpp: -------------------------------------------------------------------------------- 1 | #include_next 2 | 3 | int main() 4 | { 5 | return 0; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/4.3.0/examples_openmp/examples_openmp_passes.txt: -------------------------------------------------------------------------------- 1 | declare_variant_if 2 | veccopy 3 | vmulsum 4 | vmul_template 5 | -------------------------------------------------------------------------------- /test/smoke-dev/mix_hipmemset_omp/hip_memset.h: -------------------------------------------------------------------------------- 1 | #ifndef __MEMSET__H 2 | #define __MEMSET__H 3 | void set_mem(int *a, int n); 4 | #endif 5 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2008/hipsolver/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -lhipsolver -lrocsolver -lrocblas 2 | 3 | include ../../Makefile.in 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/target-cmplx4-div/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/target-cmplx8-div/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-abort-lhostdev/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-stop-lhostdev/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-write-lhostdev/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446057a/hello.f: -------------------------------------------------------------------------------- 1 | program hello 2 | print *, 'Hello World!' 3 | end program hello 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446057b/hello.f: -------------------------------------------------------------------------------- 1 | program hello 2 | print *, 'Hello World!' 3 | end program hello 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446057c/hello.f: -------------------------------------------------------------------------------- 1 | program hello 2 | print *, 'Hello World!' 3 | end program hello 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-446057d/hello.f: -------------------------------------------------------------------------------- 1 | program hello 2 | print *, 'Hello World!' 3 | end program hello 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-stop/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-write/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke/issue_flang_libomp/issue_flang_libomp.f90: -------------------------------------------------------------------------------- 1 | 2 | PROGRAM clover_leaf 3 | 4 | print *, "HI" 5 | END PROGRAM clover_leaf 6 | 7 | -------------------------------------------------------------------------------- /test/smoke-dev/hipreg_usm/hip_hostreg.h: -------------------------------------------------------------------------------- 1 | #ifndef __MEMSET__H 2 | #define __MEMSET__H 3 | void hip_hostreg(double *ptr, int size); 4 | #endif 5 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/MG/mg.config: -------------------------------------------------------------------------------- 1 | gpustarttimestamp 2 | gridsize 3 | threadblocksize 4 | memtransferdir 5 | memtransfersize 6 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-print-hello-lhostdev/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-print-val-lhostdev/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diff -w $1.stderr.log chk.stderr 3 | diff -w $1.stdout.log chk.stdout 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-462537/flang-462537.f90: -------------------------------------------------------------------------------- 1 | program main 2 | use constants 3 | implicit none 4 | call print_pi() 5 | end program main 6 | -------------------------------------------------------------------------------- /test/smoke-fort/split-outer2/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-print-hello/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-print-val/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /upstream-buildbots/Ubu22/rocm.list: -------------------------------------------------------------------------------- 1 | deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/7.0.2 jammy main 2 | -------------------------------------------------------------------------------- /test/smoke-dev/gpurun-tests/gpurun-tests.c: -------------------------------------------------------------------------------- 1 | #include "stdio.h" 2 | int main() { 3 | fprintf(stderr, "howdy from gpurun\n"); 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/LU-HP/lu.config: -------------------------------------------------------------------------------- 1 | gpustarttimestamp 2 | gridsize 3 | threadblocksize 4 | memtransferdir 5 | memtransfersize 6 | -------------------------------------------------------------------------------- /test/smoke-fails/flang-314750/NPB_FT/common/wtime.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/flang-314750/NPB_FT/common/wtime.o -------------------------------------------------------------------------------- /test/smoke-fails/flang-314750/NPB_FT/sys/setparams: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/flang-314750/NPB_FT/sys/setparams -------------------------------------------------------------------------------- /test/smoke-fails/flang-314750/doit: -------------------------------------------------------------------------------- 1 | 2 | cd NPB_FT/FT 3 | make clean 4 | rm -f ../bin/ft.A.x 5 | make CLASS=A 6 | timeout -s 9 2m ../bin/ft.A.x 7 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-463332/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-529628/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-416048/test.F90: -------------------------------------------------------------------------------- 1 | module mymod 2 | #include "macro.h" 3 | DECLARE_PARAM(a = &) 4 | 2 5 | end module mymod 6 | -------------------------------------------------------------------------------- /test/smoke-fort/intrin-rename-sub/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f chk src dst dst1 dst2 dst3 3 | echo hello > chk 4 | cp chk src 5 | ./rename-sub 6 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel/README: -------------------------------------------------------------------------------- 1 | Fortran babelstream 2 | 3 | Modifications: 4 | - remove calls of IEEE_Is_Normal (not yet supported) 5 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.5.0/smoke-dev/smoke-dev_passes.txt: -------------------------------------------------------------------------------- 1 | usm-locals-pragma-xnack-disabled-xnack-any 2 | usm-locals-pragma-xnack-disabled-xnack-minus 3 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/MG/mg.input.100iter: -------------------------------------------------------------------------------- 1 | 8 = top level 2 | 256 256 256 = nx ny nz 3 | 100 = nit 4 | 0 0 0 0 0 0 0 0 = debug_vec 5 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/MG/mg.input.sample: -------------------------------------------------------------------------------- 1 | 8 = top level 2 | 256 256 256 = nx ny nz 3 | 20 = nit 4 | 0 0 0 0 0 0 0 0 = debug_vec 5 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-358185/clang-358185.c: -------------------------------------------------------------------------------- 1 | #if defined(__CUDA_ARCH__) 2 | #include 3 | #endif 4 | int main() { return 0; } 5 | -------------------------------------------------------------------------------- /test/smoke-fails/flang-314750/NPB_FT/common/randi8.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/flang-314750/NPB_FT/common/randi8.o -------------------------------------------------------------------------------- /test/smoke-fails/flang-314750/NPB_FT/common/timers.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/flang-314750/NPB_FT/common/timers.o -------------------------------------------------------------------------------- /test/smoke-fort-dev/target-cmplx4-div/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/target-cmplx8-div/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-stop-lhostdev/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-write-lhostdev/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort/intrin-rename-func/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f chk src dst dst1 dst2 dst3 3 | echo hello > chk 4 | cp chk src 5 | ./rename-func 6 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel-copy/README: -------------------------------------------------------------------------------- 1 | Fortran babelstream 2 | 3 | Modifications: 4 | - remove calls of IEEE_Is_Normal (not yet supported) 5 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel-pdot/README: -------------------------------------------------------------------------------- 1 | Fortran babelstream 2 | 3 | Modifications: 4 | - remove calls of IEEE_Is_Normal (not yet supported) 5 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-write/chk.stdout: -------------------------------------------------------------------------------- 1 | Hello OpenMP -1 2 | 1 2 4 8 3 | 1 2 4 8 4 | 1 2 4 8 5 | 14. 18. (24.,25.) (28.,29.) 6 | -------------------------------------------------------------------------------- /upstream-buildbots/Ubu22-HIP-TPL/rocm.list: -------------------------------------------------------------------------------- 1 | deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/7.0.2 jammy main 2 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/4.3.0/examples_fortran/examples_fortran_passes.txt: -------------------------------------------------------------------------------- 1 | bigloop 2 | declare_target 3 | gdb_simple 4 | helloAcceptance 5 | simple_offload 6 | -------------------------------------------------------------------------------- /test/smoke-fails/omp_task_dispatch/README: -------------------------------------------------------------------------------- 1 | 2 | This test case is for this problem report 3 | 4 | https://ontrack-internal.amd.com/browse/SWDEV-510164 5 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-print-hello-lhostdev/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-print-val-lhostdev/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.log | tee -a $1.stdout.log 4 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-458684/etime.f90: -------------------------------------------------------------------------------- 1 | program main 2 | implicit none 3 | real*4 t(2), tot 4 | 5 | tot = etime(t) 6 | print *, tot 7 | print *, t 8 | end 9 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-print-val/chk.stdout: -------------------------------------------------------------------------------- 1 | Hello OpenMP -1 2 | 1 2 4 8 3 | 14. 18. (24.,25.) (28.,29.) 4 | 14. 5 | 18. 6 | (24.,25.) 7 | (28.,29.) 8 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.5.0/smoke-fort-limbo/smoke-fort-limbo_passes.txt: -------------------------------------------------------------------------------- 1 | clause_task_detach 2 | flang-474712 3 | iso_fortran_env_impl 4 | iso_fortran_env_impl2 5 | -------------------------------------------------------------------------------- /test/smoke-dev/global-usm-fort/wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -x 3 | rm -f ${TESTNAME}.log 4 | ./runtests.sh 2>&1 | tee ${TESTNAME}.log 5 | touch ${TESTNAME} 6 | -------------------------------------------------------------------------------- /test/smoke-fails/flang-314750/NPB_FT/common/print_results.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/flang-314750/NPB_FT/common/print_results.o -------------------------------------------------------------------------------- /test/smoke-fails/flang-337105/test.F90: -------------------------------------------------------------------------------- 1 | program testlongarg 2 | use testmod, only : x 3 | print *, "x = ", x 4 | end program 5 | 6 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-440121/flang-440121.f95: -------------------------------------------------------------------------------- 1 | program empty 2 | implicit none 3 | 4 | !$omp target 5 | !$omp end target 6 | 7 | end program empty 8 | -------------------------------------------------------------------------------- /test/smoke/flang-433943/flang-433943.f90: -------------------------------------------------------------------------------- 1 | function f() & 2 | bind(c, name='foo') 3 | use iso_c_binding 4 | end function f 5 | program foo 6 | 7 | end 8 | -------------------------------------------------------------------------------- /trunk/test/driver_test/dec_arrayval.c: -------------------------------------------------------------------------------- 1 | #pragma omp declare target 2 | void dec_arrayval(int i, int *array) { array[i]--; } 3 | #pragma omp end declare target 4 | -------------------------------------------------------------------------------- /trunk/test/driver_test/inc_arrayval.c: -------------------------------------------------------------------------------- 1 | #pragma omp declare target 2 | void inc_arrayval(int i, int *array) { array[i]++; } 3 | #pragma omp end declare target 4 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/4.3.0/omp5/omp5_passes.txt: -------------------------------------------------------------------------------- 1 | declare_variant 2 | nestedSIMD 3 | noncontig 4 | reduc_map_prob 5 | rush_larsen 6 | task_dep_prob 7 | teams_host 8 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-aa-293471/clang-293471.c: -------------------------------------------------------------------------------- 1 | int fun(int *src, int N) { 2 | for (int i = 0; i < N; i++) 3 | src[i] = 1234.0; 4 | 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /test/smoke-fails/driver_test/inc_arrayval.c: -------------------------------------------------------------------------------- 1 | #pragma omp declare target 2 | void inc_arrayval(int i, int *array) { array[i]++; } 3 | #pragma omp end declare target 4 | -------------------------------------------------------------------------------- /test/smoke-fails/dynamic_module_load/dynamic_module_load_shared.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int foo() { 4 | #pragma omp target 5 | ; 6 | 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-print-val-lhostdev/chk.stdout: -------------------------------------------------------------------------------- 1 | Hello OpenMP -1 2 | 1 2 4 8 3 | 14. 18. (24.,25.) (28.,29.) 4 | 14. 5 | 18. 6 | (24.,25.) 7 | (28.,29.) 8 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-write-lhostdev/chk.stdout: -------------------------------------------------------------------------------- 1 | Hello OpenMP -1 2 | 1 2 4 8 3 | 1 2 4 8 4 | 1 2 4 8 5 | 14. 18. (24.,25.) (28.,29.) 6 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-gpu-abort/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #if [[ $(wc -l $1 | awk '{print $1}') != 1 ]]; then 4 | # exit 1 5 | #fi 6 | grep -q 'Aborted' $1 7 | -------------------------------------------------------------------------------- /test/smoke/unique-kernel-name/b.cpp: -------------------------------------------------------------------------------- 1 | #include "t.h" 2 | #include "a.h" 3 | 4 | int main() 5 | { 6 | a(); 7 | foo local; 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /test/smoke-fails/FNew-flang_isystem_prob/flang_isystem_prob.f90: -------------------------------------------------------------------------------- 1 | program test 2 | use mpi 3 | end program 4 | subroutine foo 5 | include 'mpif.h' 6 | end subroutine 7 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-523587/test.f90: -------------------------------------------------------------------------------- 1 | PROGRAM test_usm 2 | implicit none 3 | !$omp requires unified_shared_memory 4 | integer :: i 5 | END PROGRAM 6 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-561059/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Each value selects different array slice ranges for the program to run with. 3 | ./$1 0 4 | ./$1 1 5 | ./$1 2 6 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-404247/comp_ver.f90: -------------------------------------------------------------------------------- 1 | program version 2 | use, intrinsic:: iso_fortran_env 3 | implicit none 4 | 5 | print *,compiler_version() 6 | 7 | end program 8 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-stop/test.f90: -------------------------------------------------------------------------------- 1 | program main 2 | implicit none 3 | !$omp target 4 | stop 2 5 | !$omp end target 6 | print *, "How did I get here?" 7 | end 8 | -------------------------------------------------------------------------------- /test/smoke/clang-279673/two.h: -------------------------------------------------------------------------------- 1 | #ifndef _TWO_H 2 | #define _TWO_H 3 | 4 | #pragma omp declare target 5 | int two(void); 6 | #pragma omp end declare target 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/flang-gpu-exit/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ $(wc -l $1 | awk '{print $1}') != 1 ]]; then 4 | exit 1 5 | fi 6 | grep -q 'Launching kernel' $1 7 | -------------------------------------------------------------------------------- /test/smoke/liba_bundled_cmdline/hfunc0.c: -------------------------------------------------------------------------------- 1 | void hfunc0(float* in, float* out, unsigned n){ 2 | unsigned i; 3 | for(i=0; i 3 | 4 | int main(void) 5 | { 6 | #pragma omp target 7 | printf("%d\n", two() - 1); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /test/smoke/clang-296953-ornla-38/f.cc: -------------------------------------------------------------------------------- 1 | #include "global.h" 2 | 3 | #pragma omp declare target 4 | double f(const double x) 5 | { 6 | return aaa*x; 7 | } 8 | #pragma omp end declare target 9 | -------------------------------------------------------------------------------- /test/smoke/clang-296953-ornla-38/g.cc: -------------------------------------------------------------------------------- 1 | #include "global.h" 2 | 3 | #pragma omp declare target 4 | double g(const double x) 5 | { 6 | return aaa*x*x; 7 | } 8 | #pragma omp end declare target 9 | -------------------------------------------------------------------------------- /examples/openmp/hello/hello1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(void) { 4 | printf("Hello1. Hello CPU world. Is this running on a CPU? %d\n", omp_is_initial_device()); 5 | } 6 | -------------------------------------------------------------------------------- /test/hip-openmp/kern_latency/timestampit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while read -r line; do 4 | timestamp=`date | colrm 1 11 | colrm 9 30` 5 | echo "[$timestamp] $line" 6 | done 7 | 8 | 9 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/common/wtime-host-x86_64-pc-linux-gnu.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/clang-298140/NPB_LU/common/wtime-host-x86_64-pc-linux-gnu.bc -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-print-hello-lhostdev/test.f90: -------------------------------------------------------------------------------- 1 | program main 2 | implicit none 3 | !$omp target 4 | print *, "Hello OpenMP" 5 | print *, "Hello World" 6 | !$omp end target 7 | end 8 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/rocm-issue-241/Notes.txt: -------------------------------------------------------------------------------- 1 | https://github.com/ROCm/llvm-project/issues/241 2 | 3 | JIRA also opened to track internally: 4 | https://ontrack-internal.amd.com/browse/SWDEV-508560 5 | -------------------------------------------------------------------------------- /test/smoke/clang-296953-ornla-38/global.h: -------------------------------------------------------------------------------- 1 | #ifndef _GLOBAL_H_ 2 | #define _GLOBAL_H_ 3 | 4 | #pragma omp declare target 5 | const double aaa = 11.; 6 | #pragma omp end declare target 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /test/smoke/unique-kernel-name/t.h: -------------------------------------------------------------------------------- 1 | template 2 | class foo 3 | { 4 | public: 5 | foo() 6 | { 7 | #pragma omp target 8 | { 9 | T a; 10 | } 11 | } 12 | }; 13 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/common/c_timers-host-x86_64-pc-linux-gnu.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/clang-298140/NPB_LU/common/c_timers-host-x86_64-pc-linux-gnu.bc -------------------------------------------------------------------------------- /examples/openmp/vmul_template/README: -------------------------------------------------------------------------------- 1 | 2 | An illustration of c++ functionality (template function) executed in target parallel region. 3 | 4 | To compile and run: 5 | make run 6 | 7 | For help: 8 | make help 9 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/common/wtime-openmp-amdgcn-amd-amdhsa-gfx908.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/clang-298140/NPB_LU/common/wtime-openmp-amdgcn-amd-amdhsa-gfx908.bc -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-315421/blk_par.h: -------------------------------------------------------------------------------- 1 | integer fftblock_default, fftblockpad_default 2 | parameter (fftblock_default=32, & 3 | & fftblockpad_default=fftblock_default) 4 | 5 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.5.0/hpc2021/hpc2021_passes.txt: -------------------------------------------------------------------------------- 1 | 505.lbm_t 2 | 513.soma_t 3 | 518.tealeaf_t 4 | 519.clvleaf_t 5 | 521.miniswp_t 6 | 528.pot3d_t 7 | 532.sph_exa_t 8 | 534.hpgmgfv_t 9 | 535.weather_t 10 | -------------------------------------------------------------------------------- /examples/fortran/helloworld/README.md: -------------------------------------------------------------------------------- 1 | 2 | This simple example prints hello world from both the CPU and the GPU with flang. 3 | The ROCm compiler supports FORTRAN IO from the GPU primarily for diagnostic purposes. 4 | -------------------------------------------------------------------------------- /test/smoke-dev/clang-325070/doit.gdb: -------------------------------------------------------------------------------- 1 | set pagination off 2 | set confirm off 3 | b 71 4 | r 5 | interpreter-exec mi "-stack-list-frames --thread 10" 6 | interpreter-exec mi "-stack-list-frames --thread 10" 7 | quit 8 | -------------------------------------------------------------------------------- /test/smoke-dev/flang_real16_prob/flang_real16_prob.f90: -------------------------------------------------------------------------------- 1 | subroutine size(a,b) 2 | real*16 :: a,b 3 | end subroutine 4 | program main 5 | REAL*16 :: x(2) 6 | call SIZE(x(1),x(2)) 7 | end program 8 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/common/print_results-host-x86_64-pc-linux-gnu.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/clang-298140/NPB_LU/common/print_results-host-x86_64-pc-linux-gnu.bc -------------------------------------------------------------------------------- /test/smoke-fort/flang-gpu-abort/runit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | { 4 | ./flang-gpu-abort 5 | } 2>&1 6 | if [[ $? != 0 ]]; then 7 | # turn whatever error code into error code 1 8 | exit 1 9 | fi 10 | -------------------------------------------------------------------------------- /test/smoke-fort/rocm-issue-202/teams.F90: -------------------------------------------------------------------------------- 1 | program teams 2 | implicit none 3 | integer :: i 4 | !$omp target teams 5 | select case (i) 6 | case(1) 7 | end select 8 | !$omp end target teams 9 | end program 10 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-abort/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.raw.log | tee -a $1.stdout.log 4 | sed -e "s/Kernel '.*'/Kernel 'xxx'/" $1.stderr.raw.log > $1.stderr.log 5 | -------------------------------------------------------------------------------- /test/smoke/ancestorC/ancestorC.cpp: -------------------------------------------------------------------------------- 1 | void foo(int n) { 2 | #pragma omp target device(n) 3 | ; 4 | #pragma omp target device(device_num: n) 5 | ; 6 | } 7 | int main() { 8 | return 0; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /bin/patches/patch-control-file_4.0.txt: -------------------------------------------------------------------------------- 1 | rocminfo: rocminfo_ppc_cmake.patch 2 | openlibm: openlibm.patch 3 | opencl-on-vdi: ocl.patch 4 | roctracer: roctracer_4.0.patch 5 | RAJA: raja.patch 6 | RAJAPerf: rajaperf.patch 7 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.5.0/LLNL/LLNL_passes.txt: -------------------------------------------------------------------------------- 1 | test_acquire_release 2 | test_allocate_directive 3 | test_concurrent_map 4 | test_implicit_declare_target 5 | test_loop 6 | test_non_rectangular 7 | test_use_device_addr 8 | -------------------------------------------------------------------------------- /f18bin/patches/patch-control-file.txt: -------------------------------------------------------------------------------- 1 | roct-thunk-interface: roct-thunk-interface.patch 2 | rocr-runtime: rocr-runtime.patch 3 | rocminfo: rocminfo_ppc_cmake.patch 4 | rocm-compilersupport: rocm-compilersupport.patch 5 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/common/c_timers-openmp-amdgcn-amd-amdhsa-gfx908.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/clang-298140/NPB_LU/common/c_timers-openmp-amdgcn-amd-amdhsa-gfx908.bc -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/doit: -------------------------------------------------------------------------------- 1 | 2 | set +x 3 | 4 | ulimit -t 61 5 | 6 | cd NPB_LU/src 7 | make clean 8 | rm -f ft.A.x 9 | 10 | make AOMP=$AOMP AOMP_GPU=$AOMP_GPU CLASS=A 11 | timeout -s 9 2m ./ft.A.x 12 | -------------------------------------------------------------------------------- /test/smoke-fails/flang-314750/NPB_FT/FT/blk_par0.h: -------------------------------------------------------------------------------- 1 | integer fftblock_default, fftblockpad_default 2 | parameter (fftblock_default=0, & 3 | & fftblockpad_default=fftblock_default) 4 | 5 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/flang-463332/chkit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | flterr=$1.flterr.log 3 | cat $1.stderr.log | sed -e 's/0x[0-9a-f]*/0xXXXX/ig' > $flterr 4 | diff -w $flterr chk.stderr 5 | diff -w $1.stdout.log chk.stdout 6 | -------------------------------------------------------------------------------- /upstream-buildbots/RHEL8/rocm-6.3.repo: -------------------------------------------------------------------------------- 1 | [ROCm-6.3] 2 | name=ROCm6.3 3 | baseurl=https://repo.radeon.com/rocm/el8/6.3/main 4 | enabled=1 5 | priority=50 6 | gpgcheck=1 7 | gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key 8 | -------------------------------------------------------------------------------- /upstream-buildbots/RHEL9/rocm-6.3.repo: -------------------------------------------------------------------------------- 1 | [ROCm-6.3] 2 | name=ROCm6.3 3 | baseurl=https://repo.radeon.com/rocm/el9/6.3/main 4 | enabled=1 5 | priority=50 6 | gpgcheck=1 7 | gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key 8 | -------------------------------------------------------------------------------- /examples/fortran/helloworld/helloworld.f90: -------------------------------------------------------------------------------- 1 | program helloworld 2 | implicit none 3 | write(*,*) 'Hello CPU world!' 4 | !$omp target 5 | write(*,*) 'Hello GPU world!' 6 | !$omp end target 7 | end program helloworld 8 | -------------------------------------------------------------------------------- /examples/hip/device_lib/_myomplib.c: -------------------------------------------------------------------------------- 1 | #include 2 | #pragma omp declare target 3 | void inc_omp(int i, int *array) { array[i]++; } 4 | void dec_omp(int i, int *array) { array[i]--; } 5 | #pragma omp end declare target 6 | -------------------------------------------------------------------------------- /test/OpenMP/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | ./build.sh 6 | 7 | export HSA_IGNORE_SRAMECC_MISREPORT=1 8 | 9 | for D in C CXX F F90; do 10 | cd $D 11 | make run 12 | cd .. 13 | done 14 | 15 | -------------------------------------------------------------------------------- /test/smoke-fails/FNew-flang-308205/flang-308205.f90: -------------------------------------------------------------------------------- 1 | program main 2 | implicit none 3 | write(6,*) "0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0" 4 | end program main 5 | -------------------------------------------------------------------------------- /test/smoke-fort/tgt-abort/chk.stderr: -------------------------------------------------------------------------------- 1 | OFFLOAD ERROR: Kernel 'xxx' 2 | OFFLOAD ERROR: execution interrupted by hardware trap instruction 3 | Use 'OFFLOAD_TRACK_NUM_KERNEL_LAUNCH_TRACES=1' to show the stack trace of the kernel 4 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.1.0/openmpapps/openmpapps_passes.txt: -------------------------------------------------------------------------------- 1 | bigloopC 2 | comd-mp4 3 | hpgmg-mp4 4 | lulesh-mp4 5 | matmul 6 | matmul_Mthreads 7 | matmul_usm 8 | matmul-weights 9 | MI-Teams 10 | snap-mp4 11 | xsbench-mp4 12 | -------------------------------------------------------------------------------- /bin/rocm-test/passes/5.5.0/accel2023/accel2023_passes.txt: -------------------------------------------------------------------------------- 1 | 403.stencil 2 | 404.lbm 3 | 450.md 4 | 452.ep 5 | 453.clvrleaf 6 | 455.seismic 7 | 456.spF 8 | 457.spC 9 | 459.miniGhost 10 | 460.ilbdc 11 | 463.swim 12 | 470.bt 13 | -------------------------------------------------------------------------------- /examples/openmp/hello/hello3.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(void) { 4 | #pragma omp target 5 | printf("Hello3. Hello GPU world. Is this running on a CPU? %d\n", omp_is_initial_device()); 6 | } 7 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/common/print_results-openmp-amdgcn-amd-amdhsa-gfx908.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROCm/aomp/HEAD/test/smoke-fails/clang-298140/NPB_LU/common/print_results-openmp-amdgcn-amd-amdhsa-gfx908.bc -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/common/randdp.h: -------------------------------------------------------------------------------- 1 | #ifndef __RANDDP_H__ 2 | #define __RANDDP_H__ 3 | 4 | double randlc( double *x, double a ); 5 | void vranlc( int n, double *x, double a, double y[] ); 6 | 7 | #endif 8 | 9 | -------------------------------------------------------------------------------- /test/smoke-fails/flang-flags-308205/flang-flags-308205.f90: -------------------------------------------------------------------------------- 1 | program main 2 | implicit none 3 | write(6,*) "0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0" 4 | end program main 5 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-abort-lhostdev/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -f $1.stdout.log $1.stderr.log 3 | ./$1 2> $1.stderr.raw.log | tee -a $1.stdout.log 4 | sed -e "s/Kernel '.*'/Kernel 'xxx'/" $1.stderr.raw.log > $1.stderr.log 5 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-522104/declare-target-list.f90: -------------------------------------------------------------------------------- 1 | module test 2 | contains 3 | function ex(a,b,c) 4 | !$omp declare target(ex) 5 | integer :: a,b,c 6 | ex = a + b + c 7 | end function ex 8 | end module test 9 | -------------------------------------------------------------------------------- /test/smoke/clang-279673/two.c: -------------------------------------------------------------------------------- 1 | #include "two.h" 2 | 3 | #pragma omp declare target 4 | 5 | //static 6 | int state = 2; 7 | 8 | int two(void) 9 | { 10 | return state; 11 | } 12 | 13 | #pragma omp end declare target 14 | -------------------------------------------------------------------------------- /test/smoke-fort-fails/inc_omp_lib_h/inc_omp_lib_h.f90: -------------------------------------------------------------------------------- 1 | PROGRAM PGD 2 | IMPLICIT NONE 3 | INCLUDE 'omp_lib.h' 4 | INTEGER :: x 5 | X=0 6 | write(*,*) "hello ", X 7 | END PROGRAM PGD 8 | -------------------------------------------------------------------------------- /test/USM_check.make: -------------------------------------------------------------------------------- 1 | include Makefile.defs 2 | 3 | .SILENT: 4 | .PHONY: all 5 | 6 | SOUGHT_GPU := $(findstring $(GPU), $(SUPPORTS_USM)) 7 | 8 | all:: 9 | if [ "$(SOUGHT_GPU)" ]; then echo "true"; else echo "false"; fi 10 | 11 | -------------------------------------------------------------------------------- /test/smoke-dev/hipreg_usm/hip_hostreg.hip: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void hip_hostreg(double *ptr, int size) { 5 | hipError_t err; 6 | err = hipHostRegister(ptr, size, hipHostRegisterDefault); 7 | } 8 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/tgt-abort-lhostdev/chk.stderr: -------------------------------------------------------------------------------- 1 | OFFLOAD ERROR: Kernel 'xxx' 2 | OFFLOAD ERROR: execution interrupted by hardware trap instruction 3 | Use 'OFFLOAD_TRACK_NUM_KERNEL_LAUNCH_TRACES=1' to show the stack trace of the kernel 4 | -------------------------------------------------------------------------------- /test/smoke-fort-limbo/flang-474712/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | save_status() { tval=$? && (($tval!=0)) && rval=$tval; }; rval=0 3 | echo "ZZZZZZZZZZ Jacobi" # marker for extract-tests 4 | set -x 5 | ./jacobi 6 | save_status 7 | exit $rval 8 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-445882/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | save_status() { tval=$? && (($tval!=0)) && rval=$tval; }; rval=0 3 | echo "ZZZZZZZZZZ Derived Type Pointer" # marker for extract-tests 4 | set -x 5 | $1 6 | save_status 7 | exit $rval 8 | -------------------------------------------------------------------------------- /test/smoke-fort/flang-489863/doit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | save_status() { tval=$? && (($tval!=0)) && rval=$tval; }; rval=0 3 | echo "ZZZZZZZZZZ target teams perf" # marker for extract-tests 4 | set -x 5 | $1 6 | save_status 7 | exit $rval 8 | -------------------------------------------------------------------------------- /test/smoke/flang-321412/flang-321412.f90: -------------------------------------------------------------------------------- 1 | module array_mod 2 | implicit none 3 | real, dimension(:), allocatable :: array 4 | end module array_mod 5 | 6 | program test 7 | print *, "compilation prev aborted, passes" 8 | end program test 9 | -------------------------------------------------------------------------------- /test/smoke-fails/flang-cptrdiff/flang-cptrdiff.f90: -------------------------------------------------------------------------------- 1 | PROGRAM test 2 | USE, INTRINSIC :: ISO_C_BINDING, ONLY: C_PTRDIFF_T 3 | IF (C_PTRDIFF_T >= 0) THEN 4 | PRINT "('Ok')" 5 | ELSE 6 | PRINT "('Not ok')" 7 | END IF 8 | END program test 9 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel-drop-1/README: -------------------------------------------------------------------------------- 1 | Fortran babelstream 2 | 3 | Modifications: 4 | - build with -Dsimd= (to remove simd) 5 | - remove calls of IEEE_Is_Normal (not yet supported) 6 | - add map(tofrom:s) to the reduction (workaround) 7 | -------------------------------------------------------------------------------- /test/smoke/hipmalloc-omptarget-multifile/support.h: -------------------------------------------------------------------------------- 1 | // Copyright © Advanced Micro Devices, Inc., or its affiliates. 2 | // 3 | // SPDX-License-Identifier: MIT 4 | 5 | void printHipError(hipError_t error); 6 | bool hipCallSuccessful(hipError_t error); 7 | -------------------------------------------------------------------------------- /bin/rocmlibs/patches/patch-control-file_20.0.txt: -------------------------------------------------------------------------------- 1 | Tensile: tensile_aca95d17.patch 2 | rocBLAS: rocblas.patch 3 | rocPRIM: rocprim.patch 4 | rocSPARSE: rocsparse.patch 5 | rocSOLVER: rocsolver.patch 6 | hipBLAS: hipblas.patch 7 | PowerInfer: powerinfer.patch 8 | -------------------------------------------------------------------------------- /examples/openmp/print_device/print_device.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | printf("omp_get_num_devices():%d ROCR_VISIBLE_DEVICES:%s\n", 5 | omp_get_num_devices(), getenv("ROCR_VISIBLE_DEVICES")); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/MG/timers.h: -------------------------------------------------------------------------------- 1 | #ifndef __TIMERS_H__ 2 | #define __TIMERS_H__ 3 | 4 | void timer_clear( int n ); 5 | void timer_start( int n ); 6 | void timer_stop( int n ); 7 | double timer_read( int n ); 8 | 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /test/smoke-fails/clang-298140/NPB_LU/common/timers.h: -------------------------------------------------------------------------------- 1 | #ifndef __TIMERS_H__ 2 | #define __TIMERS_H__ 3 | 4 | void timer_clear( int n ); 5 | void timer_start( int n ); 6 | void timer_stop( int n ); 7 | double timer_read( int n ); 8 | 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /test/smoke-fails/clang_llnl-58/clang_llnl_58.cc: -------------------------------------------------------------------------------- 1 | #include "hip/hip_runtime.h" 2 | 3 | int main() 4 | { 5 | hipError_t err; 6 | double* dummyfirst; 7 | 8 | err=hipMalloc(&dummyfirst, sizeof(double)*4); 9 | 10 | return (0); 11 | } 12 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2003/vecadd/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: build run clean 2 | 3 | build: main 4 | 5 | main: 6 | hipfc $(CFLAGS) main.f03 hip_implementation.cpp -o main 7 | 8 | run: main 9 | ./main 10 | 11 | clean: 12 | rm -f main *.o *.mod 13 | -------------------------------------------------------------------------------- /test/smoke-fort-dev/hipfort/f2008/vecadd/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: build run clean 2 | 3 | build: main 4 | 5 | main: 6 | hipfc $(CFLAGS) main.f03 hip_implementation.cpp -o main 7 | 8 | run: main 9 | ./main 10 | 11 | clean: 12 | rm -f main *.o *.mod 13 | -------------------------------------------------------------------------------- /test/smoke-fort/milestone-3-babel-noteams/README: -------------------------------------------------------------------------------- 1 | Fortran babelstream 2 | 3 | Modifications: 4 | - remove 'target teams' 5 | - remove 'simd' 6 | - remove calls to IEEE_Is_Normal (not yet supported) 7 | - add map(tofrom:s) to the reduction (workaround) 8 | -------------------------------------------------------------------------------- /bin/rocmlibs/patches/patch-control-file_21.0.txt: -------------------------------------------------------------------------------- 1 | Tensile: tensile.patch 2 | rocBLAS: rocblas.patch 3 | rocPRIM: rocprim.patch 4 | rocSPARSE: rocsparse.patch 5 | rocSOLVER: rocsolver.patch 6 | hipBLAS: hipblas.patch 7 | rccl: rccl.patch 8 | PowerInfer: powerinfer.patch -------------------------------------------------------------------------------- /bin/rocmlibs/patches/patch-control-file_22.0.txt: -------------------------------------------------------------------------------- 1 | Tensile: tensile.patch 2 | rocBLAS: rocblas.patch 3 | rocPRIM: rocprim.patch 4 | rocSPARSE: rocsparse.patch 5 | rocSOLVER: rocsolver.patch 6 | hipBLAS: hipblas.patch 7 | rccl: rccl.patch 8 | PowerInfer: powerinfer.patch -------------------------------------------------------------------------------- /test/smoke/liba_bundled/MyDeviceLib/func_1v.c: -------------------------------------------------------------------------------- 1 | void func_1v(float* in, float* out, unsigned n){ 2 | unsigned i; 3 | #pragma omp target teams distribute parallel for map(to: in[0:n]) map(from: out[0:n]) 4 | for(i=0; i