java.lang.Object
physx.NativeObject
physx.common.PxCudaContextManager
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic PxCudaContextManagerarrayGet(long baseAddress, int index) booleanbooleanintlongintintintintintbooleanbooleanvoidrelease()voidvoidsetUsingConcurrentStreams(boolean flag) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintstatic PxCudaContextManagerwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxCudaContextManager
protected PxCudaContextManager() -
PxCudaContextManager
protected PxCudaContextManager(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
acquireContext
public void acquireContext() -
releaseContext
public void releaseContext() -
getContext
- Returns:
- WebIDL type:
CUcontext
-
getCudaContext
- Returns:
- WebIDL type:
PxCudaContext
-
contextIsValid
public boolean contextIsValid()- Returns:
- WebIDL type: boolean
-
supportsArchSM10
public boolean supportsArchSM10()- Returns:
- WebIDL type: boolean
-
supportsArchSM11
public boolean supportsArchSM11()- Returns:
- WebIDL type: boolean
-
supportsArchSM12
public boolean supportsArchSM12()- Returns:
- WebIDL type: boolean
-
supportsArchSM13
public boolean supportsArchSM13()- Returns:
- WebIDL type: boolean
-
supportsArchSM20
public boolean supportsArchSM20()- Returns:
- WebIDL type: boolean
-
supportsArchSM30
public boolean supportsArchSM30()- Returns:
- WebIDL type: boolean
-
supportsArchSM35
public boolean supportsArchSM35()- Returns:
- WebIDL type: boolean
-
supportsArchSM50
public boolean supportsArchSM50()- Returns:
- WebIDL type: boolean
-
supportsArchSM52
public boolean supportsArchSM52()- Returns:
- WebIDL type: boolean
-
supportsArchSM60
public boolean supportsArchSM60()- Returns:
- WebIDL type: boolean
-
isIntegrated
public boolean isIntegrated()- Returns:
- WebIDL type: boolean
-
canMapHostMemory
public boolean canMapHostMemory()- Returns:
- WebIDL type: boolean
-
getDriverVersion
public int getDriverVersion()- Returns:
- WebIDL type: long
-
getDeviceTotalMemBytes
public long getDeviceTotalMemBytes()- Returns:
- WebIDL type: unsigned long long
-
getMultiprocessorCount
public int getMultiprocessorCount()- Returns:
- WebIDL type: long
-
getClockRate
public int getClockRate()- Returns:
- WebIDL type: unsigned long
-
getMaxThreadsPerBlock
public int getMaxThreadsPerBlock()- Returns:
- WebIDL type: unsigned long
-
getDeviceName
- Returns:
- WebIDL type: DOMString [Const]
-
getDevice
- Returns:
- WebIDL type:
CUdevice
-
setUsingConcurrentStreams
public void setUsingConcurrentStreams(boolean flag) - Parameters:
flag- WebIDL type: boolean
-
getUsingConcurrentStreams
public boolean getUsingConcurrentStreams()- Returns:
- WebIDL type: boolean
-
usingDedicatedGPU
public int usingDedicatedGPU()- Returns:
- WebIDL type: long
-
getCuModules
- Returns:
- WebIDL type:
CUmodule
-
release
public void release()
-