mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-12 09:16:52 +00:00
Add host API (#220)
* Add host API * manually rebase on develop * clean * manually rebase on develop * exclude tests from all target * address review comments * update client app name * fix missing lib name * clang-format update * refactor * refactor * refactor * refactor * refactor * fix test issue * refactor * refactor * refactor * upate cmake and readme Co-authored-by: Chao Liu <chao.liu2@amd.com>
This commit is contained in:
@@ -144,7 +144,7 @@ class AppArgs
|
||||
bool do_dumpout = false;
|
||||
|
||||
int init_method;
|
||||
int nrepeat;
|
||||
bool time_kernel;
|
||||
|
||||
bool need_indices = false;
|
||||
|
||||
@@ -295,7 +295,7 @@ class AppArgs
|
||||
throw std::runtime_error("Invalid cmd-line arguments, more argumetns are needed!");
|
||||
|
||||
init_method = std::atoi(argv[optind++]);
|
||||
nrepeat = std::atoi(argv[optind]);
|
||||
time_kernel = std::atoi(argv[optind]);
|
||||
|
||||
if(scales.empty())
|
||||
{
|
||||
@@ -354,7 +354,7 @@ int profile_reduce(int argc, char* argv[])
|
||||
args.init_method,
|
||||
args.do_log,
|
||||
args.do_dumpout,
|
||||
args.nrepeat,
|
||||
args.time_kernel,
|
||||
args.inLengths,
|
||||
args.reduceDims,
|
||||
args.reduceOp,
|
||||
@@ -369,7 +369,7 @@ int profile_reduce(int argc, char* argv[])
|
||||
args.init_method,
|
||||
args.do_log,
|
||||
args.do_dumpout,
|
||||
args.nrepeat,
|
||||
args.time_kernel,
|
||||
args.inLengths,
|
||||
args.reduceDims,
|
||||
args.reduceOp,
|
||||
@@ -387,7 +387,7 @@ int profile_reduce(int argc, char* argv[])
|
||||
args.init_method,
|
||||
args.do_log,
|
||||
args.do_dumpout,
|
||||
args.nrepeat,
|
||||
args.time_kernel,
|
||||
args.inLengths,
|
||||
args.reduceDims,
|
||||
args.reduceOp,
|
||||
@@ -414,7 +414,7 @@ int profile_reduce(int argc, char* argv[])
|
||||
args.init_method,
|
||||
args.do_log,
|
||||
args.do_dumpout,
|
||||
args.nrepeat,
|
||||
args.time_kernel,
|
||||
args.inLengths,
|
||||
args.reduceDims,
|
||||
args.reduceOp,
|
||||
@@ -429,7 +429,7 @@ int profile_reduce(int argc, char* argv[])
|
||||
args.init_method,
|
||||
args.do_log,
|
||||
args.do_dumpout,
|
||||
args.nrepeat,
|
||||
args.time_kernel,
|
||||
args.inLengths,
|
||||
args.reduceDims,
|
||||
args.reduceOp,
|
||||
@@ -454,7 +454,7 @@ int profile_reduce(int argc, char* argv[])
|
||||
args.init_method,
|
||||
args.do_log,
|
||||
args.do_dumpout,
|
||||
args.nrepeat,
|
||||
args.time_kernel,
|
||||
args.inLengths,
|
||||
args.reduceDims,
|
||||
args.reduceOp,
|
||||
@@ -471,7 +471,7 @@ int profile_reduce(int argc, char* argv[])
|
||||
args.init_method,
|
||||
args.do_log,
|
||||
args.do_dumpout,
|
||||
args.nrepeat,
|
||||
args.time_kernel,
|
||||
args.inLengths,
|
||||
args.reduceDims,
|
||||
args.reduceOp,
|
||||
@@ -486,7 +486,7 @@ int profile_reduce(int argc, char* argv[])
|
||||
args.init_method,
|
||||
args.do_log,
|
||||
args.do_dumpout,
|
||||
args.nrepeat,
|
||||
args.time_kernel,
|
||||
args.inLengths,
|
||||
args.reduceDims,
|
||||
args.reduceOp,
|
||||
|
||||
Reference in New Issue
Block a user