Skip to content

Commit

Permalink
Fix out-of-boundary access (read). (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Nov 2, 2021
1 parent 7178d67 commit e6db5dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ message(STATUS "Enabled languages: ${languages}")

project(k2 ${languages})

set(K2_VERSION "1.9")
set(K2_VERSION "1.10")

# ----------------- Supported build types for K2 project -----------------
set(ALLOWABLE_BUILD_TYPES Debug Release RelWithDebInfo MinSizeRel)
Expand Down
2 changes: 1 addition & 1 deletion k2/csrc/ragged_utils.cu
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ RaggedShape IntersperseRaggedLayer(int32_t layer,
row_splits_ptrs_data[src][pos];
row_splits_data[i] = this_size;
};
EvalDevice(c, new_num_rows + 1, lambda_get_sizes);
EvalDevice(c, new_num_rows, lambda_get_sizes);
ExclusiveSum(row_splits, &row_splits);
}
}
Expand Down

0 comments on commit e6db5dc

Please sign in to comment.