Interface DevicePropertiesProtos.DevicePropertiesOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsEnvironment​(java.lang.String key)
      Version of the tools and libraries used with this device (e.g.
      long getBandwidth()
      Memory bandwidth in KB/s
      java.util.Map<java.lang.String,​java.lang.String> getEnvironment()
      Deprecated.
      int getEnvironmentCount()
      Version of the tools and libraries used with this device (e.g.
      java.util.Map<java.lang.String,​java.lang.String> getEnvironmentMap()
      Version of the tools and libraries used with this device (e.g.
      java.lang.String getEnvironmentOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Version of the tools and libraries used with this device (e.g.
      java.lang.String getEnvironmentOrThrow​(java.lang.String key)
      Version of the tools and libraries used with this device (e.g.
      long getFrequency()
      Core Frequency in Mhz
      long getL1CacheSize()
      L1 cache size in bytes
      long getL2CacheSize()
      L2 cache size in bytes
      long getL3CacheSize()
      L3 cache size in bytes
      long getMemorySize()
      Memory size in bytes
      java.lang.String getModel()
      Model (Haswell, K40, ...)
      com.google.protobuf.ByteString getModelBytes()
      Model (Haswell, K40, ...)
      long getNumCores()
      Number of cores
      long getNumRegisters()
      Number of registers per core.
      long getSharedMemorySizePerMultiprocessor()
      Shared memory size per multiprocessor in bytes.
      java.lang.String getType()
      Device type (CPU, GPU, ...)
      com.google.protobuf.ByteString getTypeBytes()
      Device type (CPU, GPU, ...)
      java.lang.String getVendor()
      Vendor (Intel, nvidia, ...)
      com.google.protobuf.ByteString getVendorBytes()
      Vendor (Intel, nvidia, ...)
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getType

        java.lang.String getType()
         Device type (CPU, GPU, ...)
         
        string type = 1;
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         Device type (CPU, GPU, ...)
         
        string type = 1;
        Returns:
        The bytes for type.
      • getVendor

        java.lang.String getVendor()
         Vendor (Intel, nvidia, ...)
         
        string vendor = 2;
        Returns:
        The vendor.
      • getVendorBytes

        com.google.protobuf.ByteString getVendorBytes()
         Vendor (Intel, nvidia, ...)
         
        string vendor = 2;
        Returns:
        The bytes for vendor.
      • getModel

        java.lang.String getModel()
         Model (Haswell, K40, ...)
         
        string model = 3;
        Returns:
        The model.
      • getModelBytes

        com.google.protobuf.ByteString getModelBytes()
         Model (Haswell, K40, ...)
         
        string model = 3;
        Returns:
        The bytes for model.
      • getFrequency

        long getFrequency()
         Core Frequency in Mhz
         
        int64 frequency = 4;
        Returns:
        The frequency.
      • getNumCores

        long getNumCores()
         Number of cores
         
        int64 num_cores = 5;
        Returns:
        The numCores.
      • getEnvironmentCount

        int getEnvironmentCount()
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • containsEnvironment

        boolean containsEnvironment​(java.lang.String key)
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • getEnvironment

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getEnvironment()
        Deprecated.
        Use getEnvironmentMap() instead.
      • getEnvironmentMap

        java.util.Map<java.lang.String,​java.lang.String> getEnvironmentMap()
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • getEnvironmentOrDefault

        java.lang.String getEnvironmentOrDefault​(java.lang.String key,
                                                 java.lang.String defaultValue)
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • getEnvironmentOrThrow

        java.lang.String getEnvironmentOrThrow​(java.lang.String key)
         Version of the tools and libraries used with this device (e.g. gcc 4.9,
         cudnn 5.1)
         
        map<string, string> environment = 6;
      • getNumRegisters

        long getNumRegisters()
         Number of registers per core.
         
        int64 num_registers = 7;
        Returns:
        The numRegisters.
      • getL1CacheSize

        long getL1CacheSize()
         L1 cache size in bytes
         
        int64 l1_cache_size = 8;
        Returns:
        The l1CacheSize.
      • getL2CacheSize

        long getL2CacheSize()
         L2 cache size in bytes
         
        int64 l2_cache_size = 9;
        Returns:
        The l2CacheSize.
      • getL3CacheSize

        long getL3CacheSize()
         L3 cache size in bytes
         
        int64 l3_cache_size = 10;
        Returns:
        The l3CacheSize.
      • getSharedMemorySizePerMultiprocessor

        long getSharedMemorySizePerMultiprocessor()
         Shared memory size per multiprocessor in bytes. This field is
         applicable to GPUs only.
         
        int64 shared_memory_size_per_multiprocessor = 11;
        Returns:
        The sharedMemorySizePerMultiprocessor.
      • getMemorySize

        long getMemorySize()
         Memory size in bytes
         
        int64 memory_size = 12;
        Returns:
        The memorySize.
      • getBandwidth

        long getBandwidth()
         Memory bandwidth in KB/s
         
        int64 bandwidth = 13;
        Returns:
        The bandwidth.