Page MenuHomePhabricator

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

psoni2628 (Prabhdeep Soni)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 30 2022, 1:39 PM (75 w, 10 h)

Recent Activity

Sep 15 2023

psoni2628 committed rG9b57b167bb4d: [OMPIRBuilder] Fix shared clause for task construct (authored by psoni2628).
[OMPIRBuilder] Fix shared clause for task construct
Sep 15 2023, 9:20 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 closed D158462: [OMPIRBuilder] Fix shared clause for task construct.
Sep 15 2023, 9:20 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Aug 31 2023

psoni2628 updated the diff for D158462: [OMPIRBuilder] Fix shared clause for task construct.
  • Change struct name to kmp_task_ompbuilder_t from kmp_task_t
Aug 31 2023, 5:37 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 added a comment to D158462: [OMPIRBuilder] Fix shared clause for task construct.

As for the clang failures, it looks like they are related. I think I just need to update the CHECK lines, but I'm still figuring that out.

The clang test failures are being caused by my addition of kmp_task_t to OMPKinds.def. It is conflicting with Clang's definition of kmp_task_t in clang/lib/CodeGen/CGOpenMPRuntime.cpp, so the struct gets renamed to kmp_task_t.0 and kmp_task_t.1. I don't think it is that simple to update the usage of kmp_task_t in clang/lib/CodeGen/CGOpenMPRuntime.cpp. Should I rename my addition of kmp_task_t in OMPKinds.def to kmp_task, or should I just fix the tests to allow kmp_task_t.0 and kmp_task_t.1?

Can we make use of the new kmp_task_t in Clang? That would be the correct way to resolve this.

I am not sure how to go about doing that. I think the kmp_task_t struct is actually being created in llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:initializeTypes from the macro defined in OMPKinds.def. Do you know how I can refer to that struct in Clang?

I looked at this more closely, and I don't think it's possible to refer to kmp_task_t in Clang. The only way I can think of doing this is doing similarly to D123460, which is basically building the structure in OMPIRBuilder, and calling it in Clang. This is not a straightforward change to make though, because Clang builds several RecordDecls on top of kmp_task_t such as the taskloop_task and task_with_privates. We would also have to build those structs in OMPIRBuilder, but that expands the scope of this patch quite significantly. Is this what you meant @jdoerfert?

I think we should proceed with either of the following two options:
-> Reuse Clang's kmp_task_t in the OpenMPIRBuilder and use only the relevant fields that we support now. I am assuming even if we have to move the definition of the Structure to OpenMPIRBuilder, there will not be much change in clang since the definition of the Structure remains the same. It is just a bit of additional logical to correctly dereference the portion of the structure in the OPenMPIRBuilder.
-> Define a separate kmp_task_ompbuilder_t and use that in the OpenMPIRBuilder.

Aug 31 2023, 5:35 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Aug 24 2023

psoni2628 added a comment to D158462: [OMPIRBuilder] Fix shared clause for task construct.

As for the clang failures, it looks like they are related. I think I just need to update the CHECK lines, but I'm still figuring that out.

The clang test failures are being caused by my addition of kmp_task_t to OMPKinds.def. It is conflicting with Clang's definition of kmp_task_t in clang/lib/CodeGen/CGOpenMPRuntime.cpp, so the struct gets renamed to kmp_task_t.0 and kmp_task_t.1. I don't think it is that simple to update the usage of kmp_task_t in clang/lib/CodeGen/CGOpenMPRuntime.cpp. Should I rename my addition of kmp_task_t in OMPKinds.def to kmp_task, or should I just fix the tests to allow kmp_task_t.0 and kmp_task_t.1?

Can we make use of the new kmp_task_t in Clang? That would be the correct way to resolve this.

I am not sure how to go about doing that. I think the kmp_task_t struct is actually being created in llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:initializeTypes from the macro defined in OMPKinds.def. Do you know how I can refer to that struct in Clang?

