Get the latest tech news

Triton Fork for Windows Support


Fork of the Triton language and compiler for Windows support - woct0rdho/triton-windows

The path is like C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64 Change the version numbers according to your installation, and make sure that this folder accually exists on your computer If you open a new PowerShell, type cl, and it shows Microsoft (R) C/C++ Optimizing Compiler ..., then you're doing right Set the binary, include, and library paths of Python, MSVC, Windows SDK, and CUDA in PowerShell (help wanted to automatically find these in CMake): To implement dlopen, dlfcn-win32 is added to thirdparty/ and linked in CMake for building the package, and in third_party/nvidia/backend/driver.c and driver.py it's rewritten with LoadLibrary for jitting In lib/Analysis/Utility.cpp and lib/Dialect/TritonGPU/Transforms/Utility.cpp, explicit namespaces are added to support the resolution behaviors of MSVC In python/src/interpreter.cc the GCC built-in__ATOMIC memory orders are replaced with std::memory_order windows_utils.py contains many ways to find the paths of Python, MSVC, Windows SDK, and CUDA On Windows the C long has only 4 bytes, so some tests failed because of overflow, and I marked them xfail

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Triton Fork

Triton Fork

Photo of Windows Support

Windows Support