Page MenuHomePhabricator

jhuber6 (Joseph Huber)
User

Projects

User does not belong to any projects.

User Details

User Since
May 4 2020, 11:17 AM (150 w, 6 d)

Recent Activity

Today

jhuber6 accepted D146370: [Clang][OpenMP]Solved the the always truth condition in Arm64.
Sun, Mar 26, 5:34 AM · Restricted Project, Restricted Project

Yesterday

jhuber6 updated the diff for D146861: [libc] Enable integration tests targeting NVIDIA GPUs.

The generator expressions should only be used for NVPTX.

Sat, Mar 25, 7:01 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146861: [libc] Enable integration tests targeting NVIDIA GPUs.
Sat, Mar 25, 5:10 AM · Restricted Project, Restricted Project

Fri, Mar 24

jhuber6 requested review of D146861: [libc] Enable integration tests targeting NVIDIA GPUs.
Fri, Mar 24, 7:02 PM · Restricted Project, Restricted Project
jhuber6 committed rG58f5e5e6b00e: [libc] Implement the RPC client / server for NVPTX (authored by jhuber6).
[libc] Implement the RPC client / server for NVPTX
Fri, Mar 24, 6:05 PM · Restricted Project, Restricted Project
jhuber6 committed rG2bef46d2ad87: [libc] Add a loader utility for NVPTX architectures for testing (authored by jhuber6).
[libc] Add a loader utility for NVPTX architectures for testing
Fri, Mar 24, 6:05 PM · Restricted Project, Restricted Project
jhuber6 closed D146846: [libc] Implement the RPC client / server for NVPTX.
Fri, Mar 24, 6:05 PM · Restricted Project, Restricted Project
jhuber6 closed D146681: [libc] Add a loader utility for NVPTX architectures for testing.
Fri, Mar 24, 6:05 PM · Restricted Project, Restricted Project
jhuber6 requested review of D146846: [libc] Implement the RPC client / server for NVPTX.
Fri, Mar 24, 2:07 PM · Restricted Project, Restricted Project
jhuber6 committed rG1fce1d341b17: [libc] Use `nvptx_kernel` attribute in NVPTX startup code (authored by jhuber6).
[libc] Use `nvptx_kernel` attribute in NVPTX startup code
Fri, Mar 24, 12:47 PM · Restricted Project, Restricted Project
jhuber6 committed rG29a5c3c8fe30: [NVPTX] Introduce attribute to mark kernels without a language mode (authored by jhuber6).
[NVPTX] Introduce attribute to mark kernels without a language mode
Fri, Mar 24, 12:43 PM · Restricted Project, Restricted Project
jhuber6 closed D140226: [NVPTX] Introduce attribute to mark kernels without a language mode.
Fri, Mar 24, 12:42 PM · Restricted Project, Restricted Project
jhuber6 committed rG1c43be0276a1: [Libomptarget] Update CMake messages if the tests aren't build (authored by jhuber6).
[Libomptarget] Update CMake messages if the tests aren't build
Fri, Mar 24, 12:27 PM · Restricted Project, Restricted Project
jhuber6 accepted D146838: [OpenMP] Allow more tests to run on AMDGPU.

LG, might make sense to move these off the device anyway. Fewer things to fail. I'm assuming these all pass as you've written them.

Fri, Mar 24, 11:56 AM · Restricted Project
jhuber6 updated the diff for D140226: [NVPTX] Introduce attribute to mark kernels without a language mode.

Updating to simply add an entirely new attribute again. The existing
CUDAGlobal attribute does what we want, but it's also highly coupled with the
CUDA language. This made it pretty much impossible to find a way to re-use it
without breaking existing functionality. The amount of code duplicated is
minimal and this is required to be able to emit a callable kernel targeting
NVPTX directly. I'd like to use this for my ongoing GPU libc project so I'd
appreciate someone looking at this again.

