[all-commits] [llvm/llvm-project] bf85f2: [libc] Implement 'qsort' and 'bsearch' on the GPU ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Sep 13 10:06:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf85f273706cb726fc1e89a792a484e3e83d997c
      https://github.com/llvm/llvm-project/commit/bf85f273706cb726fc1e89a792a484e3e83d997c
  Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M clang/lib/Headers/llvm_libc_wrappers/stdlib.h
    M libc/config/gpu/api.td
    M libc/config/gpu/entrypoints.txt
    M libc/docs/gpu/support.rst

  Log Message:
  -----------
  [libc] Implement 'qsort' and 'bsearch' on the GPU (#66230)

Summary:
This patch simply adds the necessary config to enable qsort and bsearch
on the GPU. It is *highly* unlikely that anyone will use these, as they
are single threaded, but we may as well support all entrypoints that we
can.




More information about the All-commits mailing list