Page MenuHomePhabricator

mhalk (Michael Halkenhäuser)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 10 2019, 10:48 AM (229 w, 4 d)

Recent Activity

Fri, May 12

mhalk added inline comments to D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.
Fri, May 12, 6:20 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

Update: Removed statics (libomptarget->plugins). Style.

Fri, May 12, 5:19 AM · Restricted Project, Restricted Project

May 5 2023

mhalk added inline comments to D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.
May 5 2023, 10:55 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

Update + rebase to reflect the landing of https://reviews.llvm.org/D124070

May 5 2023, 8:28 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.
May 5 2023, 8:20 AM · Restricted Project, Restricted Project
mhalk added a comment to D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

I think the patch looks good, though I didn't test it yet. I don't want to block here. Go for it. :-)

May 5 2023, 4:20 AM · Restricted Project, Restricted Project

May 4 2023

mhalk added a comment to D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

@tianshilei1992 If it is not too much to ask for: Could you please build the current patch with your configuration and let me know if there were issues?

May 4 2023, 1:01 PM · Restricted Project, Restricted Project

May 3 2023

mhalk added inline comments to D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.
May 3 2023, 9:48 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Added conditional linking of OMPT to PluginInterface as well as amdgpu and cuda plugins`.

May 3 2023, 9:42 AM · Restricted Project, Restricted Project
mhalk added inline comments to D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.
May 3 2023, 8:58 AM · Restricted Project, Restricted Project
mhalk added a comment to D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

If there are no further problems or requests, I would like to re-land this revision.

May 3 2023, 7:27 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Made #ifdef span OmptCallback.cpp to avoid build errors when OMPT is disabled.
Added dummy definition for exported symbol ompt_libomptarget_connect.

May 3 2023, 7:10 AM · Restricted Project, Restricted Project
mhalk reopened D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.
May 3 2023, 6:58 AM · Restricted Project, Restricted Project

May 2 2023

mhalk added a comment to D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Either only adding the source file when OMPT is enabled, or as suggested by @dhruvachak, guarding the entire file with the OMPT_SUPPORT.

May 2 2023, 1:31 PM · Restricted Project, Restricted Project
mhalk added a comment to D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

@tianshilei1992 Thank you very much!
Sorry that I was unavailable for the last hour, just got at the PC.

May 2 2023, 12:47 PM · Restricted Project, Restricted Project
mhalk updated the diff for D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Small fix w.r.t. debug builds.

May 2 2023, 9:24 AM · Restricted Project, Restricted Project

Apr 28 2023

mhalk added inline comments to D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.
Apr 28 2023, 4:09 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

Addressed style issues, dreaded whitespace & removed DEBUG_PREFIX testing

Apr 28 2023, 4:06 AM · Restricted Project, Restricted Project

Apr 27 2023

mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

Updated to accomodate the changes made in the previous patch.

Apr 27 2023, 12:39 PM · Restricted Project, Restricted Project
mhalk updated the diff for D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Implemented further feedback (removed statics & added corresponding assert)
edit: Please note that the namespace feedback has been addressed in the "next" patch in this stack: D12465

Apr 27 2023, 11:06 AM · Restricted Project, Restricted Project

Apr 26 2023

mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

Removed debug prints / comments and fixed a problem when no OMPT was initialized.

Apr 26 2023, 12:51 PM · Restricted Project, Restricted Project
mhalk added inline comments to D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.
Apr 26 2023, 10:59 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

Rebase + implementation of feedback

Apr 26 2023, 10:40 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Corrected commit (apologies)

Apr 26 2023, 10:37 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Rebase

Apr 26 2023, 10:33 AM · Restricted Project, Restricted Project

Apr 19 2023

mhalk added a comment to D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause.

I didn't see that is the case. https://godbolt.org/z/TdcfxfEej I didn't set the thread limit and then it is 0.
The spec says thread_limit has to be greater than zero. So here using 0 to indicate the clause is not set looks good to me.

Apr 19 2023, 11:06 AM · Restricted Project, Restricted Project
mhalk added a comment to D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause.

Feedback should be addressed from my perspective -- is there anything left to do?
Thanks in advance!

Apr 19 2023, 5:57 AM · Restricted Project, Restricted Project

Apr 12 2023

mhalk retitled D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause from [OpenMP] Fix nextgen plugin thread_limit clause bug when passing negative values. to [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause.
Apr 12 2023, 4:11 AM · Restricted Project, Restricted Project
mhalk updated the diff for D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause.

Rebase + clarifications on this patch's intent

Apr 12 2023, 4:10 AM · Restricted Project, Restricted Project
mhalk added inline comments to D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause.
Apr 12 2023, 3:17 AM · Restricted Project, Restricted Project

Apr 11 2023

mhalk retitled D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause from [OpenMP] Fix nextgen plugin thread_limit clause bug on generic kernels. to [OpenMP] Fix nextgen plugin thread_limit clause bug when passing negative values..
Apr 11 2023, 3:09 AM · Restricted Project, Restricted Project

Apr 8 2023

mhalk updated the diff for D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause.

Refactored the fix such that it covers not only the '-1' case, but all negative integers.
Added a testcase, also to demonstrate the issue.

Apr 8 2023, 8:51 AM · Restricted Project, Restricted Project

Apr 4 2023

mhalk added a comment to D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause.

As far as I know: No, this patch should avoid exactly that case. (It seems that param would be set to -1 when there's no thread_limit clause, which caused problems.)

Apr 4 2023, 4:01 AM · Restricted Project, Restricted Project
mhalk requested review of D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause.
Apr 4 2023, 2:14 AM · Restricted Project, Restricted Project

Mar 22 2023

mhalk added inline comments to D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.
Mar 22 2023, 10:41 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

Patch rework; implemented feedback.

Mar 22 2023, 10:38 AM · Restricted Project, Restricted Project
mhalk updated the diff for D145591: [clang][HIP][OpenMP] Add warning if mixed HIP / OpenMP offloading.

Patch rework, implementing the mentioned changes.

Mar 22 2023, 9:53 AM · Restricted Project, Restricted Project
mhalk added a comment to D145591: [clang][HIP][OpenMP] Add warning if mixed HIP / OpenMP offloading.

I'm not a fan of the same warning being copied in 24 places. Why do we set LangOpts.IsOpenMP on the GPU compilation side, couldn't we just filter out the -fopenmp or whatever it is for the HIP job?

Mar 22 2023, 5:11 AM · Restricted Project, Restricted Project
mhalk added inline comments to D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.
Mar 22 2023, 2:26 AM · Restricted Project, Restricted Project

Mar 21 2023

mhalk added inline comments to D127365: [OpenMP] [OMPT] [6/8] Added callback support for target data operations, target submit, and target regions..
Mar 21 2023, 12:14 PM · Restricted Project, Restricted Project
mhalk added a comment to D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

When more changes have accumulated I'll update this diff with the changes I replied to with 'Done'.

Mar 21 2023, 11:59 AM · Restricted Project, Restricted Project
mhalk added inline comments to D127365: [OpenMP] [OMPT] [6/8] Added callback support for target data operations, target submit, and target regions..
Mar 21 2023, 10:59 AM · Restricted Project, Restricted Project
mhalk commandeered D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

As discussed with Dhruva.

Mar 21 2023, 8:39 AM · Restricted Project, Restricted Project
mhalk added a reviewer for D127367: [OpenMP] [OMPT] [7/8] Invoke tool-supplied callbacks before and after target launch and data transfer operations: jplehr.
Mar 21 2023, 8:39 AM · Restricted Project, Restricted Project
mhalk commandeered D127367: [OpenMP] [OMPT] [7/8] Invoke tool-supplied callbacks before and after target launch and data transfer operations.

As discussed with Dhruva.

Mar 21 2023, 8:39 AM · Restricted Project, Restricted Project
mhalk added a reviewer for D127365: [OpenMP] [OMPT] [6/8] Added callback support for target data operations, target submit, and target regions.: jplehr.
Mar 21 2023, 8:38 AM · Restricted Project, Restricted Project
mhalk commandeered D127365: [OpenMP] [OMPT] [6/8] Added callback support for target data operations, target submit, and target regions..

As discussed with Dhruva.

Mar 21 2023, 8:37 AM · Restricted Project, Restricted Project
mhalk updated the summary of D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.
Mar 21 2023, 8:36 AM · Restricted Project, Restricted Project
mhalk commandeered D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.
Mar 21 2023, 8:34 AM · Restricted Project, Restricted Project
mhalk updated the summary of D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.
Mar 21 2023, 8:24 AM · Restricted Project, Restricted Project
mhalk updated the diff for D127367: [OpenMP] [OMPT] [7/8] Invoke tool-supplied callbacks before and after target launch and data transfer operations.

Refactored patch for use with nextgen plugins.

Mar 21 2023, 7:21 AM · Restricted Project, Restricted Project
mhalk updated the diff for D127365: [OpenMP] [OMPT] [6/8] Added callback support for target data operations, target submit, and target regions..

Refactored patch for use with nextgen plugins.

Mar 21 2023, 7:17 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

Refactored patch for use with nextgen plugins.

Mar 21 2023, 7:12 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Refactored patch for use with nextgen plugins.

Mar 21 2023, 7:07 AM · Restricted Project, Restricted Project

Mar 15 2023

mhalk updated subscribers of D145591: [clang][HIP][OpenMP] Add warning if mixed HIP / OpenMP offloading.
Mar 15 2023, 5:59 AM · Restricted Project, Restricted Project

Mar 10 2023

mhalk added inline comments to D145591: [clang][HIP][OpenMP] Add warning if mixed HIP / OpenMP offloading.
Mar 10 2023, 9:12 AM · Restricted Project, Restricted Project

Mar 9 2023

mhalk added a comment to D145591: [clang][HIP][OpenMP] Add warning if mixed HIP / OpenMP offloading.

How is this different from compiling a C++ file with opemnp directives in it? AFAICT neither clang nor gcc issue anywarnings: https://godbolt.org/z/5Me3dnTdr

What makes the warnings necessary for HIP?

Mar 9 2023, 1:56 AM · Restricted Project, Restricted Project

Mar 8 2023

mhalk requested review of D145591: [clang][HIP][OpenMP] Add warning if mixed HIP / OpenMP offloading.
Mar 8 2023, 9:07 AM · Restricted Project, Restricted Project

Feb 28 2023

mhalk updated the diff for D127372: [OpenMP] [OMPT] [8/8] Added lit tests for OMPT target callbacks.

Fixed update.

Feb 28 2023, 11:49 AM · Restricted Project, Restricted Project
mhalk updated the summary of D127372: [OpenMP] [OMPT] [8/8] Added lit tests for OMPT target callbacks.
Feb 28 2023, 11:41 AM · Restricted Project, Restricted Project
mhalk updated the diff for D127372: [OpenMP] [OMPT] [8/8] Added lit tests for OMPT target callbacks.

Removed dependency on previous patches.
Note: Tests will now check for failed callback registrations.

Feb 28 2023, 11:40 AM · Restricted Project, Restricted Project

Feb 22 2023

mhalk updated the diff for D127372: [OpenMP] [OMPT] [8/8] Added lit tests for OMPT target callbacks.

Rebased

Feb 22 2023, 7:03 AM · Restricted Project, Restricted Project
mhalk updated the diff for D127367: [OpenMP] [OMPT] [7/8] Invoke tool-supplied callbacks before and after target launch and data transfer operations.

Rebased

Feb 22 2023, 7:02 AM · Restricted Project, Restricted Project
mhalk updated the diff for D127365: [OpenMP] [OMPT] [6/8] Added callback support for target data operations, target submit, and target regions..

Rebased + spelling fixes

Feb 22 2023, 7:00 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124652: [OpenMP] [OMPT] [amdgpu] [5/8] Implemented device init/fini/load callbacks.

Rebased + related fixes

Feb 22 2023, 6:49 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Fixed wrong diff update.

Feb 22 2023, 6:46 AM · Restricted Project, Restricted Project
mhalk updated the diff for D124070: [OpenMP] [OMPT] [amdgpu] [4/8] Implemented callback registration in nextgen plugins.

Fix OMPT init ordering and library typo.

Feb 22 2023, 6:34 AM · Restricted Project, Restricted Project

Jan 15 2020

Herald added a reviewer for D61081: LLVM OpenMP Backend -- Fix "static chunked" scheduling: jdoerfert.

ping :)

Jan 15 2020, 12:05 PM · Restricted Project, Unknown Object (Project)

May 21 2019

mhalk added a comment to D61081: LLVM OpenMP Backend -- Fix "static chunked" scheduling.

LGTM. Can I commit for you?

That would be great -- thank you!
(Hopefully, I catched everything this time :) )

May 21 2019, 12:54 PM · Restricted Project, Unknown Object (Project)

May 14 2019

mhalk added a comment to D61081: LLVM OpenMP Backend -- Fix "static chunked" scheduling.

ping

May 14 2019, 11:30 AM · Restricted Project, Unknown Object (Project)

Apr 24 2019

mhalk added inline comments to D61081: LLVM OpenMP Backend -- Fix "static chunked" scheduling.
Apr 24 2019, 3:11 PM · Restricted Project, Unknown Object (Project)
mhalk updated the diff for D61081: LLVM OpenMP Backend -- Fix "static chunked" scheduling.

Incorporated feedback from @Meinersbur

Apr 24 2019, 3:05 PM · Restricted Project, Unknown Object (Project)
mhalk created D61081: LLVM OpenMP Backend -- Fix "static chunked" scheduling.
Apr 24 2019, 12:04 PM · Restricted Project, Unknown Object (Project)