Fri, Mar 24, 11:18 AM · Restricted Project, Restricted Project
jhuber6 accepted D146812: [OpenMP][libomptarget][NFC] Make private mapping test more explicit on failure.

LG as long as we can fix it later once the bot picks it up.

Fri, Mar 24, 8:36 AM · Restricted Project, Restricted Project
jhuber6 committed rG125a37e09ba6: [LoongArch] Add Scalar link component (authored by XiaodongLoong).
[LoongArch] Add Scalar link component
Fri, Mar 24, 7:58 AM · Restricted Project, Restricted Project
jhuber6 closed D146806: [LoongArch] Add Scalar link component.
Fri, Mar 24, 7:58 AM · Restricted Project, Restricted Project
jhuber6 added a comment to D146806: [LoongArch] Add Scalar link component.

Landing this because my build has been broken for the past few hours.

Fri, Mar 24, 7:58 AM · Restricted Project, Restricted Project
jhuber6 committed rG53627ffb3cc9: [libc] Change RPC outbox stores to be relaxed (authored by jhuber6).
[libc] Change RPC outbox stores to be relaxed
Fri, Mar 24, 7:39 AM · Restricted Project, Restricted Project
jhuber6 accepted D146722: [OpenMP][LibC] Adds testing LibC GPU Mode for AMDGPU.
Fri, Mar 24, 5:41 AM · Restricted Project

Thu, Mar 23

jhuber6 committed rG9ddc03a17dba: [OpenMP] Fix test after updating NVPTX atomic inlines (authored by jhuber6).
[OpenMP] Fix test after updating NVPTX atomic inlines
Thu, Mar 23, 2:42 PM · Restricted Project, Restricted Project
jhuber6 committed rGd11e49f0c8c5: [libc][NFC] Fix misspelled variable name in cmake message (authored by jhuber6).
[libc][NFC] Fix misspelled variable name in cmake message
Thu, Mar 23, 2:31 PM · Restricted Project, Restricted Project
jhuber6 committed rGaf54d1e85285: [NVPTX] Set the atomic inling threshold when targeting NVPTX directly (authored by jhuber6).
[NVPTX] Set the atomic inling threshold when targeting NVPTX directly
Thu, Mar 23, 2:30 PM · Restricted Project, Restricted Project
jhuber6 closed D146750: [NVPTX] Set the atomic inling threshold when targeting NVPTX directly.
Thu, Mar 23, 2:30 PM · Restricted Project, Restricted Project
jhuber6 added a comment to D140226: [NVPTX] Introduce attribute to mark kernels without a language mode.

@tra would it be possible to go to the earlier version that simply duplicated a slight amount of logic to introduce the new and separate attribute nvptx_kernel? Overloading CUDA's device attribute is problematic because it's used and checked in several different contexts. I'd like to be able to simplify this code https://github.com/llvm/llvm-project/blob/main/libc/startup/gpu/nvptx/start.cpp.

Thu, Mar 23, 1:27 PM · Restricted Project, Restricted Project
jhuber6 closed D142538: [Libomptarget] Stop testing LTO on AMD offloading.

This was committed externally and I forgot to link it up.

Thu, Mar 23, 1:23 PM · Restricted Project, Restricted Project
jhuber6 requested review of D146750: [NVPTX] Set the atomic inling threshold when targeting NVPTX directly.
Thu, Mar 23, 12:17 PM · Restricted Project, Restricted Project
jhuber6 updated the diff for D146681: [libc] Add a loader utility for NVPTX architectures for testing.

Checking allocation return values.

Thu, Mar 23, 11:35 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146681: [libc] Add a loader utility for NVPTX architectures for testing.
Thu, Mar 23, 11:32 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146681: [libc] Add a loader utility for NVPTX architectures for testing.
Thu, Mar 23, 11:30 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146681: [libc] Add a loader utility for NVPTX architectures for testing.
Thu, Mar 23, 11:26 AM · Restricted Project, Restricted Project
jhuber6 updated the diff for D146681: [libc] Add a loader utility for NVPTX architectures for testing.

