Rename fractal-brain to Resonance_Engine: update all paths, docs, scripts, and add experiments/results/src
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Build 640x640 for harmonic scan
|
||||
Write-Host "Building 640x640..." -ForegroundColor Yellow
|
||||
|
||||
$batchContent = @'
|
||||
@echo off
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
|
||||
cd /d "D:\openclaw-local\workspace-main\harmonic_scan"
|
||||
nvcc -arch=sm_89 -O3 -D_USE_MATH_DEFINES -DWIN32 "640x640\fractal_habit_640x640.cu" -o "640x640\fractal_habit_640x640.exe" -lnvml -lcufft
|
||||
echo Exit code: %errorlevel%
|
||||
'@
|
||||
|
||||
$batchFile = "D:\openclaw-local\workspace-main\harmonic_scan\build_640x640.bat"
|
||||
$batchContent | Out-File -FilePath $batchFile -Encoding ASCII
|
||||
|
||||
$result = cmd /c ""$batchFile" 2>&1"
|
||||
Remove-Item $batchFile -Force
|
||||
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
Write-Host "Build successful: 640x640" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "Build failed for 640x640" -ForegroundColor Red
|
||||
$result
|
||||
}
|
||||
Reference in New Issue
Block a user