Home
last modified time | relevance | path

Searched refs:coord (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/external/tensorflow/tensorflow/python/training/
Dcoordinator_test.py30 def StopOnEvent(coord, wait_for_stop, set_when_stopped): argument
32 coord.request_stop()
36 def RaiseOnEvent(coord, wait_for_stop, set_when_stopped, ex, report_exception): argument
42 coord.request_stop(e)
44 coord.request_stop(sys.exc_info())
50 def RaiseOnEventUsingContextHandler(coord, wait_for_stop, set_when_stopped, ex): argument
51 with coord.stop_on_exception():
58 def SleepABit(n_secs, coord=None): argument
59 if coord:
60 coord.register_thread(threading.current_thread())
[all …]
Dqueue_runner_impl.py239 def _run(self, sess, enqueue_op, coord=None): argument
254 if coord and coord.should_stop():
272 if coord:
273 coord.request_stop(e)
285 def _close_on_stop(self, sess, cancel_op, coord): argument
293 coord.wait_for_stop()
301 def create_threads(self, sess, coord=None, daemon=False, start=False): argument
342 args=(sess, op, coord),
344 if coord:
347 args=(sess, self._cancel_op, coord),
[all …]
Dqueue_runner_test.py143 coord = coordinator.Coordinator()
144 coord.request_stop()
145 threads = qr.create_threads(sess, coord)
151 coord.join()
160 coord = coordinator.Coordinator()
161 threads = qr.create_threads(sess, coord)
166 coord.join()
175 coord = coordinator.Coordinator()
176 qr.create_threads(sess, coord, start=True)
180 coord.request_stop()
[all …]
/external/tensorflow/tensorflow/cc/training/
Dcoordinator_test.cc32 void WaitForStopThread(Coordinator* coord, Notification* about_to_wait, in WaitForStopThread() argument
35 coord->WaitForStop(); in WaitForStopThread()
40 Coordinator coord; in TEST() local
41 EXPECT_EQ(coord.ShouldStop(), false); in TEST()
46 std::bind(&WaitForStopThread, &coord, &about_to_wait, &done)); in TEST()
51 TF_EXPECT_OK(coord.RequestStop()); in TEST()
53 EXPECT_TRUE(coord.ShouldStop()); in TEST()
58 explicit MockQueueRunner(Coordinator* coord) { in MockQueueRunner() argument
59 coord_ = coord; in MockQueueRunner()
65 MockQueueRunner(Coordinator* coord, int* join_counter) in MockQueueRunner() argument
[all …]
/external/mesa3d/src/mesa/main/
Dtexgen.c48 GLenum coord) in get_texgen() argument
51 return (coord == GL_TEXTURE_GEN_STR_OES) in get_texgen()
55 switch (coord) { in get_texgen()
71 _mesa_TexGenfv( GLenum coord, GLenum pname, const GLfloat *params ) in _mesa_TexGenfv() argument
79 _mesa_enum_to_string(coord), in _mesa_TexGenfv()
91 texgen = get_texgen(ctx, texUnit, coord); in _mesa_TexGenfv()
112 if (coord == GL_S || coord == GL_T) in _mesa_TexGenfv()
116 if (coord != GL_Q) in _mesa_TexGenfv()
120 if (coord != GL_Q) in _mesa_TexGenfv()
183 ctx->Driver.TexGen( ctx, coord, pname, params ); in _mesa_TexGenfv()
[all …]
Dtexgen.h36 _mesa_TexGenfv( GLenum coord, GLenum pname, const GLfloat *params );
38 _mesa_TexGeniv(GLenum coord, GLenum pname, const GLint *params );
40 _mesa_TexGend(GLenum coord, GLenum pname, GLdouble param );
42 _mesa_TexGendv(GLenum coord, GLenum pname, const GLdouble *params );
44 _mesa_TexGenf( GLenum coord, GLenum pname, GLfloat param );
46 _mesa_TexGeni( GLenum coord, GLenum pname, GLint param );
48 _mesa_GetTexGendv( GLenum coord, GLenum pname, GLdouble *params );
50 _mesa_GetTexGenfv( GLenum coord, GLenum pname, GLfloat *params );
52 _mesa_GetTexGeniv( GLenum coord, GLenum pname, GLint *params );
56 _es_GetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/
Dgenerator_io_test.py50 coord = coordinator.Coordinator()
51 threads = queue_runner_impl.start_queue_runners(session, coord=coord)
62 coord.request_stop()
63 coord.join(threads)
76 coord = coordinator.Coordinator()
77 threads = queue_runner_impl.start_queue_runners(session, coord=coord)
86 coord.request_stop()
87 coord.join(threads)
109 coord = coordinator.Coordinator()
110 threads = queue_runner_impl.start_queue_runners(session, coord=coord)
[all …]
Dgraph_io_test.py340 coord = coordinator.Coordinator()
341 threads = queue_runner_impl.start_queue_runners(session, coord=coord)
349 coord.request_stop()
350 coord.join(threads)
393 coord = coordinator.Coordinator()
394 threads = queue_runner_impl.start_queue_runners(session, coord=coord)
398 while not coord.should_stop():
403 coord.request_stop()
405 coord.join(threads)
448 coord = coordinator.Coordinator()
[all …]
Dpandas_io_test.py49 coord = coordinator.Coordinator()
50 threads = queue_runner_impl.start_queue_runners(session, coord=coord)
52 coord.request_stop()
53 coord.join(threads)
93 coord = coordinator.Coordinator()
94 threads = queue_runner_impl.start_queue_runners(session, coord=coord)
104 coord.request_stop()
105 coord.join(threads)
122 coord = coordinator.Coordinator()
123 threads = queue_runner_impl.start_queue_runners(session, coord=coord)
[all …]
/external/mesa3d/src/mesa/math/
Dm_dotprod_tmp.h39 GLfloat *coord = coord_vec->start; in TAG() local
46 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) { in TAG()
47 *out = (coord[0] * plane0 + in TAG()
48 coord[1] * plane1 + in TAG()
59 GLfloat *coord = coord_vec->start; in TAG() local
67 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) { in TAG()
68 *out = (coord[0] * plane0 + in TAG()
69 coord[1] * plane1 + in TAG()
70 coord[2] * plane2 + in TAG()
81 GLfloat *coord = coord_vec->start; in TAG() local
[all …]
/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp109 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordD…
113 …texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBo…
114 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBo…
115 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBo…
116 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBo…
117 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBo…
118 …texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBo…
119 …sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBo…
125 …r, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ,…
126 …TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ,…
[all …]
DtcuTexLookupVerifier.cpp595 const Vec2& coord, in isNearestSampleResultValid() argument
599 …mputeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth(), coord.x(), prec.coordBit… in isNearestSampleResultValid()
600 …puteNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(), coord.y(), prec.coordBit… in isNearestSampleResultValid()
630 const Vec3& coord, in isNearestSampleResultValid() argument
633 …mputeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth(), coord.x(), prec.coordBit… in isNearestSampleResultValid()
634 …puteNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(), coord.y(), prec.coordBit… in isNearestSampleResultValid()
635 …mputeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getDepth(), coord.z(), prec.coordBit… in isNearestSampleResultValid()
723 const Vec2& coord, in isLinearSampleResultValid() argument
727 …mputeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth(), coord.x(), prec.coordBit… in isLinearSampleResultValid()
728 …puteNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(), coord.y(), prec.coordBit… in isLinearSampleResultValid()
[all …]
DtcuTexCompareVerifier.hpp55 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBo…
56 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBo…
57 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBo…
59 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&off…
60 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&off…
62 …ure, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, float cmpReferenc…
/external/tensorflow/tensorflow/contrib/training/python/training/
Dfeeding_queue_runner_test.py53 coord = coordinator.Coordinator()
54 threads = queue_runner_impl.start_queue_runners(sess=sess, coord=coord)
64 coord.request_stop()
65 coord.join(threads)
74 coord = coordinator.Coordinator()
75 threads = queue_runner_impl.start_queue_runners(sess=sess, coord=coord)
81 coord.request_stop()
82 coord.join(threads)
95 coord = coordinator.Coordinator()
96 threads = queue_runner_impl.start_queue_runners(sess=sess, coord=coord)
[all …]
Dsampling_ops_test.py176 coord = coordinator.Coordinator()
177 threads = queue_runner_impl.start_queue_runners(coord=coord)
181 coord.request_stop()
182 coord.join(threads)
201 coord = coordinator.Coordinator()
202 threads = queue_runner_impl.start_queue_runners(coord=coord)
206 coord.request_stop()
207 coord.join(threads)
257 coord = coordinator.Coordinator()
258 threads = queue_runner_impl.start_queue_runners(coord=coord)
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_vb_cliptmp.h54 INTERP_4F( t, coord[newvert], coord[idx], coord[idxPrev]); \
60 INTERP_4F( t, coord[newvert], coord[idxPrev], coord[idx]); \
123 GLfloat (*coord)[4] = VB->ClipPtr->data; in TAG() local
151 INTERP_4F( t0, coord[newvert], coord[v0], coord[v1] ); in TAG()
165 INTERP_4F( t1, coord[newvert], coord[v1], coord[v0_orig] ); in TAG()
192 GLfloat (*coord)[4] = VB->ClipPtr->data; in TAG() local
208 coord[j][0], coord[j][1], coord[j][2], coord[j][3]); in TAG()
209 assert(!IS_INF_OR_NAN(coord[j][0])); in TAG()
210 assert(!IS_INF_OR_NAN(coord[j][1])); in TAG()
211 assert(!IS_INF_OR_NAN(coord[j][2])); in TAG()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp86 bool SampleVerifier::coordOutOfRange (const IVec3& coord, int compNdx, int level) const in coordOutOfRange() argument
90 return coord[compNdx] < 0 || coord[compNdx] >= m_levels[level].getSize()[compNdx]; in coordOutOfRange()
93 void SampleVerifier::fetchTexelWrapped (const IVec3& coord, in fetchTexelWrapped() argument
103 pixelPtr = m_levels[level].getPixelPtr(coord[0], layer, 0); in fetchTexelWrapped()
107 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], layer); in fetchTexelWrapped()
111 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], coord[2]); in fetchTexelWrapped()
119 …const tcu::Vec4 refPix = (m_imParams.dim == IMG_DIM_1D) ? levelAccess.getPixel(coord[0], lay… in fetchTexelWrapped()
120 … == IMG_DIM_2D || m_imParams.dim == IMG_DIM_CUBE) ? levelAccess.getPixel(coord[0], coord[1], layer) in fetchTexelWrapped()
121 : levelAccess.getPixel(coord[0], coord[1], coord[2]); in fetchTexelWrapped()
135 IVec3 coord = coordIn; in fetchTexel() local
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.structin.vert.out4 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
7 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
12 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
21 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
28 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
35 0:11 coord: direct index for structure ( temp 4-component vector of float)
36 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
44 0:12 coord: direct index for structure ( temp 4-component vector of float)
45 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
56 …array of 4-component vector of float m, temp 4-component vector of float coord, temp 4-component…
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c80 LLVMValueRef coord, in lp_build_sample_wrap_nearest_int() argument
99 coord = LLVMBuildAnd(builder, coord, length_minus_one, ""); in lp_build_sample_wrap_nearest_int()
108 coord = lp_build_fract_safe(coord_bld, coord_f); in lp_build_sample_wrap_nearest_int()
109 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_nearest_int()
110 coord = lp_build_itrunc(coord_bld, coord); in lp_build_sample_wrap_nearest_int()
115 coord = lp_build_max(int_coord_bld, coord, int_coord_bld->zero); in lp_build_sample_wrap_nearest_int()
116 coord = lp_build_min(int_coord_bld, coord, length_minus_one); in lp_build_sample_wrap_nearest_int()
129 lp_build_sample_partial_offset(int_coord_bld, block_length, coord, stride, in lp_build_sample_wrap_nearest_int()
146 LLVMValueRef coord, in lp_build_sample_wrap_nearest_float() argument
162 coord = lp_build_add(coord_bld, coord, offset); in lp_build_sample_wrap_nearest_float()
[all …]
Dlp_bld_sample_soa.c227 LLVMValueRef coord, boolean posOnly) in lp_build_coord_mirror() argument
239 coord = lp_build_mul(coord_bld, coord, half); in lp_build_coord_mirror()
240 fract = lp_build_round(coord_bld, coord); in lp_build_coord_mirror()
241 fract = lp_build_sub(coord_bld, coord, fract); in lp_build_coord_mirror()
242 coord = lp_build_add(coord_bld, fract, fract); in lp_build_coord_mirror()
251 coord = lp_build_abs(coord_bld, coord); in lp_build_coord_mirror()
254 coord = lp_build_max_ext(coord_bld, coord, coord_bld->zero, in lp_build_coord_mirror()
258 return coord; in lp_build_coord_mirror()
311 LLVMValueRef coord, in lp_build_sample_wrap_linear() argument
332 coord = lp_build_mul(coord_bld, coord, length_f); in lp_build_sample_wrap_linear()
[all …]
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_txf_ms.c48 nir_ssa_def *coord = instr->src[coord_index].src.ssa; in vc4_nir_lower_txf_ms_instr() local
52 coord = nir_ishl(b, coord, nir_imm_int(b, 1)); in vc4_nir_lower_txf_ms_instr()
53 coord = nir_vec2(b, in vc4_nir_lower_txf_ms_instr()
55 nir_channel(b, coord, 0), in vc4_nir_lower_txf_ms_instr()
58 nir_channel(b, coord, 1), in vc4_nir_lower_txf_ms_instr()
63 nir_src_for_ssa(coord)); in vc4_nir_lower_txf_ms_instr()
/external/spirv-llvm/test/SPIRV/transcoding/
DOpImageWrite.ll2 ;;void sample_kernel_write(float4 input, write_only image2d_t output, int2 coord)
4 ;; write_imagef( output, coord , 5, input);
5 ;; write_imagef( output, coord , input);
17 ; CHECK-SPIRV: ImageWrite [[image:[0-9]+]] [[coord:[0-9]+]] [[texel:[0-9]+]] 2 [[lod]]
18 ; CHECK-SPIRV: ImageWrite [[image]] [[coord]] [[texel]]
27 …le_kernel_write(<4 x float> %input, %opencl.image2d_t addrspace(1)* %output, <2 x i32> %coord) #0 {
29 …cl_image2dDv2_iiDv4_f(%opencl.image2d_t addrspace(1)* %output, <2 x i32> %coord, i32 5, <4 x float…
30 …cl_image2dDv2_iiDv4_f(%opencl.image2d_t addrspace(1)* %output, <2 x i32> %coord, i32 5, <4 x float…
32 …ocl_image2dDv2_iDv4_f(%opencl.image2d_t addrspace(1)* %output, <2 x i32> %coord, <4 x float> %inpu…
33 …ocl_image2dDv2_iDv4_f(%opencl.image2d_t addrspace(1)* %output, <2 x i32> %coord, <4 x float> %inpu…
/external/dng_sdk/source/
Ddng_xy_coord.cpp23 dng_xy_coord XYZtoXY (const dng_vector_3 &coord) in XYZtoXY() argument
26 real64 X = coord [0]; in XYZtoXY()
27 real64 Y = coord [1]; in XYZtoXY()
28 real64 Z = coord [2]; in XYZtoXY()
46 dng_vector_3 XYtoXYZ (const dng_xy_coord &coord) in XYtoXYZ() argument
49 dng_xy_coord temp = coord; in XYtoXYZ()
Ddng_xy_coord.h69 bool operator== (const dng_xy_coord &coord) const
71 return coord.x == x &&
72 coord.y == y;
75 bool operator!= (const dng_xy_coord &coord) const
77 return !(*this == coord);
171 dng_xy_coord XYZtoXY (const dng_vector_3 &coord);
173 dng_vector_3 XYtoXYZ (const dng_xy_coord &coord);
/external/libxcam/cl_kernel/
Dkernel_wire_frame.cl24 uint2 coord = wire_frames_coords [gid];
26 write_imagef (output_y, (int2)(coord.x / 2, coord.y), (float4)(border_y));
27 if (coord.y % 2 == 0) {
28 …write_imagef (output_uv, (int2)(coord.x / 2, coord.y / 2), (float4)(border_u, border_v, 0.0f, 0.0f…

12345678910>>...15