This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if($IsWindows) | |
{ | |
function vs | |
{ | |
if (!(Get-Module -Name Microsoft.VisualStudio.DevShell)) | |
{ | |
$InstallPath = Get-CimInstance MSFT_VSInstance -Namespace root/cimv2/vs | ` | |
Sort-Object -Property InstallDate | ` | |
Select-Object -First 1 -ExpandProperty InstallLocation | |
Import-Module "$InstallPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/cmake/hip-lang/hip-lang-targets.cmake b/lib/cmake/hip-lang/hip-lang-targets.cmake | |
index e46663b..63803d9 100644 | |
--- a/lib/cmake/hip-lang/hip-lang-targets.cmake | |
+++ b/lib/cmake/hip-lang/hip-lang-targets.cmake | |
@@ -41,8 +41,14 @@ unset(_targetsNotDefined) | |
unset(_expectedTargets) | |
-# The installation prefix configured by this project. | |
-set(_IMPORT_PREFIX "C:/constructicon/builds/gfx/two/23.30/drivers/compute/install/native/Release/x64/hip") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/c++/13/format b/c++/13/format | |
index 9d5981e..9a3896b 100644 | |
--- a/c++/13/format | |
+++ b/c++/13/format | |
@@ -3553,14 +3553,14 @@ namespace __format | |
using iterator = typename _Scanner<_CharT>::iterator; | |
- void | |
+ constexpr void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string_view> | |
namespace compiler { | |
#if defined(_MSC_VER) && !defined(__clang__) | |
inline constexpr std::string_view name{"MSVC"}; | |
#elif defined(__GNUC__) && !defined(__clang__) | |
inline constexpr std::string_view name{"GCC"}; | |
#elif defined(SYCL_LANGUAGE_VERSION) && defined (__INTEL_LLVM_COMPILER) | |
inline constexpr std::string_view name{"DPC++"}; | |
#elif defined(__NVCC__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example invocation: cmake | |
# -D PRESET_NAME=developer-command-prompt-clangcl-x64 | |
# -D PRESET_FILE=Toolchain-ClangCL-MakefileGenerators.json | |
# -D GENERATOR="Visual Studio 17 2022" | |
# -D PLATFORM=x64 | |
# -D TOOLSET=ClangCL | |
# -D INSTANCE=C:\Kellekek\Microsoft\VisualStudio\2022\BuildTools | |
# -P .\GenerateVisualC++ConfigurePresets.cmake | |
cmake_minimum_required(VERSION 3.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# escape=` | |
# Use the latest Windows Server Core image with .NET Framework 4.8. | |
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 | |
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | |
ENV IMAGE_BUILDTOOLS_DIR="C:\Tools\Microsoft\VisualStudio\2022\BuildTools" ` | |
IMAGE_CMAKE_PREFIX="C:\Tools\Kitware\CMake" ` | |
IMAGE_GIT_PREFIX="C:\Tools" ` | |
IMAGE_GIT_VER="2.35.1" ` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All this works in rocm-terminal:latest (tested with current 4.5) | |
# wget a reasonably new CMake, because I won't be using old CMake versions unless absolutely necessary | |
export CMAKE_VER="3.21.2" | |
export CMAKE_URL=https://github.com/Kitware/CMake/releases/download/v${CMAKE_VER}/cmake-${CMAKE_VER}-Linux-x86_64.tar.gz | |
sudo apt update | |
sudo apt install wget tar apt-transport-https software-properties-common -y | |
wget -c $CMAKE_URL -O - | tar -xz | |
mv cmake-* .local | |
export PATH=/home/rocm-user/.local/bin/:${PATH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pmc: VALUInsts SALUInsts VALUUtilization VALUBusy SALUBusy L2CacheHit MemUnitBusy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:uap4="http://schemas.microsoft.com/appx/manifest/uap/windows10/4" xmlns:uap6="http://schemas.microsoft.com/appx/manifest/uap/windows10/6" xmlns:uap7="http://schemas.microsoft.com/appx/manifest/uap/windows10/7" xmlns:uap8="http://schemas.microsoft.com/appx/manifest/uap/windows10/8" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:mobile="http://schemas.microsoft.com/appx/manifest/mobile/windows10" xmlns:iot="http://schemas.microsoft.com/appx/manifest/iot/windows10" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:desktop2="http://schemas.microsoft.com/appx/manifest/desktop/windows10/2" xmlns:desktop6="http://schem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015..2019 | % { ((iwr ("https://scholar.google.com/scholar?q=clBLAS&hl=en&as_sdt=0%2C5&as_ylo=$_&as_yhi="+($_+1))).RawContent) -cmatch "About ([0-9]+) results" | Out-Null; $Matches[1] } |
NewerOlder