Interface DevicePropertiesProtos.DevicePropertiesOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
DevicePropertiesProtos.DeviceProperties, DevicePropertiesProtos.DeviceProperties.Builder
- Enclosing class:
DevicePropertiesProtos
-
Method Summary
Modifier and TypeMethodDescriptionbooleanVersion of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)longMemory bandwidth in KB/sDeprecated.intVersion of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)getEnvironmentOrDefault(String key, String defaultValue) Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)longCore Frequency in MhzlongL1 cache size in byteslongL2 cache size in byteslongL3 cache size in byteslongMemory size in bytesgetModel()Model (Haswell, K40, ...)Model (Haswell, K40, ...)longNumber of coreslongNumber of registers per core.longShared memory size per multiprocessor in bytes.getType()Device type (CPU, GPU, ...)Device type (CPU, GPU, ...)Vendor (Intel, nvidia, ...)Vendor (Intel, nvidia, ...)Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getType
-
getTypeBytes
-
getVendor
-
getVendorBytes
ByteString getVendorBytes()Vendor (Intel, nvidia, ...)
string vendor = 2;- Returns:
- The bytes for vendor.
-
getModel
-
getModelBytes
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
Version of the tools and libraries used with this device (e.g. gcc 4.9, cudnn 5.1)
map<string, string> environment = 6; -
getEnvironment
-
getEnvironmentMap
-
getEnvironmentOrDefault
-
getEnvironmentOrThrow
-
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.
-
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.
-