Aug 24 2023, 8:45 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Aug 23 2023

psoni2628 added a comment to D158462: [OMPIRBuilder] Fix shared clause for task construct.

As for the clang failures, it looks like they are related. I think I just need to update the CHECK lines, but I'm still figuring that out.

The clang test failures are being caused by my addition of kmp_task_t to OMPKinds.def. It is conflicting with Clang's definition of kmp_task_t in clang/lib/CodeGen/CGOpenMPRuntime.cpp, so the struct gets renamed to kmp_task_t.0 and kmp_task_t.1. I don't think it is that simple to update the usage of kmp_task_t in clang/lib/CodeGen/CGOpenMPRuntime.cpp. Should I rename my addition of kmp_task_t in OMPKinds.def to kmp_task, or should I just fix the tests to allow kmp_task_t.0 and kmp_task_t.1?

Can we make use of the new kmp_task_t in Clang? That would be the correct way to resolve this.

Aug 23 2023, 9:57 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 added a comment to D158462: [OMPIRBuilder] Fix shared clause for task construct.

Thanks @psoni2628 for the patch. This is great.
Could you upload the patch with full context for ease of review?
Are the Clang OpenMP test failures related?

Yes. So for context, the following Fortran test case was failing previously, but now it runs.

subroutine foo()
  implicit none
  integer::x,y
  x=0
   !$omp task shared(x,y)
   x=2
   y=3

   !$omp end task
  !$omp taskwait        
  print *, x, y
end subroutine foo

program p
implicit none

!$omp parallel
!$omp single
call foo()
!$omp end single
!$omp end parallel
end program p

As for the clang failures, it looks like they are related. I think I just need to update the CHECK lines, but I'm still figuring that out.

Aug 23 2023, 8:22 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 added a comment to D158462: [OMPIRBuilder] Fix shared clause for task construct.

Thanks @psoni2628 for the patch. This is great.
Could you upload the patch with full context for ease of review?
Are the Clang OpenMP test failures related?

Yes. So for context, the following Fortran test case was failing previously, but now it runs.

subroutine foo()
  implicit none
  integer::x,y
  x=0
   !$omp task shared(x,y)
   x=2
   y=3

   !$omp end task
  !$omp taskwait        
  print *, x, y
end subroutine foo

program p
implicit none

!$omp parallel
!$omp single
call foo()
!$omp end single
!$omp end parallel
end program p

As for the clang failures, it looks like they are related. I think I just need to update the CHECK lines, but I'm still figuring that out.

Aug 23 2023, 8:17 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D158462: [OMPIRBuilder] Fix shared clause for task construct.
  • Upload full diff
Aug 23 2023, 8:16 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 added a comment to D158462: [OMPIRBuilder] Fix shared clause for task construct.

Thanks @psoni2628 for the patch. This is great.
Could you upload the patch with full context for ease of review?
Are the Clang OpenMP test failures related?

Aug 23 2023, 7:30 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Aug 21 2023

psoni2628 requested review of D158462: [OMPIRBuilder] Fix shared clause for task construct.
Aug 21 2023, 2:58 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jun 14 2023

psoni2628 committed rG7a2fdc685f60: [mlir][ArmSME] Dialect and Intrinsic Op Definition (authored by WanderAway).
[mlir][ArmSME] Dialect and Intrinsic Op Definition
Jun 14 2023, 2:12 PM · Restricted Project, Restricted Project
psoni2628 closed D152878: [mlir][ArmSME] Dialect and Intrinsic Op Definition.
Jun 14 2023, 2:12 PM · Restricted Project, Restricted Project

Jun 6 2023

psoni2628 added a comment to D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.

Side note: I am not sure why the build bot run for this original Differential did not complain about this warning.

It's probably because this build bot uses gcc instead of clang.

Jun 6 2023, 11:12 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 added a comment to D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.

