This file contains hidden or 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
| 'BROKEN, DONT TRY | |
| D:\ | |
| set PATH=%HIP_PATH%\bin;%PATH% | |
| cd llama.cpp | |
| git clone https://github.com/microsoft/vcpkg.git | |
| cd vcpkg | |
| bootstrap-vcpkg.bat | |
| vcpkg.exe install curl:x64-windows |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import sys | |
| import re | |
| import os | |
| import shutil | |
| import subprocess | |
| import tempfile | |
| from dataclasses import dataclass | |
| from typing import List, Optional |
This file contains hidden or 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
| module bidir_shiftreg #( | |
| parameter integer W = 32 | |
| ) ( | |
| input wire clk, | |
| input wire nrst, | |
| input wire lsbfirst, // 1 = LSB-first shift (right), 0 = MSB-first (left) | |
| input wire [$clog2(W)-1:0] N, // active bits val[N:0] | |
| input wire [W-1:0] load, // parallel load | |
| input wire load_en, | |
| output reg [W-1:0] val, // parallel output |
This file contains hidden or 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
| import os | |
| import re | |
| import fnmatch | |
| # Regex replacements for .g* files | |
| g_patterns = [ | |
| (re.compile(r'^(G04\s+#@!\s+TF\.GenerationSoftware)[^*]*\*$', re.MULTILINE), | |
| r'\1*'), | |
| (re.compile(r'^(G04\s+#@!\s+TF\.SameCoordinates)[^*]*\*$', re.MULTILINE), | |
| r'\1*') |
OlderNewer