DevicePropertiesOrBuilder

public interface DevicePropertiesOrBuilder
Known Indirect Subclasses

Public Methods

abstract boolean
containsEnvironment(String key)
 Version of the tools and libraries used with this device (e.g.
abstract long
getBandwidth()
 Memory bandwidth in KB/s
 
int64 bandwidth = 13;
abstract Map<String, String>
abstract int
getEnvironmentCount()
 Version of the tools and libraries used with this device (e.g.
abstract Map<String, String>
getEnvironmentMap()
 Version of the tools and libraries used with this device (e.g.
abstract String
getEnvironmentOrDefault(String key, String defaultValue)
 Version of the tools and libraries used with this device (e.g.
abstract String
getEnvironmentOrThrow(String key)
 Version of the tools and libraries used with this device (e.g.
abstract long
getFrequency()
 Core Frequency in Mhz
 
int64 frequency = 4;
abstract long
getL1CacheSize()
 L1 cache size in bytes
 
int64 l1_cache_size = 8;
abstract long
getL2CacheSize()
 L2 cache size in bytes
 
int64 l2_cache_size = 9;
abstract long
getL3CacheSize()
 L3 cache size in bytes
 
int64 l3_cache_size = 10;
abstract long
getMemorySize()
 Memory size in bytes
 
int64 memory_size = 12;
abstract String
getModel()
 Model (Haswell, K40, ...)
 
string model = 3;
abstract com.google.protobuf.ByteString
getModelBytes()
 Model (Haswell, K40, ...)
 
string model = 3;
abstract long
getNumCores()
 Number of cores
 
int64 num_cores = 5;
abstract long
getNumRegisters()
 Number of registers per core.
abstract long
getSharedMemorySizePerMultiprocessor()
 Shared memory size per multiprocessor in bytes.
abstract String
getType()
 Device type (CPU, GPU, ...)
 
string type = 1;
abstract com.google.protobuf.ByteString
getTypeBytes()
 Device type (CPU, GPU, ...)
 
string type = 1;
abstract String
getVendor()
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;
abstract com.google.protobuf.ByteString
getVendorBytes()
 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

Public Methods

public abstract boolean containsEnvironment (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;

public abstract long getBandwidth ()

 Memory bandwidth in KB/s
 
int64 bandwidth = 13;

public abstract Map<String, String> getEnvironment ()

Use getEnvironmentMap() instead.

public abstract 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;

public abstract Map<String, 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;

public abstract String getEnvironmentOrDefault (String key, 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;

public abstract String getEnvironmentOrThrow (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;

public abstract long getFrequency ()

 Core Frequency in Mhz
 
int64 frequency = 4;

public abstract long getL1CacheSize ()

 L1 cache size in bytes
 
int64 l1_cache_size = 8;

public abstract long getL2CacheSize ()

 L2 cache size in bytes
 
int64 l2_cache_size = 9;

public abstract long getL3CacheSize ()

 L3 cache size in bytes
 
int64 l3_cache_size = 10;

public abstract long getMemorySize ()

 Memory size in bytes
 
int64 memory_size = 12;

public abstract String getModel ()

 Model (Haswell, K40, ...)
 
string model = 3;

public abstract com.google.protobuf.ByteString getModelBytes ()

 Model (Haswell, K40, ...)
 
string model = 3;

public abstract long getNumCores ()

 Number of cores
 
int64 num_cores = 5;

public abstract long getNumRegisters ()

 Number of registers per core.
 
int64 num_registers = 7;

public abstract long getSharedMemorySizePerMultiprocessor ()

 Shared memory size per multiprocessor in bytes. This field is
 applicable to GPUs only.
 
int64 shared_memory_size_per_multiprocessor = 11;

public abstract String getType ()

 Device type (CPU, GPU, ...)
 
string type = 1;

public abstract com.google.protobuf.ByteString getTypeBytes ()

 Device type (CPU, GPU, ...)
 
string type = 1;

public abstract String getVendor ()

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;

public abstract com.google.protobuf.ByteString getVendorBytes ()

 Vendor (Intel, nvidia, ...)
 
string vendor = 2;