Skip to content

Commit

Permalink
[cuda] rem deprecated shmem config guard
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikvn committed Jun 28, 2024
1 parent 5363f07 commit 3377b4f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 67 deletions.
59 changes: 0 additions & 59 deletions cuda/base/kernel_config.hpp

This file was deleted.

4 changes: 0 additions & 4 deletions cuda/solver/batch_bicgstab_kernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "core/matrix/batch_struct.hpp"
#include "core/solver/batch_dispatch.hpp"
#include "cuda/base/batch_struct.hpp"
#include "cuda/base/kernel_config.hpp"
#include "cuda/base/thrust.cuh"
#include "cuda/components/reduction.cuh"
#include "cuda/components/thread_ids.cuh"
Expand Down Expand Up @@ -143,9 +142,6 @@ public:
constexpr int align_multiple = 8;
const int padded_num_rows =
ceildiv(mat.num_rows, align_multiple) * align_multiple;
auto shem_guard =
gko::kernels::cuda::detail::shared_memory_config_guard<
value_type>();
const int shmem_per_blk =
get_max_dynamic_shared_memory<StopType, PrecType, LogType,
BatchMatrixType, value_type>(exec_);
Expand Down
4 changes: 0 additions & 4 deletions cuda/solver/batch_cg_kernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "core/matrix/batch_struct.hpp"
#include "core/solver/batch_dispatch.hpp"
#include "cuda/base/batch_struct.hpp"
#include "cuda/base/kernel_config.hpp"
#include "cuda/base/thrust.cuh"
#include "cuda/components/reduction.cuh"
#include "cuda/components/thread_ids.cuh"
Expand Down Expand Up @@ -141,9 +140,6 @@ public:
constexpr int align_multiple = 8;
const int padded_num_rows =
ceildiv(mat.num_rows, align_multiple) * align_multiple;
auto shem_guard =
gko::kernels::cuda::detail::shared_memory_config_guard<
value_type>();
const int shmem_per_blk =
get_max_dynamic_shared_memory<StopType, PrecType, LogType,
BatchMatrixType, value_type>(exec_);
Expand Down

0 comments on commit 3377b4f

Please sign in to comment.