Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Target workshare loop #234

Commits on Sep 28, 2023

  1. [CodeExtractor] Allow to use 0 addr space for aggregate arg

    The user of CodeExtractor should be able to specify that
    the aggregate argument should be passed as a pointer in zero address
    space.
    
    CodeExtractor is used to generate outlined functions required by OpenMP
    runtime. The arguments of the outlined functions for OpenMP GPU code
    are in 0 address space. 0 address space does not need to be the default
    address space for GPU device. That's why there is a need to allow
    the user of CodeExtractor to specify, that the allocated aggregate param
    is passed as pointer in zero address space.
    DominikAdamski committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    ad3a214 View commit details
    Browse the repository at this point in the history
  2. [OpenMP][OMPIRBuilder] Add support to omp target parallel

    Added support for LLVM IR code generation which is used for handling
    omp target parallel code. The call for __kmpc_parallel_51 is generated
    and the parallel region is outlined to separate function.
    
    The proper setup of kmpc_target_init mode is not included in the commit.
    It is assumed that the SPMD mode for target init is properly set by other
    codegen functions.
    DominikAdamski committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    88f4c96 View commit details
    Browse the repository at this point in the history
  3. Johannes proposition of the new OpenMP runtime

    Dominik Adamski authored and DominikAdamski committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    b9fc056 View commit details
    Browse the repository at this point in the history
  4. Do not build the new Device RTL functions which cannot be compiled

    Proposed implementation of the new device OpenMP functions relies on
    internal functions which are not used in current version of the OpenMP
    runtime.
    Dominik Adamski authored and DominikAdamski committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    91cb9b8 View commit details
    Browse the repository at this point in the history
  5. [WIP] Add OpenMP definitions

    TODO: Add missing definitions for the newwq OpenMP device RTL functions
    TODO: Add missing attributes for the new OpenMP device RTL functions
    Dominik Adamski authored and DominikAdamski committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    c0674ba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a38b150 View commit details
    Browse the repository at this point in the history