This patch caused an unused variable ‘a’ [-Werror=unused-variable] warning in https://lab.llvm.org/buildbot/#/builders/160/builds/20500 for flang/lib/Lower/OpenMP.cpp:1197. This has been corrected in rGe0fed043662cb2410858ad82002f22e64ee552dd.

Jun 6 2023, 9:34 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 committed rGe0fed043662c: [Flang][OpenMP] Fix unused variable warning for task depend (authored by psoni2628).
[Flang][OpenMP] Fix unused variable warning for task depend
Jun 6 2023, 9:30 AM · Restricted Project, Restricted Project
psoni2628 committed rG3373c8405c5e: [Flang][OpenMP] Support depend clause for task construct, excluding array… (authored by psoni2628).
[Flang][OpenMP] Support depend clause for task construct, excluding array…
Jun 6 2023, 7:22 AM · Restricted Project, Restricted Project
psoni2628 closed D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.
Jun 6 2023, 7:21 AM · Restricted Project, Restricted Project, Restricted Project

Jun 4 2023

psoni2628 added a comment to D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.

Looks OK.

Could you check why the following is crashing at runtime?

subroutine foo()
  implicit none
  integer::x,y
  x=0
  y=2
  !$omp task depend(out:x) shared(x)
   x=x+1
   !$omp end task
  !$omp task depend(out:y) shared(y)
   y=y+1
   !$omp end task
   !$omp task depend(in:x,y) shared(x,y)
   y=y-x
   !$omp end task
   !$omp taskwait
   print*,"y=",y
end subroutine foo

program p
implicit none
!$omp parallel
!$omp single
call foo()
!$omp end single
!$omp end parallel
end program p
Jun 4 2023, 12:46 PM · Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.
  • Add more test cases based on Kiran's feedback
Jun 4 2023, 12:45 PM · Restricted Project, Restricted Project, Restricted Project

Jun 3 2023

psoni2628 added a comment to D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.

Looks OK.

Could you check why the following is crashing at runtime?

subroutine foo()
  implicit none
  integer::x,y
  x=0
  y=2
  !$omp task depend(out:x) shared(x)
   x=x+1
   !$omp end task
  !$omp task depend(out:y) shared(y)
   y=y+1
   !$omp end task
   !$omp task depend(in:x,y) shared(x,y)
   y=y-x
   !$omp end task
   !$omp taskwait
   print*,"y=",y
end subroutine foo

program p
implicit none
!$omp parallel
!$omp single
call foo()
!$omp end single
!$omp end parallel
end program p

I reduced the test case to the following, and it crashes for me too. Note that this does not have any depend clauses. I will debug this issue.

subroutine foo()
  implicit none
  integer::x,y
  x=0
  y=2
   !$omp task shared(x,y)
   y=x
   !$omp end task
   !$omp taskwait
   print*,"y=",y
end subroutine foo

program p
implicit none
call foo()
end program p

This test case failure is caused by the shared clause not being implemented for the task construct. In llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp, there is the following comment from D71989: TODO: Argument - sizeof_shareds.

I don't think we can properly test the depend clause without at least 2 shared variables. Thus, we must first implement the shared clause functionality. Do you have a different opinion @kiranchandramohan ?

Jun 3 2023, 3:52 PM · Restricted Project, Restricted Project, Restricted Project
psoni2628 added a comment to D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.

Looks OK.

Could you check why the following is crashing at runtime?

subroutine foo()
  implicit none
  integer::x,y
  x=0
  y=2
  !$omp task depend(out:x) shared(x)
   x=x+1
   !$omp end task
  !$omp task depend(out:y) shared(y)
   y=y+1
   !$omp end task
   !$omp task depend(in:x,y) shared(x,y)
   y=y-x
   !$omp end task
   !$omp taskwait
   print*,"y=",y
end subroutine foo

program p
implicit none
!$omp parallel
!$omp single
call foo()
!$omp end single
!$omp end parallel
end program p

