#!/bin/sh # found with rpm -qli rocm-examples E="applications_bitonic_sort applications_convolution applications_floyd_warshall applications_histogram applications_monte_carlo_pi applications_prefix_sum hip_bandwidth hip_bit_extract hip_cooperative_groups hip_device_globals hip_device_query hip_dynamic_shared hip_events hip_gpu_arch hip_hello_world hip_hipify hip_inline_assembly hip_matrix_multiplication hip_module_api hip_moving_average hip_multi_gpu_data_transfer hip_occupancy hip_runtime_compilation hip_saxpy hip_shared_memory hip_streams hip_texture_management hip_warp_shuffle hipblas_gemm_strided_batched hipblas_her hipblas_scal hipcub_device_radix_sort hipcub_device_sum hipfft_plan_d2z hipfft_plan_z2z hipsolver_getrf hipsolver_syevd hipsolver_syevdx hipsolver_syevj hipsolver_syevj_batched hipsolver_sygvd hipsolver_sygvj reduction_example_v1 reduction_example_v2 reduction_example_v3 reduction_example_v4 reduction_example_v5 reduction_example_v6 reduction_example_v7 reduction_example_v8 reduction_example_v9 rocblas_axpy rocblas_dot rocblas_gemm rocblas_gemm_strided_batched rocblas_gemv rocblas_her rocblas_nrm2 rocblas_scal rocblas_swap rocfft_callback rocfft_multi_gpu rocprim_block_sum rocprim_device_sum rocrand_simple_distributions_cpp rocsolver_getf2 rocsolver_getri rocsolver_syev rocsolver_syev_batched rocsolver_syev_strided_batched rocsparse_bsric0 rocsparse_bsrilu0 rocsparse_bsrmm rocsparse_bsrmv rocsparse_bsrsm rocsparse_bsrsv rocsparse_bsrxmv rocsparse_coomv rocsparse_csric0 rocsparse_csrilu0 rocsparse_csritilu0 rocsparse_csritsv rocsparse_csrmm rocsparse_csrmv rocsparse_csrsm rocsparse_csrsv rocsparse_ellmv rocsparse_gebsrmm rocsparse_gebsrmv rocsparse_gemmi rocsparse_gemvi rocsparse_gpsv rocsparse_gtsv rocsparse_sddmm rocsparse_spitsv rocsparse_spmv rocsparse_spsm rocsparse_spsv rocthrust_device_ptr rocthrust_norm rocthrust_reduce_sum rocthrust_remove_points rocthrust_saxpy rocthrust_vectors" for e in $E; do echo "running $e" sleep 2 $e done