mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-06 07:51:52 +00:00
Move thread per block to the parameter of constructor
This commit is contained in:
@@ -101,8 +101,7 @@ int main()
|
||||
{Stride, 1},
|
||||
{0, 1}, // broadcast in first dimension
|
||||
{Stride, 1},
|
||||
Add{},
|
||||
256);
|
||||
Add{});
|
||||
|
||||
if(!broadcastAdd.IsSupportedArgument(argument.get()))
|
||||
{
|
||||
|
||||
@@ -80,8 +80,7 @@ int main()
|
||||
{1},
|
||||
{1},
|
||||
{1},
|
||||
Add{},
|
||||
256);
|
||||
Add{});
|
||||
|
||||
if(!broadcastAdd.IsSupportedArgument(argument.get()))
|
||||
{
|
||||
|
||||
@@ -82,8 +82,7 @@ int main()
|
||||
ck::to_int_vector(a_m.mDesc.GetStrides()),
|
||||
ck::to_int_vector(b_m.mDesc.GetStrides()),
|
||||
ck::to_int_vector(c_m.mDesc.GetStrides()),
|
||||
Add{},
|
||||
256);
|
||||
Add{});
|
||||
|
||||
if(!broadcastAdd.IsSupportedArgument(argument.get()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user