Anutosh's Blog

Week 12

Anutosh
Published: 08/13/2023

What did I do this week?

During the twelfth and final week of my GSoC project, I focused on completing the remaining tasks for the symbolic ASR pass. This involved adding support for print statements without prior variable assignment, enabling chaining of operators for complex symbolic expressions, implementing assert statements using a new visit_Assert function, and ensuring the freeing of all basic variables through the basic_new_stack function. I also conducted comprehensive testing across different backends (llvm_sym, c_sym, and cpython_sym) to ensure the proper functionality of the symbolic integration tests. Additionally, I engaged in refactoring the symbolic ASR pass to minimize code duplication and enhance the overall structure. Lastly, I discussed potential future work with my mentors, addressing issues such as enabling the FAST flag for symbolic integration tests. As my GSoC journey concluded, I reflected on the challenges and accomplishments, expressing both gratitude and a sense of accomplishment for the past 12 weeks. For a detailed overview of my work during week 12 , you can also go through my personal blog GSoC Week 12

What will I be doing the next week ?

I shal be working towards framing my final GSoC report for the final evaluation.

Did I get stuck somewhere ?

I did face some challenges while working on the task, but with the help of a fellow experienced contributor, Thirumalai Shaktivel, I was able to overcome them and make good progress.

View Blog Post

Week 11

Anutosh
Published: 08/07/2023

What did I do this week?

For Week 11, I focused on completing the first part of the symbolic ASR pass, which involved supporting assignment and print statements for symbolic functions and operations. This part was successfully implemented, replicating the functionalities added earlier through the C backend.

I worked on several Pull Requests before my midterm evaluations, such as #1846, #1964, #2077, and #2094. Now, the same functionalities are achieved through the symbolic pass. For a detailed overview of my work during week 11 , you can also go through my personal blog GSoC Week 11

What will I be doing the next week ?

As I move into the final week of my GSoC project, I will focus on completing the work on #2255 and addressing the mentioned cases. I will ensure that all symbolic tests pass through the symbolic pass and remove any relevant changes made in the C backend, as they will no longer be needed. Excited for what's coming in the final week!

Did I get stuck somewhere ?

I did face some challenges while working on the task, but with the help of a fellow experienced contributor, Thirumalai Shaktivel, I was able to overcome them and make good progress.

View Blog Post

Week 10

Anutosh
Published: 07/31/2023

What did I do this week?

During Week 10, I worked on the symbolic ASR pass. I addressed the first three points of the tasks (as mentioned in my personal blog GSoC Week 10), which involved replacing symbolic variables with CPtr variables, introducing the basic_new_stack function, and changing the function body of main0.

What will I be doing the next week ?

In the next week, I plan to implement the functionality to handle assignment statements through the visit_Assignment function in the replace_symbolic pass. This will involve introducing the basic_const_pi function for the SymbolicPi intrinsic function.

Did I get stuck somewhere ?

I did face some challenges while working on the task, but with the help of a fellow experienced contributor, Thirumalai Shaktivel, I was able to overcome them and make good progress.

View Blog Post

Week 9

Anutosh
Published: 07/23/2023

What did I do this week?

This week, I focused on extending symbolic support to the LLVM backend, successfully added tests for the basic_new_stack function, and began implementing the Symbolic ASR pass with valuable assistance from Thirumalai Shaktivel and Shaikh Ubaid. For more detailed information y'all can refer my personal blog GSoC_week9

What will I be doing the next week ?

In the upcoming week, my plan is to complete the implementation of the Symbolic ASR pass, aiming for a robust and fully functional version that can effectively handle symbolic expressions across different backends.

Did I get stuck somewhere ?

Yes, I faced some challenges while framing the ASR pass as it's my first time doing so. However, with the guidance of Thirumalai Shaktivel and Shaikh Ubaid, I am making good progress towards completing the pass.

View Blog Post

Week 8

Anutosh
Published: 07/17/2023

What did I do this week?

This week, I focused on framing a symbolic ASR pass to extend symbolic support from the C backend to other backends like LLVM. I collaborated with my mentors to understand key concepts and worked on transforming the original ASR to support C calls to SymEngine's C wrapper header file. For more detailed information y'all can refer my personal blog GSoC_week8

What will I be doing the next week ?

Next week, my plan is to finalize the implementation of the ASR pass and ensure it works seamlessly across different backends. I aim to have a concrete implementation ready by the end of the week.

Did I get stuck somewhere ?

While working on the ASR pass, I faced some challenges in understanding certain concepts like CallReplacerOnExpressionsVisitor and BaseExprReplacer. However, with the guidance of my mentors, I was able to overcome these hurdles and make progress towards the completion of the pass.

View Blog Post
DJDT

Versions

Time

Settings from gsoc.settings

Headers

Request

SQL queries from 1 connection

Static files (2312 found, 3 used)

Templates (28 rendered)

Cache calls from 1 backend

Signals

Log messages