Return nullptr early if the allocation returns null.

Thu, Mar 23, 11:24 AM · Restricted Project, Restricted Project
jhuber6 updated the diff for D146681: [libc] Add a loader utility for NVPTX architectures for testing.

Forgot to check errors on the AMD implementation.

Thu, Mar 23, 11:23 AM · Restricted Project, Restricted Project
jhuber6 updated the diff for D146681: [libc] Add a loader utility for NVPTX architectures for testing.

Addressing comments.

Thu, Mar 23, 10:14 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146681: [libc] Add a loader utility for NVPTX architectures for testing.
Thu, Mar 23, 10:02 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146722: [OpenMP][LibC] Adds testing LibC GPU Mode for AMDGPU.
Thu, Mar 23, 9:53 AM · Restricted Project
jhuber6 committed rGe33f8ac9d8b3: [libc] Fix inline assembly for nvptx quick_exit (authored by jhuber6).
[libc] Fix inline assembly for nvptx quick_exit
Thu, Mar 23, 9:29 AM · Restricted Project, Restricted Project
jhuber6 committed rG9c8bdbcbc502: [libc] Implement memory fences on NVPTX (authored by jhuber6).
[libc] Implement memory fences on NVPTX
Thu, Mar 23, 9:27 AM · Restricted Project, Restricted Project
jhuber6 closed D146725: [libc] Implement memory fences on NVPTX.
Thu, Mar 23, 9:27 AM · Restricted Project, Restricted Project
jhuber6 added a comment to D146725: [libc] Implement memory fences on NVPTX.

Does it have to be sys? Does gl (kernel level) work?

Thu, Mar 23, 8:14 AM · Restricted Project, Restricted Project
jhuber6 requested review of D146725: [libc] Implement memory fences on NVPTX.
Thu, Mar 23, 7:52 AM · Restricted Project, Restricted Project
jhuber6 updated the diff for D146681: [libc] Add a loader utility for NVPTX architectures for testing.

Moving device copying functions into a common utility.

Thu, Mar 23, 6:12 AM · Restricted Project, Restricted Project

Wed, Mar 22

jhuber6 requested review of D146681: [libc] Add a loader utility for NVPTX architectures for testing.
Wed, Mar 22, 6:09 PM · Restricted Project, Restricted Project
jhuber6 committed rGae63b1a5767b: [libc] Adjust NVPTX startup code (authored by jhuber6).
[libc] Adjust NVPTX startup code
Wed, Mar 22, 6:08 PM · Restricted Project, Restricted Project
jhuber6 accepted D146552: [Clang][OpenMP] Enable device-mapped constexpr class members to not be optimized out .

If you include Fixes: <bug url> in the commit message it'll automatically close it by the way.

Wed, Mar 22, 2:32 PM · Restricted Project, Restricted Project, Restricted Project

Tue, Mar 21

jhuber6 committed rGebcc6dba5f08: [libc] Don't install the GPU startup code for now (authored by jhuber6).
[libc] Don't install the GPU startup code for now
Tue, Mar 21, 7:02 PM · Restricted Project, Restricted Project
jhuber6 accepted D146592: [OpenMP] Avoid zero size copies to the device.

LG

Tue, Mar 21, 5:47 PM · Restricted Project, Restricted Project
jhuber6 added a comment to D146552: [Clang][OpenMP] Enable device-mapped constexpr class members to not be optimized out .

We should have a clang test as well

Tue, Mar 21, 12:24 PM · Restricted Project, Restricted Project, Restricted Project
jhuber6 updated the diff for D142820: [OpenMP] Delete old plugins.

Hopefully this works.

