/external/tensorflow/tensorflow/contrib/nccl/kernels/ |
nccl_manager.cc | 70 : num_devices(members.size()), members(std::move(members)) {} 72 const int num_devices; member in struct:tensorflow::NcclManager::Communicator 139 ncclRedOp_t reduction_op_in, int num_devices) 143 remaining_participants(num_devices) { 144 participants.reserve(num_devices); 187 const int num_devices = collective->participants.size(); local 211 if (comm->num_devices == num_devices) { 213 for (i = 0; i < num_devices; ++i) { 219 if (i == num_devices) return comm.get() [all...] |
nccl_manager.h | 57 void AddToAllReduce(int num_devices, const string& key, 67 void AddBroadcastSend(int num_devices, const string& key, 72 void AddBroadcastRecv(int num_devices, const string& key, 80 void AddReduceSend(int num_devices, const string& key, 86 void AddReduceRecv(int num_devices, const string& key, 108 void AddParticipant(int num_devices, const string& key,
|
nccl_ops.cc | 42 OP_REQUIRES_OK(c, c->GetAttr("num_devices", &num_devices_)); 52 int num_devices() const { return num_devices_; } function in class:tensorflow::__anon39407::NcclAsyncOpBase 106 num_devices(), GetCollectiveKey(c), reduction_op(), 131 num_devices(), GetCollectiveKey(c), reduction_op(), 160 num_devices(), GetCollectiveKey(c), reduction_op(), 188 num_devices(), GetCollectiveKey(c), compute_stream->parent(), 220 num_devices(), GetCollectiveKey(c), compute_stream->parent(),
|
nccl_rewrite.cc | 34 int num_devices = node->num_inputs(); local 39 .Attr("num_devices", num_devices) 119 int num_devices = 0; // Number of distinct devices, incremented below. local 134 recv_index_map[dst_dev] = num_devices; 135 ++num_devices; 140 if (num_devices <= 1) { 162 .Attr("num_devices", num_devices)
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
context.cpp | 71 cl_uint num_devices; local 77 ret = clGetDeviceIDs(d_platform, type, 0, NULL, &num_devices); 80 devs.resize(num_devices); 81 ret = clGetDeviceIDs(d_platform, type, num_devices, devs.data(), 0); 85 return clCreateContext(d_props, num_devices, devs.data(), pfn_notify,
|
/bionic/libc/kernel/uapi/linux/ |
pktcdvd.h | 57 __u32 num_devices; member in struct:pkt_ctrl_command
|
/external/tensorflow/tensorflow/contrib/all_reduce/python/ |
all_reduce.py | 196 In the basic ring reduction algorithm there are size(T)/num_devices 317 num_devices = len(input_tensors) 318 if num_devices == 0: 320 if num_devices == 1: 325 num_chunks = num_devices * num_subchunks 326 num_ticks = num_devices - 1 330 for d in range(0, num_devices): 339 for d in range(0, num_devices): 343 seg_index = (rank + num_devices - (2 + tick)) % num_devices [all...] |
all_reduce_test.py | 121 num_devices = len(dev_list) 123 for d in range(0, num_devices): 143 num_devices = num_workers * num_gpus 145 for _ in range(num_devices)] 149 x, constant_op.constant(num_devices, dtype=types_pb2.DT_FLOAT))
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorDeviceCuda.h | 60 int num_devices; local 61 cudaError_t status = cudaGetDeviceCount(&num_devices); 68 m_deviceProperties = new cudaDeviceProp[num_devices]; 69 for (int i = 0; i < num_devices; ++i) { 119 int num_devices; local 120 cudaError_t err = cudaGetDeviceCount(&num_devices); 123 assert(device < num_devices);
|
/external/mesa3d/src/loader/ |
loader.c | 163 int i, num_devices, fd; local 182 num_devices = drmGetDevices(devices, MAX_DRM_DEVICES); 183 if (num_devices < 0) 195 for (i = 0; i < num_devices; i++) { 204 for (i = 0; i < num_devices; i++) { 215 drmFreeDevices(devices, num_devices); 220 drmFreeDevices(devices, num_devices);
|
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
audio_e2e_harness.cc | 70 int num_devices = 0; local 71 ASSERT_EQ(0, hardware->GetNumOfPlayoutDevices(num_devices)); 76 for (device_index = 0; device_index < num_devices; device_index++) {
|
/external/kernel-headers/original/uapi/linux/ |
pktcdvd.h | 101 __u32 num_devices; /* out: Largest device index + 1 */ member in struct:pkt_ctrl_command
|
/external/tensorflow/tensorflow/contrib/nccl/python/ops/ |
nccl_ops.py | 68 num_devices = op.get_attr('num_devices') 75 num_devices=num_devices, 227 num_devices=len(tensors),
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
pktcdvd.h | 100 __u32 num_devices; /* out: Largest device index + 1 */ member in struct:pkt_ctrl_command
|
/external/webrtc/webrtc/tools/agc/ |
agc_harness.cc | 158 int num_devices = 0; local 161 RTC_CHECK_EQ(0, hardware_->GetNumOfRecordingDevices(num_devices)); 163 for (int i = 0; i < num_devices; i++) { 167 RTC_CHECK_EQ(0, hardware_->GetNumOfPlayoutDevices(num_devices)); 169 for (int i = 0; i < num_devices; i++) {
|
/external/webrtc/talk/media/devices/ |
macdevicemanager.cc | 121 size_t num_devices = propsize / sizeof(AudioDeviceID); local 123 new AudioDeviceID[num_devices]); 133 for (size_t i = 0; i < num_devices; ++i) {
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_sharding.cc | 163 Status HloSharding::ValidateTuple(const Shape& shape, int64 num_devices) const { 187 ShapeUtil::GetSubshape(shape, index_to_sharding.first), num_devices); 199 Status HloSharding::Validate(const Shape& shape, int64 num_devices) const { 200 Status status = IsTuple() ? ValidateTuple(shape, num_devices) 201 : ValidateNonTuple(shape, num_devices); 211 int64 num_devices) const { 228 if (core >= num_devices) { 230 "core ", core, " > ", num_devices, " in tile assignment"));
|
hlo_sharding.h | 101 Status Validate(const Shape& shape, int64 num_devices) const; 237 Status ValidateTuple(const Shape& shape, int64 num_devices) const; 239 Status ValidateNonTuple(const Shape& shape, int64 num_devices) const;
|
/external/mesa3d/include/CL/ |
cl_dx9_media_sharing.h | 96 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_2;
|
cl_d3d10.h | 83 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_0;
|
cl_d3d11.h | 83 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_2;
|
/external/syslinux/extlinux/ |
btrfs.h | 70 uint64_t num_devices; member in struct:btrfs_super_block 168 __u64 num_devices; /* out */ member in struct:btrfs_ioctl_fs_info_args
|
/external/ImageMagick/MagickCore/ |
opencl-private.h | 77 cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0; 88 const cl_context_properties *properties,cl_uint num_devices, 136 cl_uint num_devices,const cl_device_id *device_list,const size_t *lengths, 146 cl_uint num_devices,const cl_device_id *device_list,const char *options,
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
rtt.cpp | 142 unsigned num_devices, 160 if (num_devices <= 0) { 179 ret = (wifi_error)lowiWifiHalApi->rtt_range_cancel(id, num_devices, addr);
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
rtt.cpp | 447 int createTeardownRequest(WifiRequest& request, unsigned num_devices, mac_addr addr[]) { 454 request.put_u8(RTT_ATTRIBUTE_TARGET_CNT, num_devices); 455 for(unsigned i = 0; i < num_devices; i++) { 502 int cancel_specific(unsigned num_devices, mac_addr addr[]) { 506 int result = createTeardownRequest(request, num_devices, addr); 652 unsigned num_devices, mac_addr addr[]) 657 cmd->cancel_specific(num_devices, addr);
|