Revision 06b208f28b94b202ef14360339126d2d21a0463f authored by Dillon Sharlet on 04 March 2021, 18:11:57 UTC, committed by GitHub on 04 March 2021, 18:11:57 UTC
* Remove unused vertex buffer parameters.

* Offload GPU code in a lowering pass instead of via CodeGen_GPU_Host. Fixes #5650, fixes #2797, fixes #2084, now #1971 is more relevant.

* clang-format.

* clang-format sorting is case sensitive!?

* clang-tidy

* Move codegen backends into anonymous namespaces in source files.

* clang-format

* Pass type arguments correctly.

* Update OffloadGPULoops.cpp

* trigger buildbots

* trigger buildbots

* Hack around tests that rely on the IR for offloaded GPU loops.

* Fix missing include.

* Remove unused include.

* clang-tidy

* Use custom lowering pass to see code before GPU offloading

* Speculative fix for segfault

* Fix const correctness

* Fix error on unused variables in generated code.

Co-authored-by: Steven Johnson <srj@google.com>
1 parent abf0f69
Raw File
CMakePresets.json
{
  "version": 1,
  "cmakeMinimumRequired": {
    "major": 3,
    "minor": 16,
    "patch": 0
  },
  "configurePresets": [
    {
      "name": "gcc-debug",
      "displayName": "GCC (Debug)",
      "description": "Debug build using Ninja generator and GCC-compatible compiler",
      "generator": "Ninja",
      "binaryDir": "${sourceDir}/build",
      "cacheVariables": {
        "CMAKE_BUILD_TYPE": "Debug",
        "CMAKE_CXX_FLAGS_RELEASE": "-O2",
        "CMAKE_CXX_FLAGS_RELWITHDEBINFO": "-O2 -g",
        "CMAKE_CXX_FLAGS_MINSIZEREL": "-Os"
      }
    },
    {
      "name": "gcc-release",
      "inherits": "gcc-debug",
      "displayName": "GCC (Release)",
      "description": "Release build using Ninja generator and GCC-compatible compiler",
      "cacheVariables": {
        "CMAKE_BUILD_TYPE": "Release"
      }
    },
    {
      "name": "msvc-debug",
      "displayName": "MSVC (Debug)",
      "description": "Debug build using Ninja generator and MSVC with vcpkg dependencies.",
      "generator": "Ninja",
      "binaryDir": "${sourceDir}/build",
      "cacheVariables": {
        "CMAKE_BUILD_TYPE": "Debug",
        "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
      }
    },
    {
      "name": "msvc-release",
      "displayName": "MSVC (Release)",
      "description": "Debug build using Ninja generator and MSVC with vcpkg dependencies.",
      "generator": "Ninja",
      "binaryDir": "${sourceDir}/build",
      "cacheVariables": {
        "CMAKE_BUILD_TYPE": "Release",
        "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
      }
    },
    {
      "name": "win32",
      "displayName": "Win32 (Visual Studio)",
      "description": "Visual Studio-based Win32 build with vcpkg dependencies.",
      "generator": "Visual Studio 16 2019",
      "architecture": "Win32",
      "toolset": "host=x64",
      "binaryDir": "${sourceDir}/build",
      "cacheVariables": {
        "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
      }
    },
    {
      "name": "win64",
      "displayName": "Win64 (Visual Studio)",
      "description": "Visual Studio-based Win64 build with vcpkg dependencies.",
      "generator": "Visual Studio 16 2019",
      "architecture": "x64",
      "toolset": "host=x64",
      "binaryDir": "${sourceDir}/build",
      "cacheVariables": {
        "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
      }
    }
  ]
}
back to top