Skip to content

Commit

Permalink
wip titan x bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikvn committed Aug 13, 2024
1 parent ca74968 commit dc85ff5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cuda/solver/batch_bicgstab_kernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,12 @@ public:
value_type>(
shmem_per_blk, padded_num_rows, mat.get_single_item_num_nnz(),
b.num_rhs);
const size_t shared_size =
sconf.n_shared * padded_num_rows * sizeof(value_type) +
(sconf.prec_shared ? prec_size : 0);
// const size_t shared_size =
// sconf.n_shared * padded_num_rows * sizeof(value_type) +
// (sconf.prec_shared ? prec_size : 0);
const size_t shared_size = 1200;
// sconf.n_shared * padded_num_rows * sizeof(value_type) +
// (sconf.prec_shared ? prec_size : 0);
auto workspace = gko::array<value_type>(
exec_,
sconf.gmem_stride_bytes * num_batch_items / sizeof(value_type));
Expand Down

0 comments on commit dc85ff5

Please sign in to comment.