mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-08-24 21:21:47 +02:00
Move GPU modules to plugins
This commit is contained in:
parent
caec518384
commit
d3d89022bc
6
configure
vendored
6
configure
vendored
@ -119,15 +119,15 @@ rm -f ${QP_ROOT}/src/gpu_arch
|
|||||||
case "$GPU" in
|
case "$GPU" in
|
||||||
amd) # Nvidia
|
amd) # Nvidia
|
||||||
echo "Activating AMD GPU acceleration"
|
echo "Activating AMD GPU acceleration"
|
||||||
ln -s ${QP_ROOT}/src/gpu_amd ${QP_ROOT}/src/gpu_arch
|
ln -s ${QP_ROOT}/plugins/local/gpu_amd ${QP_ROOT}/src/gpu_arch
|
||||||
;;
|
;;
|
||||||
nvidia) # Nvidia
|
nvidia) # Nvidia
|
||||||
echo "Activating Nvidia GPU acceleration"
|
echo "Activating Nvidia GPU acceleration"
|
||||||
ln -s ${QP_ROOT}/src/gpu_nvidia ${QP_ROOT}/src/gpu_arch
|
ln -s ${QP_ROOT}/plugins/local/gpu_nvidia ${QP_ROOT}/src/gpu_arch
|
||||||
;;
|
;;
|
||||||
*) # No Acceleration
|
*) # No Acceleration
|
||||||
echo "Disabling GPU acceleration"
|
echo "Disabling GPU acceleration"
|
||||||
ln -s ${QP_ROOT}/src/gpu_x86 ${QP_ROOT}/src/gpu_arch
|
ln -s ${QP_ROOT}/plugins/local/gpu_x86 ${QP_ROOT}/src/gpu_arch
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user