Skip to content

Commit

Permalink
Update 05_Dynamically-Specialized-Kernels.md. (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfredBr authored Apr 22, 2024
1 parent f74fc6b commit 3fa3a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docs/03_Advanced/05_Dynamically-Specialized-Kernels.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ...
...
genericKernel((<UserGridDim>, <UserGroupDim>), buffer.View, 40);

var specializedKernel = accl.LoadStreamKernel<ArrayView<int>, SpecializedValue<int>>(GenericKernel);
var specializedKernel = accl.LoadStreamKernel<ArrayView<int>, SpecializedValue<int>>(SpecializedKernel);
...
specializedKernel((<UserGridDim>, <UserGroupDim>), buffer.View, SpecializedValue.New(40));
...
Expand Down

0 comments on commit 3fa3a85

Please sign in to comment.