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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bin/build_flang-classic.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# build_flang-classic.sh: Script to build the flang-classic binary driver
# This driver will never call flang -fc1, it only calls binaries
# clang, flang1, flang2, build elsewhere
Expand Down
4 changes: 4 additions & 0 deletions bin/build_llvm-classic.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# build_llvm-classic.sh: Script to build the classic LLVM used by flang-classic. binary driver
# This driver will never call flang -fc1, it only calls binaries
# clang, flang1, flang2, built elsewhere
Expand Down
5 changes: 5 additions & 0 deletions bin/build_llvm-flang-rt-host-dev.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_llvm-flang-rt-host-dev.sh
#
# Standalone script to build the flang runtime with host-device support
Expand Down
4 changes: 4 additions & 0 deletions bin/build_rocprofiler-register.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# build_rocprofiler-register.sh: Script to build rocprofiler-register for AOMP standalone build
#

Expand Down
4 changes: 4 additions & 0 deletions bin/build_rocprofiler-sdk.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# build_rocprofiler-sdk.sh: Script to build rocprofiler-sdk for AOMP standalone build
#

Expand Down
4 changes: 4 additions & 0 deletions bin/check_openmpvv.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# check_openmpvv.sh
# Assumes run_openmpvv.sh has been executed.
#
Expand Down
4 changes: 4 additions & 0 deletions bin/clone_list_checkout
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/perl
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# Convert 'clone_aomp.sh list' output into git checkout commands
#
# 1) Save the clone_aomp.sh list at some point
Expand Down
4 changes: 4 additions & 0 deletions bin/diff_driver.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# diff_driver.sh : show the diff between llvm driver code in trunk vs amd-staging
# This checks both llvm-project/clang/lib/Driver and llvm-project/clang/include/clang/Driver
Expand Down
4 changes: 4 additions & 0 deletions bin/rocmlibs/build_half.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# build_half.sh: script to build and install half
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_hipBLAS-common.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_hipprim-common.sh: Script to build and install hipprim-common library
# This build is classic cmake, make, make install
Expand Down
4 changes: 4 additions & 0 deletions bin/rocmlibs/build_hipBLAS.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# build_hipblas.sh: Script to build and install hipblas library
#
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_hipRAND.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_hipRAND.sh.sh: script to build rocRAND
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_hipSOLVER.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_rocsolver.sh: Script to build and install rocsolver library
#
Expand Down
4 changes: 4 additions & 0 deletions bin/rocmlibs/build_powerinfer.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
# build_powerinfer.sh: Script to build and install powerinfer library
# This build is classic cmake, make, make install
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_rccl.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_rccl.sh: Script to build and install rccl.
# This uses a slightly modified install.sh from rccl.
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_rocBLAS.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_rocblas.sh: Script to build and install rocblas library
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_rocPRIM.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_rocPRIM.sh: Script to build and install rocPRIM library
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_rocRAND.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_rocRAND.sh: script to build rocRAND
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_rocSOLVER.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_rocSOLVER.sh: Script to build and install rocSOLVER library
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_rocSPARSE.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_rocsparse.sh: Script to build and install rocsparse library
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/build_rocmlibs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# build_rocmlibs.sh : Build and install ROCm libraries as AOMP components
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/clone_rocmlibs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# clone_rocmlibs.sh: Clone the set of rocmlibs
# Currently AOMP needs 14 repositories.
#
Expand Down
5 changes: 5 additions & 0 deletions bin/rocmlibs/test_powerinfer.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# test_powerinfer.sh: Script to test powerinfer installation with various models
#
Expand Down
5 changes: 5 additions & 0 deletions bin/run_OpenMP_VV.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# run_openmpvv.sh:
# Script for running the OpenMP_VV suite found at
# https://github.com/OpenMP-Validation-and-Verification/OpenMP_VV
Expand Down
5 changes: 5 additions & 0 deletions bin/run_accel2023.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#! /usr/bin/env bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#