I reduced the test case to the following, and it crashes for me too. Note that this does not have any depend clauses. I will debug this issue.

subroutine foo()
  implicit none
  integer::x,y
  x=0
  y=2
   !$omp task shared(x,y)
   y=x
   !$omp end task
   !$omp taskwait
   print*,"y=",y
end subroutine foo

program p
implicit none
call foo()
end program p
Jun 3 2023, 3:35 PM · Restricted Project, Restricted Project, Restricted Project

May 23 2023

psoni2628 accepted D151206: Add OpenMPToLLVM conversion pattern for taskgroup.

Do we need to split up the Flang and MLIR parts of this patch?

May 23 2023, 9:26 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the summary of D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.
May 23 2023, 9:24 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 added a comment to D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.

@psoni2628 Will you have time this week or next to look into the blocking issue. I think it also shows up in https://github.com/llvm/llvm-project/issues/62013. I guess this has something to do with kmp_task_t structure that is being passed to the tasks and how the shared variables are copied into it.

May 23 2023, 9:19 AM · Restricted Project, Restricted Project, Restricted Project

May 21 2023

psoni2628 accepted D151027: [MLIR][OpenMP] Set AllocaIP correctly for constructs nested in task.

This does not appear to solve the issue in D146766. I tried the following test case below and it still segmentation faults at run time. Could you please check if the test case works for you?

subroutine foo()
  implicit none
  integer::x,y
  x=0
  y=2
   !$omp task shared(x,y)
   y=x
   !$omp end task
   !$omp taskwait
   print*,"y=",y
end subroutine foo

program p
implicit none
call foo()
end program p

Yes, you are right. It does not fix the issue. I kind of forgot that the issue in D146766 is a runtime crash. Anyway this helps fix a crash during compilation for openmp constructs nested in task. So is it OK to proceed with this? I will amend the summary and remove the mention of D146766.

May 21 2023, 8:11 PM · Restricted Project, Restricted Project
psoni2628 added a comment to D151027: [MLIR][OpenMP] Set AllocaIP correctly for constructs nested in task.

This does not appear to solve the issue in D146766. I tried the following test case below and it still segmentation faults at run time. Could you please check if the test case works for you?

May 21 2023, 8:53 AM · Restricted Project, Restricted Project

Mar 24 2023

psoni2628 added a comment to D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.

Looks OK.

Could you check why the following is crashing at runtime?

subroutine foo()
  implicit none
  integer::x,y
  x=0
  y=2
  !$omp task depend(out:x) shared(x)
   x=x+1
   !$omp end task
  !$omp task depend(out:y) shared(y)
   y=y+1
   !$omp end task
   !$omp task depend(in:x,y) shared(x,y)
   y=y-x
   !$omp end task
   !$omp taskwait
   print*,"y=",y
end subroutine foo

program p
implicit none
!$omp parallel
!$omp single
call foo()
!$omp end single
!$omp end parallel
end program p
Mar 24 2023, 7:33 AM · Restricted Project, Restricted Project, Restricted Project

Mar 23 2023

psoni2628 updated the diff for D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.
  • Use TODO instead of llvm_unreachable for array sections
Mar 23 2023, 3:34 PM · Restricted Project, Restricted Project, Restricted Project
psoni2628 requested review of D146766: [Flang][OpenMP] Support depend clause for task construct, excluding array sections.
Mar 23 2023, 3:21 PM · Restricted Project, Restricted Project, Restricted Project

Mar 20 2023

psoni2628 committed rG6ac632ad83fb: [MLIR][Linalg] Generate unique LibraryCallName for LinalgOps. (authored by kaitingwang).
[MLIR][Linalg] Generate unique LibraryCallName for LinalgOps.
Mar 20 2023, 10:51 AM · Restricted Project, Restricted Project
psoni2628 closed D145467: [MLIR][Linalg] Generate unique LibraryCallName for LinalgOps..
Mar 20 2023, 10:51 AM · Restricted Project, Restricted Project

