[GPU] psi1

This commit is contained in:
Zhenwen Dai 2014-03-31 16:18:06 +01:00
parent 4465c5be8d
commit b945e8d01f
4 changed files with 114 additions and 109 deletions

View file

@ -41,8 +41,8 @@ class Stationary(Kern):
"""
def __init__(self, input_dim, variance, lengthscale, ARD, active_dims, name):
super(Stationary, self).__init__(input_dim, active_dims, name)
def __init__(self, input_dim, variance, lengthscale, ARD, active_dims, name, useGPU=False):
super(Stationary, self).__init__(input_dim, active_dims, name,useGPU=useGPU)
self.ARD = ARD
if not ARD:
if lengthscale is None: