Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
artv3 committed Dec 28, 2024
1 parent 76886cb commit f87f850
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/plugin/raja-launch-caliper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ int main(int RAJA_UNUSED_ARG(argc), char **RAJA_UNUSED_ARG(argv[]))
// RAJA CUDA parallel GPU version (256 threads per thread block).
//
std::cout << "\n Running RAJA CUDA daxpy...\n";
using cuda_launch_policy = RAJA::LaunchPolicy<RAJA::cuda_launch_t>;
using cuda_launch_policy = RAJA::LaunchPolicy<RAJA::cuda_launch_t<false>>;
using cuda_loop_policy = RAJA::LoopPolicy<RAJA::cuda_global_thread_x>;

a = 0; b = 0;
Expand Down Expand Up @@ -165,8 +165,8 @@ int main(int RAJA_UNUSED_ARG(argc), char **RAJA_UNUSED_ARG(argv[]))
// RAJA HIP parallel GPU version (256 threads per thread block).
//
std::cout << "\n Running RAJA HIP daxpy...\n";
using hip_launch_policy = RAJA::LaunchPolicy<RAJA::seq_launch_t>;
using hip_loop_policy = RAJA::LoopPolicy<RAJA::seq_exec>;
using hip_launch_policy = RAJA::LaunchPolicy<RAJA::hip_launch_t<false>>;
using hip_loop_policy = RAJA::LoopPolicy<RAJA::hip_global_thread_x>

a = 0; b = 0;
hipErrchk(hipMalloc( (void**)&a, N * sizeof(double) ));
Expand Down

0 comments on commit f87f850

Please sign in to comment.