Package physx.common

Class PxCudaContextManager

java.lang.Object
physx.NativeObject
physx.common.PxCudaContextManager

public class PxCudaContextManager extends NativeObject
  • 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

      public static PxCudaContextManager wrapPointer(long address)
    • arrayGet

      public static PxCudaContextManager arrayGet(long baseAddress, int index)
    • acquireContext

      public void acquireContext()
    • releaseContext

      public void releaseContext()
    • getContext

      public CUcontext getContext()
      Returns:
      WebIDL type: CUcontext
    • getCudaContext

      public PxCudaContext 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
    • getSharedMemPerBlock

      public int getSharedMemPerBlock()
      Returns:
      WebIDL type: long
    • getSharedMemPerMultiprocessor

      public int getSharedMemPerMultiprocessor()
      Returns:
      WebIDL type: long
    • getMaxThreadsPerBlock

      public int getMaxThreadsPerBlock()
      Returns:
      WebIDL type: unsigned long
    • getDeviceName

      public String getDeviceName()
      Returns:
      WebIDL type: DOMString [Const]
    • getDevice

      public CUdevice 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

      public CUmodule getCuModules()
      Returns:
      WebIDL type: CUmodule
    • release

      public void release()