Page MenuHomePhabricator

everythingfunctional (Brad Richardson)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 30 2023, 9:41 AM (17 w, 2 d)

Recent Activity

Wed, May 24

everythingfunctional added a comment to D151271: [flang][hlfir] Create temporary for passing constant expression for actual arg..

Just for thought, I would only implement the memcmp check at the place the temporary for the constant is created.

Unfortunately, there is no currently a way to detect whethe the temporary copy is created for a constant. The temporary copy and the copy-in/copy-out code are created inside sub around the call to sub2, and at this point i is just a regular dummy argument.

Wed, May 24, 12:18 PM · Unknown Object (Project), Restricted Project
everythingfunctional added a comment to D151271: [flang][hlfir] Create temporary for passing constant expression for actual arg..
I would like to proceed with this commit, if you do not mind.  I will create a github issue for the runtime check feature.  Does it sound acceptable to you?
Wed, May 24, 10:00 AM · Unknown Object (Project), Restricted Project
everythingfunctional added a comment to D151271: [flang][hlfir] Create temporary for passing constant expression for actual arg..

Aha. I see where the difficulty lies now, but isn't this approach causing all possible attempts to define an undefinable entity to just be silently ignored? Or is there some comparison done at the completion of a call to detect whether the temporary copy was (re/un)defined? If not I think something to that effect should be added (possibly conditioned on certain compiler flags for run-time checking).

Wed, May 24, 8:56 AM · Unknown Object (Project), Restricted Project
everythingfunctional added a comment to D151271: [flang][hlfir] Create temporary for passing constant expression for actual arg..

A program that did this would be invalid. Wouldn't you want it to crash, rather than silently do something else?

Please note that the there is no definition/redefinition of i inside sub2.

Wed, May 24, 8:25 AM · Unknown Object (Project), Restricted Project
everythingfunctional added a comment to D151271: [flang][hlfir] Create temporary for passing constant expression for actual arg..

It depends on what sub2 tries to do with i. Putting the relevant pieces together:

Wed, May 24, 8:15 AM · Unknown Object (Project), Restricted Project

Tue, May 23

everythingfunctional added a comment to D151271: [flang][hlfir] Create temporary for passing constant expression for actual arg..

A program that did this would be invalid. Wouldn't you want it to crash, rather than silently do something else?

Tue, May 23, 6:23 PM · Unknown Object (Project), Restricted Project

Tue, May 16

everythingfunctional added a comment to D150159: [flang] CUDA Fortran - part 1/5: parsing.

I'm fairly sympathetic to @MehdiChinoune 's argument here. You're essentially asking an open-source community to support your proprietary technology. Maybe it's widely enough used that it deserves to be (I'm at least open to the argument), but you should definitely be open and upfront about wanting to do that, and ask the community through the proper procedures first. I think it would have a been a violation of the community's trust if it had been approved and made it into the official repository without anybody outside Nvidia having a chance to comment. Maybe I missed it, but I don't remember hearing about this plan before the patches got submitted. And based on the number of reviewers listed here, it doesn't look like you were trying to publicise it very broadly.

I've left these reviews open for comment for a long time, and will continue to do so to collect relevant comments from people who actually participate in the project.

Tue, May 16, 10:40 AM · Unknown Object (Project), Restricted Project
everythingfunctional added a comment to D150159: [flang] CUDA Fortran - part 1/5: parsing.

I'm fairly sympathetic to @MehdiChinoune 's argument here. You're essentially asking an open-source community to support your proprietary technology. Maybe it's widely enough used that it deserves to be (I'm at least open to the argument), but you should definitely be open and upfront about wanting to do that, and ask the community through the proper procedures first. I think it would have a been a violation of the community's trust if it had been approved and made it into the official repository without anybody outside Nvidia having a chance to comment. Maybe I missed it, but I don't remember hearing about this plan before the patches got submitted. And based on the number of reviewers listed here, it doesn't look like you were trying to publicise it very broadly.

Tue, May 16, 7:06 AM · Unknown Object (Project), Restricted Project

Mar 28 2023

everythingfunctional added a comment to D146587: [flang] Disallow scalar argument to SIZE/LBOUND/UBOUND.

The generics subgroup actually would like to allow scalar arguments to these procedures. It would be an extension for now, but is likely to be standards conforming at some point in the future.

Mar 28 2023, 6:56 AM · Restricted Project, Unknown Object (Project)

Mar 23 2023

everythingfunctional updated the diff for D143592: [flang][driver] Rename `flang-new -flang-experimental-exec` to `flang`.

Update with main to see if tests have been fixed.

Mar 23 2023, 8:44 AM · Restricted Project, Restricted Project, Restricted Project, Unknown Object (Project)

Mar 22 2023

everythingfunctional updated the diff for D143592: [flang][driver] Rename `flang-new -flang-experimental-exec` to `flang`.

Address conflicts with main branch and fix new tests

Mar 22 2023, 12:26 PM · Restricted Project, Restricted Project, Restricted Project, Unknown Object (Project)

Feb 9 2023

everythingfunctional updated the diff for D143592: [flang][driver] Rename `flang-new -flang-experimental-exec` to `flang`.

rebase to get fix for build/test failure

Feb 9 2023, 12:38 PM · Restricted Project, Restricted Project, Restricted Project, Unknown Object (Project)

Feb 8 2023

everythingfunctional updated the diff for D143592: [flang][driver] Rename `flang-new -flang-experimental-exec` to `flang`.

Fix the flang program path

Feb 8 2023, 1:35 PM · Restricted Project, Restricted Project, Restricted Project, Unknown Object (Project)
everythingfunctional requested review of D143592: [flang][driver] Rename `flang-new -flang-experimental-exec` to `flang`.
Feb 8 2023, 9:14 AM · Restricted Project, Restricted Project, Restricted Project, Unknown Object (Project)