Home | History | Annotate | Download | only in P_reduce_general_examples_backward

Lines Matching refs:in1

202     // in1 = "val"
203 public result_int reduce_addint(int[] in1) {
204 // Verify that "in1" is non-null.
205 if (in1 == null) {
206 throw new RSIllegalArgumentException("Array \"in1\" is null!");
208 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
210 ain1.copyFrom(in1);
235 // in1 = "val"
236 public result_int reduce_mpyint(int[] in1) {
237 // Verify that "in1" is non-null.
238 if (in1 == null) {
239 throw new RSIllegalArgumentException("Array \"in1\" is null!");
241 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
243 ain1.copyFrom(in1);
268 // in1 = "in1"
270 public result_float reduce_dp(float[] in1, float[] in2) {
271 // Verify that "in1" is non-null.
272 if (in1 == null) {
273 throw new RSIllegalArgumentException("Array \"in1\" is null!");
275 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
277 ain1.copyFrom(in1);
283 if (in1.length != in2.length) {
284 throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
295 // ain1 = "float in1"
301 // ain1 = "float in1"
332 // in1 = "in"
333 public result_int2 reduce_findMinAndMax(float[] in1) {
334 // Verify that "in1" is non-null.
335 if (in1 == null) {
336 throw new RSIllegalArgumentException("Array \"in1\" is null!");
338 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
340 ain1.copyFrom(in1);
365 // in1 = "inVal"
366 public result_int reduce_fz(int[] in1) {
367 // Verify that "in1" is non-null.
368 if (in1 == null) {
369 throw new RSIllegalArgumentException("Array \"in1\" is null!");
371 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
373 ain1.copyFrom(in1);
398 // in1 = "inVal"
399 public result_int2 reduce_fz2(int[] in1) {
400 // Verify that "in1" is non-null.
401 if (in1 == null) {
402 throw new RSIllegalArgumentException("Array \"in1\" is null!");
404 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
406 ain1.copyFrom(in1);
431 // in1 = "in"
432 public resultArray256_uint reduce_histogram(byte[] in1) {
433 // Verify that "in1" is non-null.
434 if (in1 == null) {
435 throw new RSIllegalArgumentException("Array \"in1\" is null!");
437 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length);
439 ain1.copyFrom(in1);
464 // in1 = "in"
465 public result_int2 reduce_mode(byte[] in1) {
466 // Verify that "in1" is non-null.
467 if (in1 == null) {
468 throw new RSIllegalArgumentException("Array \"in1\" is null!");
470 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length);
472 ain1.copyFrom(in1);