[all-commits] [llvm/llvm-project] 95c0e0: [libc] Fix 'fgets' test on the GPU for some C libr...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Sep 26 07:23:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95c0e03376a4699c38cd3e37a3b6fdad0549cd52
      https://github.com/llvm/llvm-project/commit/95c0e03376a4699c38cd3e37a3b6fdad0549cd52
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M libc/test/src/stdio/fgets_test.cpp

  Log Message:
  -----------
  [libc] Fix 'fgets' test on the GPU for some C libraries (#110118)

Summary:
The GPU handling for a lot of `FILE *` functions pretty much just
forwards it to the host via RPC. This test checks for implementation
defined behavior, which sometimes passes and sometimes doesn't. We just
disable it here so it works on the standard semantics.

We do this forwarding primarily for interopt w/ the host if the user is
compiling from an offloading language (e.g. CUDA).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list