Skip to content

Commit 1f93adf

Browse files
committed
Remove fault_tolerance header and macros
1 parent 2041e89 commit 1f93adf

8 files changed

Lines changed: 0 additions & 141 deletions

File tree

include/RAJA/internal/fault_tolerance.hpp

Lines changed: 0 additions & 117 deletions
This file was deleted.

include/RAJA/policy/cuda/WorkGroup/WorkRunner.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@ struct WorkRunner<
377377
block_size),
378378
static_cast<cuda_dim_member_t>(num_loops), 1};
379379

380-
RAJA_FT_BEGIN;
381380

382381
//
383382
// Setup shared memory buffers
@@ -393,7 +392,6 @@ struct WorkRunner<
393392
shmem, r, Async);
394393
}
395394

396-
RAJA_FT_END;
397395
}
398396

399397
return run_storage;

include/RAJA/policy/cuda/forall.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,6 @@ forall_impl(resources::Cuda cuda_res,
570570
internal::CudaDims dims(1);
571571
DimensionCalculator::set_dimensions(dims, len, func, shmem);
572572

573-
RAJA_FT_BEGIN;
574573

575574
RAJA::cuda::detail::cudaInfo launch_info;
576575
launch_info.gridDim = dims.blocks;
@@ -599,7 +598,6 @@ forall_impl(resources::Cuda cuda_res,
599598
launch_info);
600599
}
601600

602-
RAJA_FT_END;
603601
}
604602

605603
return resources::EventProxy<resources::Cuda>(cuda_res);

include/RAJA/policy/cuda/launch.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ struct LaunchExecute<
9696
blockSize.x > zero && blockSize.y > zero && blockSize.z > zero)
9797
{
9898

99-
RAJA_FT_BEGIN;
10099

101100
size_t shared_mem_size = launch_params.shared_mem_size;
102101
RAJA::cuda::detail::cudaInfo launch_info;
@@ -127,7 +126,6 @@ struct LaunchExecute<
127126
launch_info);
128127
}
129128

130-
RAJA_FT_END;
131129
}
132130

133131
return resources::EventProxy<resources::Resource>(res);
@@ -207,7 +205,6 @@ struct LaunchExecute<
207205
blockSize.x > zero && blockSize.y > zero && blockSize.z > zero)
208206
{
209207

210-
RAJA_FT_BEGIN;
211208

212209
size_t shared_mem_size = launch_params.shared_mem_size;
213210
RAJA::cuda::detail::cudaInfo launch_info;
@@ -238,7 +235,6 @@ struct LaunchExecute<
238235
launch_info);
239236
}
240237

241-
RAJA_FT_END;
242238
}
243239

244240
return resources::EventProxy<resources::Resource>(res);

include/RAJA/policy/hip/WorkGroup/WorkRunner.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ struct WorkRunner<
364364
block_size),
365365
static_cast<hip_dim_member_t>(num_loops), 1};
366366

367-
RAJA_FT_BEGIN;
368367

369368
//
370369
// Setup shared memory buffers
@@ -380,7 +379,6 @@ struct WorkRunner<
380379
shmem, r, Async);
381380
}
382381

383-
RAJA_FT_END;
384382
}
385383

386384
return run_storage;

include/RAJA/policy/hip/forall.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,6 @@ forall_impl(resources::Hip hip_res,
552552
internal::HipDims dims(1);
553553
DimensionCalculator::set_dimensions(dims, len, func, shmem);
554554

555-
RAJA_FT_BEGIN;
556555

557556
RAJA::hip::detail::hipInfo launch_info;
558557
launch_info.gridDim = dims.blocks;
@@ -581,7 +580,6 @@ forall_impl(resources::Hip hip_res,
581580
launch_info);
582581
}
583582

584-
RAJA_FT_END;
585583
}
586584

587585
return resources::EventProxy<resources::Hip>(hip_res);

