Skip to content

Commit

Permalink
Merge removal of deprecated shared memory config
Browse files Browse the repository at this point in the history
This removes deprecated functionality that does not have a performance impact on recent GPUs

Related PR: #1635
  • Loading branch information
upsj authored Jun 28, 2024
2 parents 5363f07 + 3377b4f commit 5bf9f43
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 5bf9f43

Please sign in to comment.