Feb 22 2023

psoni2628 accepted D144554: [MLIR,OpenMP,Flang] Add Conversion to LLVM for Section Op.
Feb 22 2023, 8:14 AM · Restricted Project, Restricted Project, Restricted Project

Feb 15 2023

psoni2628 accepted D144110: [Flang][OpenMP] Fix a corner case where target region is empty.
Feb 15 2023, 9:50 AM · Restricted Project, Restricted Project

Feb 14 2023

psoni2628 committed rG179db7efe567: [MLIR][OpenMP] Add support for depend clause (authored by psoni2628).
[MLIR][OpenMP] Add support for depend clause
Feb 14 2023, 11:19 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 closed D142730: [MLIR][OpenMP] Add support for depend clause.
Feb 14 2023, 11:18 AM · Restricted Project, Restricted Project, Restricted Project

Feb 6 2023

psoni2628 added a comment to D142730: [MLIR][OpenMP] Add support for depend clause.

LG.

This covers all kinds of dependencies in OpenMP 4.0. There are newer ones like mutexinoutset introduced in OpenMP 5.0 that we can add in a later patch.

Could you clarify what is covered and what is not covered in the summary?

Could you please clarify your last point here? I believe the summary already mentions that the patch is adding support for the depend clause.

The summary only talks about translation.

Feb 6 2023, 12:51 PM · Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D142730: [MLIR][OpenMP] Add support for depend clause.
  • Fix a comment Print Reduction Clause -> Print Depend Clause
  • Add a test to mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir as suggested by reviewer comments
Feb 6 2023, 12:49 PM · Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the summary of D142730: [MLIR][OpenMP] Add support for depend clause.
Feb 6 2023, 12:23 PM · Restricted Project, Restricted Project, Restricted Project

Feb 1 2023

psoni2628 added a comment to D142730: [MLIR][OpenMP] Add support for depend clause.

Looks mostly good. A few questions/comments.

Would we be able to construct task graphs based on task dependencies? Or would this be possible only at runtime?
https://discourse.llvm.org/t/modeling-task-graphs-in-mlir/4080

Will this cover all kinds of dependencies?

Also call out in the summary that you are adding support for the depend clause in this patch.

Feb 1 2023, 3:54 PM · Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D142730: [MLIR][OpenMP] Add support for depend clause.
  • Address review comments
Feb 1 2023, 3:50 PM · Restricted Project, Restricted Project, Restricted Project

Jan 27 2023

psoni2628 set the repository for D142730: [MLIR][OpenMP] Add support for depend clause to rG LLVM Github Monorepo.
Jan 27 2023, 8:17 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 requested review of D142730: [MLIR][OpenMP] Add support for depend clause.
Jan 27 2023, 8:17 AM · Restricted Project, Restricted Project, Restricted Project

Jan 20 2023

psoni2628 committed rG1627d682cd21: [OMPIRBuilder] Pass dependencies to createTask by value (authored by psoni2628).
[OMPIRBuilder] Pass dependencies to createTask by value
Jan 20 2023, 1:09 PM · Restricted Project, Restricted Project
psoni2628 closed D141651: [OMPIRBuilder] Pass dependencies to createTask by value.
Jan 20 2023, 1:09 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jan 17 2023

psoni2628 updated the diff for D141651: [OMPIRBuilder] Pass dependencies to createTask by value.
  • Modify test case slightly to fail with the old logic
Jan 17 2023, 10:59 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the summary of D141651: [OMPIRBuilder] Pass dependencies to createTask by value.
Jan 17 2023, 10:54 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 added a comment to D141651: [OMPIRBuilder] Pass dependencies to createTask by value.

Assuming this was not triggered because we never used Dependencies vector before and no other PostOutlineCB took an option (with a reference) like this.

