Skip to content

Commit 35926f8

Browse files
committed
Remove unused code
1 parent 7712048 commit 35926f8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

backends/hip/ceed-hip-compile.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,6 @@ int CeedGetKernel_Hip(Ceed ceed, hipModule_t module, const char *name, hipFuncti
185185
// Run HIP kernel
186186
//------------------------------------------------------------------------------
187187
int CeedRunKernel_Hip(Ceed ceed, hipFunction_t kernel, const int grid_size, const int block_size, void **args) {
188-
Ceed_Hip *data;
189-
190-
CeedCallBackend(CeedGetData(ceed, &data));
191188
CeedCallHip(ceed, hipModuleLaunchKernel(kernel, grid_size, 1, 1, block_size, 1, 1, 0, NULL, args, NULL));
192189
return CEED_ERROR_SUCCESS;
193190
}
@@ -197,9 +194,6 @@ int CeedRunKernel_Hip(Ceed ceed, hipFunction_t kernel, const int grid_size, cons
197194
//------------------------------------------------------------------------------
198195
int CeedRunKernelDim_Hip(Ceed ceed, hipFunction_t kernel, const int grid_size, const int block_size_x, const int block_size_y, const int block_size_z,
199196
void **args) {
200-
Ceed_Hip *data;
201-
202-
CeedCallBackend(CeedGetData(ceed, &data));
203197
CeedCallHip(ceed, hipModuleLaunchKernel(kernel, grid_size, 1, 1, block_size_x, block_size_y, block_size_z, 0, NULL, args, NULL));
204198
return CEED_ERROR_SUCCESS;
205199
}

0 commit comments

Comments
 (0)