public class CudaContext extends Object
Constructor and Description |
---|
CudaContext() |
CudaContext(boolean free) |
Modifier and Type | Method and Description |
---|---|
void |
associateHandle()
Associates
the handle on this context
to the given stream
|
void |
attachReference(GarbageResourceReference ref) |
void |
destroy()
Deprecated.
|
void |
destroy(CublasPointer resultPointer,
boolean freeIfNotEqual)
Deprecated.
|
void |
finishBlasOperation()
Finishes a blas operation
and destroys this context
|
static CudaContext |
getBlasContext()
Sets up a context with an old stream
and a blas handle
|
void |
initHandle()
Initializes a handle and
associates with the given stream.
|
void |
initOldStream()
Initializes the old stream
|
void |
initStream()
Initializes the stream
|
void |
syncCublasStream() |
void |
syncOldStream()
Synchronizes
on the old stream
|
void |
syncOldStream(boolean syncCuBlas) |
void |
syncSpecialStream() |
void |
syncStream()
Synchronizes on the new
stream
|
public void attachReference(GarbageResourceReference ref)
public void syncStream()
public void syncOldStream()
public void syncSpecialStream()
public void syncOldStream(boolean syncCuBlas)
public void syncCublasStream()
public void associateHandle()
public void initStream()
public void initOldStream()
public void initHandle()
@Deprecated public void destroy(CublasPointer resultPointer, boolean freeIfNotEqual)
@Deprecated public void destroy()
public void finishBlasOperation()
public static CudaContext getBlasContext()
Copyright © 2016. All Rights Reserved.