[llvm-dev] GSoC - Improve parallelism-aware analyses and optimizations

34 views
Skip to first unread message

Emanuel Lima via llvm-dev

unread,
Mar 9, 2020, 5:02:46 PM3/9/20
to llvm...@lists.llvm.org
Hello! My name is Emanuel and I am an undergraduate student from Brazil (at the University of São Paulo) wanting to participate in this years GSoC on LLVM. Specifically, on the "Improve parallelism-aware analyses and optimizations" project.

I currently do research on autotuning of LLVM IR optimization passes and I am sitting for a class about parallel computing, but I have been studying the subject by my own for some weeks. I think I have an intermediate level of C++, but that is kind of difficult to measure. It would be my first contribution to open source, so I don't have much to show :(

In a sentence, I have a lot of passion, but not much experience, so I am writing to know if this is a deal breaker :(

If not, what would be the next steps?

--
Emanuel Lima

Stefanos Baziotis via llvm-dev

unread,
Mar 9, 2020, 5:51:41 PM3/9/20
to Emanuel Lima, johannes...@gmail.com, llvm-dev
Hi Emanuel,

I'm not very familiar with this project but let's try to help by CC'ing Johannes. Also, that discussion will probably be very interesting: https://groups.google.com/forum/#!msg/llvm-dev/7-Bxop08Kh0/qKYFqUryAQAJ


In a sentence, I have a lot of passion, but not much experience, so I am writing to know if this is a deal breaker :(
IMHO, no. :)

Best,
Stefanos

_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Johannes Doerfert via llvm-dev

unread,
Mar 9, 2020, 6:00:22 PM3/9/20
to Emanuel Lima, llvm...@lists.llvm.org
Hi Emanuel,

you took the first step already, you emailed the list :)

You should start with a small task so you can see how the process works.
One would be to work on the TODO in OpenMPOpt.cpp line 366:
// TODO: We should validate the declaration agains the types we expect.
The idea is that we match runtime calls there and we know what types
they should have (as part of their definition in OMPKinds.def). However,
for now we do not verify the types match the function we found with the
respective name. Does this make sense?

Feel free to look around that area and ask questions you might have.

You should also read documentation like
https://www.llvm.org/docs/Contributing.html
https://www.llvm.org/docs/CodeReview.html
https://www.llvm.org/docs/Phabricator.html
https://www.llvm.org/docs/CodingStandards.html
and always feel free to ask on the list or in IRC questions :)


Cheers,
Johannes

P.S. Given your autotuning experience you should consider the "ML"
topics as well.
> _______________________________________________
> LLVM Developers mailing list
> llvm...@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


--

Johannes Doerfert
Researcher

Argonne National Laboratory
Lemont, IL 60439, USA

jdoe...@anl.gov
signature.asc

Emanuel Lima via llvm-dev

unread,
Mar 9, 2020, 6:51:36 PM3/9/20
to Johannes Doerfert, llvm...@lists.llvm.org
Awesome, thanks!
As per your suggestion, I read the description of these two projects:
and they are amazing! Indeed, they are very close to my interest in autotuning. I didn't see them on the list before.

If I choose to focus on these projects, where should I start?
--
Emanuel Lima

Stefanos Baziotis via llvm-dev

unread,
Mar 9, 2020, 7:05:33 PM3/9/20
to Emanuel Lima, llvm-dev
I'd propose that you open a different thread for cleaner separation. Then hopefully one of the mentors will see it or someone will CC them.

Best,
Stefanos

Emanuel Lima via llvm-dev

unread,
Mar 9, 2020, 7:18:42 PM3/9/20
to Stefanos Baziotis, llvm-dev
Will do it. Thanks!

Johannes Doerfert via llvm-dev

unread,
Mar 11, 2020, 3:02:32 PM3/11/20
to Emanuel Lima, llvm...@lists.llvm.org
Hi Emanuel,

I'll reply to the other mail later, once I finished a GSoC dashboard.

I just wanted to check in if you started to work on the TODO. I think
someone else started to work on that one as well so we should avoid
duplicating work.

Cheers,
Johannes
signature.asc

Emanuel Lima via llvm-dev

unread,
Mar 11, 2020, 3:54:22 PM3/11/20
to Johannes Doerfert, llvm-dev
Hi Johannes.

I haven't started on the TODO yet because, as I said on the other email, I believe the project about heuristics and ML is a much better fit for me, given that this is the theme of my research at the university. 
I am just a little lost about what to do next regarding those projects, so I have been studying LLVM itself in the meantime. 
It was such a pleasant surprise that a project so close to my research was available in GSoC. I hope I will be able to work on it.
Reply all
Reply to author
Forward
0 new messages