This project is mirrored from https://github.com/ornl-qci/qcor.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- 09 Nov, 2021 1 commit
-
-
Nguyen, Thien Minh authored
The unnecessary casting ops between integer and index types cause the Affine for validation failed. This only occurs when the constant values are created inside another affine scope. Fixing the const index value builder to create the index const directly and the loop statement handler in the range-based case to create index type. Added the test case (https://github.com/ORNL-QCI/qcor/issues/240 ) Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 07 Oct, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 03 Sep, 2021 2 commits
-
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 02 Sep, 2021 2 commits
-
-
Nguyen, Thien Minh authored
When porting QCOR_EXPECT_TRUE to region-based construct, I realized there is another directive which hasn't been handled: early return. Adding a test for early returns. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Rewrite using an if block. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 01 Sep, 2021 5 commits
-
-
Nguyen, Thien Minh authored
Also, rename the loop control tracking var name to reflect that it supports all loop types. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
All the loop constructs have now been converted to Affine/SCF Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
- Simplify the structure: the loop handler detect if it contains break/continue to set up the structure (conditional body). i.e., no need to move code after the body is constructed. - Properly handle loop continuation directive, i.e., a true break point and ready for continue implementation. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 31 Aug, 2021 1 commit
-
-
Nguyen, Thien Minh authored
- Moving control directive handling to a separate cpp file for maintainability. - Use outlining technique to wrap breakable loop body in a scf::if block Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 26 Aug, 2021 1 commit
-
-
Nguyen, Thien Minh authored
Added a helper to check the ANTLR4 node type rather than text (not reliable) Clean-up for merging before supporting MLIR Regions-based break/continue. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 25 Aug, 2021 2 commits
-
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 26 Jul, 2021 1 commit
-
-
Nguyen, Thien Minh authored
- Refactor the `evaluate_constant_integer_expression` util to allow for a safe (no throwing) check. - Loop handler to check whether the loop bounds could be const-eval. -> Fixed https://github.com/ORNL-QCI/qcor/issues/180 : This fix will bypass the global memref loading -> make the affine loop const at MLIR level -> enable unrolling at MLIR level. - Add simple tests. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 20 Jul, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 09 Jul, 2021 2 commits
-
-
Nguyen, Thien Minh authored
Affine for loops cannot be mixed with other manual branching structures yet. Need to debug further; disable for now. The affine for validation failure seems to be related to IndexType, not memref. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Affine loop doesn't support negative step, hence need to transform the loop by ourselves. Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 08 Jul, 2021 1 commit
-
-
Nguyen, Thien Minh authored
- Type mismatches since affine loop var is always of index type. - I don't know how to make affine loop to work with memref bounds yet; hence don't try to create an affine loop in that case - Run inliner both before and after loop unroll to make sure CallOps are inlined Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 07 Jul, 2021 2 commits
-
-
Nguyen, Thien Minh authored
Our Affine for loop cannot handle break inside its body yet... Fallback to the manual construction Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
Nguyen, Thien Minh authored
Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 02 Jul, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 24 Jun, 2021 1 commit
-
-
Nguyen, Thien Minh authored
Making sure that we use the IndexType (not integer type) for MemRef Signed-off-by:
Thien Nguyen <nguyentm@ornl.gov>
-
- 25 Mar, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 23 Mar, 2021 1 commit
-
-
Mccaskey, Alex authored
bug fixes and implementation to support qpe.qasm example using ctrl and pow gate modifiers, plus a iqft subroutine. Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 22 Mar, 2021 1 commit
-
-
Mccaskey, Alex authored
update for loop to use declared variables as loop indices, minor bug fixes, add tests for control directives and superposition demo, add deuteron ftqc example Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 19 Mar, 2021 1 commit
-
-
Mccaskey, Alex authored
update all variables to be memref<TYPE> on shape of rank 0. fixed how const global vars are handled, they are now global memrefs Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 11 Mar, 2021 3 commits
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 09 Mar, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 05 Mar, 2021 2 commits
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
Mccaskey, Alex authored
started on updated parser/visitor based on improved qasm3.g4. added the ability to JIT execute the lowered qasm3 code for the tests Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 02 Mar, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 26 Feb, 2021 2 commits
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 25 Feb, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 24 Feb, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-
- 23 Feb, 2021 1 commit
-
-
Mccaskey, Alex authored
Signed-off-by:
Alex McCaskey <mccaskeyaj@ornl.gov>
-