add quick verification test script for all DETI coin miners
This commit is contained in:
parent
0c2c534f7c
commit
d307619833
|
|
@ -0,0 +1,71 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Quick test script to verify all DETI coin miners
|
||||||
|
#
|
||||||
|
|
||||||
|
echo "==================================================="
|
||||||
|
echo "DETI Coin Miner - Quick Verification Test"
|
||||||
|
echo "==================================================="
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Test 1: CPU Miner
|
||||||
|
echo "Test 1: CPU Miner (1 million attempts)"
|
||||||
|
echo "---------------------------------------------------"
|
||||||
|
./coin_miner_cpu 1000000
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Test 2: SIMD Miner
|
||||||
|
echo "Test 2: SIMD Miner (1 million attempts)"
|
||||||
|
echo "---------------------------------------------------"
|
||||||
|
./coin_miner_simd 1000000
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Test 3: CUDA Miner (standard mode)
|
||||||
|
echo "Test 3: CUDA Miner - Standard Mode (10 million attempts)"
|
||||||
|
echo "---------------------------------------------------"
|
||||||
|
./coin_miner_cuda 10000000
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Test 4: CUDA Miner (scan mode)
|
||||||
|
echo "Test 4: CUDA Miner - Scan Mode (10 million attempts)"
|
||||||
|
echo "---------------------------------------------------"
|
||||||
|
./coin_miner_cuda 10000000 scan
|
||||||
|
echo ""
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check if any coins were found
|
||||||
|
echo "==================================================="
|
||||||
|
echo "Checking for found coins..."
|
||||||
|
echo "==================================================="
|
||||||
|
if [ -f deti_coins_v2_vault.txt ]; then
|
||||||
|
echo "Vault file exists!"
|
||||||
|
echo "Number of coins found: $(wc -l < deti_coins_v2_vault.txt)"
|
||||||
|
echo ""
|
||||||
|
echo "First few coins:"
|
||||||
|
head -5 deti_coins_v2_vault.txt
|
||||||
|
else
|
||||||
|
echo "No coins found yet (this is expected - they're rare!)"
|
||||||
|
fi
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
# Check CUDA statistics
|
||||||
|
echo "==================================================="
|
||||||
|
echo "CUDA Statistics"
|
||||||
|
echo "==================================================="
|
||||||
|
if [ -f cuda_kernel_stats.csv ]; then
|
||||||
|
echo "CSV file exists with $(wc -l < cuda_kernel_stats.csv) entries"
|
||||||
|
echo ""
|
||||||
|
echo "Sample entries:"
|
||||||
|
head -10 cuda_kernel_stats.csv
|
||||||
|
else
|
||||||
|
echo "No CUDA statistics file found"
|
||||||
|
fi
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
echo "==================================================="
|
||||||
|
echo "All tests completed!"
|
||||||
|
echo "==================================================="
|
||||||
|
|
||||||
Loading…
Reference in New Issue