fix CANN compile fail bug: the assert in ascend kernel function doesn't supportted on some CANN version
This commit is contained in:
parent
dc96a0b06a
commit
e509f79635
1 changed files with 0 additions and 1 deletions
|
@ -20,7 +20,6 @@ class DupByRows {
|
|||
// Input has four dims.
|
||||
int64_t op_block_num = GetBlockNum();
|
||||
int64_t op_block_idx = GetBlockIdx();
|
||||
assert(op_block_idx < SUPPORTED_MAX_DIM && op_block_idx >= 0, "Invalid block index:%d, max is:%d\n", op_block_idx, SUPPORTED_MAX_DIM);
|
||||
|
||||
// param
|
||||
num_rows = input_ne_ub[1] * input_ne_ub[2] * input_ne_ub[3];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue