From 48b763f01b658dece7f71784fe4362e56167db2f Mon Sep 17 00:00:00 2001 From: James Sandham <33790278+jsandham@users.noreply.github.com> Date: Fri, 28 Jan 2022 10:24:08 -0800 Subject: [PATCH] remove incorrect assert from spmm_bell (#302) Co-authored-by: jsandham --- library/src/level3/rocsparse_bellmm_template_general.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/library/src/level3/rocsparse_bellmm_template_general.cpp b/library/src/level3/rocsparse_bellmm_template_general.cpp index 81f36a32..bbce9a17 100644 --- a/library/src/level3/rocsparse_bellmm_template_general.cpp +++ b/library/src/level3/rocsparse_bellmm_template_general.cpp @@ -1,6 +1,6 @@ /*! \file */ /* ************************************************************************ - * Copyright (c) 2021 Advanced Micro Devices, Inc. + * Copyright (c) 2021-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -101,9 +101,8 @@ rocsparse_status rocsparse_bellmm_template_general(rocsparse_handle han I ldc) { hipStream_t stream = handle->stream; - assert(block_dim > 32); - dim3 bellmm_blocks((mb - 1) / 1 + 1, (n - 1) / 32 + 1); - dim3 bellmm_threads(32, 32, 1); + dim3 bellmm_blocks((mb - 1) / 1 + 1, (n - 1) / 32 + 1); + dim3 bellmm_threads(32, 32, 1); assert(trans_A == rocsparse_operation_none); // // What happends if A needs to be transposed?