mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-24 14:15:14 +02:00
fix import issue on no-gpu machine
This commit is contained in:
parent
155511b761
commit
e486f3fd99
1 changed files with 1 additions and 1 deletions
|
|
@ -6,11 +6,11 @@ import numpy as np
|
||||||
from ....util.caching import Cache_this
|
from ....util.caching import Cache_this
|
||||||
from . import PSICOMP_RBF
|
from . import PSICOMP_RBF
|
||||||
from ....util import gpu_init
|
from ....util import gpu_init
|
||||||
from ....util.linalg_gpu import sum_axis
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import pycuda.gpuarray as gpuarray
|
import pycuda.gpuarray as gpuarray
|
||||||
from pycuda.compiler import SourceModule
|
from pycuda.compiler import SourceModule
|
||||||
|
from ....util.linalg_gpu import sum_axis
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue