mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-20 15:38:08 +02:00
fix the SSGPLVM with MPI
This commit is contained in:
parent
08ed72b2f2
commit
cf33808673
7 changed files with 28 additions and 30 deletions
|
|
@ -13,4 +13,10 @@ try:
|
|||
cublas_handle = cublas.cublasCreate()
|
||||
initSuccess = True
|
||||
except:
|
||||
initSuccess = False
|
||||
initSuccess = False
|
||||
|
||||
def initGPU(gpuid=None):
|
||||
if gpuid==None:
|
||||
return pycuda.tools.make_default_context()
|
||||
else:
|
||||
return pycuda.driver.Device(gpuid).make_context()
|
||||
Loading…
Add table
Add a link
Reference in a new issue