public static interface DevicePropertiesProtos.DevicePropertiesOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsEnvironment(String key)
Version of the tools and libraries used with this device (e.g.
|
long |
getBandwidth()
Memory bandwidth in KB/s
|
Map<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 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
|
String |
getModel()
Model (Haswell, K40, ...)
|
org.nd4j.shade.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.
|
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, ...)
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getType()
Device type (CPU, GPU, ...)
string type = 1;
org.nd4j.shade.protobuf.ByteString getTypeBytes()
Device type (CPU, GPU, ...)
string type = 1;
String getVendor()
Vendor (Intel, nvidia, ...)
string vendor = 2;
org.nd4j.shade.protobuf.ByteString getVendorBytes()
Vendor (Intel, nvidia, ...)
string vendor = 2;
String getModel()
Model (Haswell, K40, ...)
string model = 3;
org.nd4j.shade.protobuf.ByteString getModelBytes()
Model (Haswell, K40, ...)
string model = 3;
long getFrequency()
Core Frequency in Mhz
int64 frequency = 4;
long getNumCores()
Number of cores
int64 num_cores = 5;
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;
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;
@Deprecated Map<String,String> getEnvironment()
getEnvironmentMap()
instead.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;
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;
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;
long getNumRegisters()
Number of registers per core.
int64 num_registers = 7;
long getL1CacheSize()
L1 cache size in bytes
int64 l1_cache_size = 8;
long getL2CacheSize()
L2 cache size in bytes
int64 l2_cache_size = 9;
long getL3CacheSize()
L3 cache size in bytes
int64 l3_cache_size = 10;
long getSharedMemorySizePerMultiprocessor()
Shared memory size per multiprocessor in bytes. This field is applicable to GPUs only.
int64 shared_memory_size_per_multiprocessor = 11;
long getMemorySize()
Memory size in bytes
int64 memory_size = 12;
long getBandwidth()
Memory bandwidth in KB/s
int64 bandwidth = 13;
Copyright © 2020. All rights reserved.