/external/mesa3d/src/gallium/drivers/i915/ |
i915_flush.c | 48 if (!i915->batch) 54 if (!fence && (i915->batch->map == i915->batch->ptr)) { 79 struct i915_winsys_batchbuffer *batch = i915->batch; local 81 batch->iws->batchbuffer_flush(batch, fence, flags);
|
/external/skia/src/core/ |
SkTaskGroup.cpp | 21 void SkTaskGroup::batch(int N, std::function<void(int)> fn) { function in class:SkTaskGroup
|
/external/skqp/src/core/ |
SkTaskGroup.cpp | 21 void SkTaskGroup::batch(int N, std::function<void(int)> fn) { function in class:SkTaskGroup
|
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
JDBCPreparedStatement.java | 27 private ArrayList<BatchArg> batch; field in class:JDBCPreparedStatement 35 this.batch = null; 386 if (batch == null) { 387 batch = new ArrayList<BatchArg>(args.length); 390 batch.add(new BatchArg(args[i], blobs[i])); 395 if (batch == null) { 398 int[] ret = new int[batch.size() / args.length]; 406 BatchArg b = (BatchArg) batch.get(index++); 418 throw new BatchUpdateException("batch failed", ret); 424 if (batch != null) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
eigen_activations_test.cc | 30 const ptrdiff_t batch = 10; local 34 Tensor<float, 4> input(depth, rows, cols, batch); 37 Tensor<float, 4> result(depth, rows, cols, batch); 40 for (int b = 0; b < batch; ++b) { 54 const ptrdiff_t batch = 10; local 58 Tensor<float, 4> input(depth, rows, cols, batch); 61 Tensor<float, 4> result(depth, rows, cols, batch); 64 for (int b = 0; b < batch; ++b) { 78 const ptrdiff_t batch = 10; local 82 Tensor<float, 4> input(depth, rows, cols, batch); [all...] |
eigen_softmax_test.cc | 30 const int batch = 32; local 33 Tensor<float, 2> input(depth, batch); 36 Tensor<float, 2> reference(depth, batch); 46 dims2d[1] = batch; 59 for (int j = 0; j < batch; ++j) {
|
cwise_op_gpu_select.cu.cc | 64 const int batch = cond_vec.size(); local 69 Eigen::Tensor<int, 2>::Dimensions reshape_dims{{ batch, 1 }}; 74 reshape_dims.set(0, batch);
|
eigen_attention_test.cc | 30 const ptrdiff_t batch = 10; local 36 Tensor<float, 4> input(depth, rows, cols, batch); 40 offsets.resize(batch); 41 for (int i = 0; i < batch; ++i) { 46 Tensor<float, 4> result(depth, glimpse_rows, glimpse_cols, batch); 49 for (int b = 0; b < batch; ++b) { 66 const ptrdiff_t batch = 10; local 72 Tensor<float, 4> input(depth, rows, cols, batch); 76 offsets.resize(batch); 77 for (int i = 0; i < batch; ++i) [all...] |
eye_functor_gpu.cu.cc | 42 const int batch = global_row / m; local 43 const int row = global_row - batch * m;
|
matrix_set_diag_op_gpu.cu.cc | 35 const int batch = index / minsize; local 36 const int col = index - batch * minsize; 37 const int out_index = batch * m * n + (n + 1) * col; 49 const int batch = global_row / m; local 50 const int row = global_row - batch * m; 54 output_ptr[index] = diag_ptr[batch * minsize + col];
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_fence.c | 88 struct fd_batch *batch = ctx->batch; local 90 if (sync_accumulate("freedreno", &batch->in_fence_fd, fence->fence_fd)) {
|
/external/mesa3d/src/intel/vulkan/ |
genX_state.c | 42 struct anv_batch batch; local 45 batch.start = batch.next = cmds; 46 batch.end = (void *) cmds + sizeof(cmds); 48 anv_batch_emit(&batch, GENX(PIPELINE_SELECT), ps) { 55 anv_batch_emit(&batch, GENX(3DSTATE_VF_STATISTICS), vfs) 58 anv_batch_emit(&batch, GENX(3DSTATE_AA_LINE_PARAMETERS), aa); 60 anv_batch_emit(&batch, GENX(3DSTATE_DRAWING_RECTANGLE), rect) { 70 anv_batch_emit(&batch, GENX(3DSTATE_WM_CHROMAKEY), ck); 75 anv_batch_emit(&batch, GENX(3DSTATE_SAMPLE_PATTERN), sp) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_batchbuffer.c | 43 intel->batch.cpu_map = malloc(intel->maxBatchSize); 44 intel->batch.map = intel->batch.cpu_map; 50 if (intel->batch.last_bo != NULL) { 51 drm_intel_bo_unreference(intel->batch.last_bo); 52 intel->batch.last_bo = NULL; 54 intel->batch.last_bo = intel->batch.bo; 56 intel->batch.bo = drm_intel_bo_alloc(intel->bufmgr, "batchbuffer", 59 intel->batch.reserved_space = BATCH_RESERVED 75 struct intel_batchbuffer *batch = &intel->batch; local 116 struct intel_batchbuffer *batch = &intel->batch; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_state_batch.c | 44 struct intel_batchbuffer *batch = &brw->batch; local 52 batch->bo->size / 32); 76 * Generate a set of aub file annotations for the current batch buffer, and 79 * The "used" section of the batch buffer (the portion containing batch 81 * batch buffer (which contains data structures pointed to by batch commands) 91 4 * USED_BATCH(brw->batch)); 102 drm_intel_bufmgr_gem_set_aub_annotations(brw->batch.bo, annotations 129 struct intel_batchbuffer *batch = &brw->batch; local [all...] |
/external/swiftshader/src/Shader/ |
VertexRoutine.hpp | 28 VertexRoutinePrototype() : vertex(Arg<0>()), batch(Arg<1>()), task(Arg<2>()), data(Arg<3>()) {} 33 Pointer<Byte> batch; member in class:sw::VertexRoutinePrototype
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/linear_regression/ |
linear_regression.py | 120 def batch(_): function in function:synthetic_dataset_helper 126 return tf.data.Dataset.range(num_batches).map(batch)
|
/external/tensorflow/tensorflow/core/kernels/batching_util/ |
batch_scheduler_test.cc | 41 Batch<FakeTask> batch; local 43 EXPECT_EQ(0, batch.num_tasks()); 44 EXPECT_TRUE(batch.empty()); 45 EXPECT_EQ(0, batch.size()); 46 EXPECT_FALSE(batch.IsClosed()); 49 batch.AddTask(std::unique_ptr<FakeTask>(task0)); 51 EXPECT_EQ(1, batch.num_tasks()); 52 EXPECT_FALSE(batch.empty()); 53 EXPECT_EQ(task0->size(), batch.size()) 84 Batch<FakeTask> batch; local 98 Batch<FakeTask>* batch = new Batch<FakeTask>; local [all...] |
/frameworks/native/services/sensorservice/ |
SensorInterface.cpp | 65 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, function in class:android::HardwareSensor 67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs,
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
DynamicSensorManager.cpp | 95 int DynamicSensorManager::batch(int handle, nsecs_t sample_period, nsecs_t batch_period) { function in class:android::DynamicSensorManager 102 return s->batch(sample_period, batch_period); 107 return batch(handle, sample_period, 0);
|
/system/libhidl/transport/allocator/1.0/default/ |
AshmemAllocator.cpp | 68 hidl_vec<hidl_memory> batch; local 69 batch.resize(count); 73 batch[allocated] = allocateOne(size); 75 if (batch[allocated].handle() == nullptr) { 81 // batch[i].handle() != nullptr for i in [0, allocated - 1]. 82 // batch[i].handle() == nullptr for i in [allocated, count - 1]. 87 _hidl_cb(true /* success */, batch); 91 cleanup(std::move(batch[i]));
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_dense_alloc.h | 107 T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), "DenseSlabAllocator"); local 111 new(batch + i) T; 112 *(IndexT*)(batch + i) = i + 1 + fillpos_ * kL2Size; 114 *(IndexT*)(batch + kL2Size - 1) = 0; 116 map_[fillpos_++] = batch;
|
/external/eigen/unsupported/test/ |
cxx11_tensor_volume_patch.cpp | 45 const int batch = 7; local 47 Tensor<float, 5> tensor(depth, patch_z, patch_y, patch_x, batch); 58 VERIFY_IS_EQUAL(entire_volume_patch.dimension(5), batch); 62 VERIFY_IS_EQUAL(entire_volume_patch_row_major.dimension(0), batch); 84 for (int b = 0; b < batch; b++) {
|
/external/iproute2/bridge/ |
bridge.c | 37 " bridge [ -force ] -batch filename\n" 78 static int batch(const char *name) function 178 } else if (matches(opt, "-batch") == 0) { 196 return batch(batch_file);
|
/external/jsoncpp/src/lib_json/ |
json_batchallocator.h | 18 * This memory allocator allocates memory for a batch of object (specified by 44 for (BatchInfo* batch = batches_; batch;) { 45 BatchInfo* nextBatch = batch->next_; 46 free(batch); 47 batch = nextBatch; 66 if (!currentBatch_) // no free batch found, allocate a new one 103 BatchInfo* batch = static_cast<BatchInfo*>(malloc(mallocSize)); local 104 batch->next_ = 0; 105 batch->used_ = batch->buffer_ [all...] |
/external/libdrm/tests/exynos/ |
exynos_fimg2d_perf.c | 110 unsigned buf_width, unsigned buf_height, unsigned iterations, unsigned batch) 119 images = calloc(batch, sizeof(struct g2d_image)); 125 for (i = 0; i < batch; ++i) { 136 printf("starting multi G2D performance test (batch size = %u)\n", batch); 146 for (j = 0; j < batch; ++j) { 209 fprintf(stderr, "\t-b <size of a batch> (default = 3)\n\n"); 227 unsigned int iters = 0, batch = 3; local 240 if (sscanf(optarg, "%u", &batch) != 1) 312 ret = fimg2d_perf_multi(bo, ctx, bufw, bufh, iters, batch); [all...] |