• Show log

    Commit

  • Hash : fb648546
    Author : hoonee cho
    Date : 2025-02-24T17:20:39

    third_party/clspv: Update CLSPV(#1423)
    
    The clspv is rebased to the below commit to fix
    test_vectors vec_align_struct with
    the spir64/phy_addressing option
    
    - 60f822e8 fix LongVectorLoweringPass
    when removing dead long-vector globals
    that were lowered. (#1423)
    
    As part of that clspv rebase, llvm is rebased
    to the version used by clspv
    
    - 1fd8d3fea53e (HEAD) [mlir] Fix wrong names
    in LinalgOps and ScalableValueBoundsConstraintSet
    (#117227)
    
    The rebase of LLVM required updates
    to the GN build files in clspv,
    appropriate changes are made.
    
    * .bc files are pre-builts and they are deviations
    from upstream. Update of gn files for libclc will
    be followed in separate patch.
    
    Bug: angleproject:383647253
    Change-Id: Ia75c1446d47b780000446d521503ebee9a7585fb
    Signed-off-by: Hoonee Cho <hoonee.cho@samsung.com>
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6299711
    Commit-Queue: Austin Annestrand <a.annestrand@samsung.com>
    Reviewed-by: Austin Annestrand <a.annestrand@samsung.com>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags

  • README.md

  • CLSPV GN Build

    The clspv official build system is CMake and as such have no GN build infra. The files in here enable building clspv using the ANGLE GN build infra.

    The top-level build file is BUILD.gn with all the auxiliary build files located in the gn folder. The clspv build is heavily dependent on the LLVM build. The LLVM settings and targets needed for clspv are captured in the gn/llvm location. These utilize the LLVM experimental GN build infra 1.

    Build Instructions

    The GN build in here is setup to function within the ANGLE GN build infrastructure and as such follows the same setup as of ANGLE project. Please refer top level ANGLE readme file.

    Add the following to args.gn file

    angle_enable_cl = true

    Note: Only the linux/x86{,_64} and android/arm{64} combination of os/cpu are setup for now.

    Updating the LLVM build targets

    The LLVM targets required for clspv are housed in the gn/llvm location. In the case of source files getting added/removed in the upstream LLVM, the relavant target sources needs to be modified in gn/llvm/sources/BUILD.gn.

    The LLVM targets are named in the format clspv_<llvm/clang>_<folder path slug with _>.

    For instance clspv_llvm_lib_frontend_offloading refers to the LLVM target in third_party/llvm/src/llvm/lib/Frontend/Offloading. The sources list in from the corresponding LLVM BUILD.gn file, here third_party/llvm/src/llvm/utils/gn/secondary/llvm/lib/Frontend/Offloading can be copied with prefix path “//$clspv_llvm_dir/llvm/lib/Frontend/Offloading/“ applied to it.

    References