Commit 8b45553d authored by Chao Liu's avatar Chao Liu
Browse files

fix issue: uncessary sgpr usage due to kernel wrapper pass unnecessary argument

parent ff2c373b
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
#define CK_GRIDWISE_OPERATION_KERNEL_WRAPPER #define CK_GRIDWISE_OPERATION_KERNEL_WRAPPER
template <typename GridwiseOp, typename... Xs> template <typename GridwiseOp, typename... Xs>
__global__ void run_gridwise_operation(GridwiseOp gridwise_op, Xs... xs) __global__ void run_gridwise_operation(GridwiseOp, Xs... xs)
{ {
gridwise_op.Run(xs...); GridwiseOp{}.Run(xs...);
} }
#endif #endif
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