Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline

Feed Advanced Search

Aug 28 2023

vadikp-intel added a comment to D152054: [OpenMP] Codegen support for thread_limit on target directive.

Windows importing is now done by name, and new exports do not need to have an ordinal specified for them i.e. you can add a line with just the API name to dllexports.

Aug 28 2023, 2:47 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
vadikp-intel added a comment to D156473: [Object] Use COFF archive format for import libraries..
Aug 28 2023, 2:45 PM · Restricted Project, Restricted Project

Aug 23 2023

vadikp-intel committed rG6789dda76218: [OpenMP] make small memory allocations in loop collapse code on the stack (authored by vadikp-intel).
[OpenMP] make small memory allocations in loop collapse code on the stack
Aug 23 2023, 10:39 AM · Restricted Project, Restricted Project
vadikp-intel closed D158220: make small memory allocations in loop collapse code on the stack instead of the heap.
Aug 23 2023, 10:39 AM · Restricted Project, Restricted Project
vadikp-intel accepted D158220: make small memory allocations in loop collapse code on the stack instead of the heap.
Aug 23 2023, 10:20 AM · Restricted Project, Restricted Project

Aug 17 2023

vadikp-intel requested review of D158220: make small memory allocations in loop collapse code on the stack instead of the heap.
Aug 17 2023, 2:28 PM · Restricted Project, Restricted Project

May 18 2023

vadikp-intel committed rGd9b84c2c9d64: [OpenMP] remove usage of std::abs in the new loop collapse support code (authored by vadikp-intel).
[OpenMP] remove usage of std::abs in the new loop collapse support code
May 18 2023, 7:02 PM · Restricted Project, Restricted Project
vadikp-intel closed D150882: [OpenMP] remove usage of std::abs in the new loop collapse support code.
May 18 2023, 7:01 PM · Restricted Project, Restricted Project
vadikp-intel added a comment to D150882: [OpenMP] remove usage of std::abs in the new loop collapse support code.

Changing kmp_stats to use the new definitions would require moving them up into a header somewhere while still requiring <cmath> in kmp_stats. Do you think this would be worth it?

May 18 2023, 10:46 AM · Restricted Project, Restricted Project
vadikp-intel added a comment to D150882: [OpenMP] remove usage of std::abs in the new loop collapse support code.

I have reworked the naming but am not seeing any other uses of std::abs in the runtime code. There are a couple of <cmath> references, but none of them appear to be reachable in the current build: one is apparently in a test case, the other - in the stats collection support which is off by default and where math use is heavier (e.g. sqrt) making its removal trickier.

May 18 2023, 10:32 AM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D150882: [OpenMP] remove usage of std::abs in the new loop collapse support code.

removed <cmath> reference and changed the names of the local replacement implementations to convention.

May 18 2023, 10:31 AM · Restricted Project, Restricted Project
vadikp-intel requested review of D150882: [OpenMP] remove usage of std::abs in the new loop collapse support code.
May 18 2023, 9:40 AM · Restricted Project, Restricted Project

May 12 2023

vadikp-intel closed D150404: [OpenMP] remove an erroneous assert on the location argument.

closed by commit 7fd6d2babf4dcaa24f24da18cd0a858fa89579e8

