Package tensorflow
Interface DevicePropertiesProtos.DevicePropertiesOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DevicePropertiesProtos.DeviceProperties
,DevicePropertiesProtos.DeviceProperties.Builder
- Enclosing class:
- DevicePropertiesProtos
public static interface DevicePropertiesProtos.DevicePropertiesOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsEnvironment(String key)
Version of the tools and libraries used with this device (e.g.long
getBandwidth()
Memory bandwidth in KB/sMap<String,String>
getEnvironment()
Deprecated.int
getEnvironmentCount()
Version of the tools and libraries used with this device (e.g.Map<String,String>
getEnvironmentMap()
Version of the tools and libraries used with this device (e.g.String
getEnvironmentOrDefault(String key, String defaultValue)
Version of the tools and libraries used with this device (e.g.String
getEnvironmentOrThrow(String key)
Version of the tools and libraries used with this device (e.g.long
getFrequency()
Core Frequency in Mhzlong
getL1CacheSize()
L1 cache size in byteslong
getL2CacheSize()
L2 cache size in byteslong
getL3CacheSize()
L3 cache size in byteslong
getMemorySize()
Memory size in bytesString
getModel()
Model (Haswell, K40, ...)org.nd4j.shade.protobuf.ByteString
getModelBytes()
Model (Haswell, K40, ...)long
getNumCores()
Number of coreslong
getNumRegisters()
Number of registers per core.long
getSharedMemorySizePerMultiprocessor()
Shared memory size per multiprocessor in bytes.String
getType()
Device type (CPU, GPU, ...)org.nd4j.shade.protobuf.ByteString
getTypeBytes()
Device type (CPU, GPU, ...)String
getVendor()
Vendor (Intel, nvidia, ...)org.nd4j.shade.protobuf.ByteString
getVendorBytes()
Vendor (Intel, nvidia, ...)-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getType
String getType()
Device type (CPU, GPU, ...)
string type = 1;
- Returns:
- The type.
-
getTypeBytes
org.nd4j.shade.protobuf.ByteString getTypeBytes()
Device type (CPU, GPU, ...)
string type = 1;
- Returns:
- The bytes for type.
-
getVendor
String getVendor()
Vendor (Intel, nvidia, ...)
string vendor = 2;
- Returns:
- The vendor.
-
getVendorBytes
org.nd4j.shade.protobuf.ByteString getVendorBytes()
Vendor (Intel, nvidia, ...)
string vendor = 2;
- Returns:
- The bytes for vendor.
-
getModel
String getModel()
Model (Haswell, K40, ...)
string model = 3;
- Returns:
- The model.
-
getModelBytes
org.nd4j.shade.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(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 Map<String,String> getEnvironment()
Deprecated.UsegetEnvironmentMap()
instead.
-
getEnvironmentMap
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;
-
getEnvironmentOrDefault
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;
-
getEnvironmentOrThrow
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;
-
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.
-
-