include/RAJA/policy/hip/launch.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ struct LaunchExecute<
9393
blockSize.x > zero && blockSize.y > zero && blockSize.z > zero)
9494
{
9595

96-
RAJA_FT_BEGIN;
9796

9897
size_t shared_mem_size = launch_params.shared_mem_size;
9998
RAJA::hip::detail::hipInfo launch_info;
@@ -125,7 +124,6 @@ struct LaunchExecute<
125124
launch_info);
126125
}
127126

128-
RAJA_FT_END;
129127
}
130128

131129
return resources::EventProxy<resources::Resource>(res);
@@ -200,7 +198,6 @@ struct LaunchExecute<RAJA::policy::hip::hip_launch_t<async, nthreads>>
200198
blockSize.x > zero && blockSize.y > zero && blockSize.z > zero)
201199
{
202200

203-
RAJA_FT_BEGIN;
204201

205202
size_t shared_mem_size = launch_params.shared_mem_size;
206203
RAJA::hip::detail::hipInfo launch_info;
@@ -232,7 +229,6 @@ struct LaunchExecute<RAJA::policy::hip::hip_launch_t<async, nthreads>>
232229
launch_info);
233230
}
234231

235-
RAJA_FT_END;
236232
}
237233

238234
return resources::EventProxy<resources::Resource>(res);

include/RAJA/policy/sycl/launch.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ struct LaunchExecute<RAJA::sycl_launch_t<async, 0>>
7070
params.teams.value[1] > zero && params.teams.value[2] > zero)
7171
{
7272

73-
RAJA_FT_BEGIN;
7473

7574
q->submit([&](::sycl::handler& h) {
7675
auto s_vec = ::sycl::local_accessor<char, 1>(params.shared_mem_size, h);
@@ -94,7 +93,6 @@ struct LaunchExecute<RAJA::sycl_launch_t<async, 0>>
9493
q->wait();
9594
}
9695

97-
RAJA_FT_END;
9896
}
9997

10098
return resources::EventProxy<resources::Resource>(res);
@@ -152,7 +150,6 @@ struct LaunchExecute<RAJA::sycl_launch_t<async, 0>>
152150
return x;
153151
};
154152

155-
RAJA_FT_BEGIN;
156153

157154
ReduceParams* res = ::sycl::malloc_shared<ReduceParams>(1, *q);
158155
RAJA::expt::ParamMultiplexer::parampack_init(pol, *res);
@@ -185,7 +182,6 @@ struct LaunchExecute<RAJA::sycl_launch_t<async, 0>>
185182
*res);
186183
::sycl::free(res, *q);
187184

188-
RAJA_FT_END;
189185
}
190186

191187
RAJA::expt::ParamMultiplexer::parampack_resolve(pol, launch_reducers);
@@ -231,7 +227,6 @@ struct LaunchExecute<RAJA::sycl_launch_t<async, 0>>
231227
params.teams.value[1] > zero && params.teams.value[2] > zero)
232228
{
233229

234-
RAJA_FT_BEGIN;
235230

236231
//
237232
// Kernel body is nontrivially copyable, create space on device and copy
@@ -262,7 +257,6 @@ struct LaunchExecute<RAJA::sycl_launch_t<async, 0>>
262257

263258
::sycl::free(lbody, *q);
264259

265-
RAJA_FT_END;
266260
}
267261

268262
return resources::EventProxy<resources::Resource>(res);
@@ -319,7 +313,6 @@ struct LaunchExecute<RAJA::sycl_launch_t<async, 0>>
319313
return x;
320314
};
321315

322-
RAJA_FT_BEGIN;
323316

324317
//
325318
// Kernel body is nontrivially copyable, create space on device and copy
@@ -362,7 +355,6 @@ struct LaunchExecute<RAJA::sycl_launch_t<async, 0>>
362355
::sycl::free(res, *q);
363356
::sycl::free(lbody, *q);
364357

365-
RAJA_FT_END;
366358
}
367359

368360
RAJA::expt::ParamMultiplexer::parampack_resolve(pol, launch_reducers);

0 commit comments

Comments
 (0)