Commit 4319392f authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

fixing a few minor bugs


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 51612a66
...@@ -136,6 +136,10 @@ public: ...@@ -136,6 +136,10 @@ public:
std::shared_ptr<Function> getIRFunction() { std::shared_ptr<Function> getIRFunction() {
return function; return function;
} }
const std::string getName() {
return function->getName();
}
}; };
/** /**
......
...@@ -212,7 +212,7 @@ public: ...@@ -212,7 +212,7 @@ public:
*/ */
template<typename ... RuntimeArgs> template<typename ... RuntimeArgs>
auto getKernels(const int beginIdx, const int endIdx) -> KernelList<RuntimeArgs...> { auto getKernels(const int beginIdx, const int endIdx) -> KernelList<RuntimeArgs...> {
KernelList<RuntimeArgs...> kernels(accelerator); KernelList<RuntimeArgs...> kernels(accelerator, bufferPostprocessors);
if (!xaccIR) { if (!xaccIR) {
build(); build();
} }
......
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