Tue, Mar 21, 9:28 AM · Restricted Project, Restricted Project
jhuber6 commandeered D142820: [OpenMP] Delete old plugins.
Tue, Mar 21, 9:28 AM · Restricted Project, Restricted Project

Mon, Mar 20

jhuber6 added a comment to D142820: [OpenMP] Delete old plugins.

I can commandeer tomorrow

Mon, Mar 20, 6:47 PM · Restricted Project, Restricted Project
jhuber6 committed rG6bd4d717d577: [libc] Add environment variables to GPU libc test for AMDGPU (authored by jhuber6).
[libc] Add environment variables to GPU libc test for AMDGPU
Mon, Mar 20, 11:17 AM · Restricted Project, Restricted Project
jhuber6 closed D146322: [libc] Add environment variables to GPU libc test for AMDGPU.
Mon, Mar 20, 11:17 AM · Restricted Project, Restricted Project
jhuber6 committed rGad9f751a6e90: [Libomptarget] Add missing explicit moves on llvm::Error (authored by jhuber6).
[Libomptarget] Add missing explicit moves on llvm::Error
Mon, Mar 20, 10:00 AM · Restricted Project, Restricted Project
jhuber6 added a comment to D142514: [OpenMP][libomptarget] Notify the plugins regarding new mapping/unmappings.

This is probably a very late report but I happened to be looking at openmp bots for a different reason, some of the error returns in this change are failing to compile:
https://lab.llvm.org/buildbot/#/builders/4/builds/32052/steps/5/logs/stdio

Despite the "gcc" name, this bot appears to use clang-11 which is still supported for building llvm.

This is a simplified version: https://godbolt.org/z/x91h9KcGq

I'm not sure how we're expected to use Expected (no pun intended) in this scenario. There is probably a helper function somewhere.

Mon, Mar 20, 9:51 AM · Restricted Project, Restricted Project
jhuber6 committed rGedc03550063c: [Libomptarget] Add missing explicit moves on llvm::Error (authored by jhuber6).
[Libomptarget] Add missing explicit moves on llvm::Error
Mon, Mar 20, 9:50 AM · Restricted Project, Restricted Project
jhuber6 added a comment to D142514: [OpenMP][libomptarget] Notify the plugins regarding new mapping/unmappings.

This is probably a very late report but I happened to be looking at openmp bots for a different reason, some of the error returns in this change are failing to compile:
https://lab.llvm.org/buildbot/#/builders/4/builds/32052/steps/5/logs/stdio

Despite the "gcc" name, this bot appears to use clang-11 which is still supported for building llvm.

This is a simplified version: https://godbolt.org/z/x91h9KcGq

I'm not sure how we're expected to use Expected (no pun intended) in this scenario. There is probably a helper function somewhere.

Mon, Mar 20, 9:32 AM · Restricted Project, Restricted Project
jhuber6 committed rGae30ae23aa40: [libc][NFC] Add some missing comments to the RPC implementation (authored by jhuber6).
[libc][NFC] Add some missing comments to the RPC implementation
Mon, Mar 20, 7:31 AM · Restricted Project, Restricted Project

Fri, Mar 17

jhuber6 updated the diff for D146326: [LinkerWrapper] Do not extract globals with no offloading language.

Remove whitespace