Jan 17 2023, 10:54 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 committed rGefc0ba0275bd: [MLIR][Transform] Introduce loop.coalesce transform op. (authored by kaitingwang).
[MLIR][Transform] Introduce loop.coalesce transform op.
Jan 17 2023, 6:42 AM · Restricted Project, Restricted Project
psoni2628 closed D141202: [MLIR][Transform] Introduce loop.coalesce transform op..
Jan 17 2023, 6:41 AM · Restricted Project, Restricted Project

Jan 16 2023

psoni2628 committed rG688d6507c7e2: [mlir][vector] Add scalable vectors support to OuterProductOp (authored by WanderAway).
[mlir][vector] Add scalable vectors support to OuterProductOp
Jan 16 2023, 8:50 AM · Restricted Project, Restricted Project
psoni2628 added a reverting change for rGbe4c5ad54c92: [mlir][vector] Add scalable vectors support to OuterProductOp: rG3e38fdf68690: Revert "[mlir][vector] Add scalable vectors support to OuterProductOp".
Jan 16 2023, 8:50 AM · Restricted Project, Restricted Project
psoni2628 committed rG3e38fdf68690: Revert "[mlir][vector] Add scalable vectors support to OuterProductOp" (authored by psoni2628).
Revert "[mlir][vector] Add scalable vectors support to OuterProductOp"
Jan 16 2023, 8:50 AM · Restricted Project, Restricted Project
psoni2628 added a reverting change for D138718: [mlir][vector] Add scalable vectors support to OuterProductOp: rG3e38fdf68690: Revert "[mlir][vector] Add scalable vectors support to OuterProductOp".
Jan 16 2023, 8:50 AM · Restricted Project, Restricted Project

Jan 13 2023

psoni2628 committed rGbe4c5ad54c92: [mlir][vector] Add scalable vectors support to OuterProductOp (authored by WanderAway).
[mlir][vector] Add scalable vectors support to OuterProductOp
Jan 13 2023, 7:54 AM · Restricted Project, Restricted Project
psoni2628 closed D138718: [mlir][vector] Add scalable vectors support to OuterProductOp.
Jan 13 2023, 7:54 AM · Restricted Project, Restricted Project

Jan 12 2023

psoni2628 updated the summary of D141651: [OMPIRBuilder] Pass dependencies to createTask by value.
Jan 12 2023, 8:17 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 requested review of D141651: [OMPIRBuilder] Pass dependencies to createTask by value.
Jan 12 2023, 8:16 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Nov 30 2022

psoni2628 committed rGe4e64eaade94: [MLIR][Transform] Consolidate the transform ops of get_parent_for and loop… (authored by kaitingwang).
[MLIR][Transform] Consolidate the transform ops of get_parent_for and loop…
Nov 30 2022, 8:08 AM · Restricted Project, Restricted Project
psoni2628 closed D138980: [MLIR][Transform] Consolidate the transform ops of get_parent_for and loop unroll from affine and scf dialects..
Nov 30 2022, 8:08 AM · Restricted Project, Restricted Project

Oct 20 2022

psoni2628 added a comment to D136217: [mlir][sparse] Fix breakage on older versions of cmake.

I am using CMake 3.18.0, so it's not extremely old.

After applying D136217, there is a different error message now, shown below.

-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Building with -fPIC
-- Targeting X86
-- Clang version: 16.0.0
-- Not building amdgpu-arch: hsa-runtime64 not found
CMake Error at llvm-project/mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt:24 (set_property):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "CXX_STANDARD" is not allowed.

Maybe I should just upgrade my version of CMake. Which version of CMake are you using where it works?

