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 becfd87 commit 13a724a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 68 deletions.
60 changes: 0 additions & 60 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 @@ -21,7 +21,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 @@ -146,9 +145,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 @@ -20,7 +20,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 @@ -144,9 +143,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 13a724a

Please sign in to comment.