Fri, Mar 17, 1:32 PM · Restricted Project, Restricted Project
jhuber6 requested review of D146326: [LinkerWrapper] Do not extract globals with no offloading language.
Fri, Mar 17, 1:17 PM · Restricted Project, Restricted Project
jhuber6 requested review of D146322: [libc] Add environment variables to GPU libc test for AMDGPU.
Fri, Mar 17, 12:07 PM · Restricted Project, Restricted Project
jhuber6 committed rG179a7f1ea262: [libc] Fix dependency to unit tests, and quitting in non-GPU mode (authored by jhuber6).
[libc] Fix dependency to unit tests, and quitting in non-GPU mode
Fri, Mar 17, 11:08 AM · Restricted Project, Restricted Project
jhuber6 committed rG39e91098b58b: [libc] Enable integration tests targeting the GPU (authored by jhuber6).
[libc] Enable integration tests targeting the GPU
Fri, Mar 17, 10:56 AM · Restricted Project, Restricted Project
jhuber6 committed rG8e4f9b1fcbfd: [libc] Add initial support for an RPC mechanism for the GPU (authored by jhuber6).
[libc] Add initial support for an RPC mechanism for the GPU
Fri, Mar 17, 10:56 AM · Restricted Project, Restricted Project
jhuber6 closed D146256: [libc] Enable integration tests targeting the GPU.
Fri, Mar 17, 10:55 AM · Restricted Project, Restricted Project
jhuber6 closed D145913: [libc] Add initial support for an RPC mechanism for the GPU.
Fri, Mar 17, 10:55 AM · Restricted Project, Restricted Project
jhuber6 added a comment to D146256: [libc] Enable integration tests targeting the GPU.

Global ctor/dtor is tricky. I have a suspicion hip and openmp have done different things there. When to run the dtor is a challenge, and how many threads the ctors run with may have implementation divergence.

Fri, Mar 17, 10:31 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146256: [libc] Enable integration tests targeting the GPU.
Fri, Mar 17, 9:56 AM · Restricted Project, Restricted Project
jhuber6 committed rG27a2940b8cae: [Libomptarget] Emit a special warning when no images are found (authored by jhuber6).
[Libomptarget] Emit a special warning when no images are found
Fri, Mar 17, 9:38 AM · Restricted Project, Restricted Project
jhuber6 closed D142369: [Libomptarget] Emit a special warning when no images are found.
Fri, Mar 17, 9:37 AM · Restricted Project, Restricted Project
jhuber6 updated the diff for D142369: [Libomptarget] Emit a special warning when no images are found.

Changing message

Fri, Mar 17, 9:32 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146256: [libc] Enable integration tests targeting the GPU.
Fri, Mar 17, 9:14 AM · Restricted Project, Restricted Project
jhuber6 updated the diff for D146256: [libc] Enable integration tests targeting the GPU.

Addressing comments

Fri, Mar 17, 8:43 AM · Restricted Project, Restricted Project
jhuber6 updated the diff for D142369: [Libomptarget] Emit a special warning when no images are found.

Updating, error message now looks like this.

Fri, Mar 17, 8:38 AM · Restricted Project, Restricted Project
jhuber6 accepted D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.
Fri, Mar 17, 8:29 AM · Restricted Project, Restricted Project, Restricted Project
jhuber6 updated the diff for D146256: [libc] Enable integration tests targeting the GPU.

We should only set the special libc.utils.gpu.loader target once for the target under test.

Fri, Mar 17, 5:23 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146256: [libc] Enable integration tests targeting the GPU.
Fri, Mar 17, 5:02 AM · Restricted Project, Restricted Project

Thu, Mar 16

jhuber6 accepted D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.

LGTM, it's much simpler for now since Flang doesn't support CUDA, HIP, OpenCL, OpenMP, etc.

Thu, Mar 16, 1:48 PM · Restricted Project, Restricted Project, Restricted Project
jhuber6 requested review of D146256: [libc] Enable integration tests targeting the GPU.
Thu, Mar 16, 1:19 PM · Restricted Project, Restricted Project
jhuber6 added inline comments to D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.
Thu, Mar 16, 11:41 AM · Restricted Project, Restricted Project, Restricted Project
jhuber6 added inline comments to D145815: [Flang][Driver] Add support for fopenmp-is-device and fembed-offload-object to Flang ToolChain.
Thu, Mar 16, 11:33 AM · Restricted Project, Restricted Project, Restricted Project
jhuber6 committed rG06c86025268c: [libc] Remove unused startup source file (authored by jhuber6).
[libc] Remove unused startup source file
Thu, Mar 16, 10:42 AM · Restricted Project, Restricted Project
jhuber6 committed rGd9c1dbc20401: [libc] Remove startup option from integration tests (authored by jhuber6).
[libc] Remove startup option from integration tests
Thu, Mar 16, 10:39 AM · Restricted Project, Restricted Project
jhuber6 closed D146237: [libc] Remove startup option from integration tests.
Thu, Mar 16, 10:38 AM · Restricted Project, Restricted Project
jhuber6 requested review of D146237: [libc] Remove startup option from integration tests.
Thu, Mar 16, 9:53 AM · Restricted Project, Restricted Project
jhuber6 updated the diff for D145913: [libc] Add initial support for an RPC mechanism for the GPU.

