Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
4319392f
Commit
4319392f
authored
Feb 23, 2018
by
Mccaskey, Alex
Browse files
fixing a few minor bugs
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
51612a66
Changes
2
Hide whitespace changes
Inline
Side-by-side
xacc/program/Kernel.hpp
View file @
4319392f
...
...
@@ -136,6 +136,10 @@ public:
std
::
shared_ptr
<
Function
>
getIRFunction
()
{
return
function
;
}
const
std
::
string
getName
()
{
return
function
->
getName
();
}
};
/**
...
...
xacc/program/Program.hpp
View file @
4319392f
...
...
@@ -212,7 +212,7 @@ public:
*/
template
<
typename
...
RuntimeArgs
>
auto
getKernels
(
const
int
beginIdx
,
const
int
endIdx
)
->
KernelList
<
RuntimeArgs
...
>
{
KernelList
<
RuntimeArgs
...
>
kernels
(
accelerator
);
KernelList
<
RuntimeArgs
...
>
kernels
(
accelerator
,
bufferPostprocessors
);
if
(
!
xaccIR
)
{
build
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment