First commit

This commit is contained in:
2025-08-05 19:02:46 +08:00
parent 9efe891f99
commit 99fb9f5cb0
1412 changed files with 203615 additions and 0 deletions

BIN
pkgs/triton/third_party/cuda/bin/ptxas vendored Executable file

Binary file not shown.

19348
pkgs/triton/third_party/cuda/include/cuda.h vendored Executable file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,24 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b65f1b5..19cc5a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,12 +62,13 @@ include(OCL)
set(AMDGCN_LIB_LIST)
set(AMDGCN_DEP_LIST)
add_subdirectory(irif)
-add_subdirectory(oclc)
-add_subdirectory(ocml)
-add_subdirectory(ockl)
-add_subdirectory(opencl)
-add_subdirectory(hip)
-add_subdirectory(asanrtl)
+#add_subdirectory(oclc)
+#add_subdirectory(ocml)
+#add_subdirectory(ockl)
+#add_subdirectory(opencl)
+#add_subdirectory(hip)
+#add_subdirectory(asanrtl)
+add_subdirectory(cuda2gcn)
enable_testing()
add_subdirectory(test/compile)

Binary file not shown.

View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -e
pushd .
git clone https://github.com/dfukalov/ROCm-Device-Libs.git
cd ROCm-Device-Libs
git apply ../cuda2gcn.patch
mkdir build
cd build
cmake .. -DCMAKE_PREFIX_PATH=$HOME/.triton/llvm/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04
make -j4
popd
cp ROCm-Device-Libs/build/amdgcn/bitcode/cuda2gcn.bc .
rm -rf ROCm-Device-Libs

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.