"tests/vscode:/vscode.git/clone" did not exist on "2c64ae03303ce5d53019d0ed1583be328f6f8c0d"
Commit 7aa95ce5 authored by Mauro Bisson's avatar Mauro Bisson
Browse files

Fixed typo causing crash in the generic kernel path.

parent 73bfdc53
...@@ -296,7 +296,7 @@ void launch_gen_attn_kernel(int batch_size, ...@@ -296,7 +296,7 @@ void launch_gen_attn_kernel(int batch_size,
size_t shsize = sizeof(FLOATV_T)*nchans * block.y; size_t shsize = sizeof(FLOATV_T)*nchans * block.y;
auto _row_idx = col_idx.packed_accessor32< int, 1, torch::RestrictPtrTraits>(); auto _row_idx = row_idx.packed_accessor32< int, 1, torch::RestrictPtrTraits>();
auto _row_off = row_off.packed_accessor64<int64_t, 1, torch::RestrictPtrTraits>(); auto _row_off = row_off.packed_accessor64<int64_t, 1, torch::RestrictPtrTraits>();
auto _col_idx = col_idx.packed_accessor64<int64_t, 1, torch::RestrictPtrTraits>(); auto _col_idx = col_idx.packed_accessor64<int64_t, 1, torch::RestrictPtrTraits>();
auto _quad_weights = quad_weights.packed_accessor32< float, 1, torch::RestrictPtrTraits>(); auto _quad_weights = quad_weights.packed_accessor32< float, 1, torch::RestrictPtrTraits>();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment