Create compile.sh
Browse files- compile.sh +5 -0
compile.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
echo "Fabrication du Kernel GPU-NANO F-1..."
|
| 3 |
+
# On utilise les optimisations maximales (-O3) et le support vectoriel (-mavx2)
|
| 4 |
+
g++ -O3 -mavx2 -mfma -shared -o f1_kernel.so -fPIC src/f1_kernel_core.cpp
|
| 5 |
+
echo "GPU-NANO F-1 est prêt à l'emploi !"
|