I can't seem to find which version the phabricator buildbot is using, but locally I'm using 3.24.2. However, the LLVM project is supposed to work for any version >=3.13.4 (https://llvm.org/docs/GettingStarted.html#software), so it's definitely something I need to fix on our end.

I'm not sure which version changed things to allow setting the CXX_STANDARD property for INTERFACE libraries, so I'll just remove it for now and leave a comment about why. Can you try the new version of this differential?

Oct 20 2022, 7:14 AM · Restricted Project, Restricted Project

Oct 19 2022

psoni2628 added a comment to D136005: [mlir][sparse] Moving Enums.h into Dialect/SparseTensor/IR.

Hi @psoni2628,

I just posted D136217. Please comment there to let me know if it works for you.

Oct 19 2022, 7:30 AM · Restricted Project, Restricted Project

Oct 18 2022

psoni2628 added a comment to D136005: [mlir][sparse] Moving Enums.h into Dialect/SparseTensor/IR.

I am getting the following CMake error below.

Oct 18 2022, 3:32 PM · Restricted Project, Restricted Project
psoni2628 updated the diff for D135695: [OMPIRBuilder] Support depend clause for task construct.
  • Add doxygen comment for DependData struct
Oct 18 2022, 2:50 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 added inline comments to D135695: [OMPIRBuilder] Support depend clause for task construct.
Oct 18 2022, 8:33 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D135695: [OMPIRBuilder] Support depend clause for task construct.
  • Set insertion point for DependInfo array alloca to the function entry block, then restore the original insertion point
Oct 18 2022, 8:28 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Oct 14 2022

psoni2628 added inline comments to D135695: [OMPIRBuilder] Support depend clause for task construct.
Oct 14 2022, 9:02 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 added inline comments to D135695: [OMPIRBuilder] Support depend clause for task construct.
Oct 14 2022, 3:29 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D135695: [OMPIRBuilder] Support depend clause for task construct.
  • Remove unnecessary llvm:: from OMPIRBuilder.cpp
  • Change the insertion point for DepArray alloca to be before the Then basic block for the if clause
  • Use only one enum RTLDependenceKindInfoTy to encode the kind of dependency; use this enum in Clang
Oct 14 2022, 3:29 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Oct 13 2022

psoni2628 added inline comments to D135695: [OMPIRBuilder] Support depend clause for task construct.
Oct 13 2022, 8:16 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Oct 12 2022

psoni2628 updated the diff for D135695: [OMPIRBuilder] Support depend clause for task construct.
  • Rebase, run clang-format
Oct 12 2022, 8:07 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Oct 11 2022

psoni2628 updated the diff for D135695: [OMPIRBuilder] Support depend clause for task construct.
  • Use enum class instead of enum for OpenMPDependKind and OMPRTLDependenceKindTy
Oct 11 2022, 1:13 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 added inline comments to D135695: [OMPIRBuilder] Support depend clause for task construct.
Oct 11 2022, 10:11 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 requested review of D135695: [OMPIRBuilder] Support depend clause for task construct.
Oct 11 2022, 10:04 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Sep 22 2022

psoni2628 added a comment to D134409: [utils][UpdateTestChecks] Add unnamed !noundef value support.

It looks like there was some issue with the Harbormaster build when you initially submitted this patch, but it seems to have been resolved since then. Can you rerun it?

Sep 22 2022, 6:23 PM · Restricted Project, Restricted Project

Aug 24 2022

psoni2628 committed rG457f1fe31af7: [Flang][OpenMP] Add support for safelen clause (authored by psoni2628).
[Flang][OpenMP] Add support for safelen clause
Aug 24 2022, 12:07 PM · Restricted Project, Restricted Project
psoni2628 closed D132574: [Flang][OpenMP] Add support for safelen clause.
Aug 24 2022, 12:06 PM · Restricted Project, Restricted Project
psoni2628 requested review of D132574: [Flang][OpenMP] Add support for safelen clause.
Aug 24 2022, 10:28 AM · Restricted Project, Restricted Project
psoni2628 committed rGb8055c511592: [MLIR][OpenMP] Add support for safelen clause (authored by psoni2628).
[MLIR][OpenMP] Add support for safelen clause
Aug 24 2022, 9:32 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 closed D132245: [MLIR][OpenMP] Add support for safelen clause.
Aug 24 2022, 9:32 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 added a reverting change for rG172fe1706d83: [MLIR][OpenMP] Add support for safelen clause: rG4fce38cde2fa: Revert "[MLIR][OpenMP] Add support for safelen clause".
Aug 24 2022, 9:32 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 committed rG4fce38cde2fa: Revert "[MLIR][OpenMP] Add support for safelen clause" (authored by psoni2628).
Revert "[MLIR][OpenMP] Add support for safelen clause"
Aug 24 2022, 9:31 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 committed rG172fe1706d83: [MLIR][OpenMP] Add support for safelen clause (authored by psoni2628).
[MLIR][OpenMP] Add support for safelen clause
Aug 24 2022, 9:26 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 added a reverting change for rG3dd4d6a0cec8: Add support for safelen clause: rGcfef6561a782: Revert "Add support for safelen clause".
Aug 24 2022, 9:25 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 committed rGcfef6561a782: Revert "Add support for safelen clause" (authored by psoni2628).
Revert "Add support for safelen clause"
Aug 24 2022, 9:25 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 committed rG3dd4d6a0cec8: Add support for safelen clause (authored by psoni2628).
Add support for safelen clause
Aug 24 2022, 9:07 AM · Restricted Project, Restricted Project, Restricted Project

Aug 19 2022

psoni2628 added a comment to D132245: [MLIR][OpenMP] Add support for safelen clause.

Can you split this in two patches? One for the flang side and one for the MLIR side.

Aug 19 2022, 1:44 PM · Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D132245: [MLIR][OpenMP] Add support for safelen clause.
Aug 19 2022, 1:44 PM · Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D132245: [MLIR][OpenMP] Add support for safelen clause.
  • Run clang-format
Aug 19 2022, 8:52 AM · Restricted Project, Restricted Project, Restricted Project
psoni2628 requested review of D132245: [MLIR][OpenMP] Add support for safelen clause.
Aug 19 2022, 8:49 AM · Restricted Project, Restricted Project, Restricted Project

Aug 18 2022

psoni2628 committed rGbce94ea551ae: [OMPIRBuilder] Add support for safelen clause (authored by psoni2628).
[OMPIRBuilder] Add support for safelen clause
Aug 18 2022, 12:44 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 closed D131526: [OMPIRBuilder] Add support for safelen clause.
Aug 18 2022, 12:44 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D131526: [OMPIRBuilder] Add support for safelen clause.
  • Simplify expression based on reviewer comments
  • Rebase
Aug 18 2022, 11:47 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Aug 14 2022

psoni2628 added inline comments to D131526: [OMPIRBuilder] Add support for safelen clause.
Aug 14 2022, 7:39 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Aug 10 2022

psoni2628 updated the diff for D131526: [OMPIRBuilder] Add support for safelen clause.
  • Add LoopMDList
Aug 10 2022, 8:47 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 updated the diff for D131526: [OMPIRBuilder] Add support for safelen clause.
  • Add comments based on reviewer's feedback
  • Rebase
Aug 10 2022, 7:15 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 added inline comments to D131526: [OMPIRBuilder] Add support for safelen clause.
Aug 10 2022, 6:23 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Aug 9 2022

psoni2628 added reviewers for D131526: [OMPIRBuilder] Add support for safelen clause: peixin, arnamoy10, domada, Meinersbur, kiranchandramohan, shraiysh, kiranktp.
Aug 9 2022, 3:00 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
psoni2628 requested review of D131526: [OMPIRBuilder] Add support for safelen clause.
Aug 9 2022, 2:59 PM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Jul 28 2022

psoni2628 updated the summary of D130195: [Flang][MLIR][OpenMP] Add support for simdlen clause.
Jul 28 2022, 6:45 AM · Restricted Project, Restricted Project, Restricted Project