Addressing comments

Thu, Mar 16, 9:23 AM · Restricted Project, Restricted Project
jhuber6 added inline comments to D145913: [libc] Add initial support for an RPC mechanism for the GPU.
Thu, Mar 16, 8:48 AM · Restricted Project, Restricted Project
jhuber6 committed rGa704c312f11f: [libc] Add missing dependencies to RISC-V startup implementation (authored by jhuber6).
[libc] Add missing dependencies to RISC-V startup implementation
Thu, Mar 16, 7:13 AM · Restricted Project, Restricted Project
jhuber6 committed rG501a8724bd99: [libc] Add missing environ dependency to AArch64 startup implementation (authored by jhuber6).
[libc] Add missing environ dependency to AArch64 startup implementation
Thu, Mar 16, 6:07 AM · Restricted Project, Restricted Project
jhuber6 committed rG2389f0001973: [libc] Add missing threads dependency to AArch64 startup implementation (authored by jhuber6).
[libc] Add missing threads dependency to AArch64 startup implementation
Thu, Mar 16, 6:01 AM · Restricted Project, Restricted Project
jhuber6 committed rGf62523032d1d: [libc] Inherit integration test dependencies from the startup target (authored by jhuber6).
[libc] Inherit integration test dependencies from the startup target
Thu, Mar 16, 5:33 AM · Restricted Project, Restricted Project
jhuber6 closed D146184: [libc] Inherit integration test dependencies from the startup target.
Thu, Mar 16, 5:33 AM · Restricted Project, Restricted Project

Wed, Mar 15

jhuber6 committed rG38d7f855b84b: [libc] Add missing return statements to wrapper functions (authored by jhuber6).
[libc] Add missing return statements to wrapper functions
Wed, Mar 15, 8:16 PM · Restricted Project, Restricted Project
jhuber6 committed rG22838f6084cc: [libc] Do not attempt to determine CPU features in GPU mode (authored by jhuber6).
[libc] Do not attempt to determine CPU features in GPU mode
Wed, Mar 15, 6:44 PM · Restricted Project, Restricted Project
jhuber6 committed rG929ad8bc7cc2: [libc] Add aliases to C memory functions for integration tests (authored by jhuber6).
[libc] Add aliases to C memory functions for integration tests
Wed, Mar 15, 6:15 PM · Restricted Project, Restricted Project
jhuber6 closed D146177: [libc] Add aliases to C memory functions for integration tests.
Wed, Mar 15, 6:15 PM · Restricted Project, Restricted Project
jhuber6 requested review of D146184: [libc] Inherit integration test dependencies from the startup target.
Wed, Mar 15, 6:14 PM · Restricted Project, Restricted Project
jhuber6 updated the diff for D146177: [libc] Add aliases to C memory functions for integration tests.

Merging the dependency list and addressing comments. I'll try to remove the other dependencies by picking them up from the startup in a later patch.

Wed, Mar 15, 5:04 PM · Restricted Project, Restricted Project
jhuber6 added inline comments to D146177: [libc] Add aliases to C memory functions for integration tests.
Wed, Mar 15, 4:44 PM · Restricted Project, Restricted Project