Commit 1574c03d authored by Sukru Eryilmaz's avatar Sukru Eryilmaz
Browse files

add streamid

parent 16869317
...@@ -494,7 +494,7 @@ bool dispatch_additive_masked_softmax_stream(output_t *dst, const input_t *src, ...@@ -494,7 +494,7 @@ bool dispatch_additive_masked_softmax_stream(output_t *dst, const input_t *src,
int blocks = (batch_count + batches_per_block - 1) / batches_per_block; int blocks = (batch_count + batches_per_block - 1) / batches_per_block;
dim3 threads(warp_size, warps_per_block, 1); dim3 threads(warp_size, warps_per_block, 1);
// launch // launch
kernel<<<blocks, threads, streamid>>>(dst, src, pad_mask, batch_count, softmax_elements_stride, softmax_elements, pad_batch_stride); kernel<<<blocks, threads, 0, streamid>>>(dst, src, pad_mask, batch_count, softmax_elements_stride, softmax_elements, pad_batch_stride);
return true; return true;
} }
return false; return false;
......
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