# ACCEL2023_SOURCE_DIR where to clone sources to. Default: AOMP_REPOS_TEST
# ACCEL2023_BUILD_NUM_THREADS Number of parallel compile processes. Default: 32
Expand Down
5 changes: 5 additions & 0 deletions bin/run_composable-kernels.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
set -x
CKRepoURL='https://github.com/ROCm/composable_kernel.git'
CKRepoBranchName='develop'
Expand Down
5 changes: 5 additions & 0 deletions bin/run_gpurun_rocprof_env.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
#
# run_gpurun_rocprof_env.sh : compare environments with different process launchers
#
# Rule1: Always run rocprof, rocgdb binaries from gpurun and not the opposite.
Expand Down
5 changes: 5 additions & 0 deletions bin/run_hpc2021.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#! /usr/bin/env bash
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#

# HPC2021_SOURCE_DIR where to clone sources to. Default: AOMP_REPOS_TEST
# HPC2021_BUILD_NUM_THREADS Number of parallel compile processes. Default: 32
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright © Advanced Micro Devices, Inc., or its affiliates.
//
// SPDX-License-Identifier: MIT

#include "hip/hip_runtime.h"
#include <stdio.h>
__global__ void init_array(float *arr1){
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
!
!Copyright © Advanced Micro Devices, Inc., or its affiliates.
!
!SPDX-License-Identifier: MIT
!
program main
use iso_c_binding
use omp_lib
Expand Down
5 changes: 5 additions & 0 deletions examples/fortran/gdb-simple/gdb_simple.f95
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
!
!Copyright © Advanced Micro Devices, Inc., or its affiliates.
!
!SPDX-License-Identifier: MIT
!
! example of simple Fortran AMD GPU offloading
program main
parameter (nsize=10)
Expand Down
5 changes: 5 additions & 0 deletions examples/fortran/gdb-simple/gdbcmds
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#
#Copyright © Advanced Micro Devices, Inc., or its affiliates.
#
#SPDX-License-Identifier: MIT
#
run
exit
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
!
!Copyright © Advanced Micro Devices, Inc., or its affiliates.
!
!SPDX-License-Identifier: MIT
!
program simple
use omp_lib, ONLY : omp_is_initial_device
integer onGPU
Expand Down
5 changes: 5 additions & 0 deletions examples/fortran/simple-offload/simple_offload.f95
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
!
!Copyright © Advanced Micro Devices, Inc., or its affiliates.
!
!SPDX-License-Identifier: MIT
!
! example of simple Fortran AMD GPU offloading
program main
parameter (nsize=1000000)
Expand Down
3 changes: 2 additions & 1 deletion examples/stdpar/tsp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ ifeq ("$(wildcard $(HIPSTDPARPRIMPATH)/rocprim)","")
endif

CC = $(LLVM_INSTALL_DIR)/bin/clang++
opts=-I. -DNDEBUG -O3 --hipstdpar --hipstdpar-path=$(HIPSTDPARPATH) --hipstdpar-thrust-path=$(HIPSTDPARTHRUSTPATH) --hipstdpar-prim-path=$(HIPSTDPARPRIMPATH) --offload-arch=$(LLVM_GPU_ARCH) -std=c++17
#opts=-I. -DNDEBUG -O3 --hipstdpar --hipstdpar-path=$(HIPSTDPARPATH) --hipstdpar-thrust-path=$(HIPSTDPARTHRUSTPATH) --hipstdpar-prim-path=$(HIPSTDPARPRIMPATH) --offload-arch=$(LLVM_GPU_ARCH) -std=c++17
opts=-I. -g -O0 --hipstdpar --hipstdpar-path=$(HIPSTDPARPATH) --hipstdpar-thrust-path=$(HIPSTDPARTHRUSTPATH) --hipstdpar-prim-path=$(HIPSTDPARPRIMPATH) --offload-arch=$(LLVM_GPU_ARCH) -std=c++20

# Build both babelstream stdpar binaries
tsp:tsp.o
Expand Down
51 changes: 0 additions & 51 deletions examples/stdpar/tsp/SimpleTimer.h

This file was deleted.

Loading