May 12 2023, 3:43 PM · Restricted Project, Restricted Project
vadikp-intel committed rG7fd6d2babf4d: [OpenMP] remove an erroneous assert on the location argument (authored by vadikp-intel).
[OpenMP] remove an erroneous assert on the location argument
May 12 2023, 3:41 PM · Restricted Project, Restricted Project
vadikp-intel committed rG3665e2bdd1df: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC… (authored by vadikp-intel).
[OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC…
May 12 2023, 3:15 PM · Restricted Project, Restricted Project
vadikp-intel closed D149010: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler for loop collapse (rectangular and non-rectangular loops)".
May 12 2023, 3:15 PM · Restricted Project, Restricted Project
vadikp-intel added a comment to D149010: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler for loop collapse (rectangular and non-rectangular loops)".

Thanks, this has been tested with GCC 12 on Windows.

May 12 2023, 2:49 PM · Restricted Project, Restricted Project

May 11 2023

vadikp-intel requested review of D150404: [OpenMP] remove an erroneous assert on the location argument.
May 11 2023, 3:30 PM · Restricted Project, Restricted Project
vadikp-intel added a comment to D149010: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler for loop collapse (rectangular and non-rectangular loops)".

Could someone in the know comment whether the openmp removal was unrelated to the previous GCC build failures, or it was in which case what action may be required to restore it now that this is being fixed? Thanks

May 11 2023, 3:21 PM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D149010: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler for loop collapse (rectangular and non-rectangular loops)".

Implementation changes to remove the dependency on the C++ standard library

May 11 2023, 3:13 PM · Restricted Project, Restricted Project

Apr 24 2023

vadikp-intel added a comment to D149010: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler for loop collapse (rectangular and non-rectangular loops)".

Folks, the same two bots that failed on the previous check-in that this one attempts to fix continue to fail, but with a different problem down the build line. Both are doing GCC builds that are now complaining about unresolved C++ runtime references that can apparently be fixed by adding -lstdc++ to the cmake linker set up. Not sure why this not being picked up by default in GCC configs - others (clang, MSVC, etc.) look OK.

Apr 24 2023, 12:19 PM · Restricted Project, Restricted Project
vadikp-intel committed rG5a15ca7f10bc: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the (authored by natgla).
[OpenMP] Fix GCC build issues and restore "Additional APIs used by the
Apr 24 2023, 11:56 AM · Restricted Project, Restricted Project
vadikp-intel closed D149010: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler for loop collapse (rectangular and non-rectangular loops)".
Apr 24 2023, 11:56 AM · Restricted Project, Restricted Project

Apr 22 2023

vadikp-intel updated the diff for D149010: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler for loop collapse (rectangular and non-rectangular loops)".
Apr 22 2023, 11:13 PM · Restricted Project, Restricted Project
vadikp-intel requested review of D149010: [OpenMP] Fix GCC build issues and restore "Additional APIs used by the MSVC compiler for loop collapse (rectangular and non-rectangular loops)".
Apr 22 2023, 11:07 PM · Restricted Project, Restricted Project
vadikp-intel added a comment to D148393: [OpenMP] Additional APIs used by MSVC compiler for loop collapse (rectangular and non-rectangular loops).

Ok, thanks for the info. It did seem to pass the Phabricator review Linux build here.

Apr 22 2023, 11:35 AM · Restricted Project, Restricted Project
vadikp-intel added a comment to D148393: [OpenMP] Additional APIs used by MSVC compiler for loop collapse (rectangular and non-rectangular loops).

Hmm, the couple of similar build breaks I fixed before pushing did make it in. These are something new that I am not seeing on our end. What Windows compiler are the problems showing up with?

Apr 22 2023, 10:50 AM · Restricted Project, Restricted Project
vadikp-intel added a comment to D148393: [OpenMP] Additional APIs used by MSVC compiler for loop collapse (rectangular and non-rectangular loops).

Yes, somehow the typedef fixes didn't make it into the push. Let me fix it.
It would be good to add a Windows build to the initial PR check. The absence of such has bitten before.

Apr 22 2023, 10:43 AM · Restricted Project, Restricted Project

Apr 21 2023

vadikp-intel committed rG7aa815fc782c: [OpenMP] Additional APIs used by the MSVC compiler for loop collapse (authored by natgla).
[OpenMP] Additional APIs used by the MSVC compiler for loop collapse
Apr 21 2023, 5:54 PM · Restricted Project, Restricted Project
vadikp-intel closed D148393: [OpenMP] Additional APIs used by MSVC compiler for loop collapse (rectangular and non-rectangular loops).
Apr 21 2023, 5:53 PM · Restricted Project, Restricted Project

Apr 19 2023

vadikp-intel accepted D148393: [OpenMP] Additional APIs used by MSVC compiler for loop collapse (rectangular and non-rectangular loops).

looks good to me

Apr 19 2023, 3:34 PM · Restricted Project, Restricted Project

Mar 27 2023

vadikp-intel committed rG30ce6fbfaae4: [OpenMP] Fix an OpenMP Windows build problem (authored by vadikp-intel).
[OpenMP] Fix an OpenMP Windows build problem
Mar 27 2023, 5:24 PM · Restricted Project, Restricted Project
vadikp-intel closed D146894: [OpenMP] Fix an OpenMP Windows build problem .
Mar 27 2023, 5:24 PM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D146894: [OpenMP] Fix an OpenMP Windows build problem .

removed a now redundant dependency

Mar 27 2023, 4:58 PM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D146894: [OpenMP] Fix an OpenMP Windows build problem .

Updated with a better fix.

Mar 27 2023, 1:30 PM · Restricted Project, Restricted Project
vadikp-intel added a comment to D146925: [OpenMP] Fix building the second import library when built in the main llvm build root.

I will be good with this solution, but I think there could be a simpler one in the end. While CMAKE does wants to see a source, that does not have to be a cpp (which is what's causing this need to unnecessarily feed the first step's library to satisfy lib's attempt at def symbols resolution). There are other source types (e.g., a. txt) which will satisfy the source presence requirement but which CMAKE will filter out from the librarian generating the right command line for it.

Mar 27 2023, 1:24 PM · Restricted Project, Restricted Project

Mar 25 2023

vadikp-intel updated the diff for D146894: [OpenMP] Fix an OpenMP Windows build problem .

Removed redundant comments.

Mar 25 2023, 6:47 PM · Restricted Project, Restricted Project
vadikp-intel requested review of D146894: [OpenMP] Fix an OpenMP Windows build problem .
Mar 25 2023, 6:45 PM · Restricted Project, Restricted Project
vadikp-intel closed D144419: Improvements to the OpenMP Windows build.
Mar 25 2023, 6:34 PM · Restricted Project, Restricted Project
vadikp-intel reopened D144419: Improvements to the OpenMP Windows build.

The source of problem is the attempt to re-use the results of the first build in order to avoid rebuilding the sources the second time to just re-generate the import library. This is being done by feeding the main build's import library as a source to the second one (@301) with CMAKE ending up assuming the library is located where the sources are, hence the reference to projects/openmp/runtime/src/libomp.dll.lib instead of what should be lib/libomp.dll.lib in the LLVM based build. At this point, I do not see a good way to just repoint CMAKE to the first build's drop location, and reusing its library would likely require doing a custom target. I think a cleaner and better solution is to simply rebuild the second one from sources (it's a small build). I'll submit a patch.

Mar 25 2023, 6:34 PM · Restricted Project, Restricted Project

Mar 24 2023

vadikp-intel added a comment to D144419: Improvements to the OpenMP Windows build.

Could you describe some more what needs fixing? The Windows build with a MSVC toolset should perhaps use lib.

Mar 24 2023, 9:21 AM · Restricted Project, Restricted Project

Mar 13 2023

vadikp-intel committed rG8d8cca05a268: [OpenMP] remove obsolete symbol defintions (authored by vadikp-intel).
[OpenMP] remove obsolete symbol defintions
Mar 13 2023, 10:34 AM · Restricted Project, Restricted Project
vadikp-intel closed D145837: [OpenMP] remove obsolete symbol defintions.
Mar 13 2023, 10:33 AM · Restricted Project, Restricted Project

Mar 10 2023

vadikp-intel requested review of D145837: [OpenMP] remove obsolete symbol defintions.
Mar 10 2023, 7:25 PM · Restricted Project, Restricted Project

Mar 3 2023

vadikp-intel committed rG56e8fd6f6a84: [llvm-lib] update ReleaseNotes for llvm-lib's new support for generating (authored by vadikp-intel).
[llvm-lib] update ReleaseNotes for llvm-lib's new support for generating
Mar 3 2023, 10:58 AM · Restricted Project, Restricted Project
vadikp-intel closed D145140: [llvm-lib] update ReleaseNotes for llvm-lib's new support for generating an import library from a definition file.
Mar 3 2023, 10:58 AM · Restricted Project, Restricted Project

Mar 2 2023

vadikp-intel updated the diff for D144419: Improvements to the OpenMP Windows build.

merge check

Mar 2 2023, 11:58 AM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D145140: [llvm-lib] update ReleaseNotes for llvm-lib's new support for generating an import library from a definition file.

addressed feedback

Mar 2 2023, 11:18 AM · Restricted Project, Restricted Project

Mar 1 2023

vadikp-intel requested review of D145140: [llvm-lib] update ReleaseNotes for llvm-lib's new support for generating an import library from a definition file.
Mar 1 2023, 8:47 PM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D144765: [llvm-lib] Add basic support for generating a Windows import library from a .def file..

merge test

Mar 1 2023, 7:20 PM · Restricted Project, Restricted Project

Feb 28 2023

vadikp-intel updated the diff for D144765: [llvm-lib] Add basic support for generating a Windows import library from a .def file..

addressed remaining review comments

Feb 28 2023, 9:43 PM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D144765: [llvm-lib] Add basic support for generating a Windows import library from a .def file..

Fixed test and output file name logic.

Feb 28 2023, 5:42 PM · Restricted Project, Restricted Project

Feb 27 2023

vadikp-intel updated the diff for D144765: [llvm-lib] Add basic support for generating a Windows import library from a .def file..

Addressed review feedback.
Added a test for creating an import library from a def file.

Feb 27 2023, 9:46 PM · Restricted Project, Restricted Project
vadikp-intel added inline comments to D144765: [llvm-lib] Add basic support for generating a Windows import library from a .def file..
Feb 27 2023, 9:37 PM · Restricted Project, Restricted Project

Feb 24 2023

vadikp-intel updated the diff for D144765: [llvm-lib] Add basic support for generating a Windows import library from a .def file..

white space

Feb 24 2023, 4:27 PM · Restricted Project, Restricted Project
vadikp-intel requested review of D144765: [llvm-lib] Add basic support for generating a Windows import library from a .def file..
Feb 24 2023, 4:04 PM · Restricted Project, Restricted Project

Feb 21 2023

vadikp-intel updated the diff for D144419: Improvements to the OpenMP Windows build.

Updated the controversial comment to promote toolchain equity.

Feb 21 2023, 1:52 PM · Restricted Project, Restricted Project

Feb 20 2023

vadikp-intel added a comment to D144419: Improvements to the OpenMP Windows build.

Yes, clang-cl style builds are a known open issue, we are looking at patching llvm-lib.

Feb 20 2023, 4:49 PM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D144419: Improvements to the OpenMP Windows build.
Feb 20 2023, 4:47 PM · Restricted Project, Restricted Project
vadikp-intel requested review of D144419: Improvements to the OpenMP Windows build.
Feb 20 2023, 11:23 AM · Restricted Project, Restricted Project

Feb 14 2023

vadikp-intel added a comment to D143992: [openmp] Fix building for mingw targets after import library changes.

Looks good. I will include Martin in the subsequent reviews here.

Feb 14 2023, 2:44 PM · Restricted Project, Restricted Project
vadikp-intel added a comment to D143992: [openmp] Fix building for mingw targets after import library changes.

The patch looks OK to fix the mingw build for now. We have work in flight to address a few issues brought up here, e.g. kmp_import, the need to build the second set of sources and .def support outside of the MSVC compatible toolsets (e.g. llvm-lib) that may further touch on this particular script.

Feb 14 2023, 2:21 PM · Restricted Project, Restricted Project

Feb 13 2023

vadikp-intel requested review of D143940: [OpenMP] Fix extra parenthesis in kmp_os.h.
Feb 13 2023, 12:16 PM · Restricted Project, Restricted Project

Feb 8 2023

vadikp-intel added a comment to D143431: Switch the Windows OpenMP import library to import by name rather than ordinal..

Jonathan, if all looks good could you commit on my behalf?

Feb 8 2023, 5:39 PM · Restricted Project, Restricted Project
vadikp-intel added a comment to D143431: Switch the Windows OpenMP import library to import by name rather than ordinal..

kmp_import.cpp turned up as a random side-effect of this change as the latter piggy-backed on the existing build step that rebuilt the import library dragging kmp_import in (for unrelated reasons, apparently to enforce some rules for code built with a toolset mix) With this change, kmp_imports is no longer necessary because the intent looks to already be covered elsewhere in the code now being linked (kmp_import might be some workaround from days past). I did not include its removal here for two reasons a) it is not directly related to the intent of the ordinals change and b) we (MSVC and Intel) are discussing what the desired behavior here should going forward for LLVM OpenMP flavors. I will remove kmp_import (if it is indeed no longer required) with the check-in that effects what we want this to be.

Feb 8 2023, 2:40 PM · Restricted Project, Restricted Project

Feb 7 2023

vadikp-intel updated subscribers of D143431: Switch the Windows OpenMP import library to import by name rather than ordinal..
Feb 7 2023, 9:27 AM · Restricted Project, Restricted Project

Feb 6 2023

vadikp-intel updated subscribers of D143431: Switch the Windows OpenMP import library to import by name rather than ordinal..
Feb 6 2023, 12:14 PM · Restricted Project, Restricted Project
vadikp-intel requested review of D143431: Switch the Windows OpenMP import library to import by name rather than ordinal..
Feb 6 2023, 12:06 PM · Restricted Project, Restricted Project

Jul 5 2022

vadikp-intel updated subscribers of D128403: [OpenMP] add 4 custom APIs supporting MSVC OMP codegen.

I have removed the dead code as Joachim requested, and the builds have passed. Could you complete the check-in (I have no write access) If everything looks good?

Jul 5 2022, 1:59 PM · Restricted Project, Restricted Project

Jul 2 2022

vadikp-intel updated the diff for D128403: [OpenMP] add 4 custom APIs supporting MSVC OMP codegen.

Removed dead code in __kmpc_next_section.

Jul 2 2022, 11:04 AM · Restricted Project, Restricted Project

Jun 29 2022

vadikp-intel updated the diff for D128403: [OpenMP] add 4 custom APIs supporting MSVC OMP codegen.

clang-formatted

Jun 29 2022, 10:21 PM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D128403: [OpenMP] add 4 custom APIs supporting MSVC OMP codegen.

fixed a build problem

Jun 29 2022, 9:54 PM · Restricted Project, Restricted Project
vadikp-intel added a comment to D128403: [OpenMP] add 4 custom APIs supporting MSVC OMP codegen.
Jun 29 2022, 9:27 PM · Restricted Project, Restricted Project
vadikp-intel updated the diff for D128403: [OpenMP] add 4 custom APIs supporting MSVC OMP codegen.

Addressed review comments

Jun 29 2022, 9:25 PM · Restricted Project, Restricted Project

Jun 22 2022

vadikp-intel requested review of D128403: [OpenMP] add 4 custom APIs supporting MSVC OMP codegen.
Jun 22 2022, 5:34 PM · Restricted Project, Restricted Project

Jun 2 2022

vadikp-intel added a comment to D126564: [OpenMP] allow loc to be NULL in __kmp_determine_reduction_method to accommodate MSVC.

The patch looks to be ready to go in. Could someone with access please commit it? Thanks

Jun 2 2022, 5:58 PM · Restricted Project, Restricted Project

May 31 2022

vadikp-intel updated the diff for D126564: [OpenMP] allow loc to be NULL in __kmp_determine_reduction_method to accommodate MSVC.

clang-formatted the previous version

May 31 2022, 2:40 PM · Restricted Project, Restricted Project

May 27 2022

vadikp-intel requested review of D126564: [OpenMP] allow loc to be NULL in __kmp_determine_reduction_method to accommodate MSVC.
May 27 2022, 1:35 PM · Restricted Project, Restricted Project