1 /* 2 * Copyright (C) 2011-2014 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /* 18 * This file is auto-generated. DO NOT MODIFY! 19 * The source Renderscript file: reduce_general_input.rs 20 */ 21 22 package input; 23 24 import android.renderscript.*; 25 import input.reduce_general_inputBitCode; 26 27 /** 28 * @hide 29 */ 30 public class ScriptC_reduce_general_input extends ScriptC { 31 private static final String __rs_resource_name = "reduce_general_input"; 32 // Constructor 33 public ScriptC_reduce_general_input(RenderScript rs) { 34 super(rs, 35 __rs_resource_name, 36 reduce_general_inputBitCode.getBitCode32(), 37 reduce_general_inputBitCode.getBitCode64()); 38 mRSLocal = rs; 39 __I32 = Element.I32(rs); 40 __F16 = Element.F16(rs); 41 __F16_2 = Element.F16_2(rs); 42 __F16_4 = Element.F16_4(rs); 43 __F32 = Element.F32(rs); 44 __F32_2 = Element.F32_2(rs); 45 __F32_4 = Element.F32_4(rs); 46 __F64 = Element.F64(rs); 47 __F64_2 = Element.F64_2(rs); 48 __F64_4 = Element.F64_4(rs); 49 __I8 = Element.I8(rs); 50 __I8_2 = Element.I8_2(rs); 51 __I8_4 = Element.I8_4(rs); 52 __I16 = Element.I16(rs); 53 __I16_2 = Element.I16_2(rs); 54 __I16_4 = Element.I16_4(rs); 55 __I32_2 = Element.I32_2(rs); 56 __I32_4 = Element.I32_4(rs); 57 __I64 = Element.I64(rs); 58 __I64_2 = Element.I64_2(rs); 59 __I64_4 = Element.I64_4(rs); 60 __U8 = Element.U8(rs); 61 __U8_2 = Element.U8_2(rs); 62 __U8_4 = Element.U8_4(rs); 63 __U16 = Element.U16(rs); 64 __U16_2 = Element.U16_2(rs); 65 __U16_4 = Element.U16_4(rs); 66 __U32 = Element.U32(rs); 67 __U32_2 = Element.U32_2(rs); 68 __U32_4 = Element.U32_4(rs); 69 __U64 = Element.U64(rs); 70 __U64_2 = Element.U64_2(rs); 71 __U64_4 = Element.U64_4(rs); 72 __BOOLEAN = Element.BOOLEAN(rs); 73 __ScriptField_MyStruct = ScriptField_MyStruct.createElement(rs); 74 } 75 76 private Element __BOOLEAN; 77 private Element __F16; 78 private Element __F16_2; 79 private Element __F16_4; 80 private Element __F32; 81 private Element __F32_2; 82 private Element __F32_4; 83 private Element __F64; 84 private Element __F64_2; 85 private Element __F64_4; 86 private Element __I16; 87 private Element __I16_2; 88 private Element __I16_4; 89 private Element __I32; 90 private Element __I32_2; 91 private Element __I32_4; 92 private Element __I64; 93 private Element __I64_2; 94 private Element __I64_4; 95 private Element __I8; 96 private Element __I8_2; 97 private Element __I8_4; 98 private Element __ScriptField_MyStruct; 99 private Element __U16; 100 private Element __U16_2; 101 private Element __U16_4; 102 private Element __U32; 103 private Element __U32_2; 104 private Element __U32_4; 105 private Element __U64; 106 private Element __U64_2; 107 private Element __U64_4; 108 private Element __U8; 109 private Element __U8_2; 110 private Element __U8_4; 111 private RenderScript mRSLocal; 112 // To obtain the result, invoke get(), which blocks 113 // until the asynchronously-launched operation has completed. 114 public static class result_int { 115 public int get() { 116 if (!mGotResult) { 117 int[] outArray = new int[1]; 118 mOut.copyTo(outArray); 119 mResult = outArray[0]; 120 mOut.destroy(); 121 mOut = null; // make Java object eligible for garbage collection 122 if (mTempIns != null) { 123 for (Allocation tempIn : mTempIns) { 124 tempIn.destroy(); 125 } 126 127 mTempIns = null; // make Java objects eligible for garbage collection 128 } 129 130 mGotResult = true; 131 } 132 133 return mResult; 134 } 135 136 private result_int(Allocation out) { 137 mTempIns = null; 138 mOut = out; 139 mGotResult = false; 140 } 141 142 private Allocation[] mTempIns; 143 private Allocation mOut; 144 private boolean mGotResult; 145 private int mResult; 146 } 147 148 private final static int mExportReduceIdx_my_half_0 = 0; 149 // in1 = "in" 150 public result_int reduce_my_half_0(short[] in1) { 151 // Verify that "in1" is non-null. 152 if (in1 == null) { 153 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 154 } 155 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 156 ain1.setAutoPadding(true); 157 ain1.copyFrom(in1); 158 159 result_int result = reduce_my_half_0(ain1, null); 160 result.mTempIns = new Allocation[]{ain1}; 161 return result; 162 } 163 164 // ain1 = "half in" 165 public result_int reduce_my_half_0(Allocation ain1) { 166 return reduce_my_half_0(ain1, null); 167 } 168 169 // ain1 = "half in" 170 public result_int reduce_my_half_0(Allocation ain1, Script.LaunchOptions sc) { 171 // check ain1 172 if (!ain1.getType().getElement().isCompatible(__F16)) { 173 throw new RSRuntimeException("Type mismatch with F16!"); 174 } 175 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 176 aout.setAutoPadding(true); 177 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc); 178 return new result_int(aout); 179 } 180 181 private final static int mExportReduceIdx_my_half_1 = 1; 182 // in1 = "in" 183 public result_int reduce_my_half_1(short[] in1) { 184 // Verify that "in1" is non-null. 185 if (in1 == null) { 186 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 187 } 188 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 189 ain1.setAutoPadding(true); 190 ain1.copyFrom(in1); 191 192 result_int result = reduce_my_half_1(ain1, null); 193 result.mTempIns = new Allocation[]{ain1}; 194 return result; 195 } 196 197 // ain1 = "half in" 198 public result_int reduce_my_half_1(Allocation ain1) { 199 return reduce_my_half_1(ain1, null); 200 } 201 202 // ain1 = "half in" 203 public result_int reduce_my_half_1(Allocation ain1, Script.LaunchOptions sc) { 204 // check ain1 205 if (!ain1.getType().getElement().isCompatible(__F16)) { 206 throw new RSRuntimeException("Type mismatch with F16!"); 207 } 208 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 209 aout.setAutoPadding(true); 210 reduce(mExportReduceIdx_my_half_1, new Allocation[]{ain1}, aout, sc); 211 return new result_int(aout); 212 } 213 214 private final static int mExportReduceIdx_my_half_2 = 2; 215 // in1 = "in" 216 public result_int reduce_my_half_2(short[] in1) { 217 // Verify that "in1" is non-null. 218 if (in1 == null) { 219 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 220 } 221 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 222 ain1.setAutoPadding(true); 223 ain1.copyFrom(in1); 224 225 result_int result = reduce_my_half_2(ain1, null); 226 result.mTempIns = new Allocation[]{ain1}; 227 return result; 228 } 229 230 // ain1 = "half in" 231 public result_int reduce_my_half_2(Allocation ain1) { 232 return reduce_my_half_2(ain1, null); 233 } 234 235 // ain1 = "half in" 236 public result_int reduce_my_half_2(Allocation ain1, Script.LaunchOptions sc) { 237 // check ain1 238 if (!ain1.getType().getElement().isCompatible(__F16)) { 239 throw new RSRuntimeException("Type mismatch with F16!"); 240 } 241 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 242 aout.setAutoPadding(true); 243 reduce(mExportReduceIdx_my_half_2, new Allocation[]{ain1}, aout, sc); 244 return new result_int(aout); 245 } 246 247 private final static int mExportReduceIdx_my_half_3 = 3; 248 // in1 = "in" 249 public result_int reduce_my_half_3(short[] in1) { 250 // Verify that "in1" is non-null. 251 if (in1 == null) { 252 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 253 } 254 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 255 ain1.setAutoPadding(true); 256 ain1.copyFrom(in1); 257 258 result_int result = reduce_my_half_3(ain1, null); 259 result.mTempIns = new Allocation[]{ain1}; 260 return result; 261 } 262 263 // ain1 = "half in" 264 public result_int reduce_my_half_3(Allocation ain1) { 265 return reduce_my_half_3(ain1, null); 266 } 267 268 // ain1 = "half in" 269 public result_int reduce_my_half_3(Allocation ain1, Script.LaunchOptions sc) { 270 // check ain1 271 if (!ain1.getType().getElement().isCompatible(__F16)) { 272 throw new RSRuntimeException("Type mismatch with F16!"); 273 } 274 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 275 aout.setAutoPadding(true); 276 reduce(mExportReduceIdx_my_half_3, new Allocation[]{ain1}, aout, sc); 277 return new result_int(aout); 278 } 279 280 private final static int mExportReduceIdx_my_half_4 = 4; 281 // in1 = "in" 282 public result_int reduce_my_half_4(short[] in1) { 283 // Verify that "in1" is non-null. 284 if (in1 == null) { 285 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 286 } 287 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 288 ain1.setAutoPadding(true); 289 ain1.copyFrom(in1); 290 291 result_int result = reduce_my_half_4(ain1, null); 292 result.mTempIns = new Allocation[]{ain1}; 293 return result; 294 } 295 296 // ain1 = "half in" 297 public result_int reduce_my_half_4(Allocation ain1) { 298 return reduce_my_half_4(ain1, null); 299 } 300 301 // ain1 = "half in" 302 public result_int reduce_my_half_4(Allocation ain1, Script.LaunchOptions sc) { 303 // check ain1 304 if (!ain1.getType().getElement().isCompatible(__F16)) { 305 throw new RSRuntimeException("Type mismatch with F16!"); 306 } 307 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 308 aout.setAutoPadding(true); 309 reduce(mExportReduceIdx_my_half_4, new Allocation[]{ain1}, aout, sc); 310 return new result_int(aout); 311 } 312 313 private final static int mExportReduceIdx_my_half_5 = 5; 314 // in1 = "in" 315 public result_int reduce_my_half_5(short[] in1) { 316 // Verify that "in1" is non-null. 317 if (in1 == null) { 318 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 319 } 320 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 321 ain1.setAutoPadding(true); 322 ain1.copyFrom(in1); 323 324 result_int result = reduce_my_half_5(ain1, null); 325 result.mTempIns = new Allocation[]{ain1}; 326 return result; 327 } 328 329 // ain1 = "half in" 330 public result_int reduce_my_half_5(Allocation ain1) { 331 return reduce_my_half_5(ain1, null); 332 } 333 334 // ain1 = "half in" 335 public result_int reduce_my_half_5(Allocation ain1, Script.LaunchOptions sc) { 336 // check ain1 337 if (!ain1.getType().getElement().isCompatible(__F16)) { 338 throw new RSRuntimeException("Type mismatch with F16!"); 339 } 340 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 341 aout.setAutoPadding(true); 342 reduce(mExportReduceIdx_my_half_5, new Allocation[]{ain1}, aout, sc); 343 return new result_int(aout); 344 } 345 346 private final static int mExportReduceIdx_my_half_6 = 6; 347 // in1 = "in" 348 public result_int reduce_my_half_6(short[] in1) { 349 // Verify that "in1" is non-null. 350 if (in1 == null) { 351 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 352 } 353 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 354 ain1.setAutoPadding(true); 355 ain1.copyFrom(in1); 356 357 result_int result = reduce_my_half_6(ain1, null); 358 result.mTempIns = new Allocation[]{ain1}; 359 return result; 360 } 361 362 // ain1 = "half in" 363 public result_int reduce_my_half_6(Allocation ain1) { 364 return reduce_my_half_6(ain1, null); 365 } 366 367 // ain1 = "half in" 368 public result_int reduce_my_half_6(Allocation ain1, Script.LaunchOptions sc) { 369 // check ain1 370 if (!ain1.getType().getElement().isCompatible(__F16)) { 371 throw new RSRuntimeException("Type mismatch with F16!"); 372 } 373 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 374 aout.setAutoPadding(true); 375 reduce(mExportReduceIdx_my_half_6, new Allocation[]{ain1}, aout, sc); 376 return new result_int(aout); 377 } 378 379 private final static int mExportReduceIdx_my_half_7 = 7; 380 // in1 = "in" 381 public result_int reduce_my_half_7(short[] in1) { 382 // Verify that "in1" is non-null. 383 if (in1 == null) { 384 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 385 } 386 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 387 ain1.setAutoPadding(true); 388 ain1.copyFrom(in1); 389 390 result_int result = reduce_my_half_7(ain1, null); 391 result.mTempIns = new Allocation[]{ain1}; 392 return result; 393 } 394 395 // ain1 = "half in" 396 public result_int reduce_my_half_7(Allocation ain1) { 397 return reduce_my_half_7(ain1, null); 398 } 399 400 // ain1 = "half in" 401 public result_int reduce_my_half_7(Allocation ain1, Script.LaunchOptions sc) { 402 // check ain1 403 if (!ain1.getType().getElement().isCompatible(__F16)) { 404 throw new RSRuntimeException("Type mismatch with F16!"); 405 } 406 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 407 aout.setAutoPadding(true); 408 reduce(mExportReduceIdx_my_half_7, new Allocation[]{ain1}, aout, sc); 409 return new result_int(aout); 410 } 411 412 private final static int mExportReduceIdx_my_half_8 = 8; 413 // in1 = "in" 414 public result_int reduce_my_half_8(short[] in1) { 415 // Verify that "in1" is non-null. 416 if (in1 == null) { 417 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 418 } 419 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 420 ain1.setAutoPadding(true); 421 ain1.copyFrom(in1); 422 423 result_int result = reduce_my_half_8(ain1, null); 424 result.mTempIns = new Allocation[]{ain1}; 425 return result; 426 } 427 428 // ain1 = "half in" 429 public result_int reduce_my_half_8(Allocation ain1) { 430 return reduce_my_half_8(ain1, null); 431 } 432 433 // ain1 = "half in" 434 public result_int reduce_my_half_8(Allocation ain1, Script.LaunchOptions sc) { 435 // check ain1 436 if (!ain1.getType().getElement().isCompatible(__F16)) { 437 throw new RSRuntimeException("Type mismatch with F16!"); 438 } 439 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 440 aout.setAutoPadding(true); 441 reduce(mExportReduceIdx_my_half_8, new Allocation[]{ain1}, aout, sc); 442 return new result_int(aout); 443 } 444 445 private final static int mExportReduceIdx_my_half_9 = 9; 446 // in1 = "in" 447 public result_int reduce_my_half_9(short[] in1) { 448 // Verify that "in1" is non-null. 449 if (in1 == null) { 450 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 451 } 452 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 453 ain1.setAutoPadding(true); 454 ain1.copyFrom(in1); 455 456 result_int result = reduce_my_half_9(ain1, null); 457 result.mTempIns = new Allocation[]{ain1}; 458 return result; 459 } 460 461 // ain1 = "half in" 462 public result_int reduce_my_half_9(Allocation ain1) { 463 return reduce_my_half_9(ain1, null); 464 } 465 466 // ain1 = "half in" 467 public result_int reduce_my_half_9(Allocation ain1, Script.LaunchOptions sc) { 468 // check ain1 469 if (!ain1.getType().getElement().isCompatible(__F16)) { 470 throw new RSRuntimeException("Type mismatch with F16!"); 471 } 472 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 473 aout.setAutoPadding(true); 474 reduce(mExportReduceIdx_my_half_9, new Allocation[]{ain1}, aout, sc); 475 return new result_int(aout); 476 } 477 478 private final static int mExportReduceIdx_my_half_10 = 10; 479 // in1 = "in" 480 public result_int reduce_my_half_10(short[] in1) { 481 // Verify that "in1" is non-null. 482 if (in1 == null) { 483 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 484 } 485 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 486 ain1.setAutoPadding(true); 487 ain1.copyFrom(in1); 488 489 result_int result = reduce_my_half_10(ain1, null); 490 result.mTempIns = new Allocation[]{ain1}; 491 return result; 492 } 493 494 // ain1 = "half in" 495 public result_int reduce_my_half_10(Allocation ain1) { 496 return reduce_my_half_10(ain1, null); 497 } 498 499 // ain1 = "half in" 500 public result_int reduce_my_half_10(Allocation ain1, Script.LaunchOptions sc) { 501 // check ain1 502 if (!ain1.getType().getElement().isCompatible(__F16)) { 503 throw new RSRuntimeException("Type mismatch with F16!"); 504 } 505 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 506 aout.setAutoPadding(true); 507 reduce(mExportReduceIdx_my_half_10, new Allocation[]{ain1}, aout, sc); 508 return new result_int(aout); 509 } 510 511 private final static int mExportReduceIdx_my_half_11 = 11; 512 // in1 = "in" 513 public result_int reduce_my_half_11(short[] in1) { 514 // Verify that "in1" is non-null. 515 if (in1 == null) { 516 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 517 } 518 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 519 ain1.setAutoPadding(true); 520 ain1.copyFrom(in1); 521 522 result_int result = reduce_my_half_11(ain1, null); 523 result.mTempIns = new Allocation[]{ain1}; 524 return result; 525 } 526 527 // ain1 = "half in" 528 public result_int reduce_my_half_11(Allocation ain1) { 529 return reduce_my_half_11(ain1, null); 530 } 531 532 // ain1 = "half in" 533 public result_int reduce_my_half_11(Allocation ain1, Script.LaunchOptions sc) { 534 // check ain1 535 if (!ain1.getType().getElement().isCompatible(__F16)) { 536 throw new RSRuntimeException("Type mismatch with F16!"); 537 } 538 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 539 aout.setAutoPadding(true); 540 reduce(mExportReduceIdx_my_half_11, new Allocation[]{ain1}, aout, sc); 541 return new result_int(aout); 542 } 543 544 private final static int mExportReduceIdx_my_half_12 = 12; 545 // in1 = "in" 546 public result_int reduce_my_half_12(short[] in1) { 547 // Verify that "in1" is non-null. 548 if (in1 == null) { 549 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 550 } 551 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 552 ain1.setAutoPadding(true); 553 ain1.copyFrom(in1); 554 555 result_int result = reduce_my_half_12(ain1, null); 556 result.mTempIns = new Allocation[]{ain1}; 557 return result; 558 } 559 560 // ain1 = "half in" 561 public result_int reduce_my_half_12(Allocation ain1) { 562 return reduce_my_half_12(ain1, null); 563 } 564 565 // ain1 = "half in" 566 public result_int reduce_my_half_12(Allocation ain1, Script.LaunchOptions sc) { 567 // check ain1 568 if (!ain1.getType().getElement().isCompatible(__F16)) { 569 throw new RSRuntimeException("Type mismatch with F16!"); 570 } 571 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 572 aout.setAutoPadding(true); 573 reduce(mExportReduceIdx_my_half_12, new Allocation[]{ain1}, aout, sc); 574 return new result_int(aout); 575 } 576 577 private final static int mExportReduceIdx_my_half_13 = 13; 578 // in1 = "in" 579 public result_int reduce_my_half_13(short[] in1) { 580 // Verify that "in1" is non-null. 581 if (in1 == null) { 582 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 583 } 584 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 585 ain1.setAutoPadding(true); 586 ain1.copyFrom(in1); 587 588 result_int result = reduce_my_half_13(ain1, null); 589 result.mTempIns = new Allocation[]{ain1}; 590 return result; 591 } 592 593 // ain1 = "half in" 594 public result_int reduce_my_half_13(Allocation ain1) { 595 return reduce_my_half_13(ain1, null); 596 } 597 598 // ain1 = "half in" 599 public result_int reduce_my_half_13(Allocation ain1, Script.LaunchOptions sc) { 600 // check ain1 601 if (!ain1.getType().getElement().isCompatible(__F16)) { 602 throw new RSRuntimeException("Type mismatch with F16!"); 603 } 604 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 605 aout.setAutoPadding(true); 606 reduce(mExportReduceIdx_my_half_13, new Allocation[]{ain1}, aout, sc); 607 return new result_int(aout); 608 } 609 610 private final static int mExportReduceIdx_my_half_14 = 14; 611 // in1 = "in" 612 public result_int reduce_my_half_14(short[] in1) { 613 // Verify that "in1" is non-null. 614 if (in1 == null) { 615 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 616 } 617 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 618 ain1.setAutoPadding(true); 619 ain1.copyFrom(in1); 620 621 result_int result = reduce_my_half_14(ain1, null); 622 result.mTempIns = new Allocation[]{ain1}; 623 return result; 624 } 625 626 // ain1 = "half in" 627 public result_int reduce_my_half_14(Allocation ain1) { 628 return reduce_my_half_14(ain1, null); 629 } 630 631 // ain1 = "half in" 632 public result_int reduce_my_half_14(Allocation ain1, Script.LaunchOptions sc) { 633 // check ain1 634 if (!ain1.getType().getElement().isCompatible(__F16)) { 635 throw new RSRuntimeException("Type mismatch with F16!"); 636 } 637 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 638 aout.setAutoPadding(true); 639 reduce(mExportReduceIdx_my_half_14, new Allocation[]{ain1}, aout, sc); 640 return new result_int(aout); 641 } 642 643 private final static int mExportReduceIdx_my_half_15 = 15; 644 // in1 = "in" 645 public result_int reduce_my_half_15(short[] in1) { 646 // Verify that "in1" is non-null. 647 if (in1 == null) { 648 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 649 } 650 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 651 ain1.setAutoPadding(true); 652 ain1.copyFrom(in1); 653 654 result_int result = reduce_my_half_15(ain1, null); 655 result.mTempIns = new Allocation[]{ain1}; 656 return result; 657 } 658 659 // ain1 = "half in" 660 public result_int reduce_my_half_15(Allocation ain1) { 661 return reduce_my_half_15(ain1, null); 662 } 663 664 // ain1 = "half in" 665 public result_int reduce_my_half_15(Allocation ain1, Script.LaunchOptions sc) { 666 // check ain1 667 if (!ain1.getType().getElement().isCompatible(__F16)) { 668 throw new RSRuntimeException("Type mismatch with F16!"); 669 } 670 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 671 aout.setAutoPadding(true); 672 reduce(mExportReduceIdx_my_half_15, new Allocation[]{ain1}, aout, sc); 673 return new result_int(aout); 674 } 675 676 private final static int mExportReduceIdx_my_half2_0 = 16; 677 // in1 = "in", flattened 2-vectors 678 public result_int reduce_my_half2_0(short[] in1) { 679 // Verify that "in1" is non-null. 680 if (in1 == null) { 681 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 682 } 683 // Verify that the array length is a multiple of the vector size. 684 if (in1.length % 2 != 0) { 685 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 686 } 687 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 688 ain1.setAutoPadding(true); 689 ain1.copyFrom(in1); 690 691 result_int result = reduce_my_half2_0(ain1, null); 692 result.mTempIns = new Allocation[]{ain1}; 693 return result; 694 } 695 696 // ain1 = "half2 in" 697 public result_int reduce_my_half2_0(Allocation ain1) { 698 return reduce_my_half2_0(ain1, null); 699 } 700 701 // ain1 = "half2 in" 702 public result_int reduce_my_half2_0(Allocation ain1, Script.LaunchOptions sc) { 703 // check ain1 704 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 705 throw new RSRuntimeException("Type mismatch with F16_2!"); 706 } 707 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 708 aout.setAutoPadding(true); 709 reduce(mExportReduceIdx_my_half2_0, new Allocation[]{ain1}, aout, sc); 710 return new result_int(aout); 711 } 712 713 private final static int mExportReduceIdx_my_half2_1 = 17; 714 // in1 = "in", flattened 2-vectors 715 public result_int reduce_my_half2_1(short[] in1) { 716 // Verify that "in1" is non-null. 717 if (in1 == null) { 718 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 719 } 720 // Verify that the array length is a multiple of the vector size. 721 if (in1.length % 2 != 0) { 722 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 723 } 724 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 725 ain1.setAutoPadding(true); 726 ain1.copyFrom(in1); 727 728 result_int result = reduce_my_half2_1(ain1, null); 729 result.mTempIns = new Allocation[]{ain1}; 730 return result; 731 } 732 733 // ain1 = "half2 in" 734 public result_int reduce_my_half2_1(Allocation ain1) { 735 return reduce_my_half2_1(ain1, null); 736 } 737 738 // ain1 = "half2 in" 739 public result_int reduce_my_half2_1(Allocation ain1, Script.LaunchOptions sc) { 740 // check ain1 741 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 742 throw new RSRuntimeException("Type mismatch with F16_2!"); 743 } 744 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 745 aout.setAutoPadding(true); 746 reduce(mExportReduceIdx_my_half2_1, new Allocation[]{ain1}, aout, sc); 747 return new result_int(aout); 748 } 749 750 private final static int mExportReduceIdx_my_half2_2 = 18; 751 // in1 = "in", flattened 2-vectors 752 public result_int reduce_my_half2_2(short[] in1) { 753 // Verify that "in1" is non-null. 754 if (in1 == null) { 755 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 756 } 757 // Verify that the array length is a multiple of the vector size. 758 if (in1.length % 2 != 0) { 759 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 760 } 761 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 762 ain1.setAutoPadding(true); 763 ain1.copyFrom(in1); 764 765 result_int result = reduce_my_half2_2(ain1, null); 766 result.mTempIns = new Allocation[]{ain1}; 767 return result; 768 } 769 770 // ain1 = "half2 in" 771 public result_int reduce_my_half2_2(Allocation ain1) { 772 return reduce_my_half2_2(ain1, null); 773 } 774 775 // ain1 = "half2 in" 776 public result_int reduce_my_half2_2(Allocation ain1, Script.LaunchOptions sc) { 777 // check ain1 778 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 779 throw new RSRuntimeException("Type mismatch with F16_2!"); 780 } 781 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 782 aout.setAutoPadding(true); 783 reduce(mExportReduceIdx_my_half2_2, new Allocation[]{ain1}, aout, sc); 784 return new result_int(aout); 785 } 786 787 private final static int mExportReduceIdx_my_half2_3 = 19; 788 // in1 = "in", flattened 2-vectors 789 public result_int reduce_my_half2_3(short[] in1) { 790 // Verify that "in1" is non-null. 791 if (in1 == null) { 792 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 793 } 794 // Verify that the array length is a multiple of the vector size. 795 if (in1.length % 2 != 0) { 796 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 797 } 798 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 799 ain1.setAutoPadding(true); 800 ain1.copyFrom(in1); 801 802 result_int result = reduce_my_half2_3(ain1, null); 803 result.mTempIns = new Allocation[]{ain1}; 804 return result; 805 } 806 807 // ain1 = "half2 in" 808 public result_int reduce_my_half2_3(Allocation ain1) { 809 return reduce_my_half2_3(ain1, null); 810 } 811 812 // ain1 = "half2 in" 813 public result_int reduce_my_half2_3(Allocation ain1, Script.LaunchOptions sc) { 814 // check ain1 815 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 816 throw new RSRuntimeException("Type mismatch with F16_2!"); 817 } 818 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 819 aout.setAutoPadding(true); 820 reduce(mExportReduceIdx_my_half2_3, new Allocation[]{ain1}, aout, sc); 821 return new result_int(aout); 822 } 823 824 private final static int mExportReduceIdx_my_half2_4 = 20; 825 // in1 = "in", flattened 2-vectors 826 public result_int reduce_my_half2_4(short[] in1) { 827 // Verify that "in1" is non-null. 828 if (in1 == null) { 829 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 830 } 831 // Verify that the array length is a multiple of the vector size. 832 if (in1.length % 2 != 0) { 833 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 834 } 835 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 836 ain1.setAutoPadding(true); 837 ain1.copyFrom(in1); 838 839 result_int result = reduce_my_half2_4(ain1, null); 840 result.mTempIns = new Allocation[]{ain1}; 841 return result; 842 } 843 844 // ain1 = "half2 in" 845 public result_int reduce_my_half2_4(Allocation ain1) { 846 return reduce_my_half2_4(ain1, null); 847 } 848 849 // ain1 = "half2 in" 850 public result_int reduce_my_half2_4(Allocation ain1, Script.LaunchOptions sc) { 851 // check ain1 852 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 853 throw new RSRuntimeException("Type mismatch with F16_2!"); 854 } 855 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 856 aout.setAutoPadding(true); 857 reduce(mExportReduceIdx_my_half2_4, new Allocation[]{ain1}, aout, sc); 858 return new result_int(aout); 859 } 860 861 private final static int mExportReduceIdx_my_half2_5 = 21; 862 // in1 = "in", flattened 2-vectors 863 public result_int reduce_my_half2_5(short[] in1) { 864 // Verify that "in1" is non-null. 865 if (in1 == null) { 866 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 867 } 868 // Verify that the array length is a multiple of the vector size. 869 if (in1.length % 2 != 0) { 870 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 871 } 872 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 873 ain1.setAutoPadding(true); 874 ain1.copyFrom(in1); 875 876 result_int result = reduce_my_half2_5(ain1, null); 877 result.mTempIns = new Allocation[]{ain1}; 878 return result; 879 } 880 881 // ain1 = "half2 in" 882 public result_int reduce_my_half2_5(Allocation ain1) { 883 return reduce_my_half2_5(ain1, null); 884 } 885 886 // ain1 = "half2 in" 887 public result_int reduce_my_half2_5(Allocation ain1, Script.LaunchOptions sc) { 888 // check ain1 889 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 890 throw new RSRuntimeException("Type mismatch with F16_2!"); 891 } 892 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 893 aout.setAutoPadding(true); 894 reduce(mExportReduceIdx_my_half2_5, new Allocation[]{ain1}, aout, sc); 895 return new result_int(aout); 896 } 897 898 private final static int mExportReduceIdx_my_half2_6 = 22; 899 // in1 = "in", flattened 2-vectors 900 public result_int reduce_my_half2_6(short[] in1) { 901 // Verify that "in1" is non-null. 902 if (in1 == null) { 903 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 904 } 905 // Verify that the array length is a multiple of the vector size. 906 if (in1.length % 2 != 0) { 907 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 908 } 909 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 910 ain1.setAutoPadding(true); 911 ain1.copyFrom(in1); 912 913 result_int result = reduce_my_half2_6(ain1, null); 914 result.mTempIns = new Allocation[]{ain1}; 915 return result; 916 } 917 918 // ain1 = "half2 in" 919 public result_int reduce_my_half2_6(Allocation ain1) { 920 return reduce_my_half2_6(ain1, null); 921 } 922 923 // ain1 = "half2 in" 924 public result_int reduce_my_half2_6(Allocation ain1, Script.LaunchOptions sc) { 925 // check ain1 926 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 927 throw new RSRuntimeException("Type mismatch with F16_2!"); 928 } 929 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 930 aout.setAutoPadding(true); 931 reduce(mExportReduceIdx_my_half2_6, new Allocation[]{ain1}, aout, sc); 932 return new result_int(aout); 933 } 934 935 private final static int mExportReduceIdx_my_half2_7 = 23; 936 // in1 = "in", flattened 2-vectors 937 public result_int reduce_my_half2_7(short[] in1) { 938 // Verify that "in1" is non-null. 939 if (in1 == null) { 940 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 941 } 942 // Verify that the array length is a multiple of the vector size. 943 if (in1.length % 2 != 0) { 944 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 945 } 946 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 947 ain1.setAutoPadding(true); 948 ain1.copyFrom(in1); 949 950 result_int result = reduce_my_half2_7(ain1, null); 951 result.mTempIns = new Allocation[]{ain1}; 952 return result; 953 } 954 955 // ain1 = "half2 in" 956 public result_int reduce_my_half2_7(Allocation ain1) { 957 return reduce_my_half2_7(ain1, null); 958 } 959 960 // ain1 = "half2 in" 961 public result_int reduce_my_half2_7(Allocation ain1, Script.LaunchOptions sc) { 962 // check ain1 963 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 964 throw new RSRuntimeException("Type mismatch with F16_2!"); 965 } 966 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 967 aout.setAutoPadding(true); 968 reduce(mExportReduceIdx_my_half2_7, new Allocation[]{ain1}, aout, sc); 969 return new result_int(aout); 970 } 971 972 private final static int mExportReduceIdx_my_half2_8 = 24; 973 // in1 = "in", flattened 2-vectors 974 public result_int reduce_my_half2_8(short[] in1) { 975 // Verify that "in1" is non-null. 976 if (in1 == null) { 977 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 978 } 979 // Verify that the array length is a multiple of the vector size. 980 if (in1.length % 2 != 0) { 981 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 982 } 983 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 984 ain1.setAutoPadding(true); 985 ain1.copyFrom(in1); 986 987 result_int result = reduce_my_half2_8(ain1, null); 988 result.mTempIns = new Allocation[]{ain1}; 989 return result; 990 } 991 992 // ain1 = "half2 in" 993 public result_int reduce_my_half2_8(Allocation ain1) { 994 return reduce_my_half2_8(ain1, null); 995 } 996 997 // ain1 = "half2 in" 998 public result_int reduce_my_half2_8(Allocation ain1, Script.LaunchOptions sc) { 999 // check ain1 1000 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1001 throw new RSRuntimeException("Type mismatch with F16_2!"); 1002 } 1003 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1004 aout.setAutoPadding(true); 1005 reduce(mExportReduceIdx_my_half2_8, new Allocation[]{ain1}, aout, sc); 1006 return new result_int(aout); 1007 } 1008 1009 private final static int mExportReduceIdx_my_half2_9 = 25; 1010 // in1 = "in", flattened 2-vectors 1011 public result_int reduce_my_half2_9(short[] in1) { 1012 // Verify that "in1" is non-null. 1013 if (in1 == null) { 1014 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1015 } 1016 // Verify that the array length is a multiple of the vector size. 1017 if (in1.length % 2 != 0) { 1018 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1019 } 1020 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1021 ain1.setAutoPadding(true); 1022 ain1.copyFrom(in1); 1023 1024 result_int result = reduce_my_half2_9(ain1, null); 1025 result.mTempIns = new Allocation[]{ain1}; 1026 return result; 1027 } 1028 1029 // ain1 = "half2 in" 1030 public result_int reduce_my_half2_9(Allocation ain1) { 1031 return reduce_my_half2_9(ain1, null); 1032 } 1033 1034 // ain1 = "half2 in" 1035 public result_int reduce_my_half2_9(Allocation ain1, Script.LaunchOptions sc) { 1036 // check ain1 1037 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1038 throw new RSRuntimeException("Type mismatch with F16_2!"); 1039 } 1040 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1041 aout.setAutoPadding(true); 1042 reduce(mExportReduceIdx_my_half2_9, new Allocation[]{ain1}, aout, sc); 1043 return new result_int(aout); 1044 } 1045 1046 private final static int mExportReduceIdx_my_half2_10 = 26; 1047 // in1 = "in", flattened 2-vectors 1048 public result_int reduce_my_half2_10(short[] in1) { 1049 // Verify that "in1" is non-null. 1050 if (in1 == null) { 1051 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1052 } 1053 // Verify that the array length is a multiple of the vector size. 1054 if (in1.length % 2 != 0) { 1055 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1056 } 1057 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1058 ain1.setAutoPadding(true); 1059 ain1.copyFrom(in1); 1060 1061 result_int result = reduce_my_half2_10(ain1, null); 1062 result.mTempIns = new Allocation[]{ain1}; 1063 return result; 1064 } 1065 1066 // ain1 = "half2 in" 1067 public result_int reduce_my_half2_10(Allocation ain1) { 1068 return reduce_my_half2_10(ain1, null); 1069 } 1070 1071 // ain1 = "half2 in" 1072 public result_int reduce_my_half2_10(Allocation ain1, Script.LaunchOptions sc) { 1073 // check ain1 1074 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1075 throw new RSRuntimeException("Type mismatch with F16_2!"); 1076 } 1077 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1078 aout.setAutoPadding(true); 1079 reduce(mExportReduceIdx_my_half2_10, new Allocation[]{ain1}, aout, sc); 1080 return new result_int(aout); 1081 } 1082 1083 private final static int mExportReduceIdx_my_half2_11 = 27; 1084 // in1 = "in", flattened 2-vectors 1085 public result_int reduce_my_half2_11(short[] in1) { 1086 // Verify that "in1" is non-null. 1087 if (in1 == null) { 1088 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1089 } 1090 // Verify that the array length is a multiple of the vector size. 1091 if (in1.length % 2 != 0) { 1092 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1093 } 1094 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1095 ain1.setAutoPadding(true); 1096 ain1.copyFrom(in1); 1097 1098 result_int result = reduce_my_half2_11(ain1, null); 1099 result.mTempIns = new Allocation[]{ain1}; 1100 return result; 1101 } 1102 1103 // ain1 = "half2 in" 1104 public result_int reduce_my_half2_11(Allocation ain1) { 1105 return reduce_my_half2_11(ain1, null); 1106 } 1107 1108 // ain1 = "half2 in" 1109 public result_int reduce_my_half2_11(Allocation ain1, Script.LaunchOptions sc) { 1110 // check ain1 1111 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1112 throw new RSRuntimeException("Type mismatch with F16_2!"); 1113 } 1114 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1115 aout.setAutoPadding(true); 1116 reduce(mExportReduceIdx_my_half2_11, new Allocation[]{ain1}, aout, sc); 1117 return new result_int(aout); 1118 } 1119 1120 private final static int mExportReduceIdx_my_half2_12 = 28; 1121 // in1 = "in", flattened 2-vectors 1122 public result_int reduce_my_half2_12(short[] in1) { 1123 // Verify that "in1" is non-null. 1124 if (in1 == null) { 1125 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1126 } 1127 // Verify that the array length is a multiple of the vector size. 1128 if (in1.length % 2 != 0) { 1129 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1130 } 1131 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1132 ain1.setAutoPadding(true); 1133 ain1.copyFrom(in1); 1134 1135 result_int result = reduce_my_half2_12(ain1, null); 1136 result.mTempIns = new Allocation[]{ain1}; 1137 return result; 1138 } 1139 1140 // ain1 = "half2 in" 1141 public result_int reduce_my_half2_12(Allocation ain1) { 1142 return reduce_my_half2_12(ain1, null); 1143 } 1144 1145 // ain1 = "half2 in" 1146 public result_int reduce_my_half2_12(Allocation ain1, Script.LaunchOptions sc) { 1147 // check ain1 1148 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1149 throw new RSRuntimeException("Type mismatch with F16_2!"); 1150 } 1151 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1152 aout.setAutoPadding(true); 1153 reduce(mExportReduceIdx_my_half2_12, new Allocation[]{ain1}, aout, sc); 1154 return new result_int(aout); 1155 } 1156 1157 private final static int mExportReduceIdx_my_half2_13 = 29; 1158 // in1 = "in", flattened 2-vectors 1159 public result_int reduce_my_half2_13(short[] in1) { 1160 // Verify that "in1" is non-null. 1161 if (in1 == null) { 1162 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1163 } 1164 // Verify that the array length is a multiple of the vector size. 1165 if (in1.length % 2 != 0) { 1166 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1167 } 1168 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1169 ain1.setAutoPadding(true); 1170 ain1.copyFrom(in1); 1171 1172 result_int result = reduce_my_half2_13(ain1, null); 1173 result.mTempIns = new Allocation[]{ain1}; 1174 return result; 1175 } 1176 1177 // ain1 = "half2 in" 1178 public result_int reduce_my_half2_13(Allocation ain1) { 1179 return reduce_my_half2_13(ain1, null); 1180 } 1181 1182 // ain1 = "half2 in" 1183 public result_int reduce_my_half2_13(Allocation ain1, Script.LaunchOptions sc) { 1184 // check ain1 1185 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1186 throw new RSRuntimeException("Type mismatch with F16_2!"); 1187 } 1188 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1189 aout.setAutoPadding(true); 1190 reduce(mExportReduceIdx_my_half2_13, new Allocation[]{ain1}, aout, sc); 1191 return new result_int(aout); 1192 } 1193 1194 private final static int mExportReduceIdx_my_half2_14 = 30; 1195 // in1 = "in", flattened 2-vectors 1196 public result_int reduce_my_half2_14(short[] in1) { 1197 // Verify that "in1" is non-null. 1198 if (in1 == null) { 1199 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1200 } 1201 // Verify that the array length is a multiple of the vector size. 1202 if (in1.length % 2 != 0) { 1203 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1204 } 1205 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1206 ain1.setAutoPadding(true); 1207 ain1.copyFrom(in1); 1208 1209 result_int result = reduce_my_half2_14(ain1, null); 1210 result.mTempIns = new Allocation[]{ain1}; 1211 return result; 1212 } 1213 1214 // ain1 = "half2 in" 1215 public result_int reduce_my_half2_14(Allocation ain1) { 1216 return reduce_my_half2_14(ain1, null); 1217 } 1218 1219 // ain1 = "half2 in" 1220 public result_int reduce_my_half2_14(Allocation ain1, Script.LaunchOptions sc) { 1221 // check ain1 1222 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1223 throw new RSRuntimeException("Type mismatch with F16_2!"); 1224 } 1225 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1226 aout.setAutoPadding(true); 1227 reduce(mExportReduceIdx_my_half2_14, new Allocation[]{ain1}, aout, sc); 1228 return new result_int(aout); 1229 } 1230 1231 private final static int mExportReduceIdx_my_half2_15 = 31; 1232 // in1 = "in", flattened 2-vectors 1233 public result_int reduce_my_half2_15(short[] in1) { 1234 // Verify that "in1" is non-null. 1235 if (in1 == null) { 1236 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1237 } 1238 // Verify that the array length is a multiple of the vector size. 1239 if (in1.length % 2 != 0) { 1240 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1241 } 1242 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1243 ain1.setAutoPadding(true); 1244 ain1.copyFrom(in1); 1245 1246 result_int result = reduce_my_half2_15(ain1, null); 1247 result.mTempIns = new Allocation[]{ain1}; 1248 return result; 1249 } 1250 1251 // ain1 = "half2 in" 1252 public result_int reduce_my_half2_15(Allocation ain1) { 1253 return reduce_my_half2_15(ain1, null); 1254 } 1255 1256 // ain1 = "half2 in" 1257 public result_int reduce_my_half2_15(Allocation ain1, Script.LaunchOptions sc) { 1258 // check ain1 1259 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1260 throw new RSRuntimeException("Type mismatch with F16_2!"); 1261 } 1262 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1263 aout.setAutoPadding(true); 1264 reduce(mExportReduceIdx_my_half2_15, new Allocation[]{ain1}, aout, sc); 1265 return new result_int(aout); 1266 } 1267 1268 private final static int mExportReduceIdx_my_half4_0 = 32; 1269 // in1 = "in", flattened 4-vectors 1270 public result_int reduce_my_half4_0(short[] in1) { 1271 // Verify that "in1" is non-null. 1272 if (in1 == null) { 1273 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1274 } 1275 // Verify that the array length is a multiple of the vector size. 1276 if (in1.length % 4 != 0) { 1277 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1278 } 1279 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1280 ain1.setAutoPadding(true); 1281 ain1.copyFrom(in1); 1282 1283 result_int result = reduce_my_half4_0(ain1, null); 1284 result.mTempIns = new Allocation[]{ain1}; 1285 return result; 1286 } 1287 1288 // ain1 = "half4 in" 1289 public result_int reduce_my_half4_0(Allocation ain1) { 1290 return reduce_my_half4_0(ain1, null); 1291 } 1292 1293 // ain1 = "half4 in" 1294 public result_int reduce_my_half4_0(Allocation ain1, Script.LaunchOptions sc) { 1295 // check ain1 1296 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1297 throw new RSRuntimeException("Type mismatch with F16_4!"); 1298 } 1299 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1300 aout.setAutoPadding(true); 1301 reduce(mExportReduceIdx_my_half4_0, new Allocation[]{ain1}, aout, sc); 1302 return new result_int(aout); 1303 } 1304 1305 private final static int mExportReduceIdx_my_half4_1 = 33; 1306 // in1 = "in", flattened 4-vectors 1307 public result_int reduce_my_half4_1(short[] in1) { 1308 // Verify that "in1" is non-null. 1309 if (in1 == null) { 1310 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1311 } 1312 // Verify that the array length is a multiple of the vector size. 1313 if (in1.length % 4 != 0) { 1314 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1315 } 1316 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1317 ain1.setAutoPadding(true); 1318 ain1.copyFrom(in1); 1319 1320 result_int result = reduce_my_half4_1(ain1, null); 1321 result.mTempIns = new Allocation[]{ain1}; 1322 return result; 1323 } 1324 1325 // ain1 = "half4 in" 1326 public result_int reduce_my_half4_1(Allocation ain1) { 1327 return reduce_my_half4_1(ain1, null); 1328 } 1329 1330 // ain1 = "half4 in" 1331 public result_int reduce_my_half4_1(Allocation ain1, Script.LaunchOptions sc) { 1332 // check ain1 1333 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1334 throw new RSRuntimeException("Type mismatch with F16_4!"); 1335 } 1336 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1337 aout.setAutoPadding(true); 1338 reduce(mExportReduceIdx_my_half4_1, new Allocation[]{ain1}, aout, sc); 1339 return new result_int(aout); 1340 } 1341 1342 private final static int mExportReduceIdx_my_half4_2 = 34; 1343 // in1 = "in", flattened 4-vectors 1344 public result_int reduce_my_half4_2(short[] in1) { 1345 // Verify that "in1" is non-null. 1346 if (in1 == null) { 1347 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1348 } 1349 // Verify that the array length is a multiple of the vector size. 1350 if (in1.length % 4 != 0) { 1351 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1352 } 1353 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1354 ain1.setAutoPadding(true); 1355 ain1.copyFrom(in1); 1356 1357 result_int result = reduce_my_half4_2(ain1, null); 1358 result.mTempIns = new Allocation[]{ain1}; 1359 return result; 1360 } 1361 1362 // ain1 = "half4 in" 1363 public result_int reduce_my_half4_2(Allocation ain1) { 1364 return reduce_my_half4_2(ain1, null); 1365 } 1366 1367 // ain1 = "half4 in" 1368 public result_int reduce_my_half4_2(Allocation ain1, Script.LaunchOptions sc) { 1369 // check ain1 1370 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1371 throw new RSRuntimeException("Type mismatch with F16_4!"); 1372 } 1373 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1374 aout.setAutoPadding(true); 1375 reduce(mExportReduceIdx_my_half4_2, new Allocation[]{ain1}, aout, sc); 1376 return new result_int(aout); 1377 } 1378 1379 private final static int mExportReduceIdx_my_half4_3 = 35; 1380 // in1 = "in", flattened 4-vectors 1381 public result_int reduce_my_half4_3(short[] in1) { 1382 // Verify that "in1" is non-null. 1383 if (in1 == null) { 1384 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1385 } 1386 // Verify that the array length is a multiple of the vector size. 1387 if (in1.length % 4 != 0) { 1388 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1389 } 1390 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1391 ain1.setAutoPadding(true); 1392 ain1.copyFrom(in1); 1393 1394 result_int result = reduce_my_half4_3(ain1, null); 1395 result.mTempIns = new Allocation[]{ain1}; 1396 return result; 1397 } 1398 1399 // ain1 = "half4 in" 1400 public result_int reduce_my_half4_3(Allocation ain1) { 1401 return reduce_my_half4_3(ain1, null); 1402 } 1403 1404 // ain1 = "half4 in" 1405 public result_int reduce_my_half4_3(Allocation ain1, Script.LaunchOptions sc) { 1406 // check ain1 1407 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1408 throw new RSRuntimeException("Type mismatch with F16_4!"); 1409 } 1410 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1411 aout.setAutoPadding(true); 1412 reduce(mExportReduceIdx_my_half4_3, new Allocation[]{ain1}, aout, sc); 1413 return new result_int(aout); 1414 } 1415 1416 private final static int mExportReduceIdx_my_half4_4 = 36; 1417 // in1 = "in", flattened 4-vectors 1418 public result_int reduce_my_half4_4(short[] in1) { 1419 // Verify that "in1" is non-null. 1420 if (in1 == null) { 1421 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1422 } 1423 // Verify that the array length is a multiple of the vector size. 1424 if (in1.length % 4 != 0) { 1425 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1426 } 1427 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1428 ain1.setAutoPadding(true); 1429 ain1.copyFrom(in1); 1430 1431 result_int result = reduce_my_half4_4(ain1, null); 1432 result.mTempIns = new Allocation[]{ain1}; 1433 return result; 1434 } 1435 1436 // ain1 = "half4 in" 1437 public result_int reduce_my_half4_4(Allocation ain1) { 1438 return reduce_my_half4_4(ain1, null); 1439 } 1440 1441 // ain1 = "half4 in" 1442 public result_int reduce_my_half4_4(Allocation ain1, Script.LaunchOptions sc) { 1443 // check ain1 1444 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1445 throw new RSRuntimeException("Type mismatch with F16_4!"); 1446 } 1447 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1448 aout.setAutoPadding(true); 1449 reduce(mExportReduceIdx_my_half4_4, new Allocation[]{ain1}, aout, sc); 1450 return new result_int(aout); 1451 } 1452 1453 private final static int mExportReduceIdx_my_half4_5 = 37; 1454 // in1 = "in", flattened 4-vectors 1455 public result_int reduce_my_half4_5(short[] in1) { 1456 // Verify that "in1" is non-null. 1457 if (in1 == null) { 1458 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1459 } 1460 // Verify that the array length is a multiple of the vector size. 1461 if (in1.length % 4 != 0) { 1462 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1463 } 1464 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1465 ain1.setAutoPadding(true); 1466 ain1.copyFrom(in1); 1467 1468 result_int result = reduce_my_half4_5(ain1, null); 1469 result.mTempIns = new Allocation[]{ain1}; 1470 return result; 1471 } 1472 1473 // ain1 = "half4 in" 1474 public result_int reduce_my_half4_5(Allocation ain1) { 1475 return reduce_my_half4_5(ain1, null); 1476 } 1477 1478 // ain1 = "half4 in" 1479 public result_int reduce_my_half4_5(Allocation ain1, Script.LaunchOptions sc) { 1480 // check ain1 1481 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1482 throw new RSRuntimeException("Type mismatch with F16_4!"); 1483 } 1484 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1485 aout.setAutoPadding(true); 1486 reduce(mExportReduceIdx_my_half4_5, new Allocation[]{ain1}, aout, sc); 1487 return new result_int(aout); 1488 } 1489 1490 private final static int mExportReduceIdx_my_half4_6 = 38; 1491 // in1 = "in", flattened 4-vectors 1492 public result_int reduce_my_half4_6(short[] in1) { 1493 // Verify that "in1" is non-null. 1494 if (in1 == null) { 1495 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1496 } 1497 // Verify that the array length is a multiple of the vector size. 1498 if (in1.length % 4 != 0) { 1499 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1500 } 1501 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1502 ain1.setAutoPadding(true); 1503 ain1.copyFrom(in1); 1504 1505 result_int result = reduce_my_half4_6(ain1, null); 1506 result.mTempIns = new Allocation[]{ain1}; 1507 return result; 1508 } 1509 1510 // ain1 = "half4 in" 1511 public result_int reduce_my_half4_6(Allocation ain1) { 1512 return reduce_my_half4_6(ain1, null); 1513 } 1514 1515 // ain1 = "half4 in" 1516 public result_int reduce_my_half4_6(Allocation ain1, Script.LaunchOptions sc) { 1517 // check ain1 1518 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1519 throw new RSRuntimeException("Type mismatch with F16_4!"); 1520 } 1521 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1522 aout.setAutoPadding(true); 1523 reduce(mExportReduceIdx_my_half4_6, new Allocation[]{ain1}, aout, sc); 1524 return new result_int(aout); 1525 } 1526 1527 private final static int mExportReduceIdx_my_half4_7 = 39; 1528 // in1 = "in", flattened 4-vectors 1529 public result_int reduce_my_half4_7(short[] in1) { 1530 // Verify that "in1" is non-null. 1531 if (in1 == null) { 1532 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1533 } 1534 // Verify that the array length is a multiple of the vector size. 1535 if (in1.length % 4 != 0) { 1536 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1537 } 1538 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1539 ain1.setAutoPadding(true); 1540 ain1.copyFrom(in1); 1541 1542 result_int result = reduce_my_half4_7(ain1, null); 1543 result.mTempIns = new Allocation[]{ain1}; 1544 return result; 1545 } 1546 1547 // ain1 = "half4 in" 1548 public result_int reduce_my_half4_7(Allocation ain1) { 1549 return reduce_my_half4_7(ain1, null); 1550 } 1551 1552 // ain1 = "half4 in" 1553 public result_int reduce_my_half4_7(Allocation ain1, Script.LaunchOptions sc) { 1554 // check ain1 1555 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1556 throw new RSRuntimeException("Type mismatch with F16_4!"); 1557 } 1558 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1559 aout.setAutoPadding(true); 1560 reduce(mExportReduceIdx_my_half4_7, new Allocation[]{ain1}, aout, sc); 1561 return new result_int(aout); 1562 } 1563 1564 private final static int mExportReduceIdx_my_half4_8 = 40; 1565 // in1 = "in", flattened 4-vectors 1566 public result_int reduce_my_half4_8(short[] in1) { 1567 // Verify that "in1" is non-null. 1568 if (in1 == null) { 1569 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1570 } 1571 // Verify that the array length is a multiple of the vector size. 1572 if (in1.length % 4 != 0) { 1573 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1574 } 1575 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1576 ain1.setAutoPadding(true); 1577 ain1.copyFrom(in1); 1578 1579 result_int result = reduce_my_half4_8(ain1, null); 1580 result.mTempIns = new Allocation[]{ain1}; 1581 return result; 1582 } 1583 1584 // ain1 = "half4 in" 1585 public result_int reduce_my_half4_8(Allocation ain1) { 1586 return reduce_my_half4_8(ain1, null); 1587 } 1588 1589 // ain1 = "half4 in" 1590 public result_int reduce_my_half4_8(Allocation ain1, Script.LaunchOptions sc) { 1591 // check ain1 1592 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1593 throw new RSRuntimeException("Type mismatch with F16_4!"); 1594 } 1595 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1596 aout.setAutoPadding(true); 1597 reduce(mExportReduceIdx_my_half4_8, new Allocation[]{ain1}, aout, sc); 1598 return new result_int(aout); 1599 } 1600 1601 private final static int mExportReduceIdx_my_half4_9 = 41; 1602 // in1 = "in", flattened 4-vectors 1603 public result_int reduce_my_half4_9(short[] in1) { 1604 // Verify that "in1" is non-null. 1605 if (in1 == null) { 1606 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1607 } 1608 // Verify that the array length is a multiple of the vector size. 1609 if (in1.length % 4 != 0) { 1610 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1611 } 1612 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1613 ain1.setAutoPadding(true); 1614 ain1.copyFrom(in1); 1615 1616 result_int result = reduce_my_half4_9(ain1, null); 1617 result.mTempIns = new Allocation[]{ain1}; 1618 return result; 1619 } 1620 1621 // ain1 = "half4 in" 1622 public result_int reduce_my_half4_9(Allocation ain1) { 1623 return reduce_my_half4_9(ain1, null); 1624 } 1625 1626 // ain1 = "half4 in" 1627 public result_int reduce_my_half4_9(Allocation ain1, Script.LaunchOptions sc) { 1628 // check ain1 1629 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1630 throw new RSRuntimeException("Type mismatch with F16_4!"); 1631 } 1632 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1633 aout.setAutoPadding(true); 1634 reduce(mExportReduceIdx_my_half4_9, new Allocation[]{ain1}, aout, sc); 1635 return new result_int(aout); 1636 } 1637 1638 private final static int mExportReduceIdx_my_half4_10 = 42; 1639 // in1 = "in", flattened 4-vectors 1640 public result_int reduce_my_half4_10(short[] in1) { 1641 // Verify that "in1" is non-null. 1642 if (in1 == null) { 1643 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1644 } 1645 // Verify that the array length is a multiple of the vector size. 1646 if (in1.length % 4 != 0) { 1647 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1648 } 1649 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1650 ain1.setAutoPadding(true); 1651 ain1.copyFrom(in1); 1652 1653 result_int result = reduce_my_half4_10(ain1, null); 1654 result.mTempIns = new Allocation[]{ain1}; 1655 return result; 1656 } 1657 1658 // ain1 = "half4 in" 1659 public result_int reduce_my_half4_10(Allocation ain1) { 1660 return reduce_my_half4_10(ain1, null); 1661 } 1662 1663 // ain1 = "half4 in" 1664 public result_int reduce_my_half4_10(Allocation ain1, Script.LaunchOptions sc) { 1665 // check ain1 1666 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1667 throw new RSRuntimeException("Type mismatch with F16_4!"); 1668 } 1669 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1670 aout.setAutoPadding(true); 1671 reduce(mExportReduceIdx_my_half4_10, new Allocation[]{ain1}, aout, sc); 1672 return new result_int(aout); 1673 } 1674 1675 private final static int mExportReduceIdx_my_half4_11 = 43; 1676 // in1 = "in", flattened 4-vectors 1677 public result_int reduce_my_half4_11(short[] in1) { 1678 // Verify that "in1" is non-null. 1679 if (in1 == null) { 1680 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1681 } 1682 // Verify that the array length is a multiple of the vector size. 1683 if (in1.length % 4 != 0) { 1684 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1685 } 1686 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1687 ain1.setAutoPadding(true); 1688 ain1.copyFrom(in1); 1689 1690 result_int result = reduce_my_half4_11(ain1, null); 1691 result.mTempIns = new Allocation[]{ain1}; 1692 return result; 1693 } 1694 1695 // ain1 = "half4 in" 1696 public result_int reduce_my_half4_11(Allocation ain1) { 1697 return reduce_my_half4_11(ain1, null); 1698 } 1699 1700 // ain1 = "half4 in" 1701 public result_int reduce_my_half4_11(Allocation ain1, Script.LaunchOptions sc) { 1702 // check ain1 1703 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1704 throw new RSRuntimeException("Type mismatch with F16_4!"); 1705 } 1706 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1707 aout.setAutoPadding(true); 1708 reduce(mExportReduceIdx_my_half4_11, new Allocation[]{ain1}, aout, sc); 1709 return new result_int(aout); 1710 } 1711 1712 private final static int mExportReduceIdx_my_half4_12 = 44; 1713 // in1 = "in", flattened 4-vectors 1714 public result_int reduce_my_half4_12(short[] in1) { 1715 // Verify that "in1" is non-null. 1716 if (in1 == null) { 1717 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1718 } 1719 // Verify that the array length is a multiple of the vector size. 1720 if (in1.length % 4 != 0) { 1721 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1722 } 1723 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1724 ain1.setAutoPadding(true); 1725 ain1.copyFrom(in1); 1726 1727 result_int result = reduce_my_half4_12(ain1, null); 1728 result.mTempIns = new Allocation[]{ain1}; 1729 return result; 1730 } 1731 1732 // ain1 = "half4 in" 1733 public result_int reduce_my_half4_12(Allocation ain1) { 1734 return reduce_my_half4_12(ain1, null); 1735 } 1736 1737 // ain1 = "half4 in" 1738 public result_int reduce_my_half4_12(Allocation ain1, Script.LaunchOptions sc) { 1739 // check ain1 1740 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1741 throw new RSRuntimeException("Type mismatch with F16_4!"); 1742 } 1743 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1744 aout.setAutoPadding(true); 1745 reduce(mExportReduceIdx_my_half4_12, new Allocation[]{ain1}, aout, sc); 1746 return new result_int(aout); 1747 } 1748 1749 private final static int mExportReduceIdx_my_half4_13 = 45; 1750 // in1 = "in", flattened 4-vectors 1751 public result_int reduce_my_half4_13(short[] in1) { 1752 // Verify that "in1" is non-null. 1753 if (in1 == null) { 1754 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1755 } 1756 // Verify that the array length is a multiple of the vector size. 1757 if (in1.length % 4 != 0) { 1758 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1759 } 1760 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1761 ain1.setAutoPadding(true); 1762 ain1.copyFrom(in1); 1763 1764 result_int result = reduce_my_half4_13(ain1, null); 1765 result.mTempIns = new Allocation[]{ain1}; 1766 return result; 1767 } 1768 1769 // ain1 = "half4 in" 1770 public result_int reduce_my_half4_13(Allocation ain1) { 1771 return reduce_my_half4_13(ain1, null); 1772 } 1773 1774 // ain1 = "half4 in" 1775 public result_int reduce_my_half4_13(Allocation ain1, Script.LaunchOptions sc) { 1776 // check ain1 1777 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1778 throw new RSRuntimeException("Type mismatch with F16_4!"); 1779 } 1780 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1781 aout.setAutoPadding(true); 1782 reduce(mExportReduceIdx_my_half4_13, new Allocation[]{ain1}, aout, sc); 1783 return new result_int(aout); 1784 } 1785 1786 private final static int mExportReduceIdx_my_half4_14 = 46; 1787 // in1 = "in", flattened 4-vectors 1788 public result_int reduce_my_half4_14(short[] in1) { 1789 // Verify that "in1" is non-null. 1790 if (in1 == null) { 1791 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1792 } 1793 // Verify that the array length is a multiple of the vector size. 1794 if (in1.length % 4 != 0) { 1795 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1796 } 1797 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1798 ain1.setAutoPadding(true); 1799 ain1.copyFrom(in1); 1800 1801 result_int result = reduce_my_half4_14(ain1, null); 1802 result.mTempIns = new Allocation[]{ain1}; 1803 return result; 1804 } 1805 1806 // ain1 = "half4 in" 1807 public result_int reduce_my_half4_14(Allocation ain1) { 1808 return reduce_my_half4_14(ain1, null); 1809 } 1810 1811 // ain1 = "half4 in" 1812 public result_int reduce_my_half4_14(Allocation ain1, Script.LaunchOptions sc) { 1813 // check ain1 1814 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1815 throw new RSRuntimeException("Type mismatch with F16_4!"); 1816 } 1817 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1818 aout.setAutoPadding(true); 1819 reduce(mExportReduceIdx_my_half4_14, new Allocation[]{ain1}, aout, sc); 1820 return new result_int(aout); 1821 } 1822 1823 private final static int mExportReduceIdx_my_half4_15 = 47; 1824 // in1 = "in", flattened 4-vectors 1825 public result_int reduce_my_half4_15(short[] in1) { 1826 // Verify that "in1" is non-null. 1827 if (in1 == null) { 1828 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1829 } 1830 // Verify that the array length is a multiple of the vector size. 1831 if (in1.length % 4 != 0) { 1832 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1833 } 1834 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1835 ain1.setAutoPadding(true); 1836 ain1.copyFrom(in1); 1837 1838 result_int result = reduce_my_half4_15(ain1, null); 1839 result.mTempIns = new Allocation[]{ain1}; 1840 return result; 1841 } 1842 1843 // ain1 = "half4 in" 1844 public result_int reduce_my_half4_15(Allocation ain1) { 1845 return reduce_my_half4_15(ain1, null); 1846 } 1847 1848 // ain1 = "half4 in" 1849 public result_int reduce_my_half4_15(Allocation ain1, Script.LaunchOptions sc) { 1850 // check ain1 1851 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1852 throw new RSRuntimeException("Type mismatch with F16_4!"); 1853 } 1854 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1855 aout.setAutoPadding(true); 1856 reduce(mExportReduceIdx_my_half4_15, new Allocation[]{ain1}, aout, sc); 1857 return new result_int(aout); 1858 } 1859 1860 private final static int mExportReduceIdx_my_float_0 = 48; 1861 // in1 = "in" 1862 public result_int reduce_my_float_0(float[] in1) { 1863 // Verify that "in1" is non-null. 1864 if (in1 == null) { 1865 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1866 } 1867 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 1868 ain1.setAutoPadding(true); 1869 ain1.copyFrom(in1); 1870 1871 result_int result = reduce_my_float_0(ain1, null); 1872 result.mTempIns = new Allocation[]{ain1}; 1873 return result; 1874 } 1875 1876 // ain1 = "float in" 1877 public result_int reduce_my_float_0(Allocation ain1) { 1878 return reduce_my_float_0(ain1, null); 1879 } 1880 1881 // ain1 = "float in" 1882 public result_int reduce_my_float_0(Allocation ain1, Script.LaunchOptions sc) { 1883 // check ain1 1884 if (!ain1.getType().getElement().isCompatible(__F32)) { 1885 throw new RSRuntimeException("Type mismatch with F32!"); 1886 } 1887 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1888 aout.setAutoPadding(true); 1889 reduce(mExportReduceIdx_my_float_0, new Allocation[]{ain1}, aout, sc); 1890 return new result_int(aout); 1891 } 1892 1893 private final static int mExportReduceIdx_my_float_1 = 49; 1894 // in1 = "in" 1895 public result_int reduce_my_float_1(float[] in1) { 1896 // Verify that "in1" is non-null. 1897 if (in1 == null) { 1898 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1899 } 1900 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 1901 ain1.setAutoPadding(true); 1902 ain1.copyFrom(in1); 1903 1904 result_int result = reduce_my_float_1(ain1, null); 1905 result.mTempIns = new Allocation[]{ain1}; 1906 return result; 1907 } 1908 1909 // ain1 = "float in" 1910 public result_int reduce_my_float_1(Allocation ain1) { 1911 return reduce_my_float_1(ain1, null); 1912 } 1913 1914 // ain1 = "float in" 1915 public result_int reduce_my_float_1(Allocation ain1, Script.LaunchOptions sc) { 1916 // check ain1 1917 if (!ain1.getType().getElement().isCompatible(__F32)) { 1918 throw new RSRuntimeException("Type mismatch with F32!"); 1919 } 1920 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1921 aout.setAutoPadding(true); 1922 reduce(mExportReduceIdx_my_float_1, new Allocation[]{ain1}, aout, sc); 1923 return new result_int(aout); 1924 } 1925 1926 private final static int mExportReduceIdx_my_float_2 = 50; 1927 // in1 = "in" 1928 public result_int reduce_my_float_2(float[] in1) { 1929 // Verify that "in1" is non-null. 1930 if (in1 == null) { 1931 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1932 } 1933 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 1934 ain1.setAutoPadding(true); 1935 ain1.copyFrom(in1); 1936 1937 result_int result = reduce_my_float_2(ain1, null); 1938 result.mTempIns = new Allocation[]{ain1}; 1939 return result; 1940 } 1941 1942 // ain1 = "float in" 1943 public result_int reduce_my_float_2(Allocation ain1) { 1944 return reduce_my_float_2(ain1, null); 1945 } 1946 1947 // ain1 = "float in" 1948 public result_int reduce_my_float_2(Allocation ain1, Script.LaunchOptions sc) { 1949 // check ain1 1950 if (!ain1.getType().getElement().isCompatible(__F32)) { 1951 throw new RSRuntimeException("Type mismatch with F32!"); 1952 } 1953 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1954 aout.setAutoPadding(true); 1955 reduce(mExportReduceIdx_my_float_2, new Allocation[]{ain1}, aout, sc); 1956 return new result_int(aout); 1957 } 1958 1959 private final static int mExportReduceIdx_my_float_3 = 51; 1960 // in1 = "in" 1961 public result_int reduce_my_float_3(float[] in1) { 1962 // Verify that "in1" is non-null. 1963 if (in1 == null) { 1964 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1965 } 1966 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 1967 ain1.setAutoPadding(true); 1968 ain1.copyFrom(in1); 1969 1970 result_int result = reduce_my_float_3(ain1, null); 1971 result.mTempIns = new Allocation[]{ain1}; 1972 return result; 1973 } 1974 1975 // ain1 = "float in" 1976 public result_int reduce_my_float_3(Allocation ain1) { 1977 return reduce_my_float_3(ain1, null); 1978 } 1979 1980 // ain1 = "float in" 1981 public result_int reduce_my_float_3(Allocation ain1, Script.LaunchOptions sc) { 1982 // check ain1 1983 if (!ain1.getType().getElement().isCompatible(__F32)) { 1984 throw new RSRuntimeException("Type mismatch with F32!"); 1985 } 1986 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1987 aout.setAutoPadding(true); 1988 reduce(mExportReduceIdx_my_float_3, new Allocation[]{ain1}, aout, sc); 1989 return new result_int(aout); 1990 } 1991 1992 private final static int mExportReduceIdx_my_float_4 = 52; 1993 // in1 = "in" 1994 public result_int reduce_my_float_4(float[] in1) { 1995 // Verify that "in1" is non-null. 1996 if (in1 == null) { 1997 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1998 } 1999 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2000 ain1.setAutoPadding(true); 2001 ain1.copyFrom(in1); 2002 2003 result_int result = reduce_my_float_4(ain1, null); 2004 result.mTempIns = new Allocation[]{ain1}; 2005 return result; 2006 } 2007 2008 // ain1 = "float in" 2009 public result_int reduce_my_float_4(Allocation ain1) { 2010 return reduce_my_float_4(ain1, null); 2011 } 2012 2013 // ain1 = "float in" 2014 public result_int reduce_my_float_4(Allocation ain1, Script.LaunchOptions sc) { 2015 // check ain1 2016 if (!ain1.getType().getElement().isCompatible(__F32)) { 2017 throw new RSRuntimeException("Type mismatch with F32!"); 2018 } 2019 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2020 aout.setAutoPadding(true); 2021 reduce(mExportReduceIdx_my_float_4, new Allocation[]{ain1}, aout, sc); 2022 return new result_int(aout); 2023 } 2024 2025 private final static int mExportReduceIdx_my_float_5 = 53; 2026 // in1 = "in" 2027 public result_int reduce_my_float_5(float[] in1) { 2028 // Verify that "in1" is non-null. 2029 if (in1 == null) { 2030 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2031 } 2032 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2033 ain1.setAutoPadding(true); 2034 ain1.copyFrom(in1); 2035 2036 result_int result = reduce_my_float_5(ain1, null); 2037 result.mTempIns = new Allocation[]{ain1}; 2038 return result; 2039 } 2040 2041 // ain1 = "float in" 2042 public result_int reduce_my_float_5(Allocation ain1) { 2043 return reduce_my_float_5(ain1, null); 2044 } 2045 2046 // ain1 = "float in" 2047 public result_int reduce_my_float_5(Allocation ain1, Script.LaunchOptions sc) { 2048 // check ain1 2049 if (!ain1.getType().getElement().isCompatible(__F32)) { 2050 throw new RSRuntimeException("Type mismatch with F32!"); 2051 } 2052 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2053 aout.setAutoPadding(true); 2054 reduce(mExportReduceIdx_my_float_5, new Allocation[]{ain1}, aout, sc); 2055 return new result_int(aout); 2056 } 2057 2058 private final static int mExportReduceIdx_my_float_6 = 54; 2059 // in1 = "in" 2060 public result_int reduce_my_float_6(float[] in1) { 2061 // Verify that "in1" is non-null. 2062 if (in1 == null) { 2063 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2064 } 2065 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2066 ain1.setAutoPadding(true); 2067 ain1.copyFrom(in1); 2068 2069 result_int result = reduce_my_float_6(ain1, null); 2070 result.mTempIns = new Allocation[]{ain1}; 2071 return result; 2072 } 2073 2074 // ain1 = "float in" 2075 public result_int reduce_my_float_6(Allocation ain1) { 2076 return reduce_my_float_6(ain1, null); 2077 } 2078 2079 // ain1 = "float in" 2080 public result_int reduce_my_float_6(Allocation ain1, Script.LaunchOptions sc) { 2081 // check ain1 2082 if (!ain1.getType().getElement().isCompatible(__F32)) { 2083 throw new RSRuntimeException("Type mismatch with F32!"); 2084 } 2085 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2086 aout.setAutoPadding(true); 2087 reduce(mExportReduceIdx_my_float_6, new Allocation[]{ain1}, aout, sc); 2088 return new result_int(aout); 2089 } 2090 2091 private final static int mExportReduceIdx_my_float_7 = 55; 2092 // in1 = "in" 2093 public result_int reduce_my_float_7(float[] in1) { 2094 // Verify that "in1" is non-null. 2095 if (in1 == null) { 2096 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2097 } 2098 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2099 ain1.setAutoPadding(true); 2100 ain1.copyFrom(in1); 2101 2102 result_int result = reduce_my_float_7(ain1, null); 2103 result.mTempIns = new Allocation[]{ain1}; 2104 return result; 2105 } 2106 2107 // ain1 = "float in" 2108 public result_int reduce_my_float_7(Allocation ain1) { 2109 return reduce_my_float_7(ain1, null); 2110 } 2111 2112 // ain1 = "float in" 2113 public result_int reduce_my_float_7(Allocation ain1, Script.LaunchOptions sc) { 2114 // check ain1 2115 if (!ain1.getType().getElement().isCompatible(__F32)) { 2116 throw new RSRuntimeException("Type mismatch with F32!"); 2117 } 2118 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2119 aout.setAutoPadding(true); 2120 reduce(mExportReduceIdx_my_float_7, new Allocation[]{ain1}, aout, sc); 2121 return new result_int(aout); 2122 } 2123 2124 private final static int mExportReduceIdx_my_float_8 = 56; 2125 // in1 = "in" 2126 public result_int reduce_my_float_8(float[] in1) { 2127 // Verify that "in1" is non-null. 2128 if (in1 == null) { 2129 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2130 } 2131 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2132 ain1.setAutoPadding(true); 2133 ain1.copyFrom(in1); 2134 2135 result_int result = reduce_my_float_8(ain1, null); 2136 result.mTempIns = new Allocation[]{ain1}; 2137 return result; 2138 } 2139 2140 // ain1 = "float in" 2141 public result_int reduce_my_float_8(Allocation ain1) { 2142 return reduce_my_float_8(ain1, null); 2143 } 2144 2145 // ain1 = "float in" 2146 public result_int reduce_my_float_8(Allocation ain1, Script.LaunchOptions sc) { 2147 // check ain1 2148 if (!ain1.getType().getElement().isCompatible(__F32)) { 2149 throw new RSRuntimeException("Type mismatch with F32!"); 2150 } 2151 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2152 aout.setAutoPadding(true); 2153 reduce(mExportReduceIdx_my_float_8, new Allocation[]{ain1}, aout, sc); 2154 return new result_int(aout); 2155 } 2156 2157 private final static int mExportReduceIdx_my_float_9 = 57; 2158 // in1 = "in" 2159 public result_int reduce_my_float_9(float[] in1) { 2160 // Verify that "in1" is non-null. 2161 if (in1 == null) { 2162 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2163 } 2164 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2165 ain1.setAutoPadding(true); 2166 ain1.copyFrom(in1); 2167 2168 result_int result = reduce_my_float_9(ain1, null); 2169 result.mTempIns = new Allocation[]{ain1}; 2170 return result; 2171 } 2172 2173 // ain1 = "float in" 2174 public result_int reduce_my_float_9(Allocation ain1) { 2175 return reduce_my_float_9(ain1, null); 2176 } 2177 2178 // ain1 = "float in" 2179 public result_int reduce_my_float_9(Allocation ain1, Script.LaunchOptions sc) { 2180 // check ain1 2181 if (!ain1.getType().getElement().isCompatible(__F32)) { 2182 throw new RSRuntimeException("Type mismatch with F32!"); 2183 } 2184 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2185 aout.setAutoPadding(true); 2186 reduce(mExportReduceIdx_my_float_9, new Allocation[]{ain1}, aout, sc); 2187 return new result_int(aout); 2188 } 2189 2190 private final static int mExportReduceIdx_my_float_10 = 58; 2191 // in1 = "in" 2192 public result_int reduce_my_float_10(float[] in1) { 2193 // Verify that "in1" is non-null. 2194 if (in1 == null) { 2195 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2196 } 2197 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2198 ain1.setAutoPadding(true); 2199 ain1.copyFrom(in1); 2200 2201 result_int result = reduce_my_float_10(ain1, null); 2202 result.mTempIns = new Allocation[]{ain1}; 2203 return result; 2204 } 2205 2206 // ain1 = "float in" 2207 public result_int reduce_my_float_10(Allocation ain1) { 2208 return reduce_my_float_10(ain1, null); 2209 } 2210 2211 // ain1 = "float in" 2212 public result_int reduce_my_float_10(Allocation ain1, Script.LaunchOptions sc) { 2213 // check ain1 2214 if (!ain1.getType().getElement().isCompatible(__F32)) { 2215 throw new RSRuntimeException("Type mismatch with F32!"); 2216 } 2217 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2218 aout.setAutoPadding(true); 2219 reduce(mExportReduceIdx_my_float_10, new Allocation[]{ain1}, aout, sc); 2220 return new result_int(aout); 2221 } 2222 2223 private final static int mExportReduceIdx_my_float_11 = 59; 2224 // in1 = "in" 2225 public result_int reduce_my_float_11(float[] in1) { 2226 // Verify that "in1" is non-null. 2227 if (in1 == null) { 2228 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2229 } 2230 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2231 ain1.setAutoPadding(true); 2232 ain1.copyFrom(in1); 2233 2234 result_int result = reduce_my_float_11(ain1, null); 2235 result.mTempIns = new Allocation[]{ain1}; 2236 return result; 2237 } 2238 2239 // ain1 = "float in" 2240 public result_int reduce_my_float_11(Allocation ain1) { 2241 return reduce_my_float_11(ain1, null); 2242 } 2243 2244 // ain1 = "float in" 2245 public result_int reduce_my_float_11(Allocation ain1, Script.LaunchOptions sc) { 2246 // check ain1 2247 if (!ain1.getType().getElement().isCompatible(__F32)) { 2248 throw new RSRuntimeException("Type mismatch with F32!"); 2249 } 2250 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2251 aout.setAutoPadding(true); 2252 reduce(mExportReduceIdx_my_float_11, new Allocation[]{ain1}, aout, sc); 2253 return new result_int(aout); 2254 } 2255 2256 private final static int mExportReduceIdx_my_float_12 = 60; 2257 // in1 = "in" 2258 public result_int reduce_my_float_12(float[] in1) { 2259 // Verify that "in1" is non-null. 2260 if (in1 == null) { 2261 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2262 } 2263 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2264 ain1.setAutoPadding(true); 2265 ain1.copyFrom(in1); 2266 2267 result_int result = reduce_my_float_12(ain1, null); 2268 result.mTempIns = new Allocation[]{ain1}; 2269 return result; 2270 } 2271 2272 // ain1 = "float in" 2273 public result_int reduce_my_float_12(Allocation ain1) { 2274 return reduce_my_float_12(ain1, null); 2275 } 2276 2277 // ain1 = "float in" 2278 public result_int reduce_my_float_12(Allocation ain1, Script.LaunchOptions sc) { 2279 // check ain1 2280 if (!ain1.getType().getElement().isCompatible(__F32)) { 2281 throw new RSRuntimeException("Type mismatch with F32!"); 2282 } 2283 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2284 aout.setAutoPadding(true); 2285 reduce(mExportReduceIdx_my_float_12, new Allocation[]{ain1}, aout, sc); 2286 return new result_int(aout); 2287 } 2288 2289 private final static int mExportReduceIdx_my_float_13 = 61; 2290 // in1 = "in" 2291 public result_int reduce_my_float_13(float[] in1) { 2292 // Verify that "in1" is non-null. 2293 if (in1 == null) { 2294 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2295 } 2296 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2297 ain1.setAutoPadding(true); 2298 ain1.copyFrom(in1); 2299 2300 result_int result = reduce_my_float_13(ain1, null); 2301 result.mTempIns = new Allocation[]{ain1}; 2302 return result; 2303 } 2304 2305 // ain1 = "float in" 2306 public result_int reduce_my_float_13(Allocation ain1) { 2307 return reduce_my_float_13(ain1, null); 2308 } 2309 2310 // ain1 = "float in" 2311 public result_int reduce_my_float_13(Allocation ain1, Script.LaunchOptions sc) { 2312 // check ain1 2313 if (!ain1.getType().getElement().isCompatible(__F32)) { 2314 throw new RSRuntimeException("Type mismatch with F32!"); 2315 } 2316 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2317 aout.setAutoPadding(true); 2318 reduce(mExportReduceIdx_my_float_13, new Allocation[]{ain1}, aout, sc); 2319 return new result_int(aout); 2320 } 2321 2322 private final static int mExportReduceIdx_my_float_14 = 62; 2323 // in1 = "in" 2324 public result_int reduce_my_float_14(float[] in1) { 2325 // Verify that "in1" is non-null. 2326 if (in1 == null) { 2327 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2328 } 2329 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2330 ain1.setAutoPadding(true); 2331 ain1.copyFrom(in1); 2332 2333 result_int result = reduce_my_float_14(ain1, null); 2334 result.mTempIns = new Allocation[]{ain1}; 2335 return result; 2336 } 2337 2338 // ain1 = "float in" 2339 public result_int reduce_my_float_14(Allocation ain1) { 2340 return reduce_my_float_14(ain1, null); 2341 } 2342 2343 // ain1 = "float in" 2344 public result_int reduce_my_float_14(Allocation ain1, Script.LaunchOptions sc) { 2345 // check ain1 2346 if (!ain1.getType().getElement().isCompatible(__F32)) { 2347 throw new RSRuntimeException("Type mismatch with F32!"); 2348 } 2349 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2350 aout.setAutoPadding(true); 2351 reduce(mExportReduceIdx_my_float_14, new Allocation[]{ain1}, aout, sc); 2352 return new result_int(aout); 2353 } 2354 2355 private final static int mExportReduceIdx_my_float_15 = 63; 2356 // in1 = "in" 2357 public result_int reduce_my_float_15(float[] in1) { 2358 // Verify that "in1" is non-null. 2359 if (in1 == null) { 2360 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2361 } 2362 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2363 ain1.setAutoPadding(true); 2364 ain1.copyFrom(in1); 2365 2366 result_int result = reduce_my_float_15(ain1, null); 2367 result.mTempIns = new Allocation[]{ain1}; 2368 return result; 2369 } 2370 2371 // ain1 = "float in" 2372 public result_int reduce_my_float_15(Allocation ain1) { 2373 return reduce_my_float_15(ain1, null); 2374 } 2375 2376 // ain1 = "float in" 2377 public result_int reduce_my_float_15(Allocation ain1, Script.LaunchOptions sc) { 2378 // check ain1 2379 if (!ain1.getType().getElement().isCompatible(__F32)) { 2380 throw new RSRuntimeException("Type mismatch with F32!"); 2381 } 2382 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2383 aout.setAutoPadding(true); 2384 reduce(mExportReduceIdx_my_float_15, new Allocation[]{ain1}, aout, sc); 2385 return new result_int(aout); 2386 } 2387 2388 private final static int mExportReduceIdx_my_float2_0 = 64; 2389 // in1 = "in", flattened 2-vectors 2390 public result_int reduce_my_float2_0(float[] in1) { 2391 // Verify that "in1" is non-null. 2392 if (in1 == null) { 2393 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2394 } 2395 // Verify that the array length is a multiple of the vector size. 2396 if (in1.length % 2 != 0) { 2397 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2398 } 2399 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2400 ain1.setAutoPadding(true); 2401 ain1.copyFrom(in1); 2402 2403 result_int result = reduce_my_float2_0(ain1, null); 2404 result.mTempIns = new Allocation[]{ain1}; 2405 return result; 2406 } 2407 2408 // ain1 = "float2 in" 2409 public result_int reduce_my_float2_0(Allocation ain1) { 2410 return reduce_my_float2_0(ain1, null); 2411 } 2412 2413 // ain1 = "float2 in" 2414 public result_int reduce_my_float2_0(Allocation ain1, Script.LaunchOptions sc) { 2415 // check ain1 2416 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2417 throw new RSRuntimeException("Type mismatch with F32_2!"); 2418 } 2419 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2420 aout.setAutoPadding(true); 2421 reduce(mExportReduceIdx_my_float2_0, new Allocation[]{ain1}, aout, sc); 2422 return new result_int(aout); 2423 } 2424 2425 private final static int mExportReduceIdx_my_float2_1 = 65; 2426 // in1 = "in", flattened 2-vectors 2427 public result_int reduce_my_float2_1(float[] in1) { 2428 // Verify that "in1" is non-null. 2429 if (in1 == null) { 2430 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2431 } 2432 // Verify that the array length is a multiple of the vector size. 2433 if (in1.length % 2 != 0) { 2434 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2435 } 2436 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2437 ain1.setAutoPadding(true); 2438 ain1.copyFrom(in1); 2439 2440 result_int result = reduce_my_float2_1(ain1, null); 2441 result.mTempIns = new Allocation[]{ain1}; 2442 return result; 2443 } 2444 2445 // ain1 = "float2 in" 2446 public result_int reduce_my_float2_1(Allocation ain1) { 2447 return reduce_my_float2_1(ain1, null); 2448 } 2449 2450 // ain1 = "float2 in" 2451 public result_int reduce_my_float2_1(Allocation ain1, Script.LaunchOptions sc) { 2452 // check ain1 2453 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2454 throw new RSRuntimeException("Type mismatch with F32_2!"); 2455 } 2456 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2457 aout.setAutoPadding(true); 2458 reduce(mExportReduceIdx_my_float2_1, new Allocation[]{ain1}, aout, sc); 2459 return new result_int(aout); 2460 } 2461 2462 private final static int mExportReduceIdx_my_float2_2 = 66; 2463 // in1 = "in", flattened 2-vectors 2464 public result_int reduce_my_float2_2(float[] in1) { 2465 // Verify that "in1" is non-null. 2466 if (in1 == null) { 2467 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2468 } 2469 // Verify that the array length is a multiple of the vector size. 2470 if (in1.length % 2 != 0) { 2471 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2472 } 2473 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2474 ain1.setAutoPadding(true); 2475 ain1.copyFrom(in1); 2476 2477 result_int result = reduce_my_float2_2(ain1, null); 2478 result.mTempIns = new Allocation[]{ain1}; 2479 return result; 2480 } 2481 2482 // ain1 = "float2 in" 2483 public result_int reduce_my_float2_2(Allocation ain1) { 2484 return reduce_my_float2_2(ain1, null); 2485 } 2486 2487 // ain1 = "float2 in" 2488 public result_int reduce_my_float2_2(Allocation ain1, Script.LaunchOptions sc) { 2489 // check ain1 2490 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2491 throw new RSRuntimeException("Type mismatch with F32_2!"); 2492 } 2493 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2494 aout.setAutoPadding(true); 2495 reduce(mExportReduceIdx_my_float2_2, new Allocation[]{ain1}, aout, sc); 2496 return new result_int(aout); 2497 } 2498 2499 private final static int mExportReduceIdx_my_float2_3 = 67; 2500 // in1 = "in", flattened 2-vectors 2501 public result_int reduce_my_float2_3(float[] in1) { 2502 // Verify that "in1" is non-null. 2503 if (in1 == null) { 2504 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2505 } 2506 // Verify that the array length is a multiple of the vector size. 2507 if (in1.length % 2 != 0) { 2508 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2509 } 2510 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2511 ain1.setAutoPadding(true); 2512 ain1.copyFrom(in1); 2513 2514 result_int result = reduce_my_float2_3(ain1, null); 2515 result.mTempIns = new Allocation[]{ain1}; 2516 return result; 2517 } 2518 2519 // ain1 = "float2 in" 2520 public result_int reduce_my_float2_3(Allocation ain1) { 2521 return reduce_my_float2_3(ain1, null); 2522 } 2523 2524 // ain1 = "float2 in" 2525 public result_int reduce_my_float2_3(Allocation ain1, Script.LaunchOptions sc) { 2526 // check ain1 2527 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2528 throw new RSRuntimeException("Type mismatch with F32_2!"); 2529 } 2530 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2531 aout.setAutoPadding(true); 2532 reduce(mExportReduceIdx_my_float2_3, new Allocation[]{ain1}, aout, sc); 2533 return new result_int(aout); 2534 } 2535 2536 private final static int mExportReduceIdx_my_float2_4 = 68; 2537 // in1 = "in", flattened 2-vectors 2538 public result_int reduce_my_float2_4(float[] in1) { 2539 // Verify that "in1" is non-null. 2540 if (in1 == null) { 2541 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2542 } 2543 // Verify that the array length is a multiple of the vector size. 2544 if (in1.length % 2 != 0) { 2545 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2546 } 2547 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2548 ain1.setAutoPadding(true); 2549 ain1.copyFrom(in1); 2550 2551 result_int result = reduce_my_float2_4(ain1, null); 2552 result.mTempIns = new Allocation[]{ain1}; 2553 return result; 2554 } 2555 2556 // ain1 = "float2 in" 2557 public result_int reduce_my_float2_4(Allocation ain1) { 2558 return reduce_my_float2_4(ain1, null); 2559 } 2560 2561 // ain1 = "float2 in" 2562 public result_int reduce_my_float2_4(Allocation ain1, Script.LaunchOptions sc) { 2563 // check ain1 2564 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2565 throw new RSRuntimeException("Type mismatch with F32_2!"); 2566 } 2567 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2568 aout.setAutoPadding(true); 2569 reduce(mExportReduceIdx_my_float2_4, new Allocation[]{ain1}, aout, sc); 2570 return new result_int(aout); 2571 } 2572 2573 private final static int mExportReduceIdx_my_float2_5 = 69; 2574 // in1 = "in", flattened 2-vectors 2575 public result_int reduce_my_float2_5(float[] in1) { 2576 // Verify that "in1" is non-null. 2577 if (in1 == null) { 2578 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2579 } 2580 // Verify that the array length is a multiple of the vector size. 2581 if (in1.length % 2 != 0) { 2582 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2583 } 2584 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2585 ain1.setAutoPadding(true); 2586 ain1.copyFrom(in1); 2587 2588 result_int result = reduce_my_float2_5(ain1, null); 2589 result.mTempIns = new Allocation[]{ain1}; 2590 return result; 2591 } 2592 2593 // ain1 = "float2 in" 2594 public result_int reduce_my_float2_5(Allocation ain1) { 2595 return reduce_my_float2_5(ain1, null); 2596 } 2597 2598 // ain1 = "float2 in" 2599 public result_int reduce_my_float2_5(Allocation ain1, Script.LaunchOptions sc) { 2600 // check ain1 2601 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2602 throw new RSRuntimeException("Type mismatch with F32_2!"); 2603 } 2604 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2605 aout.setAutoPadding(true); 2606 reduce(mExportReduceIdx_my_float2_5, new Allocation[]{ain1}, aout, sc); 2607 return new result_int(aout); 2608 } 2609 2610 private final static int mExportReduceIdx_my_float2_6 = 70; 2611 // in1 = "in", flattened 2-vectors 2612 public result_int reduce_my_float2_6(float[] in1) { 2613 // Verify that "in1" is non-null. 2614 if (in1 == null) { 2615 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2616 } 2617 // Verify that the array length is a multiple of the vector size. 2618 if (in1.length % 2 != 0) { 2619 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2620 } 2621 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2622 ain1.setAutoPadding(true); 2623 ain1.copyFrom(in1); 2624 2625 result_int result = reduce_my_float2_6(ain1, null); 2626 result.mTempIns = new Allocation[]{ain1}; 2627 return result; 2628 } 2629 2630 // ain1 = "float2 in" 2631 public result_int reduce_my_float2_6(Allocation ain1) { 2632 return reduce_my_float2_6(ain1, null); 2633 } 2634 2635 // ain1 = "float2 in" 2636 public result_int reduce_my_float2_6(Allocation ain1, Script.LaunchOptions sc) { 2637 // check ain1 2638 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2639 throw new RSRuntimeException("Type mismatch with F32_2!"); 2640 } 2641 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2642 aout.setAutoPadding(true); 2643 reduce(mExportReduceIdx_my_float2_6, new Allocation[]{ain1}, aout, sc); 2644 return new result_int(aout); 2645 } 2646 2647 private final static int mExportReduceIdx_my_float2_7 = 71; 2648 // in1 = "in", flattened 2-vectors 2649 public result_int reduce_my_float2_7(float[] in1) { 2650 // Verify that "in1" is non-null. 2651 if (in1 == null) { 2652 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2653 } 2654 // Verify that the array length is a multiple of the vector size. 2655 if (in1.length % 2 != 0) { 2656 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2657 } 2658 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2659 ain1.setAutoPadding(true); 2660 ain1.copyFrom(in1); 2661 2662 result_int result = reduce_my_float2_7(ain1, null); 2663 result.mTempIns = new Allocation[]{ain1}; 2664 return result; 2665 } 2666 2667 // ain1 = "float2 in" 2668 public result_int reduce_my_float2_7(Allocation ain1) { 2669 return reduce_my_float2_7(ain1, null); 2670 } 2671 2672 // ain1 = "float2 in" 2673 public result_int reduce_my_float2_7(Allocation ain1, Script.LaunchOptions sc) { 2674 // check ain1 2675 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2676 throw new RSRuntimeException("Type mismatch with F32_2!"); 2677 } 2678 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2679 aout.setAutoPadding(true); 2680 reduce(mExportReduceIdx_my_float2_7, new Allocation[]{ain1}, aout, sc); 2681 return new result_int(aout); 2682 } 2683 2684 private final static int mExportReduceIdx_my_float2_8 = 72; 2685 // in1 = "in", flattened 2-vectors 2686 public result_int reduce_my_float2_8(float[] in1) { 2687 // Verify that "in1" is non-null. 2688 if (in1 == null) { 2689 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2690 } 2691 // Verify that the array length is a multiple of the vector size. 2692 if (in1.length % 2 != 0) { 2693 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2694 } 2695 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2696 ain1.setAutoPadding(true); 2697 ain1.copyFrom(in1); 2698 2699 result_int result = reduce_my_float2_8(ain1, null); 2700 result.mTempIns = new Allocation[]{ain1}; 2701 return result; 2702 } 2703 2704 // ain1 = "float2 in" 2705 public result_int reduce_my_float2_8(Allocation ain1) { 2706 return reduce_my_float2_8(ain1, null); 2707 } 2708 2709 // ain1 = "float2 in" 2710 public result_int reduce_my_float2_8(Allocation ain1, Script.LaunchOptions sc) { 2711 // check ain1 2712 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2713 throw new RSRuntimeException("Type mismatch with F32_2!"); 2714 } 2715 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2716 aout.setAutoPadding(true); 2717 reduce(mExportReduceIdx_my_float2_8, new Allocation[]{ain1}, aout, sc); 2718 return new result_int(aout); 2719 } 2720 2721 private final static int mExportReduceIdx_my_float2_9 = 73; 2722 // in1 = "in", flattened 2-vectors 2723 public result_int reduce_my_float2_9(float[] in1) { 2724 // Verify that "in1" is non-null. 2725 if (in1 == null) { 2726 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2727 } 2728 // Verify that the array length is a multiple of the vector size. 2729 if (in1.length % 2 != 0) { 2730 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2731 } 2732 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2733 ain1.setAutoPadding(true); 2734 ain1.copyFrom(in1); 2735 2736 result_int result = reduce_my_float2_9(ain1, null); 2737 result.mTempIns = new Allocation[]{ain1}; 2738 return result; 2739 } 2740 2741 // ain1 = "float2 in" 2742 public result_int reduce_my_float2_9(Allocation ain1) { 2743 return reduce_my_float2_9(ain1, null); 2744 } 2745 2746 // ain1 = "float2 in" 2747 public result_int reduce_my_float2_9(Allocation ain1, Script.LaunchOptions sc) { 2748 // check ain1 2749 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2750 throw new RSRuntimeException("Type mismatch with F32_2!"); 2751 } 2752 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2753 aout.setAutoPadding(true); 2754 reduce(mExportReduceIdx_my_float2_9, new Allocation[]{ain1}, aout, sc); 2755 return new result_int(aout); 2756 } 2757 2758 private final static int mExportReduceIdx_my_float2_10 = 74; 2759 // in1 = "in", flattened 2-vectors 2760 public result_int reduce_my_float2_10(float[] in1) { 2761 // Verify that "in1" is non-null. 2762 if (in1 == null) { 2763 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2764 } 2765 // Verify that the array length is a multiple of the vector size. 2766 if (in1.length % 2 != 0) { 2767 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2768 } 2769 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2770 ain1.setAutoPadding(true); 2771 ain1.copyFrom(in1); 2772 2773 result_int result = reduce_my_float2_10(ain1, null); 2774 result.mTempIns = new Allocation[]{ain1}; 2775 return result; 2776 } 2777 2778 // ain1 = "float2 in" 2779 public result_int reduce_my_float2_10(Allocation ain1) { 2780 return reduce_my_float2_10(ain1, null); 2781 } 2782 2783 // ain1 = "float2 in" 2784 public result_int reduce_my_float2_10(Allocation ain1, Script.LaunchOptions sc) { 2785 // check ain1 2786 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2787 throw new RSRuntimeException("Type mismatch with F32_2!"); 2788 } 2789 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2790 aout.setAutoPadding(true); 2791 reduce(mExportReduceIdx_my_float2_10, new Allocation[]{ain1}, aout, sc); 2792 return new result_int(aout); 2793 } 2794 2795 private final static int mExportReduceIdx_my_float2_11 = 75; 2796 // in1 = "in", flattened 2-vectors 2797 public result_int reduce_my_float2_11(float[] in1) { 2798 // Verify that "in1" is non-null. 2799 if (in1 == null) { 2800 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2801 } 2802 // Verify that the array length is a multiple of the vector size. 2803 if (in1.length % 2 != 0) { 2804 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2805 } 2806 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2807 ain1.setAutoPadding(true); 2808 ain1.copyFrom(in1); 2809 2810 result_int result = reduce_my_float2_11(ain1, null); 2811 result.mTempIns = new Allocation[]{ain1}; 2812 return result; 2813 } 2814 2815 // ain1 = "float2 in" 2816 public result_int reduce_my_float2_11(Allocation ain1) { 2817 return reduce_my_float2_11(ain1, null); 2818 } 2819 2820 // ain1 = "float2 in" 2821 public result_int reduce_my_float2_11(Allocation ain1, Script.LaunchOptions sc) { 2822 // check ain1 2823 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2824 throw new RSRuntimeException("Type mismatch with F32_2!"); 2825 } 2826 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2827 aout.setAutoPadding(true); 2828 reduce(mExportReduceIdx_my_float2_11, new Allocation[]{ain1}, aout, sc); 2829 return new result_int(aout); 2830 } 2831 2832 private final static int mExportReduceIdx_my_float2_12 = 76; 2833 // in1 = "in", flattened 2-vectors 2834 public result_int reduce_my_float2_12(float[] in1) { 2835 // Verify that "in1" is non-null. 2836 if (in1 == null) { 2837 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2838 } 2839 // Verify that the array length is a multiple of the vector size. 2840 if (in1.length % 2 != 0) { 2841 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2842 } 2843 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2844 ain1.setAutoPadding(true); 2845 ain1.copyFrom(in1); 2846 2847 result_int result = reduce_my_float2_12(ain1, null); 2848 result.mTempIns = new Allocation[]{ain1}; 2849 return result; 2850 } 2851 2852 // ain1 = "float2 in" 2853 public result_int reduce_my_float2_12(Allocation ain1) { 2854 return reduce_my_float2_12(ain1, null); 2855 } 2856 2857 // ain1 = "float2 in" 2858 public result_int reduce_my_float2_12(Allocation ain1, Script.LaunchOptions sc) { 2859 // check ain1 2860 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2861 throw new RSRuntimeException("Type mismatch with F32_2!"); 2862 } 2863 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2864 aout.setAutoPadding(true); 2865 reduce(mExportReduceIdx_my_float2_12, new Allocation[]{ain1}, aout, sc); 2866 return new result_int(aout); 2867 } 2868 2869 private final static int mExportReduceIdx_my_float2_13 = 77; 2870 // in1 = "in", flattened 2-vectors 2871 public result_int reduce_my_float2_13(float[] in1) { 2872 // Verify that "in1" is non-null. 2873 if (in1 == null) { 2874 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2875 } 2876 // Verify that the array length is a multiple of the vector size. 2877 if (in1.length % 2 != 0) { 2878 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2879 } 2880 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2881 ain1.setAutoPadding(true); 2882 ain1.copyFrom(in1); 2883 2884 result_int result = reduce_my_float2_13(ain1, null); 2885 result.mTempIns = new Allocation[]{ain1}; 2886 return result; 2887 } 2888 2889 // ain1 = "float2 in" 2890 public result_int reduce_my_float2_13(Allocation ain1) { 2891 return reduce_my_float2_13(ain1, null); 2892 } 2893 2894 // ain1 = "float2 in" 2895 public result_int reduce_my_float2_13(Allocation ain1, Script.LaunchOptions sc) { 2896 // check ain1 2897 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2898 throw new RSRuntimeException("Type mismatch with F32_2!"); 2899 } 2900 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2901 aout.setAutoPadding(true); 2902 reduce(mExportReduceIdx_my_float2_13, new Allocation[]{ain1}, aout, sc); 2903 return new result_int(aout); 2904 } 2905 2906 private final static int mExportReduceIdx_my_float2_14 = 78; 2907 // in1 = "in", flattened 2-vectors 2908 public result_int reduce_my_float2_14(float[] in1) { 2909 // Verify that "in1" is non-null. 2910 if (in1 == null) { 2911 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2912 } 2913 // Verify that the array length is a multiple of the vector size. 2914 if (in1.length % 2 != 0) { 2915 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2916 } 2917 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2918 ain1.setAutoPadding(true); 2919 ain1.copyFrom(in1); 2920 2921 result_int result = reduce_my_float2_14(ain1, null); 2922 result.mTempIns = new Allocation[]{ain1}; 2923 return result; 2924 } 2925 2926 // ain1 = "float2 in" 2927 public result_int reduce_my_float2_14(Allocation ain1) { 2928 return reduce_my_float2_14(ain1, null); 2929 } 2930 2931 // ain1 = "float2 in" 2932 public result_int reduce_my_float2_14(Allocation ain1, Script.LaunchOptions sc) { 2933 // check ain1 2934 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2935 throw new RSRuntimeException("Type mismatch with F32_2!"); 2936 } 2937 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2938 aout.setAutoPadding(true); 2939 reduce(mExportReduceIdx_my_float2_14, new Allocation[]{ain1}, aout, sc); 2940 return new result_int(aout); 2941 } 2942 2943 private final static int mExportReduceIdx_my_float2_15 = 79; 2944 // in1 = "in", flattened 2-vectors 2945 public result_int reduce_my_float2_15(float[] in1) { 2946 // Verify that "in1" is non-null. 2947 if (in1 == null) { 2948 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2949 } 2950 // Verify that the array length is a multiple of the vector size. 2951 if (in1.length % 2 != 0) { 2952 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2953 } 2954 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2955 ain1.setAutoPadding(true); 2956 ain1.copyFrom(in1); 2957 2958 result_int result = reduce_my_float2_15(ain1, null); 2959 result.mTempIns = new Allocation[]{ain1}; 2960 return result; 2961 } 2962 2963 // ain1 = "float2 in" 2964 public result_int reduce_my_float2_15(Allocation ain1) { 2965 return reduce_my_float2_15(ain1, null); 2966 } 2967 2968 // ain1 = "float2 in" 2969 public result_int reduce_my_float2_15(Allocation ain1, Script.LaunchOptions sc) { 2970 // check ain1 2971 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2972 throw new RSRuntimeException("Type mismatch with F32_2!"); 2973 } 2974 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2975 aout.setAutoPadding(true); 2976 reduce(mExportReduceIdx_my_float2_15, new Allocation[]{ain1}, aout, sc); 2977 return new result_int(aout); 2978 } 2979 2980 private final static int mExportReduceIdx_my_float4_0 = 80; 2981 // in1 = "in", flattened 4-vectors 2982 public result_int reduce_my_float4_0(float[] in1) { 2983 // Verify that "in1" is non-null. 2984 if (in1 == null) { 2985 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2986 } 2987 // Verify that the array length is a multiple of the vector size. 2988 if (in1.length % 4 != 0) { 2989 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 2990 } 2991 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 2992 ain1.setAutoPadding(true); 2993 ain1.copyFrom(in1); 2994 2995 result_int result = reduce_my_float4_0(ain1, null); 2996 result.mTempIns = new Allocation[]{ain1}; 2997 return result; 2998 } 2999 3000 // ain1 = "float4 in" 3001 public result_int reduce_my_float4_0(Allocation ain1) { 3002 return reduce_my_float4_0(ain1, null); 3003 } 3004 3005 // ain1 = "float4 in" 3006 public result_int reduce_my_float4_0(Allocation ain1, Script.LaunchOptions sc) { 3007 // check ain1 3008 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3009 throw new RSRuntimeException("Type mismatch with F32_4!"); 3010 } 3011 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3012 aout.setAutoPadding(true); 3013 reduce(mExportReduceIdx_my_float4_0, new Allocation[]{ain1}, aout, sc); 3014 return new result_int(aout); 3015 } 3016 3017 private final static int mExportReduceIdx_my_float4_1 = 81; 3018 // in1 = "in", flattened 4-vectors 3019 public result_int reduce_my_float4_1(float[] in1) { 3020 // Verify that "in1" is non-null. 3021 if (in1 == null) { 3022 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3023 } 3024 // Verify that the array length is a multiple of the vector size. 3025 if (in1.length % 4 != 0) { 3026 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3027 } 3028 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3029 ain1.setAutoPadding(true); 3030 ain1.copyFrom(in1); 3031 3032 result_int result = reduce_my_float4_1(ain1, null); 3033 result.mTempIns = new Allocation[]{ain1}; 3034 return result; 3035 } 3036 3037 // ain1 = "float4 in" 3038 public result_int reduce_my_float4_1(Allocation ain1) { 3039 return reduce_my_float4_1(ain1, null); 3040 } 3041 3042 // ain1 = "float4 in" 3043 public result_int reduce_my_float4_1(Allocation ain1, Script.LaunchOptions sc) { 3044 // check ain1 3045 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3046 throw new RSRuntimeException("Type mismatch with F32_4!"); 3047 } 3048 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3049 aout.setAutoPadding(true); 3050 reduce(mExportReduceIdx_my_float4_1, new Allocation[]{ain1}, aout, sc); 3051 return new result_int(aout); 3052 } 3053 3054 private final static int mExportReduceIdx_my_float4_2 = 82; 3055 // in1 = "in", flattened 4-vectors 3056 public result_int reduce_my_float4_2(float[] in1) { 3057 // Verify that "in1" is non-null. 3058 if (in1 == null) { 3059 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3060 } 3061 // Verify that the array length is a multiple of the vector size. 3062 if (in1.length % 4 != 0) { 3063 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3064 } 3065 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3066 ain1.setAutoPadding(true); 3067 ain1.copyFrom(in1); 3068 3069 result_int result = reduce_my_float4_2(ain1, null); 3070 result.mTempIns = new Allocation[]{ain1}; 3071 return result; 3072 } 3073 3074 // ain1 = "float4 in" 3075 public result_int reduce_my_float4_2(Allocation ain1) { 3076 return reduce_my_float4_2(ain1, null); 3077 } 3078 3079 // ain1 = "float4 in" 3080 public result_int reduce_my_float4_2(Allocation ain1, Script.LaunchOptions sc) { 3081 // check ain1 3082 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3083 throw new RSRuntimeException("Type mismatch with F32_4!"); 3084 } 3085 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3086 aout.setAutoPadding(true); 3087 reduce(mExportReduceIdx_my_float4_2, new Allocation[]{ain1}, aout, sc); 3088 return new result_int(aout); 3089 } 3090 3091 private final static int mExportReduceIdx_my_float4_3 = 83; 3092 // in1 = "in", flattened 4-vectors 3093 public result_int reduce_my_float4_3(float[] in1) { 3094 // Verify that "in1" is non-null. 3095 if (in1 == null) { 3096 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3097 } 3098 // Verify that the array length is a multiple of the vector size. 3099 if (in1.length % 4 != 0) { 3100 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3101 } 3102 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3103 ain1.setAutoPadding(true); 3104 ain1.copyFrom(in1); 3105 3106 result_int result = reduce_my_float4_3(ain1, null); 3107 result.mTempIns = new Allocation[]{ain1}; 3108 return result; 3109 } 3110 3111 // ain1 = "float4 in" 3112 public result_int reduce_my_float4_3(Allocation ain1) { 3113 return reduce_my_float4_3(ain1, null); 3114 } 3115 3116 // ain1 = "float4 in" 3117 public result_int reduce_my_float4_3(Allocation ain1, Script.LaunchOptions sc) { 3118 // check ain1 3119 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3120 throw new RSRuntimeException("Type mismatch with F32_4!"); 3121 } 3122 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3123 aout.setAutoPadding(true); 3124 reduce(mExportReduceIdx_my_float4_3, new Allocation[]{ain1}, aout, sc); 3125 return new result_int(aout); 3126 } 3127 3128 private final static int mExportReduceIdx_my_float4_4 = 84; 3129 // in1 = "in", flattened 4-vectors 3130 public result_int reduce_my_float4_4(float[] in1) { 3131 // Verify that "in1" is non-null. 3132 if (in1 == null) { 3133 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3134 } 3135 // Verify that the array length is a multiple of the vector size. 3136 if (in1.length % 4 != 0) { 3137 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3138 } 3139 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3140 ain1.setAutoPadding(true); 3141 ain1.copyFrom(in1); 3142 3143 result_int result = reduce_my_float4_4(ain1, null); 3144 result.mTempIns = new Allocation[]{ain1}; 3145 return result; 3146 } 3147 3148 // ain1 = "float4 in" 3149 public result_int reduce_my_float4_4(Allocation ain1) { 3150 return reduce_my_float4_4(ain1, null); 3151 } 3152 3153 // ain1 = "float4 in" 3154 public result_int reduce_my_float4_4(Allocation ain1, Script.LaunchOptions sc) { 3155 // check ain1 3156 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3157 throw new RSRuntimeException("Type mismatch with F32_4!"); 3158 } 3159 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3160 aout.setAutoPadding(true); 3161 reduce(mExportReduceIdx_my_float4_4, new Allocation[]{ain1}, aout, sc); 3162 return new result_int(aout); 3163 } 3164 3165 private final static int mExportReduceIdx_my_float4_5 = 85; 3166 // in1 = "in", flattened 4-vectors 3167 public result_int reduce_my_float4_5(float[] in1) { 3168 // Verify that "in1" is non-null. 3169 if (in1 == null) { 3170 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3171 } 3172 // Verify that the array length is a multiple of the vector size. 3173 if (in1.length % 4 != 0) { 3174 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3175 } 3176 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3177 ain1.setAutoPadding(true); 3178 ain1.copyFrom(in1); 3179 3180 result_int result = reduce_my_float4_5(ain1, null); 3181 result.mTempIns = new Allocation[]{ain1}; 3182 return result; 3183 } 3184 3185 // ain1 = "float4 in" 3186 public result_int reduce_my_float4_5(Allocation ain1) { 3187 return reduce_my_float4_5(ain1, null); 3188 } 3189 3190 // ain1 = "float4 in" 3191 public result_int reduce_my_float4_5(Allocation ain1, Script.LaunchOptions sc) { 3192 // check ain1 3193 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3194 throw new RSRuntimeException("Type mismatch with F32_4!"); 3195 } 3196 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3197 aout.setAutoPadding(true); 3198 reduce(mExportReduceIdx_my_float4_5, new Allocation[]{ain1}, aout, sc); 3199 return new result_int(aout); 3200 } 3201 3202 private final static int mExportReduceIdx_my_float4_6 = 86; 3203 // in1 = "in", flattened 4-vectors 3204 public result_int reduce_my_float4_6(float[] in1) { 3205 // Verify that "in1" is non-null. 3206 if (in1 == null) { 3207 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3208 } 3209 // Verify that the array length is a multiple of the vector size. 3210 if (in1.length % 4 != 0) { 3211 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3212 } 3213 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3214 ain1.setAutoPadding(true); 3215 ain1.copyFrom(in1); 3216 3217 result_int result = reduce_my_float4_6(ain1, null); 3218 result.mTempIns = new Allocation[]{ain1}; 3219 return result; 3220 } 3221 3222 // ain1 = "float4 in" 3223 public result_int reduce_my_float4_6(Allocation ain1) { 3224 return reduce_my_float4_6(ain1, null); 3225 } 3226 3227 // ain1 = "float4 in" 3228 public result_int reduce_my_float4_6(Allocation ain1, Script.LaunchOptions sc) { 3229 // check ain1 3230 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3231 throw new RSRuntimeException("Type mismatch with F32_4!"); 3232 } 3233 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3234 aout.setAutoPadding(true); 3235 reduce(mExportReduceIdx_my_float4_6, new Allocation[]{ain1}, aout, sc); 3236 return new result_int(aout); 3237 } 3238 3239 private final static int mExportReduceIdx_my_float4_7 = 87; 3240 // in1 = "in", flattened 4-vectors 3241 public result_int reduce_my_float4_7(float[] in1) { 3242 // Verify that "in1" is non-null. 3243 if (in1 == null) { 3244 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3245 } 3246 // Verify that the array length is a multiple of the vector size. 3247 if (in1.length % 4 != 0) { 3248 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3249 } 3250 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3251 ain1.setAutoPadding(true); 3252 ain1.copyFrom(in1); 3253 3254 result_int result = reduce_my_float4_7(ain1, null); 3255 result.mTempIns = new Allocation[]{ain1}; 3256 return result; 3257 } 3258 3259 // ain1 = "float4 in" 3260 public result_int reduce_my_float4_7(Allocation ain1) { 3261 return reduce_my_float4_7(ain1, null); 3262 } 3263 3264 // ain1 = "float4 in" 3265 public result_int reduce_my_float4_7(Allocation ain1, Script.LaunchOptions sc) { 3266 // check ain1 3267 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3268 throw new RSRuntimeException("Type mismatch with F32_4!"); 3269 } 3270 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3271 aout.setAutoPadding(true); 3272 reduce(mExportReduceIdx_my_float4_7, new Allocation[]{ain1}, aout, sc); 3273 return new result_int(aout); 3274 } 3275 3276 private final static int mExportReduceIdx_my_float4_8 = 88; 3277 // in1 = "in", flattened 4-vectors 3278 public result_int reduce_my_float4_8(float[] in1) { 3279 // Verify that "in1" is non-null. 3280 if (in1 == null) { 3281 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3282 } 3283 // Verify that the array length is a multiple of the vector size. 3284 if (in1.length % 4 != 0) { 3285 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3286 } 3287 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3288 ain1.setAutoPadding(true); 3289 ain1.copyFrom(in1); 3290 3291 result_int result = reduce_my_float4_8(ain1, null); 3292 result.mTempIns = new Allocation[]{ain1}; 3293 return result; 3294 } 3295 3296 // ain1 = "float4 in" 3297 public result_int reduce_my_float4_8(Allocation ain1) { 3298 return reduce_my_float4_8(ain1, null); 3299 } 3300 3301 // ain1 = "float4 in" 3302 public result_int reduce_my_float4_8(Allocation ain1, Script.LaunchOptions sc) { 3303 // check ain1 3304 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3305 throw new RSRuntimeException("Type mismatch with F32_4!"); 3306 } 3307 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3308 aout.setAutoPadding(true); 3309 reduce(mExportReduceIdx_my_float4_8, new Allocation[]{ain1}, aout, sc); 3310 return new result_int(aout); 3311 } 3312 3313 private final static int mExportReduceIdx_my_float4_9 = 89; 3314 // in1 = "in", flattened 4-vectors 3315 public result_int reduce_my_float4_9(float[] in1) { 3316 // Verify that "in1" is non-null. 3317 if (in1 == null) { 3318 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3319 } 3320 // Verify that the array length is a multiple of the vector size. 3321 if (in1.length % 4 != 0) { 3322 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3323 } 3324 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3325 ain1.setAutoPadding(true); 3326 ain1.copyFrom(in1); 3327 3328 result_int result = reduce_my_float4_9(ain1, null); 3329 result.mTempIns = new Allocation[]{ain1}; 3330 return result; 3331 } 3332 3333 // ain1 = "float4 in" 3334 public result_int reduce_my_float4_9(Allocation ain1) { 3335 return reduce_my_float4_9(ain1, null); 3336 } 3337 3338 // ain1 = "float4 in" 3339 public result_int reduce_my_float4_9(Allocation ain1, Script.LaunchOptions sc) { 3340 // check ain1 3341 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3342 throw new RSRuntimeException("Type mismatch with F32_4!"); 3343 } 3344 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3345 aout.setAutoPadding(true); 3346 reduce(mExportReduceIdx_my_float4_9, new Allocation[]{ain1}, aout, sc); 3347 return new result_int(aout); 3348 } 3349 3350 private final static int mExportReduceIdx_my_float4_10 = 90; 3351 // in1 = "in", flattened 4-vectors 3352 public result_int reduce_my_float4_10(float[] in1) { 3353 // Verify that "in1" is non-null. 3354 if (in1 == null) { 3355 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3356 } 3357 // Verify that the array length is a multiple of the vector size. 3358 if (in1.length % 4 != 0) { 3359 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3360 } 3361 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3362 ain1.setAutoPadding(true); 3363 ain1.copyFrom(in1); 3364 3365 result_int result = reduce_my_float4_10(ain1, null); 3366 result.mTempIns = new Allocation[]{ain1}; 3367 return result; 3368 } 3369 3370 // ain1 = "float4 in" 3371 public result_int reduce_my_float4_10(Allocation ain1) { 3372 return reduce_my_float4_10(ain1, null); 3373 } 3374 3375 // ain1 = "float4 in" 3376 public result_int reduce_my_float4_10(Allocation ain1, Script.LaunchOptions sc) { 3377 // check ain1 3378 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3379 throw new RSRuntimeException("Type mismatch with F32_4!"); 3380 } 3381 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3382 aout.setAutoPadding(true); 3383 reduce(mExportReduceIdx_my_float4_10, new Allocation[]{ain1}, aout, sc); 3384 return new result_int(aout); 3385 } 3386 3387 private final static int mExportReduceIdx_my_float4_11 = 91; 3388 // in1 = "in", flattened 4-vectors 3389 public result_int reduce_my_float4_11(float[] in1) { 3390 // Verify that "in1" is non-null. 3391 if (in1 == null) { 3392 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3393 } 3394 // Verify that the array length is a multiple of the vector size. 3395 if (in1.length % 4 != 0) { 3396 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3397 } 3398 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3399 ain1.setAutoPadding(true); 3400 ain1.copyFrom(in1); 3401 3402 result_int result = reduce_my_float4_11(ain1, null); 3403 result.mTempIns = new Allocation[]{ain1}; 3404 return result; 3405 } 3406 3407 // ain1 = "float4 in" 3408 public result_int reduce_my_float4_11(Allocation ain1) { 3409 return reduce_my_float4_11(ain1, null); 3410 } 3411 3412 // ain1 = "float4 in" 3413 public result_int reduce_my_float4_11(Allocation ain1, Script.LaunchOptions sc) { 3414 // check ain1 3415 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3416 throw new RSRuntimeException("Type mismatch with F32_4!"); 3417 } 3418 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3419 aout.setAutoPadding(true); 3420 reduce(mExportReduceIdx_my_float4_11, new Allocation[]{ain1}, aout, sc); 3421 return new result_int(aout); 3422 } 3423 3424 private final static int mExportReduceIdx_my_float4_12 = 92; 3425 // in1 = "in", flattened 4-vectors 3426 public result_int reduce_my_float4_12(float[] in1) { 3427 // Verify that "in1" is non-null. 3428 if (in1 == null) { 3429 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3430 } 3431 // Verify that the array length is a multiple of the vector size. 3432 if (in1.length % 4 != 0) { 3433 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3434 } 3435 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3436 ain1.setAutoPadding(true); 3437 ain1.copyFrom(in1); 3438 3439 result_int result = reduce_my_float4_12(ain1, null); 3440 result.mTempIns = new Allocation[]{ain1}; 3441 return result; 3442 } 3443 3444 // ain1 = "float4 in" 3445 public result_int reduce_my_float4_12(Allocation ain1) { 3446 return reduce_my_float4_12(ain1, null); 3447 } 3448 3449 // ain1 = "float4 in" 3450 public result_int reduce_my_float4_12(Allocation ain1, Script.LaunchOptions sc) { 3451 // check ain1 3452 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3453 throw new RSRuntimeException("Type mismatch with F32_4!"); 3454 } 3455 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3456 aout.setAutoPadding(true); 3457 reduce(mExportReduceIdx_my_float4_12, new Allocation[]{ain1}, aout, sc); 3458 return new result_int(aout); 3459 } 3460 3461 private final static int mExportReduceIdx_my_float4_13 = 93; 3462 // in1 = "in", flattened 4-vectors 3463 public result_int reduce_my_float4_13(float[] in1) { 3464 // Verify that "in1" is non-null. 3465 if (in1 == null) { 3466 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3467 } 3468 // Verify that the array length is a multiple of the vector size. 3469 if (in1.length % 4 != 0) { 3470 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3471 } 3472 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3473 ain1.setAutoPadding(true); 3474 ain1.copyFrom(in1); 3475 3476 result_int result = reduce_my_float4_13(ain1, null); 3477 result.mTempIns = new Allocation[]{ain1}; 3478 return result; 3479 } 3480 3481 // ain1 = "float4 in" 3482 public result_int reduce_my_float4_13(Allocation ain1) { 3483 return reduce_my_float4_13(ain1, null); 3484 } 3485 3486 // ain1 = "float4 in" 3487 public result_int reduce_my_float4_13(Allocation ain1, Script.LaunchOptions sc) { 3488 // check ain1 3489 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3490 throw new RSRuntimeException("Type mismatch with F32_4!"); 3491 } 3492 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3493 aout.setAutoPadding(true); 3494 reduce(mExportReduceIdx_my_float4_13, new Allocation[]{ain1}, aout, sc); 3495 return new result_int(aout); 3496 } 3497 3498 private final static int mExportReduceIdx_my_float4_14 = 94; 3499 // in1 = "in", flattened 4-vectors 3500 public result_int reduce_my_float4_14(float[] in1) { 3501 // Verify that "in1" is non-null. 3502 if (in1 == null) { 3503 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3504 } 3505 // Verify that the array length is a multiple of the vector size. 3506 if (in1.length % 4 != 0) { 3507 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3508 } 3509 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3510 ain1.setAutoPadding(true); 3511 ain1.copyFrom(in1); 3512 3513 result_int result = reduce_my_float4_14(ain1, null); 3514 result.mTempIns = new Allocation[]{ain1}; 3515 return result; 3516 } 3517 3518 // ain1 = "float4 in" 3519 public result_int reduce_my_float4_14(Allocation ain1) { 3520 return reduce_my_float4_14(ain1, null); 3521 } 3522 3523 // ain1 = "float4 in" 3524 public result_int reduce_my_float4_14(Allocation ain1, Script.LaunchOptions sc) { 3525 // check ain1 3526 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3527 throw new RSRuntimeException("Type mismatch with F32_4!"); 3528 } 3529 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3530 aout.setAutoPadding(true); 3531 reduce(mExportReduceIdx_my_float4_14, new Allocation[]{ain1}, aout, sc); 3532 return new result_int(aout); 3533 } 3534 3535 private final static int mExportReduceIdx_my_float4_15 = 95; 3536 // in1 = "in", flattened 4-vectors 3537 public result_int reduce_my_float4_15(float[] in1) { 3538 // Verify that "in1" is non-null. 3539 if (in1 == null) { 3540 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3541 } 3542 // Verify that the array length is a multiple of the vector size. 3543 if (in1.length % 4 != 0) { 3544 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3545 } 3546 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3547 ain1.setAutoPadding(true); 3548 ain1.copyFrom(in1); 3549 3550 result_int result = reduce_my_float4_15(ain1, null); 3551 result.mTempIns = new Allocation[]{ain1}; 3552 return result; 3553 } 3554 3555 // ain1 = "float4 in" 3556 public result_int reduce_my_float4_15(Allocation ain1) { 3557 return reduce_my_float4_15(ain1, null); 3558 } 3559 3560 // ain1 = "float4 in" 3561 public result_int reduce_my_float4_15(Allocation ain1, Script.LaunchOptions sc) { 3562 // check ain1 3563 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3564 throw new RSRuntimeException("Type mismatch with F32_4!"); 3565 } 3566 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3567 aout.setAutoPadding(true); 3568 reduce(mExportReduceIdx_my_float4_15, new Allocation[]{ain1}, aout, sc); 3569 return new result_int(aout); 3570 } 3571 3572 private final static int mExportReduceIdx_my_double_0 = 96; 3573 // in1 = "in" 3574 public result_int reduce_my_double_0(double[] in1) { 3575 // Verify that "in1" is non-null. 3576 if (in1 == null) { 3577 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3578 } 3579 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3580 ain1.setAutoPadding(true); 3581 ain1.copyFrom(in1); 3582 3583 result_int result = reduce_my_double_0(ain1, null); 3584 result.mTempIns = new Allocation[]{ain1}; 3585 return result; 3586 } 3587 3588 // ain1 = "double in" 3589 public result_int reduce_my_double_0(Allocation ain1) { 3590 return reduce_my_double_0(ain1, null); 3591 } 3592 3593 // ain1 = "double in" 3594 public result_int reduce_my_double_0(Allocation ain1, Script.LaunchOptions sc) { 3595 // check ain1 3596 if (!ain1.getType().getElement().isCompatible(__F64)) { 3597 throw new RSRuntimeException("Type mismatch with F64!"); 3598 } 3599 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3600 aout.setAutoPadding(true); 3601 reduce(mExportReduceIdx_my_double_0, new Allocation[]{ain1}, aout, sc); 3602 return new result_int(aout); 3603 } 3604 3605 private final static int mExportReduceIdx_my_double_1 = 97; 3606 // in1 = "in" 3607 public result_int reduce_my_double_1(double[] in1) { 3608 // Verify that "in1" is non-null. 3609 if (in1 == null) { 3610 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3611 } 3612 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3613 ain1.setAutoPadding(true); 3614 ain1.copyFrom(in1); 3615 3616 result_int result = reduce_my_double_1(ain1, null); 3617 result.mTempIns = new Allocation[]{ain1}; 3618 return result; 3619 } 3620 3621 // ain1 = "double in" 3622 public result_int reduce_my_double_1(Allocation ain1) { 3623 return reduce_my_double_1(ain1, null); 3624 } 3625 3626 // ain1 = "double in" 3627 public result_int reduce_my_double_1(Allocation ain1, Script.LaunchOptions sc) { 3628 // check ain1 3629 if (!ain1.getType().getElement().isCompatible(__F64)) { 3630 throw new RSRuntimeException("Type mismatch with F64!"); 3631 } 3632 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3633 aout.setAutoPadding(true); 3634 reduce(mExportReduceIdx_my_double_1, new Allocation[]{ain1}, aout, sc); 3635 return new result_int(aout); 3636 } 3637 3638 private final static int mExportReduceIdx_my_double_2 = 98; 3639 // in1 = "in" 3640 public result_int reduce_my_double_2(double[] in1) { 3641 // Verify that "in1" is non-null. 3642 if (in1 == null) { 3643 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3644 } 3645 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3646 ain1.setAutoPadding(true); 3647 ain1.copyFrom(in1); 3648 3649 result_int result = reduce_my_double_2(ain1, null); 3650 result.mTempIns = new Allocation[]{ain1}; 3651 return result; 3652 } 3653 3654 // ain1 = "double in" 3655 public result_int reduce_my_double_2(Allocation ain1) { 3656 return reduce_my_double_2(ain1, null); 3657 } 3658 3659 // ain1 = "double in" 3660 public result_int reduce_my_double_2(Allocation ain1, Script.LaunchOptions sc) { 3661 // check ain1 3662 if (!ain1.getType().getElement().isCompatible(__F64)) { 3663 throw new RSRuntimeException("Type mismatch with F64!"); 3664 } 3665 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3666 aout.setAutoPadding(true); 3667 reduce(mExportReduceIdx_my_double_2, new Allocation[]{ain1}, aout, sc); 3668 return new result_int(aout); 3669 } 3670 3671 private final static int mExportReduceIdx_my_double_3 = 99; 3672 // in1 = "in" 3673 public result_int reduce_my_double_3(double[] in1) { 3674 // Verify that "in1" is non-null. 3675 if (in1 == null) { 3676 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3677 } 3678 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3679 ain1.setAutoPadding(true); 3680 ain1.copyFrom(in1); 3681 3682 result_int result = reduce_my_double_3(ain1, null); 3683 result.mTempIns = new Allocation[]{ain1}; 3684 return result; 3685 } 3686 3687 // ain1 = "double in" 3688 public result_int reduce_my_double_3(Allocation ain1) { 3689 return reduce_my_double_3(ain1, null); 3690 } 3691 3692 // ain1 = "double in" 3693 public result_int reduce_my_double_3(Allocation ain1, Script.LaunchOptions sc) { 3694 // check ain1 3695 if (!ain1.getType().getElement().isCompatible(__F64)) { 3696 throw new RSRuntimeException("Type mismatch with F64!"); 3697 } 3698 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3699 aout.setAutoPadding(true); 3700 reduce(mExportReduceIdx_my_double_3, new Allocation[]{ain1}, aout, sc); 3701 return new result_int(aout); 3702 } 3703 3704 private final static int mExportReduceIdx_my_double_4 = 100; 3705 // in1 = "in" 3706 public result_int reduce_my_double_4(double[] in1) { 3707 // Verify that "in1" is non-null. 3708 if (in1 == null) { 3709 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3710 } 3711 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3712 ain1.setAutoPadding(true); 3713 ain1.copyFrom(in1); 3714 3715 result_int result = reduce_my_double_4(ain1, null); 3716 result.mTempIns = new Allocation[]{ain1}; 3717 return result; 3718 } 3719 3720 // ain1 = "double in" 3721 public result_int reduce_my_double_4(Allocation ain1) { 3722 return reduce_my_double_4(ain1, null); 3723 } 3724 3725 // ain1 = "double in" 3726 public result_int reduce_my_double_4(Allocation ain1, Script.LaunchOptions sc) { 3727 // check ain1 3728 if (!ain1.getType().getElement().isCompatible(__F64)) { 3729 throw new RSRuntimeException("Type mismatch with F64!"); 3730 } 3731 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3732 aout.setAutoPadding(true); 3733 reduce(mExportReduceIdx_my_double_4, new Allocation[]{ain1}, aout, sc); 3734 return new result_int(aout); 3735 } 3736 3737 private final static int mExportReduceIdx_my_double_5 = 101; 3738 // in1 = "in" 3739 public result_int reduce_my_double_5(double[] in1) { 3740 // Verify that "in1" is non-null. 3741 if (in1 == null) { 3742 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3743 } 3744 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3745 ain1.setAutoPadding(true); 3746 ain1.copyFrom(in1); 3747 3748 result_int result = reduce_my_double_5(ain1, null); 3749 result.mTempIns = new Allocation[]{ain1}; 3750 return result; 3751 } 3752 3753 // ain1 = "double in" 3754 public result_int reduce_my_double_5(Allocation ain1) { 3755 return reduce_my_double_5(ain1, null); 3756 } 3757 3758 // ain1 = "double in" 3759 public result_int reduce_my_double_5(Allocation ain1, Script.LaunchOptions sc) { 3760 // check ain1 3761 if (!ain1.getType().getElement().isCompatible(__F64)) { 3762 throw new RSRuntimeException("Type mismatch with F64!"); 3763 } 3764 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3765 aout.setAutoPadding(true); 3766 reduce(mExportReduceIdx_my_double_5, new Allocation[]{ain1}, aout, sc); 3767 return new result_int(aout); 3768 } 3769 3770 private final static int mExportReduceIdx_my_double_6 = 102; 3771 // in1 = "in" 3772 public result_int reduce_my_double_6(double[] in1) { 3773 // Verify that "in1" is non-null. 3774 if (in1 == null) { 3775 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3776 } 3777 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3778 ain1.setAutoPadding(true); 3779 ain1.copyFrom(in1); 3780 3781 result_int result = reduce_my_double_6(ain1, null); 3782 result.mTempIns = new Allocation[]{ain1}; 3783 return result; 3784 } 3785 3786 // ain1 = "double in" 3787 public result_int reduce_my_double_6(Allocation ain1) { 3788 return reduce_my_double_6(ain1, null); 3789 } 3790 3791 // ain1 = "double in" 3792 public result_int reduce_my_double_6(Allocation ain1, Script.LaunchOptions sc) { 3793 // check ain1 3794 if (!ain1.getType().getElement().isCompatible(__F64)) { 3795 throw new RSRuntimeException("Type mismatch with F64!"); 3796 } 3797 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3798 aout.setAutoPadding(true); 3799 reduce(mExportReduceIdx_my_double_6, new Allocation[]{ain1}, aout, sc); 3800 return new result_int(aout); 3801 } 3802 3803 private final static int mExportReduceIdx_my_double_7 = 103; 3804 // in1 = "in" 3805 public result_int reduce_my_double_7(double[] in1) { 3806 // Verify that "in1" is non-null. 3807 if (in1 == null) { 3808 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3809 } 3810 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3811 ain1.setAutoPadding(true); 3812 ain1.copyFrom(in1); 3813 3814 result_int result = reduce_my_double_7(ain1, null); 3815 result.mTempIns = new Allocation[]{ain1}; 3816 return result; 3817 } 3818 3819 // ain1 = "double in" 3820 public result_int reduce_my_double_7(Allocation ain1) { 3821 return reduce_my_double_7(ain1, null); 3822 } 3823 3824 // ain1 = "double in" 3825 public result_int reduce_my_double_7(Allocation ain1, Script.LaunchOptions sc) { 3826 // check ain1 3827 if (!ain1.getType().getElement().isCompatible(__F64)) { 3828 throw new RSRuntimeException("Type mismatch with F64!"); 3829 } 3830 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3831 aout.setAutoPadding(true); 3832 reduce(mExportReduceIdx_my_double_7, new Allocation[]{ain1}, aout, sc); 3833 return new result_int(aout); 3834 } 3835 3836 private final static int mExportReduceIdx_my_double_8 = 104; 3837 // in1 = "in" 3838 public result_int reduce_my_double_8(double[] in1) { 3839 // Verify that "in1" is non-null. 3840 if (in1 == null) { 3841 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3842 } 3843 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3844 ain1.setAutoPadding(true); 3845 ain1.copyFrom(in1); 3846 3847 result_int result = reduce_my_double_8(ain1, null); 3848 result.mTempIns = new Allocation[]{ain1}; 3849 return result; 3850 } 3851 3852 // ain1 = "double in" 3853 public result_int reduce_my_double_8(Allocation ain1) { 3854 return reduce_my_double_8(ain1, null); 3855 } 3856 3857 // ain1 = "double in" 3858 public result_int reduce_my_double_8(Allocation ain1, Script.LaunchOptions sc) { 3859 // check ain1 3860 if (!ain1.getType().getElement().isCompatible(__F64)) { 3861 throw new RSRuntimeException("Type mismatch with F64!"); 3862 } 3863 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3864 aout.setAutoPadding(true); 3865 reduce(mExportReduceIdx_my_double_8, new Allocation[]{ain1}, aout, sc); 3866 return new result_int(aout); 3867 } 3868 3869 private final static int mExportReduceIdx_my_double_9 = 105; 3870 // in1 = "in" 3871 public result_int reduce_my_double_9(double[] in1) { 3872 // Verify that "in1" is non-null. 3873 if (in1 == null) { 3874 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3875 } 3876 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3877 ain1.setAutoPadding(true); 3878 ain1.copyFrom(in1); 3879 3880 result_int result = reduce_my_double_9(ain1, null); 3881 result.mTempIns = new Allocation[]{ain1}; 3882 return result; 3883 } 3884 3885 // ain1 = "double in" 3886 public result_int reduce_my_double_9(Allocation ain1) { 3887 return reduce_my_double_9(ain1, null); 3888 } 3889 3890 // ain1 = "double in" 3891 public result_int reduce_my_double_9(Allocation ain1, Script.LaunchOptions sc) { 3892 // check ain1 3893 if (!ain1.getType().getElement().isCompatible(__F64)) { 3894 throw new RSRuntimeException("Type mismatch with F64!"); 3895 } 3896 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3897 aout.setAutoPadding(true); 3898 reduce(mExportReduceIdx_my_double_9, new Allocation[]{ain1}, aout, sc); 3899 return new result_int(aout); 3900 } 3901 3902 private final static int mExportReduceIdx_my_double_10 = 106; 3903 // in1 = "in" 3904 public result_int reduce_my_double_10(double[] in1) { 3905 // Verify that "in1" is non-null. 3906 if (in1 == null) { 3907 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3908 } 3909 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3910 ain1.setAutoPadding(true); 3911 ain1.copyFrom(in1); 3912 3913 result_int result = reduce_my_double_10(ain1, null); 3914 result.mTempIns = new Allocation[]{ain1}; 3915 return result; 3916 } 3917 3918 // ain1 = "double in" 3919 public result_int reduce_my_double_10(Allocation ain1) { 3920 return reduce_my_double_10(ain1, null); 3921 } 3922 3923 // ain1 = "double in" 3924 public result_int reduce_my_double_10(Allocation ain1, Script.LaunchOptions sc) { 3925 // check ain1 3926 if (!ain1.getType().getElement().isCompatible(__F64)) { 3927 throw new RSRuntimeException("Type mismatch with F64!"); 3928 } 3929 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3930 aout.setAutoPadding(true); 3931 reduce(mExportReduceIdx_my_double_10, new Allocation[]{ain1}, aout, sc); 3932 return new result_int(aout); 3933 } 3934 3935 private final static int mExportReduceIdx_my_double_11 = 107; 3936 // in1 = "in" 3937 public result_int reduce_my_double_11(double[] in1) { 3938 // Verify that "in1" is non-null. 3939 if (in1 == null) { 3940 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3941 } 3942 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3943 ain1.setAutoPadding(true); 3944 ain1.copyFrom(in1); 3945 3946 result_int result = reduce_my_double_11(ain1, null); 3947 result.mTempIns = new Allocation[]{ain1}; 3948 return result; 3949 } 3950 3951 // ain1 = "double in" 3952 public result_int reduce_my_double_11(Allocation ain1) { 3953 return reduce_my_double_11(ain1, null); 3954 } 3955 3956 // ain1 = "double in" 3957 public result_int reduce_my_double_11(Allocation ain1, Script.LaunchOptions sc) { 3958 // check ain1 3959 if (!ain1.getType().getElement().isCompatible(__F64)) { 3960 throw new RSRuntimeException("Type mismatch with F64!"); 3961 } 3962 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3963 aout.setAutoPadding(true); 3964 reduce(mExportReduceIdx_my_double_11, new Allocation[]{ain1}, aout, sc); 3965 return new result_int(aout); 3966 } 3967 3968 private final static int mExportReduceIdx_my_double_12 = 108; 3969 // in1 = "in" 3970 public result_int reduce_my_double_12(double[] in1) { 3971 // Verify that "in1" is non-null. 3972 if (in1 == null) { 3973 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3974 } 3975 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3976 ain1.setAutoPadding(true); 3977 ain1.copyFrom(in1); 3978 3979 result_int result = reduce_my_double_12(ain1, null); 3980 result.mTempIns = new Allocation[]{ain1}; 3981 return result; 3982 } 3983 3984 // ain1 = "double in" 3985 public result_int reduce_my_double_12(Allocation ain1) { 3986 return reduce_my_double_12(ain1, null); 3987 } 3988 3989 // ain1 = "double in" 3990 public result_int reduce_my_double_12(Allocation ain1, Script.LaunchOptions sc) { 3991 // check ain1 3992 if (!ain1.getType().getElement().isCompatible(__F64)) { 3993 throw new RSRuntimeException("Type mismatch with F64!"); 3994 } 3995 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3996 aout.setAutoPadding(true); 3997 reduce(mExportReduceIdx_my_double_12, new Allocation[]{ain1}, aout, sc); 3998 return new result_int(aout); 3999 } 4000 4001 private final static int mExportReduceIdx_my_double_13 = 109; 4002 // in1 = "in" 4003 public result_int reduce_my_double_13(double[] in1) { 4004 // Verify that "in1" is non-null. 4005 if (in1 == null) { 4006 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4007 } 4008 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 4009 ain1.setAutoPadding(true); 4010 ain1.copyFrom(in1); 4011 4012 result_int result = reduce_my_double_13(ain1, null); 4013 result.mTempIns = new Allocation[]{ain1}; 4014 return result; 4015 } 4016 4017 // ain1 = "double in" 4018 public result_int reduce_my_double_13(Allocation ain1) { 4019 return reduce_my_double_13(ain1, null); 4020 } 4021 4022 // ain1 = "double in" 4023 public result_int reduce_my_double_13(Allocation ain1, Script.LaunchOptions sc) { 4024 // check ain1 4025 if (!ain1.getType().getElement().isCompatible(__F64)) { 4026 throw new RSRuntimeException("Type mismatch with F64!"); 4027 } 4028 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4029 aout.setAutoPadding(true); 4030 reduce(mExportReduceIdx_my_double_13, new Allocation[]{ain1}, aout, sc); 4031 return new result_int(aout); 4032 } 4033 4034 private final static int mExportReduceIdx_my_double_14 = 110; 4035 // in1 = "in" 4036 public result_int reduce_my_double_14(double[] in1) { 4037 // Verify that "in1" is non-null. 4038 if (in1 == null) { 4039 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4040 } 4041 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 4042 ain1.setAutoPadding(true); 4043 ain1.copyFrom(in1); 4044 4045 result_int result = reduce_my_double_14(ain1, null); 4046 result.mTempIns = new Allocation[]{ain1}; 4047 return result; 4048 } 4049 4050 // ain1 = "double in" 4051 public result_int reduce_my_double_14(Allocation ain1) { 4052 return reduce_my_double_14(ain1, null); 4053 } 4054 4055 // ain1 = "double in" 4056 public result_int reduce_my_double_14(Allocation ain1, Script.LaunchOptions sc) { 4057 // check ain1 4058 if (!ain1.getType().getElement().isCompatible(__F64)) { 4059 throw new RSRuntimeException("Type mismatch with F64!"); 4060 } 4061 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4062 aout.setAutoPadding(true); 4063 reduce(mExportReduceIdx_my_double_14, new Allocation[]{ain1}, aout, sc); 4064 return new result_int(aout); 4065 } 4066 4067 private final static int mExportReduceIdx_my_double_15 = 111; 4068 // in1 = "in" 4069 public result_int reduce_my_double_15(double[] in1) { 4070 // Verify that "in1" is non-null. 4071 if (in1 == null) { 4072 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4073 } 4074 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 4075 ain1.setAutoPadding(true); 4076 ain1.copyFrom(in1); 4077 4078 result_int result = reduce_my_double_15(ain1, null); 4079 result.mTempIns = new Allocation[]{ain1}; 4080 return result; 4081 } 4082 4083 // ain1 = "double in" 4084 public result_int reduce_my_double_15(Allocation ain1) { 4085 return reduce_my_double_15(ain1, null); 4086 } 4087 4088 // ain1 = "double in" 4089 public result_int reduce_my_double_15(Allocation ain1, Script.LaunchOptions sc) { 4090 // check ain1 4091 if (!ain1.getType().getElement().isCompatible(__F64)) { 4092 throw new RSRuntimeException("Type mismatch with F64!"); 4093 } 4094 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4095 aout.setAutoPadding(true); 4096 reduce(mExportReduceIdx_my_double_15, new Allocation[]{ain1}, aout, sc); 4097 return new result_int(aout); 4098 } 4099 4100 private final static int mExportReduceIdx_my_double2_0 = 112; 4101 // in1 = "in", flattened 2-vectors 4102 public result_int reduce_my_double2_0(double[] in1) { 4103 // Verify that "in1" is non-null. 4104 if (in1 == null) { 4105 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4106 } 4107 // Verify that the array length is a multiple of the vector size. 4108 if (in1.length % 2 != 0) { 4109 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4110 } 4111 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4112 ain1.setAutoPadding(true); 4113 ain1.copyFrom(in1); 4114 4115 result_int result = reduce_my_double2_0(ain1, null); 4116 result.mTempIns = new Allocation[]{ain1}; 4117 return result; 4118 } 4119 4120 // ain1 = "double2 in" 4121 public result_int reduce_my_double2_0(Allocation ain1) { 4122 return reduce_my_double2_0(ain1, null); 4123 } 4124 4125 // ain1 = "double2 in" 4126 public result_int reduce_my_double2_0(Allocation ain1, Script.LaunchOptions sc) { 4127 // check ain1 4128 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4129 throw new RSRuntimeException("Type mismatch with F64_2!"); 4130 } 4131 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4132 aout.setAutoPadding(true); 4133 reduce(mExportReduceIdx_my_double2_0, new Allocation[]{ain1}, aout, sc); 4134 return new result_int(aout); 4135 } 4136 4137 private final static int mExportReduceIdx_my_double2_1 = 113; 4138 // in1 = "in", flattened 2-vectors 4139 public result_int reduce_my_double2_1(double[] in1) { 4140 // Verify that "in1" is non-null. 4141 if (in1 == null) { 4142 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4143 } 4144 // Verify that the array length is a multiple of the vector size. 4145 if (in1.length % 2 != 0) { 4146 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4147 } 4148 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4149 ain1.setAutoPadding(true); 4150 ain1.copyFrom(in1); 4151 4152 result_int result = reduce_my_double2_1(ain1, null); 4153 result.mTempIns = new Allocation[]{ain1}; 4154 return result; 4155 } 4156 4157 // ain1 = "double2 in" 4158 public result_int reduce_my_double2_1(Allocation ain1) { 4159 return reduce_my_double2_1(ain1, null); 4160 } 4161 4162 // ain1 = "double2 in" 4163 public result_int reduce_my_double2_1(Allocation ain1, Script.LaunchOptions sc) { 4164 // check ain1 4165 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4166 throw new RSRuntimeException("Type mismatch with F64_2!"); 4167 } 4168 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4169 aout.setAutoPadding(true); 4170 reduce(mExportReduceIdx_my_double2_1, new Allocation[]{ain1}, aout, sc); 4171 return new result_int(aout); 4172 } 4173 4174 private final static int mExportReduceIdx_my_double2_2 = 114; 4175 // in1 = "in", flattened 2-vectors 4176 public result_int reduce_my_double2_2(double[] in1) { 4177 // Verify that "in1" is non-null. 4178 if (in1 == null) { 4179 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4180 } 4181 // Verify that the array length is a multiple of the vector size. 4182 if (in1.length % 2 != 0) { 4183 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4184 } 4185 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4186 ain1.setAutoPadding(true); 4187 ain1.copyFrom(in1); 4188 4189 result_int result = reduce_my_double2_2(ain1, null); 4190 result.mTempIns = new Allocation[]{ain1}; 4191 return result; 4192 } 4193 4194 // ain1 = "double2 in" 4195 public result_int reduce_my_double2_2(Allocation ain1) { 4196 return reduce_my_double2_2(ain1, null); 4197 } 4198 4199 // ain1 = "double2 in" 4200 public result_int reduce_my_double2_2(Allocation ain1, Script.LaunchOptions sc) { 4201 // check ain1 4202 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4203 throw new RSRuntimeException("Type mismatch with F64_2!"); 4204 } 4205 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4206 aout.setAutoPadding(true); 4207 reduce(mExportReduceIdx_my_double2_2, new Allocation[]{ain1}, aout, sc); 4208 return new result_int(aout); 4209 } 4210 4211 private final static int mExportReduceIdx_my_double2_3 = 115; 4212 // in1 = "in", flattened 2-vectors 4213 public result_int reduce_my_double2_3(double[] in1) { 4214 // Verify that "in1" is non-null. 4215 if (in1 == null) { 4216 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4217 } 4218 // Verify that the array length is a multiple of the vector size. 4219 if (in1.length % 2 != 0) { 4220 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4221 } 4222 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4223 ain1.setAutoPadding(true); 4224 ain1.copyFrom(in1); 4225 4226 result_int result = reduce_my_double2_3(ain1, null); 4227 result.mTempIns = new Allocation[]{ain1}; 4228 return result; 4229 } 4230 4231 // ain1 = "double2 in" 4232 public result_int reduce_my_double2_3(Allocation ain1) { 4233 return reduce_my_double2_3(ain1, null); 4234 } 4235 4236 // ain1 = "double2 in" 4237 public result_int reduce_my_double2_3(Allocation ain1, Script.LaunchOptions sc) { 4238 // check ain1 4239 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4240 throw new RSRuntimeException("Type mismatch with F64_2!"); 4241 } 4242 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4243 aout.setAutoPadding(true); 4244 reduce(mExportReduceIdx_my_double2_3, new Allocation[]{ain1}, aout, sc); 4245 return new result_int(aout); 4246 } 4247 4248 private final static int mExportReduceIdx_my_double2_4 = 116; 4249 // in1 = "in", flattened 2-vectors 4250 public result_int reduce_my_double2_4(double[] in1) { 4251 // Verify that "in1" is non-null. 4252 if (in1 == null) { 4253 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4254 } 4255 // Verify that the array length is a multiple of the vector size. 4256 if (in1.length % 2 != 0) { 4257 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4258 } 4259 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4260 ain1.setAutoPadding(true); 4261 ain1.copyFrom(in1); 4262 4263 result_int result = reduce_my_double2_4(ain1, null); 4264 result.mTempIns = new Allocation[]{ain1}; 4265 return result; 4266 } 4267 4268 // ain1 = "double2 in" 4269 public result_int reduce_my_double2_4(Allocation ain1) { 4270 return reduce_my_double2_4(ain1, null); 4271 } 4272 4273 // ain1 = "double2 in" 4274 public result_int reduce_my_double2_4(Allocation ain1, Script.LaunchOptions sc) { 4275 // check ain1 4276 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4277 throw new RSRuntimeException("Type mismatch with F64_2!"); 4278 } 4279 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4280 aout.setAutoPadding(true); 4281 reduce(mExportReduceIdx_my_double2_4, new Allocation[]{ain1}, aout, sc); 4282 return new result_int(aout); 4283 } 4284 4285 private final static int mExportReduceIdx_my_double2_5 = 117; 4286 // in1 = "in", flattened 2-vectors 4287 public result_int reduce_my_double2_5(double[] in1) { 4288 // Verify that "in1" is non-null. 4289 if (in1 == null) { 4290 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4291 } 4292 // Verify that the array length is a multiple of the vector size. 4293 if (in1.length % 2 != 0) { 4294 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4295 } 4296 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4297 ain1.setAutoPadding(true); 4298 ain1.copyFrom(in1); 4299 4300 result_int result = reduce_my_double2_5(ain1, null); 4301 result.mTempIns = new Allocation[]{ain1}; 4302 return result; 4303 } 4304 4305 // ain1 = "double2 in" 4306 public result_int reduce_my_double2_5(Allocation ain1) { 4307 return reduce_my_double2_5(ain1, null); 4308 } 4309 4310 // ain1 = "double2 in" 4311 public result_int reduce_my_double2_5(Allocation ain1, Script.LaunchOptions sc) { 4312 // check ain1 4313 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4314 throw new RSRuntimeException("Type mismatch with F64_2!"); 4315 } 4316 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4317 aout.setAutoPadding(true); 4318 reduce(mExportReduceIdx_my_double2_5, new Allocation[]{ain1}, aout, sc); 4319 return new result_int(aout); 4320 } 4321 4322 private final static int mExportReduceIdx_my_double2_6 = 118; 4323 // in1 = "in", flattened 2-vectors 4324 public result_int reduce_my_double2_6(double[] in1) { 4325 // Verify that "in1" is non-null. 4326 if (in1 == null) { 4327 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4328 } 4329 // Verify that the array length is a multiple of the vector size. 4330 if (in1.length % 2 != 0) { 4331 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4332 } 4333 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4334 ain1.setAutoPadding(true); 4335 ain1.copyFrom(in1); 4336 4337 result_int result = reduce_my_double2_6(ain1, null); 4338 result.mTempIns = new Allocation[]{ain1}; 4339 return result; 4340 } 4341 4342 // ain1 = "double2 in" 4343 public result_int reduce_my_double2_6(Allocation ain1) { 4344 return reduce_my_double2_6(ain1, null); 4345 } 4346 4347 // ain1 = "double2 in" 4348 public result_int reduce_my_double2_6(Allocation ain1, Script.LaunchOptions sc) { 4349 // check ain1 4350 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4351 throw new RSRuntimeException("Type mismatch with F64_2!"); 4352 } 4353 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4354 aout.setAutoPadding(true); 4355 reduce(mExportReduceIdx_my_double2_6, new Allocation[]{ain1}, aout, sc); 4356 return new result_int(aout); 4357 } 4358 4359 private final static int mExportReduceIdx_my_double2_7 = 119; 4360 // in1 = "in", flattened 2-vectors 4361 public result_int reduce_my_double2_7(double[] in1) { 4362 // Verify that "in1" is non-null. 4363 if (in1 == null) { 4364 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4365 } 4366 // Verify that the array length is a multiple of the vector size. 4367 if (in1.length % 2 != 0) { 4368 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4369 } 4370 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4371 ain1.setAutoPadding(true); 4372 ain1.copyFrom(in1); 4373 4374 result_int result = reduce_my_double2_7(ain1, null); 4375 result.mTempIns = new Allocation[]{ain1}; 4376 return result; 4377 } 4378 4379 // ain1 = "double2 in" 4380 public result_int reduce_my_double2_7(Allocation ain1) { 4381 return reduce_my_double2_7(ain1, null); 4382 } 4383 4384 // ain1 = "double2 in" 4385 public result_int reduce_my_double2_7(Allocation ain1, Script.LaunchOptions sc) { 4386 // check ain1 4387 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4388 throw new RSRuntimeException("Type mismatch with F64_2!"); 4389 } 4390 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4391 aout.setAutoPadding(true); 4392 reduce(mExportReduceIdx_my_double2_7, new Allocation[]{ain1}, aout, sc); 4393 return new result_int(aout); 4394 } 4395 4396 private final static int mExportReduceIdx_my_double2_8 = 120; 4397 // in1 = "in", flattened 2-vectors 4398 public result_int reduce_my_double2_8(double[] in1) { 4399 // Verify that "in1" is non-null. 4400 if (in1 == null) { 4401 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4402 } 4403 // Verify that the array length is a multiple of the vector size. 4404 if (in1.length % 2 != 0) { 4405 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4406 } 4407 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4408 ain1.setAutoPadding(true); 4409 ain1.copyFrom(in1); 4410 4411 result_int result = reduce_my_double2_8(ain1, null); 4412 result.mTempIns = new Allocation[]{ain1}; 4413 return result; 4414 } 4415 4416 // ain1 = "double2 in" 4417 public result_int reduce_my_double2_8(Allocation ain1) { 4418 return reduce_my_double2_8(ain1, null); 4419 } 4420 4421 // ain1 = "double2 in" 4422 public result_int reduce_my_double2_8(Allocation ain1, Script.LaunchOptions sc) { 4423 // check ain1 4424 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4425 throw new RSRuntimeException("Type mismatch with F64_2!"); 4426 } 4427 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4428 aout.setAutoPadding(true); 4429 reduce(mExportReduceIdx_my_double2_8, new Allocation[]{ain1}, aout, sc); 4430 return new result_int(aout); 4431 } 4432 4433 private final static int mExportReduceIdx_my_double2_9 = 121; 4434 // in1 = "in", flattened 2-vectors 4435 public result_int reduce_my_double2_9(double[] in1) { 4436 // Verify that "in1" is non-null. 4437 if (in1 == null) { 4438 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4439 } 4440 // Verify that the array length is a multiple of the vector size. 4441 if (in1.length % 2 != 0) { 4442 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4443 } 4444 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4445 ain1.setAutoPadding(true); 4446 ain1.copyFrom(in1); 4447 4448 result_int result = reduce_my_double2_9(ain1, null); 4449 result.mTempIns = new Allocation[]{ain1}; 4450 return result; 4451 } 4452 4453 // ain1 = "double2 in" 4454 public result_int reduce_my_double2_9(Allocation ain1) { 4455 return reduce_my_double2_9(ain1, null); 4456 } 4457 4458 // ain1 = "double2 in" 4459 public result_int reduce_my_double2_9(Allocation ain1, Script.LaunchOptions sc) { 4460 // check ain1 4461 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4462 throw new RSRuntimeException("Type mismatch with F64_2!"); 4463 } 4464 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4465 aout.setAutoPadding(true); 4466 reduce(mExportReduceIdx_my_double2_9, new Allocation[]{ain1}, aout, sc); 4467 return new result_int(aout); 4468 } 4469 4470 private final static int mExportReduceIdx_my_double2_10 = 122; 4471 // in1 = "in", flattened 2-vectors 4472 public result_int reduce_my_double2_10(double[] in1) { 4473 // Verify that "in1" is non-null. 4474 if (in1 == null) { 4475 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4476 } 4477 // Verify that the array length is a multiple of the vector size. 4478 if (in1.length % 2 != 0) { 4479 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4480 } 4481 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4482 ain1.setAutoPadding(true); 4483 ain1.copyFrom(in1); 4484 4485 result_int result = reduce_my_double2_10(ain1, null); 4486 result.mTempIns = new Allocation[]{ain1}; 4487 return result; 4488 } 4489 4490 // ain1 = "double2 in" 4491 public result_int reduce_my_double2_10(Allocation ain1) { 4492 return reduce_my_double2_10(ain1, null); 4493 } 4494 4495 // ain1 = "double2 in" 4496 public result_int reduce_my_double2_10(Allocation ain1, Script.LaunchOptions sc) { 4497 // check ain1 4498 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4499 throw new RSRuntimeException("Type mismatch with F64_2!"); 4500 } 4501 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4502 aout.setAutoPadding(true); 4503 reduce(mExportReduceIdx_my_double2_10, new Allocation[]{ain1}, aout, sc); 4504 return new result_int(aout); 4505 } 4506 4507 private final static int mExportReduceIdx_my_double2_11 = 123; 4508 // in1 = "in", flattened 2-vectors 4509 public result_int reduce_my_double2_11(double[] in1) { 4510 // Verify that "in1" is non-null. 4511 if (in1 == null) { 4512 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4513 } 4514 // Verify that the array length is a multiple of the vector size. 4515 if (in1.length % 2 != 0) { 4516 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4517 } 4518 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4519 ain1.setAutoPadding(true); 4520 ain1.copyFrom(in1); 4521 4522 result_int result = reduce_my_double2_11(ain1, null); 4523 result.mTempIns = new Allocation[]{ain1}; 4524 return result; 4525 } 4526 4527 // ain1 = "double2 in" 4528 public result_int reduce_my_double2_11(Allocation ain1) { 4529 return reduce_my_double2_11(ain1, null); 4530 } 4531 4532 // ain1 = "double2 in" 4533 public result_int reduce_my_double2_11(Allocation ain1, Script.LaunchOptions sc) { 4534 // check ain1 4535 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4536 throw new RSRuntimeException("Type mismatch with F64_2!"); 4537 } 4538 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4539 aout.setAutoPadding(true); 4540 reduce(mExportReduceIdx_my_double2_11, new Allocation[]{ain1}, aout, sc); 4541 return new result_int(aout); 4542 } 4543 4544 private final static int mExportReduceIdx_my_double2_12 = 124; 4545 // in1 = "in", flattened 2-vectors 4546 public result_int reduce_my_double2_12(double[] in1) { 4547 // Verify that "in1" is non-null. 4548 if (in1 == null) { 4549 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4550 } 4551 // Verify that the array length is a multiple of the vector size. 4552 if (in1.length % 2 != 0) { 4553 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4554 } 4555 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4556 ain1.setAutoPadding(true); 4557 ain1.copyFrom(in1); 4558 4559 result_int result = reduce_my_double2_12(ain1, null); 4560 result.mTempIns = new Allocation[]{ain1}; 4561 return result; 4562 } 4563 4564 // ain1 = "double2 in" 4565 public result_int reduce_my_double2_12(Allocation ain1) { 4566 return reduce_my_double2_12(ain1, null); 4567 } 4568 4569 // ain1 = "double2 in" 4570 public result_int reduce_my_double2_12(Allocation ain1, Script.LaunchOptions sc) { 4571 // check ain1 4572 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4573 throw new RSRuntimeException("Type mismatch with F64_2!"); 4574 } 4575 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4576 aout.setAutoPadding(true); 4577 reduce(mExportReduceIdx_my_double2_12, new Allocation[]{ain1}, aout, sc); 4578 return new result_int(aout); 4579 } 4580 4581 private final static int mExportReduceIdx_my_double2_13 = 125; 4582 // in1 = "in", flattened 2-vectors 4583 public result_int reduce_my_double2_13(double[] in1) { 4584 // Verify that "in1" is non-null. 4585 if (in1 == null) { 4586 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4587 } 4588 // Verify that the array length is a multiple of the vector size. 4589 if (in1.length % 2 != 0) { 4590 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4591 } 4592 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4593 ain1.setAutoPadding(true); 4594 ain1.copyFrom(in1); 4595 4596 result_int result = reduce_my_double2_13(ain1, null); 4597 result.mTempIns = new Allocation[]{ain1}; 4598 return result; 4599 } 4600 4601 // ain1 = "double2 in" 4602 public result_int reduce_my_double2_13(Allocation ain1) { 4603 return reduce_my_double2_13(ain1, null); 4604 } 4605 4606 // ain1 = "double2 in" 4607 public result_int reduce_my_double2_13(Allocation ain1, Script.LaunchOptions sc) { 4608 // check ain1 4609 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4610 throw new RSRuntimeException("Type mismatch with F64_2!"); 4611 } 4612 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4613 aout.setAutoPadding(true); 4614 reduce(mExportReduceIdx_my_double2_13, new Allocation[]{ain1}, aout, sc); 4615 return new result_int(aout); 4616 } 4617 4618 private final static int mExportReduceIdx_my_double2_14 = 126; 4619 // in1 = "in", flattened 2-vectors 4620 public result_int reduce_my_double2_14(double[] in1) { 4621 // Verify that "in1" is non-null. 4622 if (in1 == null) { 4623 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4624 } 4625 // Verify that the array length is a multiple of the vector size. 4626 if (in1.length % 2 != 0) { 4627 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4628 } 4629 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4630 ain1.setAutoPadding(true); 4631 ain1.copyFrom(in1); 4632 4633 result_int result = reduce_my_double2_14(ain1, null); 4634 result.mTempIns = new Allocation[]{ain1}; 4635 return result; 4636 } 4637 4638 // ain1 = "double2 in" 4639 public result_int reduce_my_double2_14(Allocation ain1) { 4640 return reduce_my_double2_14(ain1, null); 4641 } 4642 4643 // ain1 = "double2 in" 4644 public result_int reduce_my_double2_14(Allocation ain1, Script.LaunchOptions sc) { 4645 // check ain1 4646 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4647 throw new RSRuntimeException("Type mismatch with F64_2!"); 4648 } 4649 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4650 aout.setAutoPadding(true); 4651 reduce(mExportReduceIdx_my_double2_14, new Allocation[]{ain1}, aout, sc); 4652 return new result_int(aout); 4653 } 4654 4655 private final static int mExportReduceIdx_my_double2_15 = 127; 4656 // in1 = "in", flattened 2-vectors 4657 public result_int reduce_my_double2_15(double[] in1) { 4658 // Verify that "in1" is non-null. 4659 if (in1 == null) { 4660 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4661 } 4662 // Verify that the array length is a multiple of the vector size. 4663 if (in1.length % 2 != 0) { 4664 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4665 } 4666 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4667 ain1.setAutoPadding(true); 4668 ain1.copyFrom(in1); 4669 4670 result_int result = reduce_my_double2_15(ain1, null); 4671 result.mTempIns = new Allocation[]{ain1}; 4672 return result; 4673 } 4674 4675 // ain1 = "double2 in" 4676 public result_int reduce_my_double2_15(Allocation ain1) { 4677 return reduce_my_double2_15(ain1, null); 4678 } 4679 4680 // ain1 = "double2 in" 4681 public result_int reduce_my_double2_15(Allocation ain1, Script.LaunchOptions sc) { 4682 // check ain1 4683 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4684 throw new RSRuntimeException("Type mismatch with F64_2!"); 4685 } 4686 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4687 aout.setAutoPadding(true); 4688 reduce(mExportReduceIdx_my_double2_15, new Allocation[]{ain1}, aout, sc); 4689 return new result_int(aout); 4690 } 4691 4692 private final static int mExportReduceIdx_my_double4_0 = 128; 4693 // in1 = "in", flattened 4-vectors 4694 public result_int reduce_my_double4_0(double[] in1) { 4695 // Verify that "in1" is non-null. 4696 if (in1 == null) { 4697 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4698 } 4699 // Verify that the array length is a multiple of the vector size. 4700 if (in1.length % 4 != 0) { 4701 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4702 } 4703 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4704 ain1.setAutoPadding(true); 4705 ain1.copyFrom(in1); 4706 4707 result_int result = reduce_my_double4_0(ain1, null); 4708 result.mTempIns = new Allocation[]{ain1}; 4709 return result; 4710 } 4711 4712 // ain1 = "double4 in" 4713 public result_int reduce_my_double4_0(Allocation ain1) { 4714 return reduce_my_double4_0(ain1, null); 4715 } 4716 4717 // ain1 = "double4 in" 4718 public result_int reduce_my_double4_0(Allocation ain1, Script.LaunchOptions sc) { 4719 // check ain1 4720 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4721 throw new RSRuntimeException("Type mismatch with F64_4!"); 4722 } 4723 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4724 aout.setAutoPadding(true); 4725 reduce(mExportReduceIdx_my_double4_0, new Allocation[]{ain1}, aout, sc); 4726 return new result_int(aout); 4727 } 4728 4729 private final static int mExportReduceIdx_my_double4_1 = 129; 4730 // in1 = "in", flattened 4-vectors 4731 public result_int reduce_my_double4_1(double[] in1) { 4732 // Verify that "in1" is non-null. 4733 if (in1 == null) { 4734 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4735 } 4736 // Verify that the array length is a multiple of the vector size. 4737 if (in1.length % 4 != 0) { 4738 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4739 } 4740 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4741 ain1.setAutoPadding(true); 4742 ain1.copyFrom(in1); 4743 4744 result_int result = reduce_my_double4_1(ain1, null); 4745 result.mTempIns = new Allocation[]{ain1}; 4746 return result; 4747 } 4748 4749 // ain1 = "double4 in" 4750 public result_int reduce_my_double4_1(Allocation ain1) { 4751 return reduce_my_double4_1(ain1, null); 4752 } 4753 4754 // ain1 = "double4 in" 4755 public result_int reduce_my_double4_1(Allocation ain1, Script.LaunchOptions sc) { 4756 // check ain1 4757 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4758 throw new RSRuntimeException("Type mismatch with F64_4!"); 4759 } 4760 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4761 aout.setAutoPadding(true); 4762 reduce(mExportReduceIdx_my_double4_1, new Allocation[]{ain1}, aout, sc); 4763 return new result_int(aout); 4764 } 4765 4766 private final static int mExportReduceIdx_my_double4_2 = 130; 4767 // in1 = "in", flattened 4-vectors 4768 public result_int reduce_my_double4_2(double[] in1) { 4769 // Verify that "in1" is non-null. 4770 if (in1 == null) { 4771 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4772 } 4773 // Verify that the array length is a multiple of the vector size. 4774 if (in1.length % 4 != 0) { 4775 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4776 } 4777 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4778 ain1.setAutoPadding(true); 4779 ain1.copyFrom(in1); 4780 4781 result_int result = reduce_my_double4_2(ain1, null); 4782 result.mTempIns = new Allocation[]{ain1}; 4783 return result; 4784 } 4785 4786 // ain1 = "double4 in" 4787 public result_int reduce_my_double4_2(Allocation ain1) { 4788 return reduce_my_double4_2(ain1, null); 4789 } 4790 4791 // ain1 = "double4 in" 4792 public result_int reduce_my_double4_2(Allocation ain1, Script.LaunchOptions sc) { 4793 // check ain1 4794 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4795 throw new RSRuntimeException("Type mismatch with F64_4!"); 4796 } 4797 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4798 aout.setAutoPadding(true); 4799 reduce(mExportReduceIdx_my_double4_2, new Allocation[]{ain1}, aout, sc); 4800 return new result_int(aout); 4801 } 4802 4803 private final static int mExportReduceIdx_my_double4_3 = 131; 4804 // in1 = "in", flattened 4-vectors 4805 public result_int reduce_my_double4_3(double[] in1) { 4806 // Verify that "in1" is non-null. 4807 if (in1 == null) { 4808 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4809 } 4810 // Verify that the array length is a multiple of the vector size. 4811 if (in1.length % 4 != 0) { 4812 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4813 } 4814 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4815 ain1.setAutoPadding(true); 4816 ain1.copyFrom(in1); 4817 4818 result_int result = reduce_my_double4_3(ain1, null); 4819 result.mTempIns = new Allocation[]{ain1}; 4820 return result; 4821 } 4822 4823 // ain1 = "double4 in" 4824 public result_int reduce_my_double4_3(Allocation ain1) { 4825 return reduce_my_double4_3(ain1, null); 4826 } 4827 4828 // ain1 = "double4 in" 4829 public result_int reduce_my_double4_3(Allocation ain1, Script.LaunchOptions sc) { 4830 // check ain1 4831 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4832 throw new RSRuntimeException("Type mismatch with F64_4!"); 4833 } 4834 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4835 aout.setAutoPadding(true); 4836 reduce(mExportReduceIdx_my_double4_3, new Allocation[]{ain1}, aout, sc); 4837 return new result_int(aout); 4838 } 4839 4840 private final static int mExportReduceIdx_my_double4_4 = 132; 4841 // in1 = "in", flattened 4-vectors 4842 public result_int reduce_my_double4_4(double[] in1) { 4843 // Verify that "in1" is non-null. 4844 if (in1 == null) { 4845 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4846 } 4847 // Verify that the array length is a multiple of the vector size. 4848 if (in1.length % 4 != 0) { 4849 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4850 } 4851 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4852 ain1.setAutoPadding(true); 4853 ain1.copyFrom(in1); 4854 4855 result_int result = reduce_my_double4_4(ain1, null); 4856 result.mTempIns = new Allocation[]{ain1}; 4857 return result; 4858 } 4859 4860 // ain1 = "double4 in" 4861 public result_int reduce_my_double4_4(Allocation ain1) { 4862 return reduce_my_double4_4(ain1, null); 4863 } 4864 4865 // ain1 = "double4 in" 4866 public result_int reduce_my_double4_4(Allocation ain1, Script.LaunchOptions sc) { 4867 // check ain1 4868 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4869 throw new RSRuntimeException("Type mismatch with F64_4!"); 4870 } 4871 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4872 aout.setAutoPadding(true); 4873 reduce(mExportReduceIdx_my_double4_4, new Allocation[]{ain1}, aout, sc); 4874 return new result_int(aout); 4875 } 4876 4877 private final static int mExportReduceIdx_my_double4_5 = 133; 4878 // in1 = "in", flattened 4-vectors 4879 public result_int reduce_my_double4_5(double[] in1) { 4880 // Verify that "in1" is non-null. 4881 if (in1 == null) { 4882 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4883 } 4884 // Verify that the array length is a multiple of the vector size. 4885 if (in1.length % 4 != 0) { 4886 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4887 } 4888 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4889 ain1.setAutoPadding(true); 4890 ain1.copyFrom(in1); 4891 4892 result_int result = reduce_my_double4_5(ain1, null); 4893 result.mTempIns = new Allocation[]{ain1}; 4894 return result; 4895 } 4896 4897 // ain1 = "double4 in" 4898 public result_int reduce_my_double4_5(Allocation ain1) { 4899 return reduce_my_double4_5(ain1, null); 4900 } 4901 4902 // ain1 = "double4 in" 4903 public result_int reduce_my_double4_5(Allocation ain1, Script.LaunchOptions sc) { 4904 // check ain1 4905 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4906 throw new RSRuntimeException("Type mismatch with F64_4!"); 4907 } 4908 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4909 aout.setAutoPadding(true); 4910 reduce(mExportReduceIdx_my_double4_5, new Allocation[]{ain1}, aout, sc); 4911 return new result_int(aout); 4912 } 4913 4914 private final static int mExportReduceIdx_my_double4_6 = 134; 4915 // in1 = "in", flattened 4-vectors 4916 public result_int reduce_my_double4_6(double[] in1) { 4917 // Verify that "in1" is non-null. 4918 if (in1 == null) { 4919 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4920 } 4921 // Verify that the array length is a multiple of the vector size. 4922 if (in1.length % 4 != 0) { 4923 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4924 } 4925 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4926 ain1.setAutoPadding(true); 4927 ain1.copyFrom(in1); 4928 4929 result_int result = reduce_my_double4_6(ain1, null); 4930 result.mTempIns = new Allocation[]{ain1}; 4931 return result; 4932 } 4933 4934 // ain1 = "double4 in" 4935 public result_int reduce_my_double4_6(Allocation ain1) { 4936 return reduce_my_double4_6(ain1, null); 4937 } 4938 4939 // ain1 = "double4 in" 4940 public result_int reduce_my_double4_6(Allocation ain1, Script.LaunchOptions sc) { 4941 // check ain1 4942 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4943 throw new RSRuntimeException("Type mismatch with F64_4!"); 4944 } 4945 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4946 aout.setAutoPadding(true); 4947 reduce(mExportReduceIdx_my_double4_6, new Allocation[]{ain1}, aout, sc); 4948 return new result_int(aout); 4949 } 4950 4951 private final static int mExportReduceIdx_my_double4_7 = 135; 4952 // in1 = "in", flattened 4-vectors 4953 public result_int reduce_my_double4_7(double[] in1) { 4954 // Verify that "in1" is non-null. 4955 if (in1 == null) { 4956 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4957 } 4958 // Verify that the array length is a multiple of the vector size. 4959 if (in1.length % 4 != 0) { 4960 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4961 } 4962 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4963 ain1.setAutoPadding(true); 4964 ain1.copyFrom(in1); 4965 4966 result_int result = reduce_my_double4_7(ain1, null); 4967 result.mTempIns = new Allocation[]{ain1}; 4968 return result; 4969 } 4970 4971 // ain1 = "double4 in" 4972 public result_int reduce_my_double4_7(Allocation ain1) { 4973 return reduce_my_double4_7(ain1, null); 4974 } 4975 4976 // ain1 = "double4 in" 4977 public result_int reduce_my_double4_7(Allocation ain1, Script.LaunchOptions sc) { 4978 // check ain1 4979 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4980 throw new RSRuntimeException("Type mismatch with F64_4!"); 4981 } 4982 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4983 aout.setAutoPadding(true); 4984 reduce(mExportReduceIdx_my_double4_7, new Allocation[]{ain1}, aout, sc); 4985 return new result_int(aout); 4986 } 4987 4988 private final static int mExportReduceIdx_my_double4_8 = 136; 4989 // in1 = "in", flattened 4-vectors 4990 public result_int reduce_my_double4_8(double[] in1) { 4991 // Verify that "in1" is non-null. 4992 if (in1 == null) { 4993 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4994 } 4995 // Verify that the array length is a multiple of the vector size. 4996 if (in1.length % 4 != 0) { 4997 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4998 } 4999 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5000 ain1.setAutoPadding(true); 5001 ain1.copyFrom(in1); 5002 5003 result_int result = reduce_my_double4_8(ain1, null); 5004 result.mTempIns = new Allocation[]{ain1}; 5005 return result; 5006 } 5007 5008 // ain1 = "double4 in" 5009 public result_int reduce_my_double4_8(Allocation ain1) { 5010 return reduce_my_double4_8(ain1, null); 5011 } 5012 5013 // ain1 = "double4 in" 5014 public result_int reduce_my_double4_8(Allocation ain1, Script.LaunchOptions sc) { 5015 // check ain1 5016 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5017 throw new RSRuntimeException("Type mismatch with F64_4!"); 5018 } 5019 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5020 aout.setAutoPadding(true); 5021 reduce(mExportReduceIdx_my_double4_8, new Allocation[]{ain1}, aout, sc); 5022 return new result_int(aout); 5023 } 5024 5025 private final static int mExportReduceIdx_my_double4_9 = 137; 5026 // in1 = "in", flattened 4-vectors 5027 public result_int reduce_my_double4_9(double[] in1) { 5028 // Verify that "in1" is non-null. 5029 if (in1 == null) { 5030 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5031 } 5032 // Verify that the array length is a multiple of the vector size. 5033 if (in1.length % 4 != 0) { 5034 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5035 } 5036 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5037 ain1.setAutoPadding(true); 5038 ain1.copyFrom(in1); 5039 5040 result_int result = reduce_my_double4_9(ain1, null); 5041 result.mTempIns = new Allocation[]{ain1}; 5042 return result; 5043 } 5044 5045 // ain1 = "double4 in" 5046 public result_int reduce_my_double4_9(Allocation ain1) { 5047 return reduce_my_double4_9(ain1, null); 5048 } 5049 5050 // ain1 = "double4 in" 5051 public result_int reduce_my_double4_9(Allocation ain1, Script.LaunchOptions sc) { 5052 // check ain1 5053 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5054 throw new RSRuntimeException("Type mismatch with F64_4!"); 5055 } 5056 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5057 aout.setAutoPadding(true); 5058 reduce(mExportReduceIdx_my_double4_9, new Allocation[]{ain1}, aout, sc); 5059 return new result_int(aout); 5060 } 5061 5062 private final static int mExportReduceIdx_my_double4_10 = 138; 5063 // in1 = "in", flattened 4-vectors 5064 public result_int reduce_my_double4_10(double[] in1) { 5065 // Verify that "in1" is non-null. 5066 if (in1 == null) { 5067 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5068 } 5069 // Verify that the array length is a multiple of the vector size. 5070 if (in1.length % 4 != 0) { 5071 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5072 } 5073 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5074 ain1.setAutoPadding(true); 5075 ain1.copyFrom(in1); 5076 5077 result_int result = reduce_my_double4_10(ain1, null); 5078 result.mTempIns = new Allocation[]{ain1}; 5079 return result; 5080 } 5081 5082 // ain1 = "double4 in" 5083 public result_int reduce_my_double4_10(Allocation ain1) { 5084 return reduce_my_double4_10(ain1, null); 5085 } 5086 5087 // ain1 = "double4 in" 5088 public result_int reduce_my_double4_10(Allocation ain1, Script.LaunchOptions sc) { 5089 // check ain1 5090 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5091 throw new RSRuntimeException("Type mismatch with F64_4!"); 5092 } 5093 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5094 aout.setAutoPadding(true); 5095 reduce(mExportReduceIdx_my_double4_10, new Allocation[]{ain1}, aout, sc); 5096 return new result_int(aout); 5097 } 5098 5099 private final static int mExportReduceIdx_my_double4_11 = 139; 5100 // in1 = "in", flattened 4-vectors 5101 public result_int reduce_my_double4_11(double[] in1) { 5102 // Verify that "in1" is non-null. 5103 if (in1 == null) { 5104 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5105 } 5106 // Verify that the array length is a multiple of the vector size. 5107 if (in1.length % 4 != 0) { 5108 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5109 } 5110 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5111 ain1.setAutoPadding(true); 5112 ain1.copyFrom(in1); 5113 5114 result_int result = reduce_my_double4_11(ain1, null); 5115 result.mTempIns = new Allocation[]{ain1}; 5116 return result; 5117 } 5118 5119 // ain1 = "double4 in" 5120 public result_int reduce_my_double4_11(Allocation ain1) { 5121 return reduce_my_double4_11(ain1, null); 5122 } 5123 5124 // ain1 = "double4 in" 5125 public result_int reduce_my_double4_11(Allocation ain1, Script.LaunchOptions sc) { 5126 // check ain1 5127 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5128 throw new RSRuntimeException("Type mismatch with F64_4!"); 5129 } 5130 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5131 aout.setAutoPadding(true); 5132 reduce(mExportReduceIdx_my_double4_11, new Allocation[]{ain1}, aout, sc); 5133 return new result_int(aout); 5134 } 5135 5136 private final static int mExportReduceIdx_my_double4_12 = 140; 5137 // in1 = "in", flattened 4-vectors 5138 public result_int reduce_my_double4_12(double[] in1) { 5139 // Verify that "in1" is non-null. 5140 if (in1 == null) { 5141 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5142 } 5143 // Verify that the array length is a multiple of the vector size. 5144 if (in1.length % 4 != 0) { 5145 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5146 } 5147 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5148 ain1.setAutoPadding(true); 5149 ain1.copyFrom(in1); 5150 5151 result_int result = reduce_my_double4_12(ain1, null); 5152 result.mTempIns = new Allocation[]{ain1}; 5153 return result; 5154 } 5155 5156 // ain1 = "double4 in" 5157 public result_int reduce_my_double4_12(Allocation ain1) { 5158 return reduce_my_double4_12(ain1, null); 5159 } 5160 5161 // ain1 = "double4 in" 5162 public result_int reduce_my_double4_12(Allocation ain1, Script.LaunchOptions sc) { 5163 // check ain1 5164 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5165 throw new RSRuntimeException("Type mismatch with F64_4!"); 5166 } 5167 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5168 aout.setAutoPadding(true); 5169 reduce(mExportReduceIdx_my_double4_12, new Allocation[]{ain1}, aout, sc); 5170 return new result_int(aout); 5171 } 5172 5173 private final static int mExportReduceIdx_my_double4_13 = 141; 5174 // in1 = "in", flattened 4-vectors 5175 public result_int reduce_my_double4_13(double[] in1) { 5176 // Verify that "in1" is non-null. 5177 if (in1 == null) { 5178 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5179 } 5180 // Verify that the array length is a multiple of the vector size. 5181 if (in1.length % 4 != 0) { 5182 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5183 } 5184 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5185 ain1.setAutoPadding(true); 5186 ain1.copyFrom(in1); 5187 5188 result_int result = reduce_my_double4_13(ain1, null); 5189 result.mTempIns = new Allocation[]{ain1}; 5190 return result; 5191 } 5192 5193 // ain1 = "double4 in" 5194 public result_int reduce_my_double4_13(Allocation ain1) { 5195 return reduce_my_double4_13(ain1, null); 5196 } 5197 5198 // ain1 = "double4 in" 5199 public result_int reduce_my_double4_13(Allocation ain1, Script.LaunchOptions sc) { 5200 // check ain1 5201 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5202 throw new RSRuntimeException("Type mismatch with F64_4!"); 5203 } 5204 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5205 aout.setAutoPadding(true); 5206 reduce(mExportReduceIdx_my_double4_13, new Allocation[]{ain1}, aout, sc); 5207 return new result_int(aout); 5208 } 5209 5210 private final static int mExportReduceIdx_my_double4_14 = 142; 5211 // in1 = "in", flattened 4-vectors 5212 public result_int reduce_my_double4_14(double[] in1) { 5213 // Verify that "in1" is non-null. 5214 if (in1 == null) { 5215 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5216 } 5217 // Verify that the array length is a multiple of the vector size. 5218 if (in1.length % 4 != 0) { 5219 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5220 } 5221 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5222 ain1.setAutoPadding(true); 5223 ain1.copyFrom(in1); 5224 5225 result_int result = reduce_my_double4_14(ain1, null); 5226 result.mTempIns = new Allocation[]{ain1}; 5227 return result; 5228 } 5229 5230 // ain1 = "double4 in" 5231 public result_int reduce_my_double4_14(Allocation ain1) { 5232 return reduce_my_double4_14(ain1, null); 5233 } 5234 5235 // ain1 = "double4 in" 5236 public result_int reduce_my_double4_14(Allocation ain1, Script.LaunchOptions sc) { 5237 // check ain1 5238 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5239 throw new RSRuntimeException("Type mismatch with F64_4!"); 5240 } 5241 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5242 aout.setAutoPadding(true); 5243 reduce(mExportReduceIdx_my_double4_14, new Allocation[]{ain1}, aout, sc); 5244 return new result_int(aout); 5245 } 5246 5247 private final static int mExportReduceIdx_my_double4_15 = 143; 5248 // in1 = "in", flattened 4-vectors 5249 public result_int reduce_my_double4_15(double[] in1) { 5250 // Verify that "in1" is non-null. 5251 if (in1 == null) { 5252 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5253 } 5254 // Verify that the array length is a multiple of the vector size. 5255 if (in1.length % 4 != 0) { 5256 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5257 } 5258 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5259 ain1.setAutoPadding(true); 5260 ain1.copyFrom(in1); 5261 5262 result_int result = reduce_my_double4_15(ain1, null); 5263 result.mTempIns = new Allocation[]{ain1}; 5264 return result; 5265 } 5266 5267 // ain1 = "double4 in" 5268 public result_int reduce_my_double4_15(Allocation ain1) { 5269 return reduce_my_double4_15(ain1, null); 5270 } 5271 5272 // ain1 = "double4 in" 5273 public result_int reduce_my_double4_15(Allocation ain1, Script.LaunchOptions sc) { 5274 // check ain1 5275 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5276 throw new RSRuntimeException("Type mismatch with F64_4!"); 5277 } 5278 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5279 aout.setAutoPadding(true); 5280 reduce(mExportReduceIdx_my_double4_15, new Allocation[]{ain1}, aout, sc); 5281 return new result_int(aout); 5282 } 5283 5284 private final static int mExportReduceIdx_my_char_0 = 144; 5285 // in1 = "in" 5286 public result_int reduce_my_char_0(byte[] in1) { 5287 // Verify that "in1" is non-null. 5288 if (in1 == null) { 5289 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5290 } 5291 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5292 ain1.setAutoPadding(true); 5293 ain1.copyFrom(in1); 5294 5295 result_int result = reduce_my_char_0(ain1, null); 5296 result.mTempIns = new Allocation[]{ain1}; 5297 return result; 5298 } 5299 5300 // ain1 = "char in" 5301 public result_int reduce_my_char_0(Allocation ain1) { 5302 return reduce_my_char_0(ain1, null); 5303 } 5304 5305 // ain1 = "char in" 5306 public result_int reduce_my_char_0(Allocation ain1, Script.LaunchOptions sc) { 5307 // check ain1 5308 if (!ain1.getType().getElement().isCompatible(__I8)) { 5309 throw new RSRuntimeException("Type mismatch with I8!"); 5310 } 5311 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5312 aout.setAutoPadding(true); 5313 reduce(mExportReduceIdx_my_char_0, new Allocation[]{ain1}, aout, sc); 5314 return new result_int(aout); 5315 } 5316 5317 private final static int mExportReduceIdx_my_char_1 = 145; 5318 // in1 = "in" 5319 public result_int reduce_my_char_1(byte[] in1) { 5320 // Verify that "in1" is non-null. 5321 if (in1 == null) { 5322 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5323 } 5324 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5325 ain1.setAutoPadding(true); 5326 ain1.copyFrom(in1); 5327 5328 result_int result = reduce_my_char_1(ain1, null); 5329 result.mTempIns = new Allocation[]{ain1}; 5330 return result; 5331 } 5332 5333 // ain1 = "char in" 5334 public result_int reduce_my_char_1(Allocation ain1) { 5335 return reduce_my_char_1(ain1, null); 5336 } 5337 5338 // ain1 = "char in" 5339 public result_int reduce_my_char_1(Allocation ain1, Script.LaunchOptions sc) { 5340 // check ain1 5341 if (!ain1.getType().getElement().isCompatible(__I8)) { 5342 throw new RSRuntimeException("Type mismatch with I8!"); 5343 } 5344 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5345 aout.setAutoPadding(true); 5346 reduce(mExportReduceIdx_my_char_1, new Allocation[]{ain1}, aout, sc); 5347 return new result_int(aout); 5348 } 5349 5350 private final static int mExportReduceIdx_my_char_2 = 146; 5351 // in1 = "in" 5352 public result_int reduce_my_char_2(byte[] in1) { 5353 // Verify that "in1" is non-null. 5354 if (in1 == null) { 5355 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5356 } 5357 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5358 ain1.setAutoPadding(true); 5359 ain1.copyFrom(in1); 5360 5361 result_int result = reduce_my_char_2(ain1, null); 5362 result.mTempIns = new Allocation[]{ain1}; 5363 return result; 5364 } 5365 5366 // ain1 = "char in" 5367 public result_int reduce_my_char_2(Allocation ain1) { 5368 return reduce_my_char_2(ain1, null); 5369 } 5370 5371 // ain1 = "char in" 5372 public result_int reduce_my_char_2(Allocation ain1, Script.LaunchOptions sc) { 5373 // check ain1 5374 if (!ain1.getType().getElement().isCompatible(__I8)) { 5375 throw new RSRuntimeException("Type mismatch with I8!"); 5376 } 5377 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5378 aout.setAutoPadding(true); 5379 reduce(mExportReduceIdx_my_char_2, new Allocation[]{ain1}, aout, sc); 5380 return new result_int(aout); 5381 } 5382 5383 private final static int mExportReduceIdx_my_char_3 = 147; 5384 // in1 = "in" 5385 public result_int reduce_my_char_3(byte[] in1) { 5386 // Verify that "in1" is non-null. 5387 if (in1 == null) { 5388 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5389 } 5390 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5391 ain1.setAutoPadding(true); 5392 ain1.copyFrom(in1); 5393 5394 result_int result = reduce_my_char_3(ain1, null); 5395 result.mTempIns = new Allocation[]{ain1}; 5396 return result; 5397 } 5398 5399 // ain1 = "char in" 5400 public result_int reduce_my_char_3(Allocation ain1) { 5401 return reduce_my_char_3(ain1, null); 5402 } 5403 5404 // ain1 = "char in" 5405 public result_int reduce_my_char_3(Allocation ain1, Script.LaunchOptions sc) { 5406 // check ain1 5407 if (!ain1.getType().getElement().isCompatible(__I8)) { 5408 throw new RSRuntimeException("Type mismatch with I8!"); 5409 } 5410 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5411 aout.setAutoPadding(true); 5412 reduce(mExportReduceIdx_my_char_3, new Allocation[]{ain1}, aout, sc); 5413 return new result_int(aout); 5414 } 5415 5416 private final static int mExportReduceIdx_my_char_4 = 148; 5417 // in1 = "in" 5418 public result_int reduce_my_char_4(byte[] in1) { 5419 // Verify that "in1" is non-null. 5420 if (in1 == null) { 5421 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5422 } 5423 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5424 ain1.setAutoPadding(true); 5425 ain1.copyFrom(in1); 5426 5427 result_int result = reduce_my_char_4(ain1, null); 5428 result.mTempIns = new Allocation[]{ain1}; 5429 return result; 5430 } 5431 5432 // ain1 = "char in" 5433 public result_int reduce_my_char_4(Allocation ain1) { 5434 return reduce_my_char_4(ain1, null); 5435 } 5436 5437 // ain1 = "char in" 5438 public result_int reduce_my_char_4(Allocation ain1, Script.LaunchOptions sc) { 5439 // check ain1 5440 if (!ain1.getType().getElement().isCompatible(__I8)) { 5441 throw new RSRuntimeException("Type mismatch with I8!"); 5442 } 5443 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5444 aout.setAutoPadding(true); 5445 reduce(mExportReduceIdx_my_char_4, new Allocation[]{ain1}, aout, sc); 5446 return new result_int(aout); 5447 } 5448 5449 private final static int mExportReduceIdx_my_char_5 = 149; 5450 // in1 = "in" 5451 public result_int reduce_my_char_5(byte[] in1) { 5452 // Verify that "in1" is non-null. 5453 if (in1 == null) { 5454 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5455 } 5456 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5457 ain1.setAutoPadding(true); 5458 ain1.copyFrom(in1); 5459 5460 result_int result = reduce_my_char_5(ain1, null); 5461 result.mTempIns = new Allocation[]{ain1}; 5462 return result; 5463 } 5464 5465 // ain1 = "char in" 5466 public result_int reduce_my_char_5(Allocation ain1) { 5467 return reduce_my_char_5(ain1, null); 5468 } 5469 5470 // ain1 = "char in" 5471 public result_int reduce_my_char_5(Allocation ain1, Script.LaunchOptions sc) { 5472 // check ain1 5473 if (!ain1.getType().getElement().isCompatible(__I8)) { 5474 throw new RSRuntimeException("Type mismatch with I8!"); 5475 } 5476 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5477 aout.setAutoPadding(true); 5478 reduce(mExportReduceIdx_my_char_5, new Allocation[]{ain1}, aout, sc); 5479 return new result_int(aout); 5480 } 5481 5482 private final static int mExportReduceIdx_my_char_6 = 150; 5483 // in1 = "in" 5484 public result_int reduce_my_char_6(byte[] in1) { 5485 // Verify that "in1" is non-null. 5486 if (in1 == null) { 5487 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5488 } 5489 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5490 ain1.setAutoPadding(true); 5491 ain1.copyFrom(in1); 5492 5493 result_int result = reduce_my_char_6(ain1, null); 5494 result.mTempIns = new Allocation[]{ain1}; 5495 return result; 5496 } 5497 5498 // ain1 = "char in" 5499 public result_int reduce_my_char_6(Allocation ain1) { 5500 return reduce_my_char_6(ain1, null); 5501 } 5502 5503 // ain1 = "char in" 5504 public result_int reduce_my_char_6(Allocation ain1, Script.LaunchOptions sc) { 5505 // check ain1 5506 if (!ain1.getType().getElement().isCompatible(__I8)) { 5507 throw new RSRuntimeException("Type mismatch with I8!"); 5508 } 5509 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5510 aout.setAutoPadding(true); 5511 reduce(mExportReduceIdx_my_char_6, new Allocation[]{ain1}, aout, sc); 5512 return new result_int(aout); 5513 } 5514 5515 private final static int mExportReduceIdx_my_char_7 = 151; 5516 // in1 = "in" 5517 public result_int reduce_my_char_7(byte[] in1) { 5518 // Verify that "in1" is non-null. 5519 if (in1 == null) { 5520 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5521 } 5522 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5523 ain1.setAutoPadding(true); 5524 ain1.copyFrom(in1); 5525 5526 result_int result = reduce_my_char_7(ain1, null); 5527 result.mTempIns = new Allocation[]{ain1}; 5528 return result; 5529 } 5530 5531 // ain1 = "char in" 5532 public result_int reduce_my_char_7(Allocation ain1) { 5533 return reduce_my_char_7(ain1, null); 5534 } 5535 5536 // ain1 = "char in" 5537 public result_int reduce_my_char_7(Allocation ain1, Script.LaunchOptions sc) { 5538 // check ain1 5539 if (!ain1.getType().getElement().isCompatible(__I8)) { 5540 throw new RSRuntimeException("Type mismatch with I8!"); 5541 } 5542 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5543 aout.setAutoPadding(true); 5544 reduce(mExportReduceIdx_my_char_7, new Allocation[]{ain1}, aout, sc); 5545 return new result_int(aout); 5546 } 5547 5548 private final static int mExportReduceIdx_my_char_8 = 152; 5549 // in1 = "in" 5550 public result_int reduce_my_char_8(byte[] in1) { 5551 // Verify that "in1" is non-null. 5552 if (in1 == null) { 5553 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5554 } 5555 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5556 ain1.setAutoPadding(true); 5557 ain1.copyFrom(in1); 5558 5559 result_int result = reduce_my_char_8(ain1, null); 5560 result.mTempIns = new Allocation[]{ain1}; 5561 return result; 5562 } 5563 5564 // ain1 = "char in" 5565 public result_int reduce_my_char_8(Allocation ain1) { 5566 return reduce_my_char_8(ain1, null); 5567 } 5568 5569 // ain1 = "char in" 5570 public result_int reduce_my_char_8(Allocation ain1, Script.LaunchOptions sc) { 5571 // check ain1 5572 if (!ain1.getType().getElement().isCompatible(__I8)) { 5573 throw new RSRuntimeException("Type mismatch with I8!"); 5574 } 5575 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5576 aout.setAutoPadding(true); 5577 reduce(mExportReduceIdx_my_char_8, new Allocation[]{ain1}, aout, sc); 5578 return new result_int(aout); 5579 } 5580 5581 private final static int mExportReduceIdx_my_char_9 = 153; 5582 // in1 = "in" 5583 public result_int reduce_my_char_9(byte[] in1) { 5584 // Verify that "in1" is non-null. 5585 if (in1 == null) { 5586 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5587 } 5588 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5589 ain1.setAutoPadding(true); 5590 ain1.copyFrom(in1); 5591 5592 result_int result = reduce_my_char_9(ain1, null); 5593 result.mTempIns = new Allocation[]{ain1}; 5594 return result; 5595 } 5596 5597 // ain1 = "char in" 5598 public result_int reduce_my_char_9(Allocation ain1) { 5599 return reduce_my_char_9(ain1, null); 5600 } 5601 5602 // ain1 = "char in" 5603 public result_int reduce_my_char_9(Allocation ain1, Script.LaunchOptions sc) { 5604 // check ain1 5605 if (!ain1.getType().getElement().isCompatible(__I8)) { 5606 throw new RSRuntimeException("Type mismatch with I8!"); 5607 } 5608 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5609 aout.setAutoPadding(true); 5610 reduce(mExportReduceIdx_my_char_9, new Allocation[]{ain1}, aout, sc); 5611 return new result_int(aout); 5612 } 5613 5614 private final static int mExportReduceIdx_my_char_10 = 154; 5615 // in1 = "in" 5616 public result_int reduce_my_char_10(byte[] in1) { 5617 // Verify that "in1" is non-null. 5618 if (in1 == null) { 5619 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5620 } 5621 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5622 ain1.setAutoPadding(true); 5623 ain1.copyFrom(in1); 5624 5625 result_int result = reduce_my_char_10(ain1, null); 5626 result.mTempIns = new Allocation[]{ain1}; 5627 return result; 5628 } 5629 5630 // ain1 = "char in" 5631 public result_int reduce_my_char_10(Allocation ain1) { 5632 return reduce_my_char_10(ain1, null); 5633 } 5634 5635 // ain1 = "char in" 5636 public result_int reduce_my_char_10(Allocation ain1, Script.LaunchOptions sc) { 5637 // check ain1 5638 if (!ain1.getType().getElement().isCompatible(__I8)) { 5639 throw new RSRuntimeException("Type mismatch with I8!"); 5640 } 5641 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5642 aout.setAutoPadding(true); 5643 reduce(mExportReduceIdx_my_char_10, new Allocation[]{ain1}, aout, sc); 5644 return new result_int(aout); 5645 } 5646 5647 private final static int mExportReduceIdx_my_char_11 = 155; 5648 // in1 = "in" 5649 public result_int reduce_my_char_11(byte[] in1) { 5650 // Verify that "in1" is non-null. 5651 if (in1 == null) { 5652 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5653 } 5654 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5655 ain1.setAutoPadding(true); 5656 ain1.copyFrom(in1); 5657 5658 result_int result = reduce_my_char_11(ain1, null); 5659 result.mTempIns = new Allocation[]{ain1}; 5660 return result; 5661 } 5662 5663 // ain1 = "char in" 5664 public result_int reduce_my_char_11(Allocation ain1) { 5665 return reduce_my_char_11(ain1, null); 5666 } 5667 5668 // ain1 = "char in" 5669 public result_int reduce_my_char_11(Allocation ain1, Script.LaunchOptions sc) { 5670 // check ain1 5671 if (!ain1.getType().getElement().isCompatible(__I8)) { 5672 throw new RSRuntimeException("Type mismatch with I8!"); 5673 } 5674 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5675 aout.setAutoPadding(true); 5676 reduce(mExportReduceIdx_my_char_11, new Allocation[]{ain1}, aout, sc); 5677 return new result_int(aout); 5678 } 5679 5680 private final static int mExportReduceIdx_my_char_12 = 156; 5681 // in1 = "in" 5682 public result_int reduce_my_char_12(byte[] in1) { 5683 // Verify that "in1" is non-null. 5684 if (in1 == null) { 5685 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5686 } 5687 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5688 ain1.setAutoPadding(true); 5689 ain1.copyFrom(in1); 5690 5691 result_int result = reduce_my_char_12(ain1, null); 5692 result.mTempIns = new Allocation[]{ain1}; 5693 return result; 5694 } 5695 5696 // ain1 = "char in" 5697 public result_int reduce_my_char_12(Allocation ain1) { 5698 return reduce_my_char_12(ain1, null); 5699 } 5700 5701 // ain1 = "char in" 5702 public result_int reduce_my_char_12(Allocation ain1, Script.LaunchOptions sc) { 5703 // check ain1 5704 if (!ain1.getType().getElement().isCompatible(__I8)) { 5705 throw new RSRuntimeException("Type mismatch with I8!"); 5706 } 5707 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5708 aout.setAutoPadding(true); 5709 reduce(mExportReduceIdx_my_char_12, new Allocation[]{ain1}, aout, sc); 5710 return new result_int(aout); 5711 } 5712 5713 private final static int mExportReduceIdx_my_char_13 = 157; 5714 // in1 = "in" 5715 public result_int reduce_my_char_13(byte[] in1) { 5716 // Verify that "in1" is non-null. 5717 if (in1 == null) { 5718 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5719 } 5720 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5721 ain1.setAutoPadding(true); 5722 ain1.copyFrom(in1); 5723 5724 result_int result = reduce_my_char_13(ain1, null); 5725 result.mTempIns = new Allocation[]{ain1}; 5726 return result; 5727 } 5728 5729 // ain1 = "char in" 5730 public result_int reduce_my_char_13(Allocation ain1) { 5731 return reduce_my_char_13(ain1, null); 5732 } 5733 5734 // ain1 = "char in" 5735 public result_int reduce_my_char_13(Allocation ain1, Script.LaunchOptions sc) { 5736 // check ain1 5737 if (!ain1.getType().getElement().isCompatible(__I8)) { 5738 throw new RSRuntimeException("Type mismatch with I8!"); 5739 } 5740 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5741 aout.setAutoPadding(true); 5742 reduce(mExportReduceIdx_my_char_13, new Allocation[]{ain1}, aout, sc); 5743 return new result_int(aout); 5744 } 5745 5746 private final static int mExportReduceIdx_my_char_14 = 158; 5747 // in1 = "in" 5748 public result_int reduce_my_char_14(byte[] in1) { 5749 // Verify that "in1" is non-null. 5750 if (in1 == null) { 5751 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5752 } 5753 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5754 ain1.setAutoPadding(true); 5755 ain1.copyFrom(in1); 5756 5757 result_int result = reduce_my_char_14(ain1, null); 5758 result.mTempIns = new Allocation[]{ain1}; 5759 return result; 5760 } 5761 5762 // ain1 = "char in" 5763 public result_int reduce_my_char_14(Allocation ain1) { 5764 return reduce_my_char_14(ain1, null); 5765 } 5766 5767 // ain1 = "char in" 5768 public result_int reduce_my_char_14(Allocation ain1, Script.LaunchOptions sc) { 5769 // check ain1 5770 if (!ain1.getType().getElement().isCompatible(__I8)) { 5771 throw new RSRuntimeException("Type mismatch with I8!"); 5772 } 5773 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5774 aout.setAutoPadding(true); 5775 reduce(mExportReduceIdx_my_char_14, new Allocation[]{ain1}, aout, sc); 5776 return new result_int(aout); 5777 } 5778 5779 private final static int mExportReduceIdx_my_char_15 = 159; 5780 // in1 = "in" 5781 public result_int reduce_my_char_15(byte[] in1) { 5782 // Verify that "in1" is non-null. 5783 if (in1 == null) { 5784 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5785 } 5786 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5787 ain1.setAutoPadding(true); 5788 ain1.copyFrom(in1); 5789 5790 result_int result = reduce_my_char_15(ain1, null); 5791 result.mTempIns = new Allocation[]{ain1}; 5792 return result; 5793 } 5794 5795 // ain1 = "char in" 5796 public result_int reduce_my_char_15(Allocation ain1) { 5797 return reduce_my_char_15(ain1, null); 5798 } 5799 5800 // ain1 = "char in" 5801 public result_int reduce_my_char_15(Allocation ain1, Script.LaunchOptions sc) { 5802 // check ain1 5803 if (!ain1.getType().getElement().isCompatible(__I8)) { 5804 throw new RSRuntimeException("Type mismatch with I8!"); 5805 } 5806 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5807 aout.setAutoPadding(true); 5808 reduce(mExportReduceIdx_my_char_15, new Allocation[]{ain1}, aout, sc); 5809 return new result_int(aout); 5810 } 5811 5812 private final static int mExportReduceIdx_my_char2_0 = 160; 5813 // in1 = "in", flattened 2-vectors 5814 public result_int reduce_my_char2_0(byte[] in1) { 5815 // Verify that "in1" is non-null. 5816 if (in1 == null) { 5817 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5818 } 5819 // Verify that the array length is a multiple of the vector size. 5820 if (in1.length % 2 != 0) { 5821 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5822 } 5823 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5824 ain1.setAutoPadding(true); 5825 ain1.copyFrom(in1); 5826 5827 result_int result = reduce_my_char2_0(ain1, null); 5828 result.mTempIns = new Allocation[]{ain1}; 5829 return result; 5830 } 5831 5832 // ain1 = "char2 in" 5833 public result_int reduce_my_char2_0(Allocation ain1) { 5834 return reduce_my_char2_0(ain1, null); 5835 } 5836 5837 // ain1 = "char2 in" 5838 public result_int reduce_my_char2_0(Allocation ain1, Script.LaunchOptions sc) { 5839 // check ain1 5840 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5841 throw new RSRuntimeException("Type mismatch with I8_2!"); 5842 } 5843 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5844 aout.setAutoPadding(true); 5845 reduce(mExportReduceIdx_my_char2_0, new Allocation[]{ain1}, aout, sc); 5846 return new result_int(aout); 5847 } 5848 5849 private final static int mExportReduceIdx_my_char2_1 = 161; 5850 // in1 = "in", flattened 2-vectors 5851 public result_int reduce_my_char2_1(byte[] in1) { 5852 // Verify that "in1" is non-null. 5853 if (in1 == null) { 5854 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5855 } 5856 // Verify that the array length is a multiple of the vector size. 5857 if (in1.length % 2 != 0) { 5858 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5859 } 5860 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5861 ain1.setAutoPadding(true); 5862 ain1.copyFrom(in1); 5863 5864 result_int result = reduce_my_char2_1(ain1, null); 5865 result.mTempIns = new Allocation[]{ain1}; 5866 return result; 5867 } 5868 5869 // ain1 = "char2 in" 5870 public result_int reduce_my_char2_1(Allocation ain1) { 5871 return reduce_my_char2_1(ain1, null); 5872 } 5873 5874 // ain1 = "char2 in" 5875 public result_int reduce_my_char2_1(Allocation ain1, Script.LaunchOptions sc) { 5876 // check ain1 5877 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5878 throw new RSRuntimeException("Type mismatch with I8_2!"); 5879 } 5880 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5881 aout.setAutoPadding(true); 5882 reduce(mExportReduceIdx_my_char2_1, new Allocation[]{ain1}, aout, sc); 5883 return new result_int(aout); 5884 } 5885 5886 private final static int mExportReduceIdx_my_char2_2 = 162; 5887 // in1 = "in", flattened 2-vectors 5888 public result_int reduce_my_char2_2(byte[] in1) { 5889 // Verify that "in1" is non-null. 5890 if (in1 == null) { 5891 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5892 } 5893 // Verify that the array length is a multiple of the vector size. 5894 if (in1.length % 2 != 0) { 5895 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5896 } 5897 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5898 ain1.setAutoPadding(true); 5899 ain1.copyFrom(in1); 5900 5901 result_int result = reduce_my_char2_2(ain1, null); 5902 result.mTempIns = new Allocation[]{ain1}; 5903 return result; 5904 } 5905 5906 // ain1 = "char2 in" 5907 public result_int reduce_my_char2_2(Allocation ain1) { 5908 return reduce_my_char2_2(ain1, null); 5909 } 5910 5911 // ain1 = "char2 in" 5912 public result_int reduce_my_char2_2(Allocation ain1, Script.LaunchOptions sc) { 5913 // check ain1 5914 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5915 throw new RSRuntimeException("Type mismatch with I8_2!"); 5916 } 5917 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5918 aout.setAutoPadding(true); 5919 reduce(mExportReduceIdx_my_char2_2, new Allocation[]{ain1}, aout, sc); 5920 return new result_int(aout); 5921 } 5922 5923 private final static int mExportReduceIdx_my_char2_3 = 163; 5924 // in1 = "in", flattened 2-vectors 5925 public result_int reduce_my_char2_3(byte[] in1) { 5926 // Verify that "in1" is non-null. 5927 if (in1 == null) { 5928 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5929 } 5930 // Verify that the array length is a multiple of the vector size. 5931 if (in1.length % 2 != 0) { 5932 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5933 } 5934 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5935 ain1.setAutoPadding(true); 5936 ain1.copyFrom(in1); 5937 5938 result_int result = reduce_my_char2_3(ain1, null); 5939 result.mTempIns = new Allocation[]{ain1}; 5940 return result; 5941 } 5942 5943 // ain1 = "char2 in" 5944 public result_int reduce_my_char2_3(Allocation ain1) { 5945 return reduce_my_char2_3(ain1, null); 5946 } 5947 5948 // ain1 = "char2 in" 5949 public result_int reduce_my_char2_3(Allocation ain1, Script.LaunchOptions sc) { 5950 // check ain1 5951 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5952 throw new RSRuntimeException("Type mismatch with I8_2!"); 5953 } 5954 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5955 aout.setAutoPadding(true); 5956 reduce(mExportReduceIdx_my_char2_3, new Allocation[]{ain1}, aout, sc); 5957 return new result_int(aout); 5958 } 5959 5960 private final static int mExportReduceIdx_my_char2_4 = 164; 5961 // in1 = "in", flattened 2-vectors 5962 public result_int reduce_my_char2_4(byte[] in1) { 5963 // Verify that "in1" is non-null. 5964 if (in1 == null) { 5965 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5966 } 5967 // Verify that the array length is a multiple of the vector size. 5968 if (in1.length % 2 != 0) { 5969 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5970 } 5971 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5972 ain1.setAutoPadding(true); 5973 ain1.copyFrom(in1); 5974 5975 result_int result = reduce_my_char2_4(ain1, null); 5976 result.mTempIns = new Allocation[]{ain1}; 5977 return result; 5978 } 5979 5980 // ain1 = "char2 in" 5981 public result_int reduce_my_char2_4(Allocation ain1) { 5982 return reduce_my_char2_4(ain1, null); 5983 } 5984 5985 // ain1 = "char2 in" 5986 public result_int reduce_my_char2_4(Allocation ain1, Script.LaunchOptions sc) { 5987 // check ain1 5988 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5989 throw new RSRuntimeException("Type mismatch with I8_2!"); 5990 } 5991 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5992 aout.setAutoPadding(true); 5993 reduce(mExportReduceIdx_my_char2_4, new Allocation[]{ain1}, aout, sc); 5994 return new result_int(aout); 5995 } 5996 5997 private final static int mExportReduceIdx_my_char2_5 = 165; 5998 // in1 = "in", flattened 2-vectors 5999 public result_int reduce_my_char2_5(byte[] in1) { 6000 // Verify that "in1" is non-null. 6001 if (in1 == null) { 6002 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6003 } 6004 // Verify that the array length is a multiple of the vector size. 6005 if (in1.length % 2 != 0) { 6006 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6007 } 6008 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6009 ain1.setAutoPadding(true); 6010 ain1.copyFrom(in1); 6011 6012 result_int result = reduce_my_char2_5(ain1, null); 6013 result.mTempIns = new Allocation[]{ain1}; 6014 return result; 6015 } 6016 6017 // ain1 = "char2 in" 6018 public result_int reduce_my_char2_5(Allocation ain1) { 6019 return reduce_my_char2_5(ain1, null); 6020 } 6021 6022 // ain1 = "char2 in" 6023 public result_int reduce_my_char2_5(Allocation ain1, Script.LaunchOptions sc) { 6024 // check ain1 6025 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6026 throw new RSRuntimeException("Type mismatch with I8_2!"); 6027 } 6028 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6029 aout.setAutoPadding(true); 6030 reduce(mExportReduceIdx_my_char2_5, new Allocation[]{ain1}, aout, sc); 6031 return new result_int(aout); 6032 } 6033 6034 private final static int mExportReduceIdx_my_char2_6 = 166; 6035 // in1 = "in", flattened 2-vectors 6036 public result_int reduce_my_char2_6(byte[] in1) { 6037 // Verify that "in1" is non-null. 6038 if (in1 == null) { 6039 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6040 } 6041 // Verify that the array length is a multiple of the vector size. 6042 if (in1.length % 2 != 0) { 6043 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6044 } 6045 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6046 ain1.setAutoPadding(true); 6047 ain1.copyFrom(in1); 6048 6049 result_int result = reduce_my_char2_6(ain1, null); 6050 result.mTempIns = new Allocation[]{ain1}; 6051 return result; 6052 } 6053 6054 // ain1 = "char2 in" 6055 public result_int reduce_my_char2_6(Allocation ain1) { 6056 return reduce_my_char2_6(ain1, null); 6057 } 6058 6059 // ain1 = "char2 in" 6060 public result_int reduce_my_char2_6(Allocation ain1, Script.LaunchOptions sc) { 6061 // check ain1 6062 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6063 throw new RSRuntimeException("Type mismatch with I8_2!"); 6064 } 6065 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6066 aout.setAutoPadding(true); 6067 reduce(mExportReduceIdx_my_char2_6, new Allocation[]{ain1}, aout, sc); 6068 return new result_int(aout); 6069 } 6070 6071 private final static int mExportReduceIdx_my_char2_7 = 167; 6072 // in1 = "in", flattened 2-vectors 6073 public result_int reduce_my_char2_7(byte[] in1) { 6074 // Verify that "in1" is non-null. 6075 if (in1 == null) { 6076 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6077 } 6078 // Verify that the array length is a multiple of the vector size. 6079 if (in1.length % 2 != 0) { 6080 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6081 } 6082 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6083 ain1.setAutoPadding(true); 6084 ain1.copyFrom(in1); 6085 6086 result_int result = reduce_my_char2_7(ain1, null); 6087 result.mTempIns = new Allocation[]{ain1}; 6088 return result; 6089 } 6090 6091 // ain1 = "char2 in" 6092 public result_int reduce_my_char2_7(Allocation ain1) { 6093 return reduce_my_char2_7(ain1, null); 6094 } 6095 6096 // ain1 = "char2 in" 6097 public result_int reduce_my_char2_7(Allocation ain1, Script.LaunchOptions sc) { 6098 // check ain1 6099 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6100 throw new RSRuntimeException("Type mismatch with I8_2!"); 6101 } 6102 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6103 aout.setAutoPadding(true); 6104 reduce(mExportReduceIdx_my_char2_7, new Allocation[]{ain1}, aout, sc); 6105 return new result_int(aout); 6106 } 6107 6108 private final static int mExportReduceIdx_my_char2_8 = 168; 6109 // in1 = "in", flattened 2-vectors 6110 public result_int reduce_my_char2_8(byte[] in1) { 6111 // Verify that "in1" is non-null. 6112 if (in1 == null) { 6113 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6114 } 6115 // Verify that the array length is a multiple of the vector size. 6116 if (in1.length % 2 != 0) { 6117 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6118 } 6119 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6120 ain1.setAutoPadding(true); 6121 ain1.copyFrom(in1); 6122 6123 result_int result = reduce_my_char2_8(ain1, null); 6124 result.mTempIns = new Allocation[]{ain1}; 6125 return result; 6126 } 6127 6128 // ain1 = "char2 in" 6129 public result_int reduce_my_char2_8(Allocation ain1) { 6130 return reduce_my_char2_8(ain1, null); 6131 } 6132 6133 // ain1 = "char2 in" 6134 public result_int reduce_my_char2_8(Allocation ain1, Script.LaunchOptions sc) { 6135 // check ain1 6136 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6137 throw new RSRuntimeException("Type mismatch with I8_2!"); 6138 } 6139 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6140 aout.setAutoPadding(true); 6141 reduce(mExportReduceIdx_my_char2_8, new Allocation[]{ain1}, aout, sc); 6142 return new result_int(aout); 6143 } 6144 6145 private final static int mExportReduceIdx_my_char2_9 = 169; 6146 // in1 = "in", flattened 2-vectors 6147 public result_int reduce_my_char2_9(byte[] in1) { 6148 // Verify that "in1" is non-null. 6149 if (in1 == null) { 6150 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6151 } 6152 // Verify that the array length is a multiple of the vector size. 6153 if (in1.length % 2 != 0) { 6154 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6155 } 6156 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6157 ain1.setAutoPadding(true); 6158 ain1.copyFrom(in1); 6159 6160 result_int result = reduce_my_char2_9(ain1, null); 6161 result.mTempIns = new Allocation[]{ain1}; 6162 return result; 6163 } 6164 6165 // ain1 = "char2 in" 6166 public result_int reduce_my_char2_9(Allocation ain1) { 6167 return reduce_my_char2_9(ain1, null); 6168 } 6169 6170 // ain1 = "char2 in" 6171 public result_int reduce_my_char2_9(Allocation ain1, Script.LaunchOptions sc) { 6172 // check ain1 6173 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6174 throw new RSRuntimeException("Type mismatch with I8_2!"); 6175 } 6176 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6177 aout.setAutoPadding(true); 6178 reduce(mExportReduceIdx_my_char2_9, new Allocation[]{ain1}, aout, sc); 6179 return new result_int(aout); 6180 } 6181 6182 private final static int mExportReduceIdx_my_char2_10 = 170; 6183 // in1 = "in", flattened 2-vectors 6184 public result_int reduce_my_char2_10(byte[] in1) { 6185 // Verify that "in1" is non-null. 6186 if (in1 == null) { 6187 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6188 } 6189 // Verify that the array length is a multiple of the vector size. 6190 if (in1.length % 2 != 0) { 6191 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6192 } 6193 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6194 ain1.setAutoPadding(true); 6195 ain1.copyFrom(in1); 6196 6197 result_int result = reduce_my_char2_10(ain1, null); 6198 result.mTempIns = new Allocation[]{ain1}; 6199 return result; 6200 } 6201 6202 // ain1 = "char2 in" 6203 public result_int reduce_my_char2_10(Allocation ain1) { 6204 return reduce_my_char2_10(ain1, null); 6205 } 6206 6207 // ain1 = "char2 in" 6208 public result_int reduce_my_char2_10(Allocation ain1, Script.LaunchOptions sc) { 6209 // check ain1 6210 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6211 throw new RSRuntimeException("Type mismatch with I8_2!"); 6212 } 6213 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6214 aout.setAutoPadding(true); 6215 reduce(mExportReduceIdx_my_char2_10, new Allocation[]{ain1}, aout, sc); 6216 return new result_int(aout); 6217 } 6218 6219 private final static int mExportReduceIdx_my_char2_11 = 171; 6220 // in1 = "in", flattened 2-vectors 6221 public result_int reduce_my_char2_11(byte[] in1) { 6222 // Verify that "in1" is non-null. 6223 if (in1 == null) { 6224 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6225 } 6226 // Verify that the array length is a multiple of the vector size. 6227 if (in1.length % 2 != 0) { 6228 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6229 } 6230 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6231 ain1.setAutoPadding(true); 6232 ain1.copyFrom(in1); 6233 6234 result_int result = reduce_my_char2_11(ain1, null); 6235 result.mTempIns = new Allocation[]{ain1}; 6236 return result; 6237 } 6238 6239 // ain1 = "char2 in" 6240 public result_int reduce_my_char2_11(Allocation ain1) { 6241 return reduce_my_char2_11(ain1, null); 6242 } 6243 6244 // ain1 = "char2 in" 6245 public result_int reduce_my_char2_11(Allocation ain1, Script.LaunchOptions sc) { 6246 // check ain1 6247 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6248 throw new RSRuntimeException("Type mismatch with I8_2!"); 6249 } 6250 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6251 aout.setAutoPadding(true); 6252 reduce(mExportReduceIdx_my_char2_11, new Allocation[]{ain1}, aout, sc); 6253 return new result_int(aout); 6254 } 6255 6256 private final static int mExportReduceIdx_my_char2_12 = 172; 6257 // in1 = "in", flattened 2-vectors 6258 public result_int reduce_my_char2_12(byte[] in1) { 6259 // Verify that "in1" is non-null. 6260 if (in1 == null) { 6261 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6262 } 6263 // Verify that the array length is a multiple of the vector size. 6264 if (in1.length % 2 != 0) { 6265 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6266 } 6267 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6268 ain1.setAutoPadding(true); 6269 ain1.copyFrom(in1); 6270 6271 result_int result = reduce_my_char2_12(ain1, null); 6272 result.mTempIns = new Allocation[]{ain1}; 6273 return result; 6274 } 6275 6276 // ain1 = "char2 in" 6277 public result_int reduce_my_char2_12(Allocation ain1) { 6278 return reduce_my_char2_12(ain1, null); 6279 } 6280 6281 // ain1 = "char2 in" 6282 public result_int reduce_my_char2_12(Allocation ain1, Script.LaunchOptions sc) { 6283 // check ain1 6284 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6285 throw new RSRuntimeException("Type mismatch with I8_2!"); 6286 } 6287 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6288 aout.setAutoPadding(true); 6289 reduce(mExportReduceIdx_my_char2_12, new Allocation[]{ain1}, aout, sc); 6290 return new result_int(aout); 6291 } 6292 6293 private final static int mExportReduceIdx_my_char2_13 = 173; 6294 // in1 = "in", flattened 2-vectors 6295 public result_int reduce_my_char2_13(byte[] in1) { 6296 // Verify that "in1" is non-null. 6297 if (in1 == null) { 6298 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6299 } 6300 // Verify that the array length is a multiple of the vector size. 6301 if (in1.length % 2 != 0) { 6302 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6303 } 6304 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6305 ain1.setAutoPadding(true); 6306 ain1.copyFrom(in1); 6307 6308 result_int result = reduce_my_char2_13(ain1, null); 6309 result.mTempIns = new Allocation[]{ain1}; 6310 return result; 6311 } 6312 6313 // ain1 = "char2 in" 6314 public result_int reduce_my_char2_13(Allocation ain1) { 6315 return reduce_my_char2_13(ain1, null); 6316 } 6317 6318 // ain1 = "char2 in" 6319 public result_int reduce_my_char2_13(Allocation ain1, Script.LaunchOptions sc) { 6320 // check ain1 6321 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6322 throw new RSRuntimeException("Type mismatch with I8_2!"); 6323 } 6324 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6325 aout.setAutoPadding(true); 6326 reduce(mExportReduceIdx_my_char2_13, new Allocation[]{ain1}, aout, sc); 6327 return new result_int(aout); 6328 } 6329 6330 private final static int mExportReduceIdx_my_char2_14 = 174; 6331 // in1 = "in", flattened 2-vectors 6332 public result_int reduce_my_char2_14(byte[] in1) { 6333 // Verify that "in1" is non-null. 6334 if (in1 == null) { 6335 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6336 } 6337 // Verify that the array length is a multiple of the vector size. 6338 if (in1.length % 2 != 0) { 6339 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6340 } 6341 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6342 ain1.setAutoPadding(true); 6343 ain1.copyFrom(in1); 6344 6345 result_int result = reduce_my_char2_14(ain1, null); 6346 result.mTempIns = new Allocation[]{ain1}; 6347 return result; 6348 } 6349 6350 // ain1 = "char2 in" 6351 public result_int reduce_my_char2_14(Allocation ain1) { 6352 return reduce_my_char2_14(ain1, null); 6353 } 6354 6355 // ain1 = "char2 in" 6356 public result_int reduce_my_char2_14(Allocation ain1, Script.LaunchOptions sc) { 6357 // check ain1 6358 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6359 throw new RSRuntimeException("Type mismatch with I8_2!"); 6360 } 6361 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6362 aout.setAutoPadding(true); 6363 reduce(mExportReduceIdx_my_char2_14, new Allocation[]{ain1}, aout, sc); 6364 return new result_int(aout); 6365 } 6366 6367 private final static int mExportReduceIdx_my_char2_15 = 175; 6368 // in1 = "in", flattened 2-vectors 6369 public result_int reduce_my_char2_15(byte[] in1) { 6370 // Verify that "in1" is non-null. 6371 if (in1 == null) { 6372 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6373 } 6374 // Verify that the array length is a multiple of the vector size. 6375 if (in1.length % 2 != 0) { 6376 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6377 } 6378 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6379 ain1.setAutoPadding(true); 6380 ain1.copyFrom(in1); 6381 6382 result_int result = reduce_my_char2_15(ain1, null); 6383 result.mTempIns = new Allocation[]{ain1}; 6384 return result; 6385 } 6386 6387 // ain1 = "char2 in" 6388 public result_int reduce_my_char2_15(Allocation ain1) { 6389 return reduce_my_char2_15(ain1, null); 6390 } 6391 6392 // ain1 = "char2 in" 6393 public result_int reduce_my_char2_15(Allocation ain1, Script.LaunchOptions sc) { 6394 // check ain1 6395 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6396 throw new RSRuntimeException("Type mismatch with I8_2!"); 6397 } 6398 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6399 aout.setAutoPadding(true); 6400 reduce(mExportReduceIdx_my_char2_15, new Allocation[]{ain1}, aout, sc); 6401 return new result_int(aout); 6402 } 6403 6404 private final static int mExportReduceIdx_my_char4_0 = 176; 6405 // in1 = "in", flattened 4-vectors 6406 public result_int reduce_my_char4_0(byte[] in1) { 6407 // Verify that "in1" is non-null. 6408 if (in1 == null) { 6409 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6410 } 6411 // Verify that the array length is a multiple of the vector size. 6412 if (in1.length % 4 != 0) { 6413 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6414 } 6415 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6416 ain1.setAutoPadding(true); 6417 ain1.copyFrom(in1); 6418 6419 result_int result = reduce_my_char4_0(ain1, null); 6420 result.mTempIns = new Allocation[]{ain1}; 6421 return result; 6422 } 6423 6424 // ain1 = "char4 in" 6425 public result_int reduce_my_char4_0(Allocation ain1) { 6426 return reduce_my_char4_0(ain1, null); 6427 } 6428 6429 // ain1 = "char4 in" 6430 public result_int reduce_my_char4_0(Allocation ain1, Script.LaunchOptions sc) { 6431 // check ain1 6432 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6433 throw new RSRuntimeException("Type mismatch with I8_4!"); 6434 } 6435 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6436 aout.setAutoPadding(true); 6437 reduce(mExportReduceIdx_my_char4_0, new Allocation[]{ain1}, aout, sc); 6438 return new result_int(aout); 6439 } 6440 6441 private final static int mExportReduceIdx_my_char4_1 = 177; 6442 // in1 = "in", flattened 4-vectors 6443 public result_int reduce_my_char4_1(byte[] in1) { 6444 // Verify that "in1" is non-null. 6445 if (in1 == null) { 6446 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6447 } 6448 // Verify that the array length is a multiple of the vector size. 6449 if (in1.length % 4 != 0) { 6450 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6451 } 6452 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6453 ain1.setAutoPadding(true); 6454 ain1.copyFrom(in1); 6455 6456 result_int result = reduce_my_char4_1(ain1, null); 6457 result.mTempIns = new Allocation[]{ain1}; 6458 return result; 6459 } 6460 6461 // ain1 = "char4 in" 6462 public result_int reduce_my_char4_1(Allocation ain1) { 6463 return reduce_my_char4_1(ain1, null); 6464 } 6465 6466 // ain1 = "char4 in" 6467 public result_int reduce_my_char4_1(Allocation ain1, Script.LaunchOptions sc) { 6468 // check ain1 6469 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6470 throw new RSRuntimeException("Type mismatch with I8_4!"); 6471 } 6472 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6473 aout.setAutoPadding(true); 6474 reduce(mExportReduceIdx_my_char4_1, new Allocation[]{ain1}, aout, sc); 6475 return new result_int(aout); 6476 } 6477 6478 private final static int mExportReduceIdx_my_char4_2 = 178; 6479 // in1 = "in", flattened 4-vectors 6480 public result_int reduce_my_char4_2(byte[] in1) { 6481 // Verify that "in1" is non-null. 6482 if (in1 == null) { 6483 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6484 } 6485 // Verify that the array length is a multiple of the vector size. 6486 if (in1.length % 4 != 0) { 6487 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6488 } 6489 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6490 ain1.setAutoPadding(true); 6491 ain1.copyFrom(in1); 6492 6493 result_int result = reduce_my_char4_2(ain1, null); 6494 result.mTempIns = new Allocation[]{ain1}; 6495 return result; 6496 } 6497 6498 // ain1 = "char4 in" 6499 public result_int reduce_my_char4_2(Allocation ain1) { 6500 return reduce_my_char4_2(ain1, null); 6501 } 6502 6503 // ain1 = "char4 in" 6504 public result_int reduce_my_char4_2(Allocation ain1, Script.LaunchOptions sc) { 6505 // check ain1 6506 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6507 throw new RSRuntimeException("Type mismatch with I8_4!"); 6508 } 6509 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6510 aout.setAutoPadding(true); 6511 reduce(mExportReduceIdx_my_char4_2, new Allocation[]{ain1}, aout, sc); 6512 return new result_int(aout); 6513 } 6514 6515 private final static int mExportReduceIdx_my_char4_3 = 179; 6516 // in1 = "in", flattened 4-vectors 6517 public result_int reduce_my_char4_3(byte[] in1) { 6518 // Verify that "in1" is non-null. 6519 if (in1 == null) { 6520 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6521 } 6522 // Verify that the array length is a multiple of the vector size. 6523 if (in1.length % 4 != 0) { 6524 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6525 } 6526 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6527 ain1.setAutoPadding(true); 6528 ain1.copyFrom(in1); 6529 6530 result_int result = reduce_my_char4_3(ain1, null); 6531 result.mTempIns = new Allocation[]{ain1}; 6532 return result; 6533 } 6534 6535 // ain1 = "char4 in" 6536 public result_int reduce_my_char4_3(Allocation ain1) { 6537 return reduce_my_char4_3(ain1, null); 6538 } 6539 6540 // ain1 = "char4 in" 6541 public result_int reduce_my_char4_3(Allocation ain1, Script.LaunchOptions sc) { 6542 // check ain1 6543 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6544 throw new RSRuntimeException("Type mismatch with I8_4!"); 6545 } 6546 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6547 aout.setAutoPadding(true); 6548 reduce(mExportReduceIdx_my_char4_3, new Allocation[]{ain1}, aout, sc); 6549 return new result_int(aout); 6550 } 6551 6552 private final static int mExportReduceIdx_my_char4_4 = 180; 6553 // in1 = "in", flattened 4-vectors 6554 public result_int reduce_my_char4_4(byte[] in1) { 6555 // Verify that "in1" is non-null. 6556 if (in1 == null) { 6557 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6558 } 6559 // Verify that the array length is a multiple of the vector size. 6560 if (in1.length % 4 != 0) { 6561 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6562 } 6563 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6564 ain1.setAutoPadding(true); 6565 ain1.copyFrom(in1); 6566 6567 result_int result = reduce_my_char4_4(ain1, null); 6568 result.mTempIns = new Allocation[]{ain1}; 6569 return result; 6570 } 6571 6572 // ain1 = "char4 in" 6573 public result_int reduce_my_char4_4(Allocation ain1) { 6574 return reduce_my_char4_4(ain1, null); 6575 } 6576 6577 // ain1 = "char4 in" 6578 public result_int reduce_my_char4_4(Allocation ain1, Script.LaunchOptions sc) { 6579 // check ain1 6580 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6581 throw new RSRuntimeException("Type mismatch with I8_4!"); 6582 } 6583 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6584 aout.setAutoPadding(true); 6585 reduce(mExportReduceIdx_my_char4_4, new Allocation[]{ain1}, aout, sc); 6586 return new result_int(aout); 6587 } 6588 6589 private final static int mExportReduceIdx_my_char4_5 = 181; 6590 // in1 = "in", flattened 4-vectors 6591 public result_int reduce_my_char4_5(byte[] in1) { 6592 // Verify that "in1" is non-null. 6593 if (in1 == null) { 6594 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6595 } 6596 // Verify that the array length is a multiple of the vector size. 6597 if (in1.length % 4 != 0) { 6598 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6599 } 6600 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6601 ain1.setAutoPadding(true); 6602 ain1.copyFrom(in1); 6603 6604 result_int result = reduce_my_char4_5(ain1, null); 6605 result.mTempIns = new Allocation[]{ain1}; 6606 return result; 6607 } 6608 6609 // ain1 = "char4 in" 6610 public result_int reduce_my_char4_5(Allocation ain1) { 6611 return reduce_my_char4_5(ain1, null); 6612 } 6613 6614 // ain1 = "char4 in" 6615 public result_int reduce_my_char4_5(Allocation ain1, Script.LaunchOptions sc) { 6616 // check ain1 6617 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6618 throw new RSRuntimeException("Type mismatch with I8_4!"); 6619 } 6620 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6621 aout.setAutoPadding(true); 6622 reduce(mExportReduceIdx_my_char4_5, new Allocation[]{ain1}, aout, sc); 6623 return new result_int(aout); 6624 } 6625 6626 private final static int mExportReduceIdx_my_char4_6 = 182; 6627 // in1 = "in", flattened 4-vectors 6628 public result_int reduce_my_char4_6(byte[] in1) { 6629 // Verify that "in1" is non-null. 6630 if (in1 == null) { 6631 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6632 } 6633 // Verify that the array length is a multiple of the vector size. 6634 if (in1.length % 4 != 0) { 6635 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6636 } 6637 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6638 ain1.setAutoPadding(true); 6639 ain1.copyFrom(in1); 6640 6641 result_int result = reduce_my_char4_6(ain1, null); 6642 result.mTempIns = new Allocation[]{ain1}; 6643 return result; 6644 } 6645 6646 // ain1 = "char4 in" 6647 public result_int reduce_my_char4_6(Allocation ain1) { 6648 return reduce_my_char4_6(ain1, null); 6649 } 6650 6651 // ain1 = "char4 in" 6652 public result_int reduce_my_char4_6(Allocation ain1, Script.LaunchOptions sc) { 6653 // check ain1 6654 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6655 throw new RSRuntimeException("Type mismatch with I8_4!"); 6656 } 6657 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6658 aout.setAutoPadding(true); 6659 reduce(mExportReduceIdx_my_char4_6, new Allocation[]{ain1}, aout, sc); 6660 return new result_int(aout); 6661 } 6662 6663 private final static int mExportReduceIdx_my_char4_7 = 183; 6664 // in1 = "in", flattened 4-vectors 6665 public result_int reduce_my_char4_7(byte[] in1) { 6666 // Verify that "in1" is non-null. 6667 if (in1 == null) { 6668 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6669 } 6670 // Verify that the array length is a multiple of the vector size. 6671 if (in1.length % 4 != 0) { 6672 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6673 } 6674 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6675 ain1.setAutoPadding(true); 6676 ain1.copyFrom(in1); 6677 6678 result_int result = reduce_my_char4_7(ain1, null); 6679 result.mTempIns = new Allocation[]{ain1}; 6680 return result; 6681 } 6682 6683 // ain1 = "char4 in" 6684 public result_int reduce_my_char4_7(Allocation ain1) { 6685 return reduce_my_char4_7(ain1, null); 6686 } 6687 6688 // ain1 = "char4 in" 6689 public result_int reduce_my_char4_7(Allocation ain1, Script.LaunchOptions sc) { 6690 // check ain1 6691 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6692 throw new RSRuntimeException("Type mismatch with I8_4!"); 6693 } 6694 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6695 aout.setAutoPadding(true); 6696 reduce(mExportReduceIdx_my_char4_7, new Allocation[]{ain1}, aout, sc); 6697 return new result_int(aout); 6698 } 6699 6700 private final static int mExportReduceIdx_my_char4_8 = 184; 6701 // in1 = "in", flattened 4-vectors 6702 public result_int reduce_my_char4_8(byte[] in1) { 6703 // Verify that "in1" is non-null. 6704 if (in1 == null) { 6705 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6706 } 6707 // Verify that the array length is a multiple of the vector size. 6708 if (in1.length % 4 != 0) { 6709 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6710 } 6711 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6712 ain1.setAutoPadding(true); 6713 ain1.copyFrom(in1); 6714 6715 result_int result = reduce_my_char4_8(ain1, null); 6716 result.mTempIns = new Allocation[]{ain1}; 6717 return result; 6718 } 6719 6720 // ain1 = "char4 in" 6721 public result_int reduce_my_char4_8(Allocation ain1) { 6722 return reduce_my_char4_8(ain1, null); 6723 } 6724 6725 // ain1 = "char4 in" 6726 public result_int reduce_my_char4_8(Allocation ain1, Script.LaunchOptions sc) { 6727 // check ain1 6728 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6729 throw new RSRuntimeException("Type mismatch with I8_4!"); 6730 } 6731 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6732 aout.setAutoPadding(true); 6733 reduce(mExportReduceIdx_my_char4_8, new Allocation[]{ain1}, aout, sc); 6734 return new result_int(aout); 6735 } 6736 6737 private final static int mExportReduceIdx_my_char4_9 = 185; 6738 // in1 = "in", flattened 4-vectors 6739 public result_int reduce_my_char4_9(byte[] in1) { 6740 // Verify that "in1" is non-null. 6741 if (in1 == null) { 6742 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6743 } 6744 // Verify that the array length is a multiple of the vector size. 6745 if (in1.length % 4 != 0) { 6746 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6747 } 6748 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6749 ain1.setAutoPadding(true); 6750 ain1.copyFrom(in1); 6751 6752 result_int result = reduce_my_char4_9(ain1, null); 6753 result.mTempIns = new Allocation[]{ain1}; 6754 return result; 6755 } 6756 6757 // ain1 = "char4 in" 6758 public result_int reduce_my_char4_9(Allocation ain1) { 6759 return reduce_my_char4_9(ain1, null); 6760 } 6761 6762 // ain1 = "char4 in" 6763 public result_int reduce_my_char4_9(Allocation ain1, Script.LaunchOptions sc) { 6764 // check ain1 6765 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6766 throw new RSRuntimeException("Type mismatch with I8_4!"); 6767 } 6768 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6769 aout.setAutoPadding(true); 6770 reduce(mExportReduceIdx_my_char4_9, new Allocation[]{ain1}, aout, sc); 6771 return new result_int(aout); 6772 } 6773 6774 private final static int mExportReduceIdx_my_char4_10 = 186; 6775 // in1 = "in", flattened 4-vectors 6776 public result_int reduce_my_char4_10(byte[] in1) { 6777 // Verify that "in1" is non-null. 6778 if (in1 == null) { 6779 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6780 } 6781 // Verify that the array length is a multiple of the vector size. 6782 if (in1.length % 4 != 0) { 6783 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6784 } 6785 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6786 ain1.setAutoPadding(true); 6787 ain1.copyFrom(in1); 6788 6789 result_int result = reduce_my_char4_10(ain1, null); 6790 result.mTempIns = new Allocation[]{ain1}; 6791 return result; 6792 } 6793 6794 // ain1 = "char4 in" 6795 public result_int reduce_my_char4_10(Allocation ain1) { 6796 return reduce_my_char4_10(ain1, null); 6797 } 6798 6799 // ain1 = "char4 in" 6800 public result_int reduce_my_char4_10(Allocation ain1, Script.LaunchOptions sc) { 6801 // check ain1 6802 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6803 throw new RSRuntimeException("Type mismatch with I8_4!"); 6804 } 6805 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6806 aout.setAutoPadding(true); 6807 reduce(mExportReduceIdx_my_char4_10, new Allocation[]{ain1}, aout, sc); 6808 return new result_int(aout); 6809 } 6810 6811 private final static int mExportReduceIdx_my_char4_11 = 187; 6812 // in1 = "in", flattened 4-vectors 6813 public result_int reduce_my_char4_11(byte[] in1) { 6814 // Verify that "in1" is non-null. 6815 if (in1 == null) { 6816 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6817 } 6818 // Verify that the array length is a multiple of the vector size. 6819 if (in1.length % 4 != 0) { 6820 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6821 } 6822 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6823 ain1.setAutoPadding(true); 6824 ain1.copyFrom(in1); 6825 6826 result_int result = reduce_my_char4_11(ain1, null); 6827 result.mTempIns = new Allocation[]{ain1}; 6828 return result; 6829 } 6830 6831 // ain1 = "char4 in" 6832 public result_int reduce_my_char4_11(Allocation ain1) { 6833 return reduce_my_char4_11(ain1, null); 6834 } 6835 6836 // ain1 = "char4 in" 6837 public result_int reduce_my_char4_11(Allocation ain1, Script.LaunchOptions sc) { 6838 // check ain1 6839 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6840 throw new RSRuntimeException("Type mismatch with I8_4!"); 6841 } 6842 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6843 aout.setAutoPadding(true); 6844 reduce(mExportReduceIdx_my_char4_11, new Allocation[]{ain1}, aout, sc); 6845 return new result_int(aout); 6846 } 6847 6848 private final static int mExportReduceIdx_my_char4_12 = 188; 6849 // in1 = "in", flattened 4-vectors 6850 public result_int reduce_my_char4_12(byte[] in1) { 6851 // Verify that "in1" is non-null. 6852 if (in1 == null) { 6853 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6854 } 6855 // Verify that the array length is a multiple of the vector size. 6856 if (in1.length % 4 != 0) { 6857 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6858 } 6859 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6860 ain1.setAutoPadding(true); 6861 ain1.copyFrom(in1); 6862 6863 result_int result = reduce_my_char4_12(ain1, null); 6864 result.mTempIns = new Allocation[]{ain1}; 6865 return result; 6866 } 6867 6868 // ain1 = "char4 in" 6869 public result_int reduce_my_char4_12(Allocation ain1) { 6870 return reduce_my_char4_12(ain1, null); 6871 } 6872 6873 // ain1 = "char4 in" 6874 public result_int reduce_my_char4_12(Allocation ain1, Script.LaunchOptions sc) { 6875 // check ain1 6876 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6877 throw new RSRuntimeException("Type mismatch with I8_4!"); 6878 } 6879 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6880 aout.setAutoPadding(true); 6881 reduce(mExportReduceIdx_my_char4_12, new Allocation[]{ain1}, aout, sc); 6882 return new result_int(aout); 6883 } 6884 6885 private final static int mExportReduceIdx_my_char4_13 = 189; 6886 // in1 = "in", flattened 4-vectors 6887 public result_int reduce_my_char4_13(byte[] in1) { 6888 // Verify that "in1" is non-null. 6889 if (in1 == null) { 6890 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6891 } 6892 // Verify that the array length is a multiple of the vector size. 6893 if (in1.length % 4 != 0) { 6894 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6895 } 6896 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6897 ain1.setAutoPadding(true); 6898 ain1.copyFrom(in1); 6899 6900 result_int result = reduce_my_char4_13(ain1, null); 6901 result.mTempIns = new Allocation[]{ain1}; 6902 return result; 6903 } 6904 6905 // ain1 = "char4 in" 6906 public result_int reduce_my_char4_13(Allocation ain1) { 6907 return reduce_my_char4_13(ain1, null); 6908 } 6909 6910 // ain1 = "char4 in" 6911 public result_int reduce_my_char4_13(Allocation ain1, Script.LaunchOptions sc) { 6912 // check ain1 6913 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6914 throw new RSRuntimeException("Type mismatch with I8_4!"); 6915 } 6916 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6917 aout.setAutoPadding(true); 6918 reduce(mExportReduceIdx_my_char4_13, new Allocation[]{ain1}, aout, sc); 6919 return new result_int(aout); 6920 } 6921 6922 private final static int mExportReduceIdx_my_char4_14 = 190; 6923 // in1 = "in", flattened 4-vectors 6924 public result_int reduce_my_char4_14(byte[] in1) { 6925 // Verify that "in1" is non-null. 6926 if (in1 == null) { 6927 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6928 } 6929 // Verify that the array length is a multiple of the vector size. 6930 if (in1.length % 4 != 0) { 6931 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6932 } 6933 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6934 ain1.setAutoPadding(true); 6935 ain1.copyFrom(in1); 6936 6937 result_int result = reduce_my_char4_14(ain1, null); 6938 result.mTempIns = new Allocation[]{ain1}; 6939 return result; 6940 } 6941 6942 // ain1 = "char4 in" 6943 public result_int reduce_my_char4_14(Allocation ain1) { 6944 return reduce_my_char4_14(ain1, null); 6945 } 6946 6947 // ain1 = "char4 in" 6948 public result_int reduce_my_char4_14(Allocation ain1, Script.LaunchOptions sc) { 6949 // check ain1 6950 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6951 throw new RSRuntimeException("Type mismatch with I8_4!"); 6952 } 6953 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6954 aout.setAutoPadding(true); 6955 reduce(mExportReduceIdx_my_char4_14, new Allocation[]{ain1}, aout, sc); 6956 return new result_int(aout); 6957 } 6958 6959 private final static int mExportReduceIdx_my_char4_15 = 191; 6960 // in1 = "in", flattened 4-vectors 6961 public result_int reduce_my_char4_15(byte[] in1) { 6962 // Verify that "in1" is non-null. 6963 if (in1 == null) { 6964 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6965 } 6966 // Verify that the array length is a multiple of the vector size. 6967 if (in1.length % 4 != 0) { 6968 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6969 } 6970 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6971 ain1.setAutoPadding(true); 6972 ain1.copyFrom(in1); 6973 6974 result_int result = reduce_my_char4_15(ain1, null); 6975 result.mTempIns = new Allocation[]{ain1}; 6976 return result; 6977 } 6978 6979 // ain1 = "char4 in" 6980 public result_int reduce_my_char4_15(Allocation ain1) { 6981 return reduce_my_char4_15(ain1, null); 6982 } 6983 6984 // ain1 = "char4 in" 6985 public result_int reduce_my_char4_15(Allocation ain1, Script.LaunchOptions sc) { 6986 // check ain1 6987 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6988 throw new RSRuntimeException("Type mismatch with I8_4!"); 6989 } 6990 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6991 aout.setAutoPadding(true); 6992 reduce(mExportReduceIdx_my_char4_15, new Allocation[]{ain1}, aout, sc); 6993 return new result_int(aout); 6994 } 6995 6996 private final static int mExportReduceIdx_my_short_0 = 192; 6997 // in1 = "in" 6998 public result_int reduce_my_short_0(short[] in1) { 6999 // Verify that "in1" is non-null. 7000 if (in1 == null) { 7001 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7002 } 7003 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7004 ain1.setAutoPadding(true); 7005 ain1.copyFrom(in1); 7006 7007 result_int result = reduce_my_short_0(ain1, null); 7008 result.mTempIns = new Allocation[]{ain1}; 7009 return result; 7010 } 7011 7012 // ain1 = "short in" 7013 public result_int reduce_my_short_0(Allocation ain1) { 7014 return reduce_my_short_0(ain1, null); 7015 } 7016 7017 // ain1 = "short in" 7018 public result_int reduce_my_short_0(Allocation ain1, Script.LaunchOptions sc) { 7019 // check ain1 7020 if (!ain1.getType().getElement().isCompatible(__I16)) { 7021 throw new RSRuntimeException("Type mismatch with I16!"); 7022 } 7023 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7024 aout.setAutoPadding(true); 7025 reduce(mExportReduceIdx_my_short_0, new Allocation[]{ain1}, aout, sc); 7026 return new result_int(aout); 7027 } 7028 7029 private final static int mExportReduceIdx_my_short_1 = 193; 7030 // in1 = "in" 7031 public result_int reduce_my_short_1(short[] in1) { 7032 // Verify that "in1" is non-null. 7033 if (in1 == null) { 7034 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7035 } 7036 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7037 ain1.setAutoPadding(true); 7038 ain1.copyFrom(in1); 7039 7040 result_int result = reduce_my_short_1(ain1, null); 7041 result.mTempIns = new Allocation[]{ain1}; 7042 return result; 7043 } 7044 7045 // ain1 = "short in" 7046 public result_int reduce_my_short_1(Allocation ain1) { 7047 return reduce_my_short_1(ain1, null); 7048 } 7049 7050 // ain1 = "short in" 7051 public result_int reduce_my_short_1(Allocation ain1, Script.LaunchOptions sc) { 7052 // check ain1 7053 if (!ain1.getType().getElement().isCompatible(__I16)) { 7054 throw new RSRuntimeException("Type mismatch with I16!"); 7055 } 7056 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7057 aout.setAutoPadding(true); 7058 reduce(mExportReduceIdx_my_short_1, new Allocation[]{ain1}, aout, sc); 7059 return new result_int(aout); 7060 } 7061 7062 private final static int mExportReduceIdx_my_short_2 = 194; 7063 // in1 = "in" 7064 public result_int reduce_my_short_2(short[] in1) { 7065 // Verify that "in1" is non-null. 7066 if (in1 == null) { 7067 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7068 } 7069 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7070 ain1.setAutoPadding(true); 7071 ain1.copyFrom(in1); 7072 7073 result_int result = reduce_my_short_2(ain1, null); 7074 result.mTempIns = new Allocation[]{ain1}; 7075 return result; 7076 } 7077 7078 // ain1 = "short in" 7079 public result_int reduce_my_short_2(Allocation ain1) { 7080 return reduce_my_short_2(ain1, null); 7081 } 7082 7083 // ain1 = "short in" 7084 public result_int reduce_my_short_2(Allocation ain1, Script.LaunchOptions sc) { 7085 // check ain1 7086 if (!ain1.getType().getElement().isCompatible(__I16)) { 7087 throw new RSRuntimeException("Type mismatch with I16!"); 7088 } 7089 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7090 aout.setAutoPadding(true); 7091 reduce(mExportReduceIdx_my_short_2, new Allocation[]{ain1}, aout, sc); 7092 return new result_int(aout); 7093 } 7094 7095 private final static int mExportReduceIdx_my_short_3 = 195; 7096 // in1 = "in" 7097 public result_int reduce_my_short_3(short[] in1) { 7098 // Verify that "in1" is non-null. 7099 if (in1 == null) { 7100 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7101 } 7102 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7103 ain1.setAutoPadding(true); 7104 ain1.copyFrom(in1); 7105 7106 result_int result = reduce_my_short_3(ain1, null); 7107 result.mTempIns = new Allocation[]{ain1}; 7108 return result; 7109 } 7110 7111 // ain1 = "short in" 7112 public result_int reduce_my_short_3(Allocation ain1) { 7113 return reduce_my_short_3(ain1, null); 7114 } 7115 7116 // ain1 = "short in" 7117 public result_int reduce_my_short_3(Allocation ain1, Script.LaunchOptions sc) { 7118 // check ain1 7119 if (!ain1.getType().getElement().isCompatible(__I16)) { 7120 throw new RSRuntimeException("Type mismatch with I16!"); 7121 } 7122 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7123 aout.setAutoPadding(true); 7124 reduce(mExportReduceIdx_my_short_3, new Allocation[]{ain1}, aout, sc); 7125 return new result_int(aout); 7126 } 7127 7128 private final static int mExportReduceIdx_my_short_4 = 196; 7129 // in1 = "in" 7130 public result_int reduce_my_short_4(short[] in1) { 7131 // Verify that "in1" is non-null. 7132 if (in1 == null) { 7133 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7134 } 7135 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7136 ain1.setAutoPadding(true); 7137 ain1.copyFrom(in1); 7138 7139 result_int result = reduce_my_short_4(ain1, null); 7140 result.mTempIns = new Allocation[]{ain1}; 7141 return result; 7142 } 7143 7144 // ain1 = "short in" 7145 public result_int reduce_my_short_4(Allocation ain1) { 7146 return reduce_my_short_4(ain1, null); 7147 } 7148 7149 // ain1 = "short in" 7150 public result_int reduce_my_short_4(Allocation ain1, Script.LaunchOptions sc) { 7151 // check ain1 7152 if (!ain1.getType().getElement().isCompatible(__I16)) { 7153 throw new RSRuntimeException("Type mismatch with I16!"); 7154 } 7155 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7156 aout.setAutoPadding(true); 7157 reduce(mExportReduceIdx_my_short_4, new Allocation[]{ain1}, aout, sc); 7158 return new result_int(aout); 7159 } 7160 7161 private final static int mExportReduceIdx_my_short_5 = 197; 7162 // in1 = "in" 7163 public result_int reduce_my_short_5(short[] in1) { 7164 // Verify that "in1" is non-null. 7165 if (in1 == null) { 7166 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7167 } 7168 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7169 ain1.setAutoPadding(true); 7170 ain1.copyFrom(in1); 7171 7172 result_int result = reduce_my_short_5(ain1, null); 7173 result.mTempIns = new Allocation[]{ain1}; 7174 return result; 7175 } 7176 7177 // ain1 = "short in" 7178 public result_int reduce_my_short_5(Allocation ain1) { 7179 return reduce_my_short_5(ain1, null); 7180 } 7181 7182 // ain1 = "short in" 7183 public result_int reduce_my_short_5(Allocation ain1, Script.LaunchOptions sc) { 7184 // check ain1 7185 if (!ain1.getType().getElement().isCompatible(__I16)) { 7186 throw new RSRuntimeException("Type mismatch with I16!"); 7187 } 7188 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7189 aout.setAutoPadding(true); 7190 reduce(mExportReduceIdx_my_short_5, new Allocation[]{ain1}, aout, sc); 7191 return new result_int(aout); 7192 } 7193 7194 private final static int mExportReduceIdx_my_short_6 = 198; 7195 // in1 = "in" 7196 public result_int reduce_my_short_6(short[] in1) { 7197 // Verify that "in1" is non-null. 7198 if (in1 == null) { 7199 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7200 } 7201 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7202 ain1.setAutoPadding(true); 7203 ain1.copyFrom(in1); 7204 7205 result_int result = reduce_my_short_6(ain1, null); 7206 result.mTempIns = new Allocation[]{ain1}; 7207 return result; 7208 } 7209 7210 // ain1 = "short in" 7211 public result_int reduce_my_short_6(Allocation ain1) { 7212 return reduce_my_short_6(ain1, null); 7213 } 7214 7215 // ain1 = "short in" 7216 public result_int reduce_my_short_6(Allocation ain1, Script.LaunchOptions sc) { 7217 // check ain1 7218 if (!ain1.getType().getElement().isCompatible(__I16)) { 7219 throw new RSRuntimeException("Type mismatch with I16!"); 7220 } 7221 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7222 aout.setAutoPadding(true); 7223 reduce(mExportReduceIdx_my_short_6, new Allocation[]{ain1}, aout, sc); 7224 return new result_int(aout); 7225 } 7226 7227 private final static int mExportReduceIdx_my_short_7 = 199; 7228 // in1 = "in" 7229 public result_int reduce_my_short_7(short[] in1) { 7230 // Verify that "in1" is non-null. 7231 if (in1 == null) { 7232 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7233 } 7234 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7235 ain1.setAutoPadding(true); 7236 ain1.copyFrom(in1); 7237 7238 result_int result = reduce_my_short_7(ain1, null); 7239 result.mTempIns = new Allocation[]{ain1}; 7240 return result; 7241 } 7242 7243 // ain1 = "short in" 7244 public result_int reduce_my_short_7(Allocation ain1) { 7245 return reduce_my_short_7(ain1, null); 7246 } 7247 7248 // ain1 = "short in" 7249 public result_int reduce_my_short_7(Allocation ain1, Script.LaunchOptions sc) { 7250 // check ain1 7251 if (!ain1.getType().getElement().isCompatible(__I16)) { 7252 throw new RSRuntimeException("Type mismatch with I16!"); 7253 } 7254 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7255 aout.setAutoPadding(true); 7256 reduce(mExportReduceIdx_my_short_7, new Allocation[]{ain1}, aout, sc); 7257 return new result_int(aout); 7258 } 7259 7260 private final static int mExportReduceIdx_my_short_8 = 200; 7261 // in1 = "in" 7262 public result_int reduce_my_short_8(short[] in1) { 7263 // Verify that "in1" is non-null. 7264 if (in1 == null) { 7265 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7266 } 7267 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7268 ain1.setAutoPadding(true); 7269 ain1.copyFrom(in1); 7270 7271 result_int result = reduce_my_short_8(ain1, null); 7272 result.mTempIns = new Allocation[]{ain1}; 7273 return result; 7274 } 7275 7276 // ain1 = "short in" 7277 public result_int reduce_my_short_8(Allocation ain1) { 7278 return reduce_my_short_8(ain1, null); 7279 } 7280 7281 // ain1 = "short in" 7282 public result_int reduce_my_short_8(Allocation ain1, Script.LaunchOptions sc) { 7283 // check ain1 7284 if (!ain1.getType().getElement().isCompatible(__I16)) { 7285 throw new RSRuntimeException("Type mismatch with I16!"); 7286 } 7287 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7288 aout.setAutoPadding(true); 7289 reduce(mExportReduceIdx_my_short_8, new Allocation[]{ain1}, aout, sc); 7290 return new result_int(aout); 7291 } 7292 7293 private final static int mExportReduceIdx_my_short_9 = 201; 7294 // in1 = "in" 7295 public result_int reduce_my_short_9(short[] in1) { 7296 // Verify that "in1" is non-null. 7297 if (in1 == null) { 7298 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7299 } 7300 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7301 ain1.setAutoPadding(true); 7302 ain1.copyFrom(in1); 7303 7304 result_int result = reduce_my_short_9(ain1, null); 7305 result.mTempIns = new Allocation[]{ain1}; 7306 return result; 7307 } 7308 7309 // ain1 = "short in" 7310 public result_int reduce_my_short_9(Allocation ain1) { 7311 return reduce_my_short_9(ain1, null); 7312 } 7313 7314 // ain1 = "short in" 7315 public result_int reduce_my_short_9(Allocation ain1, Script.LaunchOptions sc) { 7316 // check ain1 7317 if (!ain1.getType().getElement().isCompatible(__I16)) { 7318 throw new RSRuntimeException("Type mismatch with I16!"); 7319 } 7320 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7321 aout.setAutoPadding(true); 7322 reduce(mExportReduceIdx_my_short_9, new Allocation[]{ain1}, aout, sc); 7323 return new result_int(aout); 7324 } 7325 7326 private final static int mExportReduceIdx_my_short_10 = 202; 7327 // in1 = "in" 7328 public result_int reduce_my_short_10(short[] in1) { 7329 // Verify that "in1" is non-null. 7330 if (in1 == null) { 7331 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7332 } 7333 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7334 ain1.setAutoPadding(true); 7335 ain1.copyFrom(in1); 7336 7337 result_int result = reduce_my_short_10(ain1, null); 7338 result.mTempIns = new Allocation[]{ain1}; 7339 return result; 7340 } 7341 7342 // ain1 = "short in" 7343 public result_int reduce_my_short_10(Allocation ain1) { 7344 return reduce_my_short_10(ain1, null); 7345 } 7346 7347 // ain1 = "short in" 7348 public result_int reduce_my_short_10(Allocation ain1, Script.LaunchOptions sc) { 7349 // check ain1 7350 if (!ain1.getType().getElement().isCompatible(__I16)) { 7351 throw new RSRuntimeException("Type mismatch with I16!"); 7352 } 7353 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7354 aout.setAutoPadding(true); 7355 reduce(mExportReduceIdx_my_short_10, new Allocation[]{ain1}, aout, sc); 7356 return new result_int(aout); 7357 } 7358 7359 private final static int mExportReduceIdx_my_short_11 = 203; 7360 // in1 = "in" 7361 public result_int reduce_my_short_11(short[] in1) { 7362 // Verify that "in1" is non-null. 7363 if (in1 == null) { 7364 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7365 } 7366 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7367 ain1.setAutoPadding(true); 7368 ain1.copyFrom(in1); 7369 7370 result_int result = reduce_my_short_11(ain1, null); 7371 result.mTempIns = new Allocation[]{ain1}; 7372 return result; 7373 } 7374 7375 // ain1 = "short in" 7376 public result_int reduce_my_short_11(Allocation ain1) { 7377 return reduce_my_short_11(ain1, null); 7378 } 7379 7380 // ain1 = "short in" 7381 public result_int reduce_my_short_11(Allocation ain1, Script.LaunchOptions sc) { 7382 // check ain1 7383 if (!ain1.getType().getElement().isCompatible(__I16)) { 7384 throw new RSRuntimeException("Type mismatch with I16!"); 7385 } 7386 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7387 aout.setAutoPadding(true); 7388 reduce(mExportReduceIdx_my_short_11, new Allocation[]{ain1}, aout, sc); 7389 return new result_int(aout); 7390 } 7391 7392 private final static int mExportReduceIdx_my_short_12 = 204; 7393 // in1 = "in" 7394 public result_int reduce_my_short_12(short[] in1) { 7395 // Verify that "in1" is non-null. 7396 if (in1 == null) { 7397 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7398 } 7399 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7400 ain1.setAutoPadding(true); 7401 ain1.copyFrom(in1); 7402 7403 result_int result = reduce_my_short_12(ain1, null); 7404 result.mTempIns = new Allocation[]{ain1}; 7405 return result; 7406 } 7407 7408 // ain1 = "short in" 7409 public result_int reduce_my_short_12(Allocation ain1) { 7410 return reduce_my_short_12(ain1, null); 7411 } 7412 7413 // ain1 = "short in" 7414 public result_int reduce_my_short_12(Allocation ain1, Script.LaunchOptions sc) { 7415 // check ain1 7416 if (!ain1.getType().getElement().isCompatible(__I16)) { 7417 throw new RSRuntimeException("Type mismatch with I16!"); 7418 } 7419 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7420 aout.setAutoPadding(true); 7421 reduce(mExportReduceIdx_my_short_12, new Allocation[]{ain1}, aout, sc); 7422 return new result_int(aout); 7423 } 7424 7425 private final static int mExportReduceIdx_my_short_13 = 205; 7426 // in1 = "in" 7427 public result_int reduce_my_short_13(short[] in1) { 7428 // Verify that "in1" is non-null. 7429 if (in1 == null) { 7430 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7431 } 7432 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7433 ain1.setAutoPadding(true); 7434 ain1.copyFrom(in1); 7435 7436 result_int result = reduce_my_short_13(ain1, null); 7437 result.mTempIns = new Allocation[]{ain1}; 7438 return result; 7439 } 7440 7441 // ain1 = "short in" 7442 public result_int reduce_my_short_13(Allocation ain1) { 7443 return reduce_my_short_13(ain1, null); 7444 } 7445 7446 // ain1 = "short in" 7447 public result_int reduce_my_short_13(Allocation ain1, Script.LaunchOptions sc) { 7448 // check ain1 7449 if (!ain1.getType().getElement().isCompatible(__I16)) { 7450 throw new RSRuntimeException("Type mismatch with I16!"); 7451 } 7452 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7453 aout.setAutoPadding(true); 7454 reduce(mExportReduceIdx_my_short_13, new Allocation[]{ain1}, aout, sc); 7455 return new result_int(aout); 7456 } 7457 7458 private final static int mExportReduceIdx_my_short_14 = 206; 7459 // in1 = "in" 7460 public result_int reduce_my_short_14(short[] in1) { 7461 // Verify that "in1" is non-null. 7462 if (in1 == null) { 7463 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7464 } 7465 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7466 ain1.setAutoPadding(true); 7467 ain1.copyFrom(in1); 7468 7469 result_int result = reduce_my_short_14(ain1, null); 7470 result.mTempIns = new Allocation[]{ain1}; 7471 return result; 7472 } 7473 7474 // ain1 = "short in" 7475 public result_int reduce_my_short_14(Allocation ain1) { 7476 return reduce_my_short_14(ain1, null); 7477 } 7478 7479 // ain1 = "short in" 7480 public result_int reduce_my_short_14(Allocation ain1, Script.LaunchOptions sc) { 7481 // check ain1 7482 if (!ain1.getType().getElement().isCompatible(__I16)) { 7483 throw new RSRuntimeException("Type mismatch with I16!"); 7484 } 7485 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7486 aout.setAutoPadding(true); 7487 reduce(mExportReduceIdx_my_short_14, new Allocation[]{ain1}, aout, sc); 7488 return new result_int(aout); 7489 } 7490 7491 private final static int mExportReduceIdx_my_short_15 = 207; 7492 // in1 = "in" 7493 public result_int reduce_my_short_15(short[] in1) { 7494 // Verify that "in1" is non-null. 7495 if (in1 == null) { 7496 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7497 } 7498 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7499 ain1.setAutoPadding(true); 7500 ain1.copyFrom(in1); 7501 7502 result_int result = reduce_my_short_15(ain1, null); 7503 result.mTempIns = new Allocation[]{ain1}; 7504 return result; 7505 } 7506 7507 // ain1 = "short in" 7508 public result_int reduce_my_short_15(Allocation ain1) { 7509 return reduce_my_short_15(ain1, null); 7510 } 7511 7512 // ain1 = "short in" 7513 public result_int reduce_my_short_15(Allocation ain1, Script.LaunchOptions sc) { 7514 // check ain1 7515 if (!ain1.getType().getElement().isCompatible(__I16)) { 7516 throw new RSRuntimeException("Type mismatch with I16!"); 7517 } 7518 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7519 aout.setAutoPadding(true); 7520 reduce(mExportReduceIdx_my_short_15, new Allocation[]{ain1}, aout, sc); 7521 return new result_int(aout); 7522 } 7523 7524 private final static int mExportReduceIdx_my_short2_0 = 208; 7525 // in1 = "in", flattened 2-vectors 7526 public result_int reduce_my_short2_0(short[] in1) { 7527 // Verify that "in1" is non-null. 7528 if (in1 == null) { 7529 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7530 } 7531 // Verify that the array length is a multiple of the vector size. 7532 if (in1.length % 2 != 0) { 7533 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7534 } 7535 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7536 ain1.setAutoPadding(true); 7537 ain1.copyFrom(in1); 7538 7539 result_int result = reduce_my_short2_0(ain1, null); 7540 result.mTempIns = new Allocation[]{ain1}; 7541 return result; 7542 } 7543 7544 // ain1 = "short2 in" 7545 public result_int reduce_my_short2_0(Allocation ain1) { 7546 return reduce_my_short2_0(ain1, null); 7547 } 7548 7549 // ain1 = "short2 in" 7550 public result_int reduce_my_short2_0(Allocation ain1, Script.LaunchOptions sc) { 7551 // check ain1 7552 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7553 throw new RSRuntimeException("Type mismatch with I16_2!"); 7554 } 7555 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7556 aout.setAutoPadding(true); 7557 reduce(mExportReduceIdx_my_short2_0, new Allocation[]{ain1}, aout, sc); 7558 return new result_int(aout); 7559 } 7560 7561 private final static int mExportReduceIdx_my_short2_1 = 209; 7562 // in1 = "in", flattened 2-vectors 7563 public result_int reduce_my_short2_1(short[] in1) { 7564 // Verify that "in1" is non-null. 7565 if (in1 == null) { 7566 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7567 } 7568 // Verify that the array length is a multiple of the vector size. 7569 if (in1.length % 2 != 0) { 7570 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7571 } 7572 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7573 ain1.setAutoPadding(true); 7574 ain1.copyFrom(in1); 7575 7576 result_int result = reduce_my_short2_1(ain1, null); 7577 result.mTempIns = new Allocation[]{ain1}; 7578 return result; 7579 } 7580 7581 // ain1 = "short2 in" 7582 public result_int reduce_my_short2_1(Allocation ain1) { 7583 return reduce_my_short2_1(ain1, null); 7584 } 7585 7586 // ain1 = "short2 in" 7587 public result_int reduce_my_short2_1(Allocation ain1, Script.LaunchOptions sc) { 7588 // check ain1 7589 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7590 throw new RSRuntimeException("Type mismatch with I16_2!"); 7591 } 7592 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7593 aout.setAutoPadding(true); 7594 reduce(mExportReduceIdx_my_short2_1, new Allocation[]{ain1}, aout, sc); 7595 return new result_int(aout); 7596 } 7597 7598 private final static int mExportReduceIdx_my_short2_2 = 210; 7599 // in1 = "in", flattened 2-vectors 7600 public result_int reduce_my_short2_2(short[] in1) { 7601 // Verify that "in1" is non-null. 7602 if (in1 == null) { 7603 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7604 } 7605 // Verify that the array length is a multiple of the vector size. 7606 if (in1.length % 2 != 0) { 7607 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7608 } 7609 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7610 ain1.setAutoPadding(true); 7611 ain1.copyFrom(in1); 7612 7613 result_int result = reduce_my_short2_2(ain1, null); 7614 result.mTempIns = new Allocation[]{ain1}; 7615 return result; 7616 } 7617 7618 // ain1 = "short2 in" 7619 public result_int reduce_my_short2_2(Allocation ain1) { 7620 return reduce_my_short2_2(ain1, null); 7621 } 7622 7623 // ain1 = "short2 in" 7624 public result_int reduce_my_short2_2(Allocation ain1, Script.LaunchOptions sc) { 7625 // check ain1 7626 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7627 throw new RSRuntimeException("Type mismatch with I16_2!"); 7628 } 7629 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7630 aout.setAutoPadding(true); 7631 reduce(mExportReduceIdx_my_short2_2, new Allocation[]{ain1}, aout, sc); 7632 return new result_int(aout); 7633 } 7634 7635 private final static int mExportReduceIdx_my_short2_3 = 211; 7636 // in1 = "in", flattened 2-vectors 7637 public result_int reduce_my_short2_3(short[] in1) { 7638 // Verify that "in1" is non-null. 7639 if (in1 == null) { 7640 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7641 } 7642 // Verify that the array length is a multiple of the vector size. 7643 if (in1.length % 2 != 0) { 7644 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7645 } 7646 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7647 ain1.setAutoPadding(true); 7648 ain1.copyFrom(in1); 7649 7650 result_int result = reduce_my_short2_3(ain1, null); 7651 result.mTempIns = new Allocation[]{ain1}; 7652 return result; 7653 } 7654 7655 // ain1 = "short2 in" 7656 public result_int reduce_my_short2_3(Allocation ain1) { 7657 return reduce_my_short2_3(ain1, null); 7658 } 7659 7660 // ain1 = "short2 in" 7661 public result_int reduce_my_short2_3(Allocation ain1, Script.LaunchOptions sc) { 7662 // check ain1 7663 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7664 throw new RSRuntimeException("Type mismatch with I16_2!"); 7665 } 7666 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7667 aout.setAutoPadding(true); 7668 reduce(mExportReduceIdx_my_short2_3, new Allocation[]{ain1}, aout, sc); 7669 return new result_int(aout); 7670 } 7671 7672 private final static int mExportReduceIdx_my_short2_4 = 212; 7673 // in1 = "in", flattened 2-vectors 7674 public result_int reduce_my_short2_4(short[] in1) { 7675 // Verify that "in1" is non-null. 7676 if (in1 == null) { 7677 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7678 } 7679 // Verify that the array length is a multiple of the vector size. 7680 if (in1.length % 2 != 0) { 7681 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7682 } 7683 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7684 ain1.setAutoPadding(true); 7685 ain1.copyFrom(in1); 7686 7687 result_int result = reduce_my_short2_4(ain1, null); 7688 result.mTempIns = new Allocation[]{ain1}; 7689 return result; 7690 } 7691 7692 // ain1 = "short2 in" 7693 public result_int reduce_my_short2_4(Allocation ain1) { 7694 return reduce_my_short2_4(ain1, null); 7695 } 7696 7697 // ain1 = "short2 in" 7698 public result_int reduce_my_short2_4(Allocation ain1, Script.LaunchOptions sc) { 7699 // check ain1 7700 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7701 throw new RSRuntimeException("Type mismatch with I16_2!"); 7702 } 7703 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7704 aout.setAutoPadding(true); 7705 reduce(mExportReduceIdx_my_short2_4, new Allocation[]{ain1}, aout, sc); 7706 return new result_int(aout); 7707 } 7708 7709 private final static int mExportReduceIdx_my_short2_5 = 213; 7710 // in1 = "in", flattened 2-vectors 7711 public result_int reduce_my_short2_5(short[] in1) { 7712 // Verify that "in1" is non-null. 7713 if (in1 == null) { 7714 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7715 } 7716 // Verify that the array length is a multiple of the vector size. 7717 if (in1.length % 2 != 0) { 7718 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7719 } 7720 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7721 ain1.setAutoPadding(true); 7722 ain1.copyFrom(in1); 7723 7724 result_int result = reduce_my_short2_5(ain1, null); 7725 result.mTempIns = new Allocation[]{ain1}; 7726 return result; 7727 } 7728 7729 // ain1 = "short2 in" 7730 public result_int reduce_my_short2_5(Allocation ain1) { 7731 return reduce_my_short2_5(ain1, null); 7732 } 7733 7734 // ain1 = "short2 in" 7735 public result_int reduce_my_short2_5(Allocation ain1, Script.LaunchOptions sc) { 7736 // check ain1 7737 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7738 throw new RSRuntimeException("Type mismatch with I16_2!"); 7739 } 7740 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7741 aout.setAutoPadding(true); 7742 reduce(mExportReduceIdx_my_short2_5, new Allocation[]{ain1}, aout, sc); 7743 return new result_int(aout); 7744 } 7745 7746 private final static int mExportReduceIdx_my_short2_6 = 214; 7747 // in1 = "in", flattened 2-vectors 7748 public result_int reduce_my_short2_6(short[] in1) { 7749 // Verify that "in1" is non-null. 7750 if (in1 == null) { 7751 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7752 } 7753 // Verify that the array length is a multiple of the vector size. 7754 if (in1.length % 2 != 0) { 7755 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7756 } 7757 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7758 ain1.setAutoPadding(true); 7759 ain1.copyFrom(in1); 7760 7761 result_int result = reduce_my_short2_6(ain1, null); 7762 result.mTempIns = new Allocation[]{ain1}; 7763 return result; 7764 } 7765 7766 // ain1 = "short2 in" 7767 public result_int reduce_my_short2_6(Allocation ain1) { 7768 return reduce_my_short2_6(ain1, null); 7769 } 7770 7771 // ain1 = "short2 in" 7772 public result_int reduce_my_short2_6(Allocation ain1, Script.LaunchOptions sc) { 7773 // check ain1 7774 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7775 throw new RSRuntimeException("Type mismatch with I16_2!"); 7776 } 7777 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7778 aout.setAutoPadding(true); 7779 reduce(mExportReduceIdx_my_short2_6, new Allocation[]{ain1}, aout, sc); 7780 return new result_int(aout); 7781 } 7782 7783 private final static int mExportReduceIdx_my_short2_7 = 215; 7784 // in1 = "in", flattened 2-vectors 7785 public result_int reduce_my_short2_7(short[] in1) { 7786 // Verify that "in1" is non-null. 7787 if (in1 == null) { 7788 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7789 } 7790 // Verify that the array length is a multiple of the vector size. 7791 if (in1.length % 2 != 0) { 7792 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7793 } 7794 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7795 ain1.setAutoPadding(true); 7796 ain1.copyFrom(in1); 7797 7798 result_int result = reduce_my_short2_7(ain1, null); 7799 result.mTempIns = new Allocation[]{ain1}; 7800 return result; 7801 } 7802 7803 // ain1 = "short2 in" 7804 public result_int reduce_my_short2_7(Allocation ain1) { 7805 return reduce_my_short2_7(ain1, null); 7806 } 7807 7808 // ain1 = "short2 in" 7809 public result_int reduce_my_short2_7(Allocation ain1, Script.LaunchOptions sc) { 7810 // check ain1 7811 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7812 throw new RSRuntimeException("Type mismatch with I16_2!"); 7813 } 7814 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7815 aout.setAutoPadding(true); 7816 reduce(mExportReduceIdx_my_short2_7, new Allocation[]{ain1}, aout, sc); 7817 return new result_int(aout); 7818 } 7819 7820 private final static int mExportReduceIdx_my_short2_8 = 216; 7821 // in1 = "in", flattened 2-vectors 7822 public result_int reduce_my_short2_8(short[] in1) { 7823 // Verify that "in1" is non-null. 7824 if (in1 == null) { 7825 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7826 } 7827 // Verify that the array length is a multiple of the vector size. 7828 if (in1.length % 2 != 0) { 7829 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7830 } 7831 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7832 ain1.setAutoPadding(true); 7833 ain1.copyFrom(in1); 7834 7835 result_int result = reduce_my_short2_8(ain1, null); 7836 result.mTempIns = new Allocation[]{ain1}; 7837 return result; 7838 } 7839 7840 // ain1 = "short2 in" 7841 public result_int reduce_my_short2_8(Allocation ain1) { 7842 return reduce_my_short2_8(ain1, null); 7843 } 7844 7845 // ain1 = "short2 in" 7846 public result_int reduce_my_short2_8(Allocation ain1, Script.LaunchOptions sc) { 7847 // check ain1 7848 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7849 throw new RSRuntimeException("Type mismatch with I16_2!"); 7850 } 7851 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7852 aout.setAutoPadding(true); 7853 reduce(mExportReduceIdx_my_short2_8, new Allocation[]{ain1}, aout, sc); 7854 return new result_int(aout); 7855 } 7856 7857 private final static int mExportReduceIdx_my_short2_9 = 217; 7858 // in1 = "in", flattened 2-vectors 7859 public result_int reduce_my_short2_9(short[] in1) { 7860 // Verify that "in1" is non-null. 7861 if (in1 == null) { 7862 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7863 } 7864 // Verify that the array length is a multiple of the vector size. 7865 if (in1.length % 2 != 0) { 7866 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7867 } 7868 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7869 ain1.setAutoPadding(true); 7870 ain1.copyFrom(in1); 7871 7872 result_int result = reduce_my_short2_9(ain1, null); 7873 result.mTempIns = new Allocation[]{ain1}; 7874 return result; 7875 } 7876 7877 // ain1 = "short2 in" 7878 public result_int reduce_my_short2_9(Allocation ain1) { 7879 return reduce_my_short2_9(ain1, null); 7880 } 7881 7882 // ain1 = "short2 in" 7883 public result_int reduce_my_short2_9(Allocation ain1, Script.LaunchOptions sc) { 7884 // check ain1 7885 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7886 throw new RSRuntimeException("Type mismatch with I16_2!"); 7887 } 7888 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7889 aout.setAutoPadding(true); 7890 reduce(mExportReduceIdx_my_short2_9, new Allocation[]{ain1}, aout, sc); 7891 return new result_int(aout); 7892 } 7893 7894 private final static int mExportReduceIdx_my_short2_10 = 218; 7895 // in1 = "in", flattened 2-vectors 7896 public result_int reduce_my_short2_10(short[] in1) { 7897 // Verify that "in1" is non-null. 7898 if (in1 == null) { 7899 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7900 } 7901 // Verify that the array length is a multiple of the vector size. 7902 if (in1.length % 2 != 0) { 7903 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7904 } 7905 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7906 ain1.setAutoPadding(true); 7907 ain1.copyFrom(in1); 7908 7909 result_int result = reduce_my_short2_10(ain1, null); 7910 result.mTempIns = new Allocation[]{ain1}; 7911 return result; 7912 } 7913 7914 // ain1 = "short2 in" 7915 public result_int reduce_my_short2_10(Allocation ain1) { 7916 return reduce_my_short2_10(ain1, null); 7917 } 7918 7919 // ain1 = "short2 in" 7920 public result_int reduce_my_short2_10(Allocation ain1, Script.LaunchOptions sc) { 7921 // check ain1 7922 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7923 throw new RSRuntimeException("Type mismatch with I16_2!"); 7924 } 7925 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7926 aout.setAutoPadding(true); 7927 reduce(mExportReduceIdx_my_short2_10, new Allocation[]{ain1}, aout, sc); 7928 return new result_int(aout); 7929 } 7930 7931 private final static int mExportReduceIdx_my_short2_11 = 219; 7932 // in1 = "in", flattened 2-vectors 7933 public result_int reduce_my_short2_11(short[] in1) { 7934 // Verify that "in1" is non-null. 7935 if (in1 == null) { 7936 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7937 } 7938 // Verify that the array length is a multiple of the vector size. 7939 if (in1.length % 2 != 0) { 7940 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7941 } 7942 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7943 ain1.setAutoPadding(true); 7944 ain1.copyFrom(in1); 7945 7946 result_int result = reduce_my_short2_11(ain1, null); 7947 result.mTempIns = new Allocation[]{ain1}; 7948 return result; 7949 } 7950 7951 // ain1 = "short2 in" 7952 public result_int reduce_my_short2_11(Allocation ain1) { 7953 return reduce_my_short2_11(ain1, null); 7954 } 7955 7956 // ain1 = "short2 in" 7957 public result_int reduce_my_short2_11(Allocation ain1, Script.LaunchOptions sc) { 7958 // check ain1 7959 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7960 throw new RSRuntimeException("Type mismatch with I16_2!"); 7961 } 7962 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7963 aout.setAutoPadding(true); 7964 reduce(mExportReduceIdx_my_short2_11, new Allocation[]{ain1}, aout, sc); 7965 return new result_int(aout); 7966 } 7967 7968 private final static int mExportReduceIdx_my_short2_12 = 220; 7969 // in1 = "in", flattened 2-vectors 7970 public result_int reduce_my_short2_12(short[] in1) { 7971 // Verify that "in1" is non-null. 7972 if (in1 == null) { 7973 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7974 } 7975 // Verify that the array length is a multiple of the vector size. 7976 if (in1.length % 2 != 0) { 7977 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7978 } 7979 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7980 ain1.setAutoPadding(true); 7981 ain1.copyFrom(in1); 7982 7983 result_int result = reduce_my_short2_12(ain1, null); 7984 result.mTempIns = new Allocation[]{ain1}; 7985 return result; 7986 } 7987 7988 // ain1 = "short2 in" 7989 public result_int reduce_my_short2_12(Allocation ain1) { 7990 return reduce_my_short2_12(ain1, null); 7991 } 7992 7993 // ain1 = "short2 in" 7994 public result_int reduce_my_short2_12(Allocation ain1, Script.LaunchOptions sc) { 7995 // check ain1 7996 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7997 throw new RSRuntimeException("Type mismatch with I16_2!"); 7998 } 7999 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8000 aout.setAutoPadding(true); 8001 reduce(mExportReduceIdx_my_short2_12, new Allocation[]{ain1}, aout, sc); 8002 return new result_int(aout); 8003 } 8004 8005 private final static int mExportReduceIdx_my_short2_13 = 221; 8006 // in1 = "in", flattened 2-vectors 8007 public result_int reduce_my_short2_13(short[] in1) { 8008 // Verify that "in1" is non-null. 8009 if (in1 == null) { 8010 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8011 } 8012 // Verify that the array length is a multiple of the vector size. 8013 if (in1.length % 2 != 0) { 8014 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 8015 } 8016 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 8017 ain1.setAutoPadding(true); 8018 ain1.copyFrom(in1); 8019 8020 result_int result = reduce_my_short2_13(ain1, null); 8021 result.mTempIns = new Allocation[]{ain1}; 8022 return result; 8023 } 8024 8025 // ain1 = "short2 in" 8026 public result_int reduce_my_short2_13(Allocation ain1) { 8027 return reduce_my_short2_13(ain1, null); 8028 } 8029 8030 // ain1 = "short2 in" 8031 public result_int reduce_my_short2_13(Allocation ain1, Script.LaunchOptions sc) { 8032 // check ain1 8033 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 8034 throw new RSRuntimeException("Type mismatch with I16_2!"); 8035 } 8036 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8037 aout.setAutoPadding(true); 8038 reduce(mExportReduceIdx_my_short2_13, new Allocation[]{ain1}, aout, sc); 8039 return new result_int(aout); 8040 } 8041 8042 private final static int mExportReduceIdx_my_short2_14 = 222; 8043 // in1 = "in", flattened 2-vectors 8044 public result_int reduce_my_short2_14(short[] in1) { 8045 // Verify that "in1" is non-null. 8046 if (in1 == null) { 8047 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8048 } 8049 // Verify that the array length is a multiple of the vector size. 8050 if (in1.length % 2 != 0) { 8051 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 8052 } 8053 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 8054 ain1.setAutoPadding(true); 8055 ain1.copyFrom(in1); 8056 8057 result_int result = reduce_my_short2_14(ain1, null); 8058 result.mTempIns = new Allocation[]{ain1}; 8059 return result; 8060 } 8061 8062 // ain1 = "short2 in" 8063 public result_int reduce_my_short2_14(Allocation ain1) { 8064 return reduce_my_short2_14(ain1, null); 8065 } 8066 8067 // ain1 = "short2 in" 8068 public result_int reduce_my_short2_14(Allocation ain1, Script.LaunchOptions sc) { 8069 // check ain1 8070 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 8071 throw new RSRuntimeException("Type mismatch with I16_2!"); 8072 } 8073 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8074 aout.setAutoPadding(true); 8075 reduce(mExportReduceIdx_my_short2_14, new Allocation[]{ain1}, aout, sc); 8076 return new result_int(aout); 8077 } 8078 8079 private final static int mExportReduceIdx_my_short2_15 = 223; 8080 // in1 = "in", flattened 2-vectors 8081 public result_int reduce_my_short2_15(short[] in1) { 8082 // Verify that "in1" is non-null. 8083 if (in1 == null) { 8084 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8085 } 8086 // Verify that the array length is a multiple of the vector size. 8087 if (in1.length % 2 != 0) { 8088 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 8089 } 8090 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 8091 ain1.setAutoPadding(true); 8092 ain1.copyFrom(in1); 8093 8094 result_int result = reduce_my_short2_15(ain1, null); 8095 result.mTempIns = new Allocation[]{ain1}; 8096 return result; 8097 } 8098 8099 // ain1 = "short2 in" 8100 public result_int reduce_my_short2_15(Allocation ain1) { 8101 return reduce_my_short2_15(ain1, null); 8102 } 8103 8104 // ain1 = "short2 in" 8105 public result_int reduce_my_short2_15(Allocation ain1, Script.LaunchOptions sc) { 8106 // check ain1 8107 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 8108 throw new RSRuntimeException("Type mismatch with I16_2!"); 8109 } 8110 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8111 aout.setAutoPadding(true); 8112 reduce(mExportReduceIdx_my_short2_15, new Allocation[]{ain1}, aout, sc); 8113 return new result_int(aout); 8114 } 8115 8116 private final static int mExportReduceIdx_my_short4_0 = 224; 8117 // in1 = "in", flattened 4-vectors 8118 public result_int reduce_my_short4_0(short[] in1) { 8119 // Verify that "in1" is non-null. 8120 if (in1 == null) { 8121 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8122 } 8123 // Verify that the array length is a multiple of the vector size. 8124 if (in1.length % 4 != 0) { 8125 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8126 } 8127 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8128 ain1.setAutoPadding(true); 8129 ain1.copyFrom(in1); 8130 8131 result_int result = reduce_my_short4_0(ain1, null); 8132 result.mTempIns = new Allocation[]{ain1}; 8133 return result; 8134 } 8135 8136 // ain1 = "short4 in" 8137 public result_int reduce_my_short4_0(Allocation ain1) { 8138 return reduce_my_short4_0(ain1, null); 8139 } 8140 8141 // ain1 = "short4 in" 8142 public result_int reduce_my_short4_0(Allocation ain1, Script.LaunchOptions sc) { 8143 // check ain1 8144 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8145 throw new RSRuntimeException("Type mismatch with I16_4!"); 8146 } 8147 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8148 aout.setAutoPadding(true); 8149 reduce(mExportReduceIdx_my_short4_0, new Allocation[]{ain1}, aout, sc); 8150 return new result_int(aout); 8151 } 8152 8153 private final static int mExportReduceIdx_my_short4_1 = 225; 8154 // in1 = "in", flattened 4-vectors 8155 public result_int reduce_my_short4_1(short[] in1) { 8156 // Verify that "in1" is non-null. 8157 if (in1 == null) { 8158 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8159 } 8160 // Verify that the array length is a multiple of the vector size. 8161 if (in1.length % 4 != 0) { 8162 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8163 } 8164 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8165 ain1.setAutoPadding(true); 8166 ain1.copyFrom(in1); 8167 8168 result_int result = reduce_my_short4_1(ain1, null); 8169 result.mTempIns = new Allocation[]{ain1}; 8170 return result; 8171 } 8172 8173 // ain1 = "short4 in" 8174 public result_int reduce_my_short4_1(Allocation ain1) { 8175 return reduce_my_short4_1(ain1, null); 8176 } 8177 8178 // ain1 = "short4 in" 8179 public result_int reduce_my_short4_1(Allocation ain1, Script.LaunchOptions sc) { 8180 // check ain1 8181 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8182 throw new RSRuntimeException("Type mismatch with I16_4!"); 8183 } 8184 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8185 aout.setAutoPadding(true); 8186 reduce(mExportReduceIdx_my_short4_1, new Allocation[]{ain1}, aout, sc); 8187 return new result_int(aout); 8188 } 8189 8190 private final static int mExportReduceIdx_my_short4_2 = 226; 8191 // in1 = "in", flattened 4-vectors 8192 public result_int reduce_my_short4_2(short[] in1) { 8193 // Verify that "in1" is non-null. 8194 if (in1 == null) { 8195 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8196 } 8197 // Verify that the array length is a multiple of the vector size. 8198 if (in1.length % 4 != 0) { 8199 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8200 } 8201 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8202 ain1.setAutoPadding(true); 8203 ain1.copyFrom(in1); 8204 8205 result_int result = reduce_my_short4_2(ain1, null); 8206 result.mTempIns = new Allocation[]{ain1}; 8207 return result; 8208 } 8209 8210 // ain1 = "short4 in" 8211 public result_int reduce_my_short4_2(Allocation ain1) { 8212 return reduce_my_short4_2(ain1, null); 8213 } 8214 8215 // ain1 = "short4 in" 8216 public result_int reduce_my_short4_2(Allocation ain1, Script.LaunchOptions sc) { 8217 // check ain1 8218 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8219 throw new RSRuntimeException("Type mismatch with I16_4!"); 8220 } 8221 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8222 aout.setAutoPadding(true); 8223 reduce(mExportReduceIdx_my_short4_2, new Allocation[]{ain1}, aout, sc); 8224 return new result_int(aout); 8225 } 8226 8227 private final static int mExportReduceIdx_my_short4_3 = 227; 8228 // in1 = "in", flattened 4-vectors 8229 public result_int reduce_my_short4_3(short[] in1) { 8230 // Verify that "in1" is non-null. 8231 if (in1 == null) { 8232 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8233 } 8234 // Verify that the array length is a multiple of the vector size. 8235 if (in1.length % 4 != 0) { 8236 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8237 } 8238 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8239 ain1.setAutoPadding(true); 8240 ain1.copyFrom(in1); 8241 8242 result_int result = reduce_my_short4_3(ain1, null); 8243 result.mTempIns = new Allocation[]{ain1}; 8244 return result; 8245 } 8246 8247 // ain1 = "short4 in" 8248 public result_int reduce_my_short4_3(Allocation ain1) { 8249 return reduce_my_short4_3(ain1, null); 8250 } 8251 8252 // ain1 = "short4 in" 8253 public result_int reduce_my_short4_3(Allocation ain1, Script.LaunchOptions sc) { 8254 // check ain1 8255 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8256 throw new RSRuntimeException("Type mismatch with I16_4!"); 8257 } 8258 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8259 aout.setAutoPadding(true); 8260 reduce(mExportReduceIdx_my_short4_3, new Allocation[]{ain1}, aout, sc); 8261 return new result_int(aout); 8262 } 8263 8264 private final static int mExportReduceIdx_my_short4_4 = 228; 8265 // in1 = "in", flattened 4-vectors 8266 public result_int reduce_my_short4_4(short[] in1) { 8267 // Verify that "in1" is non-null. 8268 if (in1 == null) { 8269 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8270 } 8271 // Verify that the array length is a multiple of the vector size. 8272 if (in1.length % 4 != 0) { 8273 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8274 } 8275 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8276 ain1.setAutoPadding(true); 8277 ain1.copyFrom(in1); 8278 8279 result_int result = reduce_my_short4_4(ain1, null); 8280 result.mTempIns = new Allocation[]{ain1}; 8281 return result; 8282 } 8283 8284 // ain1 = "short4 in" 8285 public result_int reduce_my_short4_4(Allocation ain1) { 8286 return reduce_my_short4_4(ain1, null); 8287 } 8288 8289 // ain1 = "short4 in" 8290 public result_int reduce_my_short4_4(Allocation ain1, Script.LaunchOptions sc) { 8291 // check ain1 8292 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8293 throw new RSRuntimeException("Type mismatch with I16_4!"); 8294 } 8295 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8296 aout.setAutoPadding(true); 8297 reduce(mExportReduceIdx_my_short4_4, new Allocation[]{ain1}, aout, sc); 8298 return new result_int(aout); 8299 } 8300 8301 private final static int mExportReduceIdx_my_short4_5 = 229; 8302 // in1 = "in", flattened 4-vectors 8303 public result_int reduce_my_short4_5(short[] in1) { 8304 // Verify that "in1" is non-null. 8305 if (in1 == null) { 8306 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8307 } 8308 // Verify that the array length is a multiple of the vector size. 8309 if (in1.length % 4 != 0) { 8310 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8311 } 8312 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8313 ain1.setAutoPadding(true); 8314 ain1.copyFrom(in1); 8315 8316 result_int result = reduce_my_short4_5(ain1, null); 8317 result.mTempIns = new Allocation[]{ain1}; 8318 return result; 8319 } 8320 8321 // ain1 = "short4 in" 8322 public result_int reduce_my_short4_5(Allocation ain1) { 8323 return reduce_my_short4_5(ain1, null); 8324 } 8325 8326 // ain1 = "short4 in" 8327 public result_int reduce_my_short4_5(Allocation ain1, Script.LaunchOptions sc) { 8328 // check ain1 8329 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8330 throw new RSRuntimeException("Type mismatch with I16_4!"); 8331 } 8332 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8333 aout.setAutoPadding(true); 8334 reduce(mExportReduceIdx_my_short4_5, new Allocation[]{ain1}, aout, sc); 8335 return new result_int(aout); 8336 } 8337 8338 private final static int mExportReduceIdx_my_short4_6 = 230; 8339 // in1 = "in", flattened 4-vectors 8340 public result_int reduce_my_short4_6(short[] in1) { 8341 // Verify that "in1" is non-null. 8342 if (in1 == null) { 8343 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8344 } 8345 // Verify that the array length is a multiple of the vector size. 8346 if (in1.length % 4 != 0) { 8347 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8348 } 8349 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8350 ain1.setAutoPadding(true); 8351 ain1.copyFrom(in1); 8352 8353 result_int result = reduce_my_short4_6(ain1, null); 8354 result.mTempIns = new Allocation[]{ain1}; 8355 return result; 8356 } 8357 8358 // ain1 = "short4 in" 8359 public result_int reduce_my_short4_6(Allocation ain1) { 8360 return reduce_my_short4_6(ain1, null); 8361 } 8362 8363 // ain1 = "short4 in" 8364 public result_int reduce_my_short4_6(Allocation ain1, Script.LaunchOptions sc) { 8365 // check ain1 8366 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8367 throw new RSRuntimeException("Type mismatch with I16_4!"); 8368 } 8369 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8370 aout.setAutoPadding(true); 8371 reduce(mExportReduceIdx_my_short4_6, new Allocation[]{ain1}, aout, sc); 8372 return new result_int(aout); 8373 } 8374 8375 private final static int mExportReduceIdx_my_short4_7 = 231; 8376 // in1 = "in", flattened 4-vectors 8377 public result_int reduce_my_short4_7(short[] in1) { 8378 // Verify that "in1" is non-null. 8379 if (in1 == null) { 8380 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8381 } 8382 // Verify that the array length is a multiple of the vector size. 8383 if (in1.length % 4 != 0) { 8384 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8385 } 8386 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8387 ain1.setAutoPadding(true); 8388 ain1.copyFrom(in1); 8389 8390 result_int result = reduce_my_short4_7(ain1, null); 8391 result.mTempIns = new Allocation[]{ain1}; 8392 return result; 8393 } 8394 8395 // ain1 = "short4 in" 8396 public result_int reduce_my_short4_7(Allocation ain1) { 8397 return reduce_my_short4_7(ain1, null); 8398 } 8399 8400 // ain1 = "short4 in" 8401 public result_int reduce_my_short4_7(Allocation ain1, Script.LaunchOptions sc) { 8402 // check ain1 8403 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8404 throw new RSRuntimeException("Type mismatch with I16_4!"); 8405 } 8406 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8407 aout.setAutoPadding(true); 8408 reduce(mExportReduceIdx_my_short4_7, new Allocation[]{ain1}, aout, sc); 8409 return new result_int(aout); 8410 } 8411 8412 private final static int mExportReduceIdx_my_short4_8 = 232; 8413 // in1 = "in", flattened 4-vectors 8414 public result_int reduce_my_short4_8(short[] in1) { 8415 // Verify that "in1" is non-null. 8416 if (in1 == null) { 8417 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8418 } 8419 // Verify that the array length is a multiple of the vector size. 8420 if (in1.length % 4 != 0) { 8421 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8422 } 8423 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8424 ain1.setAutoPadding(true); 8425 ain1.copyFrom(in1); 8426 8427 result_int result = reduce_my_short4_8(ain1, null); 8428 result.mTempIns = new Allocation[]{ain1}; 8429 return result; 8430 } 8431 8432 // ain1 = "short4 in" 8433 public result_int reduce_my_short4_8(Allocation ain1) { 8434 return reduce_my_short4_8(ain1, null); 8435 } 8436 8437 // ain1 = "short4 in" 8438 public result_int reduce_my_short4_8(Allocation ain1, Script.LaunchOptions sc) { 8439 // check ain1 8440 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8441 throw new RSRuntimeException("Type mismatch with I16_4!"); 8442 } 8443 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8444 aout.setAutoPadding(true); 8445 reduce(mExportReduceIdx_my_short4_8, new Allocation[]{ain1}, aout, sc); 8446 return new result_int(aout); 8447 } 8448 8449 private final static int mExportReduceIdx_my_short4_9 = 233; 8450 // in1 = "in", flattened 4-vectors 8451 public result_int reduce_my_short4_9(short[] in1) { 8452 // Verify that "in1" is non-null. 8453 if (in1 == null) { 8454 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8455 } 8456 // Verify that the array length is a multiple of the vector size. 8457 if (in1.length % 4 != 0) { 8458 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8459 } 8460 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8461 ain1.setAutoPadding(true); 8462 ain1.copyFrom(in1); 8463 8464 result_int result = reduce_my_short4_9(ain1, null); 8465 result.mTempIns = new Allocation[]{ain1}; 8466 return result; 8467 } 8468 8469 // ain1 = "short4 in" 8470 public result_int reduce_my_short4_9(Allocation ain1) { 8471 return reduce_my_short4_9(ain1, null); 8472 } 8473 8474 // ain1 = "short4 in" 8475 public result_int reduce_my_short4_9(Allocation ain1, Script.LaunchOptions sc) { 8476 // check ain1 8477 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8478 throw new RSRuntimeException("Type mismatch with I16_4!"); 8479 } 8480 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8481 aout.setAutoPadding(true); 8482 reduce(mExportReduceIdx_my_short4_9, new Allocation[]{ain1}, aout, sc); 8483 return new result_int(aout); 8484 } 8485 8486 private final static int mExportReduceIdx_my_short4_10 = 234; 8487 // in1 = "in", flattened 4-vectors 8488 public result_int reduce_my_short4_10(short[] in1) { 8489 // Verify that "in1" is non-null. 8490 if (in1 == null) { 8491 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8492 } 8493 // Verify that the array length is a multiple of the vector size. 8494 if (in1.length % 4 != 0) { 8495 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8496 } 8497 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8498 ain1.setAutoPadding(true); 8499 ain1.copyFrom(in1); 8500 8501 result_int result = reduce_my_short4_10(ain1, null); 8502 result.mTempIns = new Allocation[]{ain1}; 8503 return result; 8504 } 8505 8506 // ain1 = "short4 in" 8507 public result_int reduce_my_short4_10(Allocation ain1) { 8508 return reduce_my_short4_10(ain1, null); 8509 } 8510 8511 // ain1 = "short4 in" 8512 public result_int reduce_my_short4_10(Allocation ain1, Script.LaunchOptions sc) { 8513 // check ain1 8514 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8515 throw new RSRuntimeException("Type mismatch with I16_4!"); 8516 } 8517 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8518 aout.setAutoPadding(true); 8519 reduce(mExportReduceIdx_my_short4_10, new Allocation[]{ain1}, aout, sc); 8520 return new result_int(aout); 8521 } 8522 8523 private final static int mExportReduceIdx_my_short4_11 = 235; 8524 // in1 = "in", flattened 4-vectors 8525 public result_int reduce_my_short4_11(short[] in1) { 8526 // Verify that "in1" is non-null. 8527 if (in1 == null) { 8528 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8529 } 8530 // Verify that the array length is a multiple of the vector size. 8531 if (in1.length % 4 != 0) { 8532 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8533 } 8534 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8535 ain1.setAutoPadding(true); 8536 ain1.copyFrom(in1); 8537 8538 result_int result = reduce_my_short4_11(ain1, null); 8539 result.mTempIns = new Allocation[]{ain1}; 8540 return result; 8541 } 8542 8543 // ain1 = "short4 in" 8544 public result_int reduce_my_short4_11(Allocation ain1) { 8545 return reduce_my_short4_11(ain1, null); 8546 } 8547 8548 // ain1 = "short4 in" 8549 public result_int reduce_my_short4_11(Allocation ain1, Script.LaunchOptions sc) { 8550 // check ain1 8551 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8552 throw new RSRuntimeException("Type mismatch with I16_4!"); 8553 } 8554 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8555 aout.setAutoPadding(true); 8556 reduce(mExportReduceIdx_my_short4_11, new Allocation[]{ain1}, aout, sc); 8557 return new result_int(aout); 8558 } 8559 8560 private final static int mExportReduceIdx_my_short4_12 = 236; 8561 // in1 = "in", flattened 4-vectors 8562 public result_int reduce_my_short4_12(short[] in1) { 8563 // Verify that "in1" is non-null. 8564 if (in1 == null) { 8565 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8566 } 8567 // Verify that the array length is a multiple of the vector size. 8568 if (in1.length % 4 != 0) { 8569 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8570 } 8571 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8572 ain1.setAutoPadding(true); 8573 ain1.copyFrom(in1); 8574 8575 result_int result = reduce_my_short4_12(ain1, null); 8576 result.mTempIns = new Allocation[]{ain1}; 8577 return result; 8578 } 8579 8580 // ain1 = "short4 in" 8581 public result_int reduce_my_short4_12(Allocation ain1) { 8582 return reduce_my_short4_12(ain1, null); 8583 } 8584 8585 // ain1 = "short4 in" 8586 public result_int reduce_my_short4_12(Allocation ain1, Script.LaunchOptions sc) { 8587 // check ain1 8588 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8589 throw new RSRuntimeException("Type mismatch with I16_4!"); 8590 } 8591 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8592 aout.setAutoPadding(true); 8593 reduce(mExportReduceIdx_my_short4_12, new Allocation[]{ain1}, aout, sc); 8594 return new result_int(aout); 8595 } 8596 8597 private final static int mExportReduceIdx_my_short4_13 = 237; 8598 // in1 = "in", flattened 4-vectors 8599 public result_int reduce_my_short4_13(short[] in1) { 8600 // Verify that "in1" is non-null. 8601 if (in1 == null) { 8602 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8603 } 8604 // Verify that the array length is a multiple of the vector size. 8605 if (in1.length % 4 != 0) { 8606 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8607 } 8608 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8609 ain1.setAutoPadding(true); 8610 ain1.copyFrom(in1); 8611 8612 result_int result = reduce_my_short4_13(ain1, null); 8613 result.mTempIns = new Allocation[]{ain1}; 8614 return result; 8615 } 8616 8617 // ain1 = "short4 in" 8618 public result_int reduce_my_short4_13(Allocation ain1) { 8619 return reduce_my_short4_13(ain1, null); 8620 } 8621 8622 // ain1 = "short4 in" 8623 public result_int reduce_my_short4_13(Allocation ain1, Script.LaunchOptions sc) { 8624 // check ain1 8625 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8626 throw new RSRuntimeException("Type mismatch with I16_4!"); 8627 } 8628 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8629 aout.setAutoPadding(true); 8630 reduce(mExportReduceIdx_my_short4_13, new Allocation[]{ain1}, aout, sc); 8631 return new result_int(aout); 8632 } 8633 8634 private final static int mExportReduceIdx_my_short4_14 = 238; 8635 // in1 = "in", flattened 4-vectors 8636 public result_int reduce_my_short4_14(short[] in1) { 8637 // Verify that "in1" is non-null. 8638 if (in1 == null) { 8639 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8640 } 8641 // Verify that the array length is a multiple of the vector size. 8642 if (in1.length % 4 != 0) { 8643 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8644 } 8645 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8646 ain1.setAutoPadding(true); 8647 ain1.copyFrom(in1); 8648 8649 result_int result = reduce_my_short4_14(ain1, null); 8650 result.mTempIns = new Allocation[]{ain1}; 8651 return result; 8652 } 8653 8654 // ain1 = "short4 in" 8655 public result_int reduce_my_short4_14(Allocation ain1) { 8656 return reduce_my_short4_14(ain1, null); 8657 } 8658 8659 // ain1 = "short4 in" 8660 public result_int reduce_my_short4_14(Allocation ain1, Script.LaunchOptions sc) { 8661 // check ain1 8662 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8663 throw new RSRuntimeException("Type mismatch with I16_4!"); 8664 } 8665 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8666 aout.setAutoPadding(true); 8667 reduce(mExportReduceIdx_my_short4_14, new Allocation[]{ain1}, aout, sc); 8668 return new result_int(aout); 8669 } 8670 8671 private final static int mExportReduceIdx_my_short4_15 = 239; 8672 // in1 = "in", flattened 4-vectors 8673 public result_int reduce_my_short4_15(short[] in1) { 8674 // Verify that "in1" is non-null. 8675 if (in1 == null) { 8676 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8677 } 8678 // Verify that the array length is a multiple of the vector size. 8679 if (in1.length % 4 != 0) { 8680 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8681 } 8682 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8683 ain1.setAutoPadding(true); 8684 ain1.copyFrom(in1); 8685 8686 result_int result = reduce_my_short4_15(ain1, null); 8687 result.mTempIns = new Allocation[]{ain1}; 8688 return result; 8689 } 8690 8691 // ain1 = "short4 in" 8692 public result_int reduce_my_short4_15(Allocation ain1) { 8693 return reduce_my_short4_15(ain1, null); 8694 } 8695 8696 // ain1 = "short4 in" 8697 public result_int reduce_my_short4_15(Allocation ain1, Script.LaunchOptions sc) { 8698 // check ain1 8699 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8700 throw new RSRuntimeException("Type mismatch with I16_4!"); 8701 } 8702 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8703 aout.setAutoPadding(true); 8704 reduce(mExportReduceIdx_my_short4_15, new Allocation[]{ain1}, aout, sc); 8705 return new result_int(aout); 8706 } 8707 8708 private final static int mExportReduceIdx_my_int_0 = 240; 8709 // in1 = "in" 8710 public result_int reduce_my_int_0(int[] in1) { 8711 // Verify that "in1" is non-null. 8712 if (in1 == null) { 8713 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8714 } 8715 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8716 ain1.setAutoPadding(true); 8717 ain1.copyFrom(in1); 8718 8719 result_int result = reduce_my_int_0(ain1, null); 8720 result.mTempIns = new Allocation[]{ain1}; 8721 return result; 8722 } 8723 8724 // ain1 = "int in" 8725 public result_int reduce_my_int_0(Allocation ain1) { 8726 return reduce_my_int_0(ain1, null); 8727 } 8728 8729 // ain1 = "int in" 8730 public result_int reduce_my_int_0(Allocation ain1, Script.LaunchOptions sc) { 8731 // check ain1 8732 if (!ain1.getType().getElement().isCompatible(__I32)) { 8733 throw new RSRuntimeException("Type mismatch with I32!"); 8734 } 8735 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8736 aout.setAutoPadding(true); 8737 reduce(mExportReduceIdx_my_int_0, new Allocation[]{ain1}, aout, sc); 8738 return new result_int(aout); 8739 } 8740 8741 private final static int mExportReduceIdx_my_int_1 = 241; 8742 // in1 = "in" 8743 public result_int reduce_my_int_1(int[] in1) { 8744 // Verify that "in1" is non-null. 8745 if (in1 == null) { 8746 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8747 } 8748 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8749 ain1.setAutoPadding(true); 8750 ain1.copyFrom(in1); 8751 8752 result_int result = reduce_my_int_1(ain1, null); 8753 result.mTempIns = new Allocation[]{ain1}; 8754 return result; 8755 } 8756 8757 // ain1 = "int in" 8758 public result_int reduce_my_int_1(Allocation ain1) { 8759 return reduce_my_int_1(ain1, null); 8760 } 8761 8762 // ain1 = "int in" 8763 public result_int reduce_my_int_1(Allocation ain1, Script.LaunchOptions sc) { 8764 // check ain1 8765 if (!ain1.getType().getElement().isCompatible(__I32)) { 8766 throw new RSRuntimeException("Type mismatch with I32!"); 8767 } 8768 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8769 aout.setAutoPadding(true); 8770 reduce(mExportReduceIdx_my_int_1, new Allocation[]{ain1}, aout, sc); 8771 return new result_int(aout); 8772 } 8773 8774 private final static int mExportReduceIdx_my_int_2 = 242; 8775 // in1 = "in" 8776 public result_int reduce_my_int_2(int[] in1) { 8777 // Verify that "in1" is non-null. 8778 if (in1 == null) { 8779 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8780 } 8781 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8782 ain1.setAutoPadding(true); 8783 ain1.copyFrom(in1); 8784 8785 result_int result = reduce_my_int_2(ain1, null); 8786 result.mTempIns = new Allocation[]{ain1}; 8787 return result; 8788 } 8789 8790 // ain1 = "int in" 8791 public result_int reduce_my_int_2(Allocation ain1) { 8792 return reduce_my_int_2(ain1, null); 8793 } 8794 8795 // ain1 = "int in" 8796 public result_int reduce_my_int_2(Allocation ain1, Script.LaunchOptions sc) { 8797 // check ain1 8798 if (!ain1.getType().getElement().isCompatible(__I32)) { 8799 throw new RSRuntimeException("Type mismatch with I32!"); 8800 } 8801 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8802 aout.setAutoPadding(true); 8803 reduce(mExportReduceIdx_my_int_2, new Allocation[]{ain1}, aout, sc); 8804 return new result_int(aout); 8805 } 8806 8807 private final static int mExportReduceIdx_my_int_3 = 243; 8808 // in1 = "in" 8809 public result_int reduce_my_int_3(int[] in1) { 8810 // Verify that "in1" is non-null. 8811 if (in1 == null) { 8812 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8813 } 8814 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8815 ain1.setAutoPadding(true); 8816 ain1.copyFrom(in1); 8817 8818 result_int result = reduce_my_int_3(ain1, null); 8819 result.mTempIns = new Allocation[]{ain1}; 8820 return result; 8821 } 8822 8823 // ain1 = "int in" 8824 public result_int reduce_my_int_3(Allocation ain1) { 8825 return reduce_my_int_3(ain1, null); 8826 } 8827 8828 // ain1 = "int in" 8829 public result_int reduce_my_int_3(Allocation ain1, Script.LaunchOptions sc) { 8830 // check ain1 8831 if (!ain1.getType().getElement().isCompatible(__I32)) { 8832 throw new RSRuntimeException("Type mismatch with I32!"); 8833 } 8834 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8835 aout.setAutoPadding(true); 8836 reduce(mExportReduceIdx_my_int_3, new Allocation[]{ain1}, aout, sc); 8837 return new result_int(aout); 8838 } 8839 8840 private final static int mExportReduceIdx_my_int_4 = 244; 8841 // in1 = "in" 8842 public result_int reduce_my_int_4(int[] in1) { 8843 // Verify that "in1" is non-null. 8844 if (in1 == null) { 8845 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8846 } 8847 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8848 ain1.setAutoPadding(true); 8849 ain1.copyFrom(in1); 8850 8851 result_int result = reduce_my_int_4(ain1, null); 8852 result.mTempIns = new Allocation[]{ain1}; 8853 return result; 8854 } 8855 8856 // ain1 = "int in" 8857 public result_int reduce_my_int_4(Allocation ain1) { 8858 return reduce_my_int_4(ain1, null); 8859 } 8860 8861 // ain1 = "int in" 8862 public result_int reduce_my_int_4(Allocation ain1, Script.LaunchOptions sc) { 8863 // check ain1 8864 if (!ain1.getType().getElement().isCompatible(__I32)) { 8865 throw new RSRuntimeException("Type mismatch with I32!"); 8866 } 8867 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8868 aout.setAutoPadding(true); 8869 reduce(mExportReduceIdx_my_int_4, new Allocation[]{ain1}, aout, sc); 8870 return new result_int(aout); 8871 } 8872 8873 private final static int mExportReduceIdx_my_int_5 = 245; 8874 // in1 = "in" 8875 public result_int reduce_my_int_5(int[] in1) { 8876 // Verify that "in1" is non-null. 8877 if (in1 == null) { 8878 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8879 } 8880 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8881 ain1.setAutoPadding(true); 8882 ain1.copyFrom(in1); 8883 8884 result_int result = reduce_my_int_5(ain1, null); 8885 result.mTempIns = new Allocation[]{ain1}; 8886 return result; 8887 } 8888 8889 // ain1 = "int in" 8890 public result_int reduce_my_int_5(Allocation ain1) { 8891 return reduce_my_int_5(ain1, null); 8892 } 8893 8894 // ain1 = "int in" 8895 public result_int reduce_my_int_5(Allocation ain1, Script.LaunchOptions sc) { 8896 // check ain1 8897 if (!ain1.getType().getElement().isCompatible(__I32)) { 8898 throw new RSRuntimeException("Type mismatch with I32!"); 8899 } 8900 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8901 aout.setAutoPadding(true); 8902 reduce(mExportReduceIdx_my_int_5, new Allocation[]{ain1}, aout, sc); 8903 return new result_int(aout); 8904 } 8905 8906 private final static int mExportReduceIdx_my_int_6 = 246; 8907 // in1 = "in" 8908 public result_int reduce_my_int_6(int[] in1) { 8909 // Verify that "in1" is non-null. 8910 if (in1 == null) { 8911 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8912 } 8913 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8914 ain1.setAutoPadding(true); 8915 ain1.copyFrom(in1); 8916 8917 result_int result = reduce_my_int_6(ain1, null); 8918 result.mTempIns = new Allocation[]{ain1}; 8919 return result; 8920 } 8921 8922 // ain1 = "int in" 8923 public result_int reduce_my_int_6(Allocation ain1) { 8924 return reduce_my_int_6(ain1, null); 8925 } 8926 8927 // ain1 = "int in" 8928 public result_int reduce_my_int_6(Allocation ain1, Script.LaunchOptions sc) { 8929 // check ain1 8930 if (!ain1.getType().getElement().isCompatible(__I32)) { 8931 throw new RSRuntimeException("Type mismatch with I32!"); 8932 } 8933 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8934 aout.setAutoPadding(true); 8935 reduce(mExportReduceIdx_my_int_6, new Allocation[]{ain1}, aout, sc); 8936 return new result_int(aout); 8937 } 8938 8939 private final static int mExportReduceIdx_my_int_7 = 247; 8940 // in1 = "in" 8941 public result_int reduce_my_int_7(int[] in1) { 8942 // Verify that "in1" is non-null. 8943 if (in1 == null) { 8944 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8945 } 8946 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8947 ain1.setAutoPadding(true); 8948 ain1.copyFrom(in1); 8949 8950 result_int result = reduce_my_int_7(ain1, null); 8951 result.mTempIns = new Allocation[]{ain1}; 8952 return result; 8953 } 8954 8955 // ain1 = "int in" 8956 public result_int reduce_my_int_7(Allocation ain1) { 8957 return reduce_my_int_7(ain1, null); 8958 } 8959 8960 // ain1 = "int in" 8961 public result_int reduce_my_int_7(Allocation ain1, Script.LaunchOptions sc) { 8962 // check ain1 8963 if (!ain1.getType().getElement().isCompatible(__I32)) { 8964 throw new RSRuntimeException("Type mismatch with I32!"); 8965 } 8966 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8967 aout.setAutoPadding(true); 8968 reduce(mExportReduceIdx_my_int_7, new Allocation[]{ain1}, aout, sc); 8969 return new result_int(aout); 8970 } 8971 8972 private final static int mExportReduceIdx_my_int_8 = 248; 8973 // in1 = "in" 8974 public result_int reduce_my_int_8(int[] in1) { 8975 // Verify that "in1" is non-null. 8976 if (in1 == null) { 8977 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8978 } 8979 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8980 ain1.setAutoPadding(true); 8981 ain1.copyFrom(in1); 8982 8983 result_int result = reduce_my_int_8(ain1, null); 8984 result.mTempIns = new Allocation[]{ain1}; 8985 return result; 8986 } 8987 8988 // ain1 = "int in" 8989 public result_int reduce_my_int_8(Allocation ain1) { 8990 return reduce_my_int_8(ain1, null); 8991 } 8992 8993 // ain1 = "int in" 8994 public result_int reduce_my_int_8(Allocation ain1, Script.LaunchOptions sc) { 8995 // check ain1 8996 if (!ain1.getType().getElement().isCompatible(__I32)) { 8997 throw new RSRuntimeException("Type mismatch with I32!"); 8998 } 8999 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9000 aout.setAutoPadding(true); 9001 reduce(mExportReduceIdx_my_int_8, new Allocation[]{ain1}, aout, sc); 9002 return new result_int(aout); 9003 } 9004 9005 private final static int mExportReduceIdx_my_int_9 = 249; 9006 // in1 = "in" 9007 public result_int reduce_my_int_9(int[] in1) { 9008 // Verify that "in1" is non-null. 9009 if (in1 == null) { 9010 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9011 } 9012 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9013 ain1.setAutoPadding(true); 9014 ain1.copyFrom(in1); 9015 9016 result_int result = reduce_my_int_9(ain1, null); 9017 result.mTempIns = new Allocation[]{ain1}; 9018 return result; 9019 } 9020 9021 // ain1 = "int in" 9022 public result_int reduce_my_int_9(Allocation ain1) { 9023 return reduce_my_int_9(ain1, null); 9024 } 9025 9026 // ain1 = "int in" 9027 public result_int reduce_my_int_9(Allocation ain1, Script.LaunchOptions sc) { 9028 // check ain1 9029 if (!ain1.getType().getElement().isCompatible(__I32)) { 9030 throw new RSRuntimeException("Type mismatch with I32!"); 9031 } 9032 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9033 aout.setAutoPadding(true); 9034 reduce(mExportReduceIdx_my_int_9, new Allocation[]{ain1}, aout, sc); 9035 return new result_int(aout); 9036 } 9037 9038 private final static int mExportReduceIdx_my_int_10 = 250; 9039 // in1 = "in" 9040 public result_int reduce_my_int_10(int[] in1) { 9041 // Verify that "in1" is non-null. 9042 if (in1 == null) { 9043 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9044 } 9045 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9046 ain1.setAutoPadding(true); 9047 ain1.copyFrom(in1); 9048 9049 result_int result = reduce_my_int_10(ain1, null); 9050 result.mTempIns = new Allocation[]{ain1}; 9051 return result; 9052 } 9053 9054 // ain1 = "int in" 9055 public result_int reduce_my_int_10(Allocation ain1) { 9056 return reduce_my_int_10(ain1, null); 9057 } 9058 9059 // ain1 = "int in" 9060 public result_int reduce_my_int_10(Allocation ain1, Script.LaunchOptions sc) { 9061 // check ain1 9062 if (!ain1.getType().getElement().isCompatible(__I32)) { 9063 throw new RSRuntimeException("Type mismatch with I32!"); 9064 } 9065 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9066 aout.setAutoPadding(true); 9067 reduce(mExportReduceIdx_my_int_10, new Allocation[]{ain1}, aout, sc); 9068 return new result_int(aout); 9069 } 9070 9071 private final static int mExportReduceIdx_my_int_11 = 251; 9072 // in1 = "in" 9073 public result_int reduce_my_int_11(int[] in1) { 9074 // Verify that "in1" is non-null. 9075 if (in1 == null) { 9076 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9077 } 9078 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9079 ain1.setAutoPadding(true); 9080 ain1.copyFrom(in1); 9081 9082 result_int result = reduce_my_int_11(ain1, null); 9083 result.mTempIns = new Allocation[]{ain1}; 9084 return result; 9085 } 9086 9087 // ain1 = "int in" 9088 public result_int reduce_my_int_11(Allocation ain1) { 9089 return reduce_my_int_11(ain1, null); 9090 } 9091 9092 // ain1 = "int in" 9093 public result_int reduce_my_int_11(Allocation ain1, Script.LaunchOptions sc) { 9094 // check ain1 9095 if (!ain1.getType().getElement().isCompatible(__I32)) { 9096 throw new RSRuntimeException("Type mismatch with I32!"); 9097 } 9098 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9099 aout.setAutoPadding(true); 9100 reduce(mExportReduceIdx_my_int_11, new Allocation[]{ain1}, aout, sc); 9101 return new result_int(aout); 9102 } 9103 9104 private final static int mExportReduceIdx_my_int_12 = 252; 9105 // in1 = "in" 9106 public result_int reduce_my_int_12(int[] in1) { 9107 // Verify that "in1" is non-null. 9108 if (in1 == null) { 9109 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9110 } 9111 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9112 ain1.setAutoPadding(true); 9113 ain1.copyFrom(in1); 9114 9115 result_int result = reduce_my_int_12(ain1, null); 9116 result.mTempIns = new Allocation[]{ain1}; 9117 return result; 9118 } 9119 9120 // ain1 = "int in" 9121 public result_int reduce_my_int_12(Allocation ain1) { 9122 return reduce_my_int_12(ain1, null); 9123 } 9124 9125 // ain1 = "int in" 9126 public result_int reduce_my_int_12(Allocation ain1, Script.LaunchOptions sc) { 9127 // check ain1 9128 if (!ain1.getType().getElement().isCompatible(__I32)) { 9129 throw new RSRuntimeException("Type mismatch with I32!"); 9130 } 9131 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9132 aout.setAutoPadding(true); 9133 reduce(mExportReduceIdx_my_int_12, new Allocation[]{ain1}, aout, sc); 9134 return new result_int(aout); 9135 } 9136 9137 private final static int mExportReduceIdx_my_int_13 = 253; 9138 // in1 = "in" 9139 public result_int reduce_my_int_13(int[] in1) { 9140 // Verify that "in1" is non-null. 9141 if (in1 == null) { 9142 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9143 } 9144 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9145 ain1.setAutoPadding(true); 9146 ain1.copyFrom(in1); 9147 9148 result_int result = reduce_my_int_13(ain1, null); 9149 result.mTempIns = new Allocation[]{ain1}; 9150 return result; 9151 } 9152 9153 // ain1 = "int in" 9154 public result_int reduce_my_int_13(Allocation ain1) { 9155 return reduce_my_int_13(ain1, null); 9156 } 9157 9158 // ain1 = "int in" 9159 public result_int reduce_my_int_13(Allocation ain1, Script.LaunchOptions sc) { 9160 // check ain1 9161 if (!ain1.getType().getElement().isCompatible(__I32)) { 9162 throw new RSRuntimeException("Type mismatch with I32!"); 9163 } 9164 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9165 aout.setAutoPadding(true); 9166 reduce(mExportReduceIdx_my_int_13, new Allocation[]{ain1}, aout, sc); 9167 return new result_int(aout); 9168 } 9169 9170 private final static int mExportReduceIdx_my_int_14 = 254; 9171 // in1 = "in" 9172 public result_int reduce_my_int_14(int[] in1) { 9173 // Verify that "in1" is non-null. 9174 if (in1 == null) { 9175 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9176 } 9177 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9178 ain1.setAutoPadding(true); 9179 ain1.copyFrom(in1); 9180 9181 result_int result = reduce_my_int_14(ain1, null); 9182 result.mTempIns = new Allocation[]{ain1}; 9183 return result; 9184 } 9185 9186 // ain1 = "int in" 9187 public result_int reduce_my_int_14(Allocation ain1) { 9188 return reduce_my_int_14(ain1, null); 9189 } 9190 9191 // ain1 = "int in" 9192 public result_int reduce_my_int_14(Allocation ain1, Script.LaunchOptions sc) { 9193 // check ain1 9194 if (!ain1.getType().getElement().isCompatible(__I32)) { 9195 throw new RSRuntimeException("Type mismatch with I32!"); 9196 } 9197 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9198 aout.setAutoPadding(true); 9199 reduce(mExportReduceIdx_my_int_14, new Allocation[]{ain1}, aout, sc); 9200 return new result_int(aout); 9201 } 9202 9203 private final static int mExportReduceIdx_my_int_15 = 255; 9204 // in1 = "in" 9205 public result_int reduce_my_int_15(int[] in1) { 9206 // Verify that "in1" is non-null. 9207 if (in1 == null) { 9208 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9209 } 9210 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9211 ain1.setAutoPadding(true); 9212 ain1.copyFrom(in1); 9213 9214 result_int result = reduce_my_int_15(ain1, null); 9215 result.mTempIns = new Allocation[]{ain1}; 9216 return result; 9217 } 9218 9219 // ain1 = "int in" 9220 public result_int reduce_my_int_15(Allocation ain1) { 9221 return reduce_my_int_15(ain1, null); 9222 } 9223 9224 // ain1 = "int in" 9225 public result_int reduce_my_int_15(Allocation ain1, Script.LaunchOptions sc) { 9226 // check ain1 9227 if (!ain1.getType().getElement().isCompatible(__I32)) { 9228 throw new RSRuntimeException("Type mismatch with I32!"); 9229 } 9230 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9231 aout.setAutoPadding(true); 9232 reduce(mExportReduceIdx_my_int_15, new Allocation[]{ain1}, aout, sc); 9233 return new result_int(aout); 9234 } 9235 9236 private final static int mExportReduceIdx_my_int2_0 = 256; 9237 // in1 = "in", flattened 2-vectors 9238 public result_int reduce_my_int2_0(int[] in1) { 9239 // Verify that "in1" is non-null. 9240 if (in1 == null) { 9241 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9242 } 9243 // Verify that the array length is a multiple of the vector size. 9244 if (in1.length % 2 != 0) { 9245 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9246 } 9247 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9248 ain1.setAutoPadding(true); 9249 ain1.copyFrom(in1); 9250 9251 result_int result = reduce_my_int2_0(ain1, null); 9252 result.mTempIns = new Allocation[]{ain1}; 9253 return result; 9254 } 9255 9256 // ain1 = "int2 in" 9257 public result_int reduce_my_int2_0(Allocation ain1) { 9258 return reduce_my_int2_0(ain1, null); 9259 } 9260 9261 // ain1 = "int2 in" 9262 public result_int reduce_my_int2_0(Allocation ain1, Script.LaunchOptions sc) { 9263 // check ain1 9264 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9265 throw new RSRuntimeException("Type mismatch with I32_2!"); 9266 } 9267 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9268 aout.setAutoPadding(true); 9269 reduce(mExportReduceIdx_my_int2_0, new Allocation[]{ain1}, aout, sc); 9270 return new result_int(aout); 9271 } 9272 9273 private final static int mExportReduceIdx_my_int2_1 = 257; 9274 // in1 = "in", flattened 2-vectors 9275 public result_int reduce_my_int2_1(int[] in1) { 9276 // Verify that "in1" is non-null. 9277 if (in1 == null) { 9278 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9279 } 9280 // Verify that the array length is a multiple of the vector size. 9281 if (in1.length % 2 != 0) { 9282 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9283 } 9284 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9285 ain1.setAutoPadding(true); 9286 ain1.copyFrom(in1); 9287 9288 result_int result = reduce_my_int2_1(ain1, null); 9289 result.mTempIns = new Allocation[]{ain1}; 9290 return result; 9291 } 9292 9293 // ain1 = "int2 in" 9294 public result_int reduce_my_int2_1(Allocation ain1) { 9295 return reduce_my_int2_1(ain1, null); 9296 } 9297 9298 // ain1 = "int2 in" 9299 public result_int reduce_my_int2_1(Allocation ain1, Script.LaunchOptions sc) { 9300 // check ain1 9301 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9302 throw new RSRuntimeException("Type mismatch with I32_2!"); 9303 } 9304 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9305 aout.setAutoPadding(true); 9306 reduce(mExportReduceIdx_my_int2_1, new Allocation[]{ain1}, aout, sc); 9307 return new result_int(aout); 9308 } 9309 9310 private final static int mExportReduceIdx_my_int2_2 = 258; 9311 // in1 = "in", flattened 2-vectors 9312 public result_int reduce_my_int2_2(int[] in1) { 9313 // Verify that "in1" is non-null. 9314 if (in1 == null) { 9315 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9316 } 9317 // Verify that the array length is a multiple of the vector size. 9318 if (in1.length % 2 != 0) { 9319 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9320 } 9321 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9322 ain1.setAutoPadding(true); 9323 ain1.copyFrom(in1); 9324 9325 result_int result = reduce_my_int2_2(ain1, null); 9326 result.mTempIns = new Allocation[]{ain1}; 9327 return result; 9328 } 9329 9330 // ain1 = "int2 in" 9331 public result_int reduce_my_int2_2(Allocation ain1) { 9332 return reduce_my_int2_2(ain1, null); 9333 } 9334 9335 // ain1 = "int2 in" 9336 public result_int reduce_my_int2_2(Allocation ain1, Script.LaunchOptions sc) { 9337 // check ain1 9338 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9339 throw new RSRuntimeException("Type mismatch with I32_2!"); 9340 } 9341 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9342 aout.setAutoPadding(true); 9343 reduce(mExportReduceIdx_my_int2_2, new Allocation[]{ain1}, aout, sc); 9344 return new result_int(aout); 9345 } 9346 9347 private final static int mExportReduceIdx_my_int2_3 = 259; 9348 // in1 = "in", flattened 2-vectors 9349 public result_int reduce_my_int2_3(int[] in1) { 9350 // Verify that "in1" is non-null. 9351 if (in1 == null) { 9352 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9353 } 9354 // Verify that the array length is a multiple of the vector size. 9355 if (in1.length % 2 != 0) { 9356 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9357 } 9358 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9359 ain1.setAutoPadding(true); 9360 ain1.copyFrom(in1); 9361 9362 result_int result = reduce_my_int2_3(ain1, null); 9363 result.mTempIns = new Allocation[]{ain1}; 9364 return result; 9365 } 9366 9367 // ain1 = "int2 in" 9368 public result_int reduce_my_int2_3(Allocation ain1) { 9369 return reduce_my_int2_3(ain1, null); 9370 } 9371 9372 // ain1 = "int2 in" 9373 public result_int reduce_my_int2_3(Allocation ain1, Script.LaunchOptions sc) { 9374 // check ain1 9375 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9376 throw new RSRuntimeException("Type mismatch with I32_2!"); 9377 } 9378 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9379 aout.setAutoPadding(true); 9380 reduce(mExportReduceIdx_my_int2_3, new Allocation[]{ain1}, aout, sc); 9381 return new result_int(aout); 9382 } 9383 9384 private final static int mExportReduceIdx_my_int2_4 = 260; 9385 // in1 = "in", flattened 2-vectors 9386 public result_int reduce_my_int2_4(int[] in1) { 9387 // Verify that "in1" is non-null. 9388 if (in1 == null) { 9389 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9390 } 9391 // Verify that the array length is a multiple of the vector size. 9392 if (in1.length % 2 != 0) { 9393 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9394 } 9395 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9396 ain1.setAutoPadding(true); 9397 ain1.copyFrom(in1); 9398 9399 result_int result = reduce_my_int2_4(ain1, null); 9400 result.mTempIns = new Allocation[]{ain1}; 9401 return result; 9402 } 9403 9404 // ain1 = "int2 in" 9405 public result_int reduce_my_int2_4(Allocation ain1) { 9406 return reduce_my_int2_4(ain1, null); 9407 } 9408 9409 // ain1 = "int2 in" 9410 public result_int reduce_my_int2_4(Allocation ain1, Script.LaunchOptions sc) { 9411 // check ain1 9412 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9413 throw new RSRuntimeException("Type mismatch with I32_2!"); 9414 } 9415 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9416 aout.setAutoPadding(true); 9417 reduce(mExportReduceIdx_my_int2_4, new Allocation[]{ain1}, aout, sc); 9418 return new result_int(aout); 9419 } 9420 9421 private final static int mExportReduceIdx_my_int2_5 = 261; 9422 // in1 = "in", flattened 2-vectors 9423 public result_int reduce_my_int2_5(int[] in1) { 9424 // Verify that "in1" is non-null. 9425 if (in1 == null) { 9426 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9427 } 9428 // Verify that the array length is a multiple of the vector size. 9429 if (in1.length % 2 != 0) { 9430 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9431 } 9432 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9433 ain1.setAutoPadding(true); 9434 ain1.copyFrom(in1); 9435 9436 result_int result = reduce_my_int2_5(ain1, null); 9437 result.mTempIns = new Allocation[]{ain1}; 9438 return result; 9439 } 9440 9441 // ain1 = "int2 in" 9442 public result_int reduce_my_int2_5(Allocation ain1) { 9443 return reduce_my_int2_5(ain1, null); 9444 } 9445 9446 // ain1 = "int2 in" 9447 public result_int reduce_my_int2_5(Allocation ain1, Script.LaunchOptions sc) { 9448 // check ain1 9449 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9450 throw new RSRuntimeException("Type mismatch with I32_2!"); 9451 } 9452 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9453 aout.setAutoPadding(true); 9454 reduce(mExportReduceIdx_my_int2_5, new Allocation[]{ain1}, aout, sc); 9455 return new result_int(aout); 9456 } 9457 9458 private final static int mExportReduceIdx_my_int2_6 = 262; 9459 // in1 = "in", flattened 2-vectors 9460 public result_int reduce_my_int2_6(int[] in1) { 9461 // Verify that "in1" is non-null. 9462 if (in1 == null) { 9463 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9464 } 9465 // Verify that the array length is a multiple of the vector size. 9466 if (in1.length % 2 != 0) { 9467 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9468 } 9469 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9470 ain1.setAutoPadding(true); 9471 ain1.copyFrom(in1); 9472 9473 result_int result = reduce_my_int2_6(ain1, null); 9474 result.mTempIns = new Allocation[]{ain1}; 9475 return result; 9476 } 9477 9478 // ain1 = "int2 in" 9479 public result_int reduce_my_int2_6(Allocation ain1) { 9480 return reduce_my_int2_6(ain1, null); 9481 } 9482 9483 // ain1 = "int2 in" 9484 public result_int reduce_my_int2_6(Allocation ain1, Script.LaunchOptions sc) { 9485 // check ain1 9486 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9487 throw new RSRuntimeException("Type mismatch with I32_2!"); 9488 } 9489 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9490 aout.setAutoPadding(true); 9491 reduce(mExportReduceIdx_my_int2_6, new Allocation[]{ain1}, aout, sc); 9492 return new result_int(aout); 9493 } 9494 9495 private final static int mExportReduceIdx_my_int2_7 = 263; 9496 // in1 = "in", flattened 2-vectors 9497 public result_int reduce_my_int2_7(int[] in1) { 9498 // Verify that "in1" is non-null. 9499 if (in1 == null) { 9500 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9501 } 9502 // Verify that the array length is a multiple of the vector size. 9503 if (in1.length % 2 != 0) { 9504 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9505 } 9506 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9507 ain1.setAutoPadding(true); 9508 ain1.copyFrom(in1); 9509 9510 result_int result = reduce_my_int2_7(ain1, null); 9511 result.mTempIns = new Allocation[]{ain1}; 9512 return result; 9513 } 9514 9515 // ain1 = "int2 in" 9516 public result_int reduce_my_int2_7(Allocation ain1) { 9517 return reduce_my_int2_7(ain1, null); 9518 } 9519 9520 // ain1 = "int2 in" 9521 public result_int reduce_my_int2_7(Allocation ain1, Script.LaunchOptions sc) { 9522 // check ain1 9523 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9524 throw new RSRuntimeException("Type mismatch with I32_2!"); 9525 } 9526 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9527 aout.setAutoPadding(true); 9528 reduce(mExportReduceIdx_my_int2_7, new Allocation[]{ain1}, aout, sc); 9529 return new result_int(aout); 9530 } 9531 9532 private final static int mExportReduceIdx_my_int2_8 = 264; 9533 // in1 = "in", flattened 2-vectors 9534 public result_int reduce_my_int2_8(int[] in1) { 9535 // Verify that "in1" is non-null. 9536 if (in1 == null) { 9537 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9538 } 9539 // Verify that the array length is a multiple of the vector size. 9540 if (in1.length % 2 != 0) { 9541 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9542 } 9543 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9544 ain1.setAutoPadding(true); 9545 ain1.copyFrom(in1); 9546 9547 result_int result = reduce_my_int2_8(ain1, null); 9548 result.mTempIns = new Allocation[]{ain1}; 9549 return result; 9550 } 9551 9552 // ain1 = "int2 in" 9553 public result_int reduce_my_int2_8(Allocation ain1) { 9554 return reduce_my_int2_8(ain1, null); 9555 } 9556 9557 // ain1 = "int2 in" 9558 public result_int reduce_my_int2_8(Allocation ain1, Script.LaunchOptions sc) { 9559 // check ain1 9560 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9561 throw new RSRuntimeException("Type mismatch with I32_2!"); 9562 } 9563 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9564 aout.setAutoPadding(true); 9565 reduce(mExportReduceIdx_my_int2_8, new Allocation[]{ain1}, aout, sc); 9566 return new result_int(aout); 9567 } 9568 9569 private final static int mExportReduceIdx_my_int2_9 = 265; 9570 // in1 = "in", flattened 2-vectors 9571 public result_int reduce_my_int2_9(int[] in1) { 9572 // Verify that "in1" is non-null. 9573 if (in1 == null) { 9574 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9575 } 9576 // Verify that the array length is a multiple of the vector size. 9577 if (in1.length % 2 != 0) { 9578 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9579 } 9580 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9581 ain1.setAutoPadding(true); 9582 ain1.copyFrom(in1); 9583 9584 result_int result = reduce_my_int2_9(ain1, null); 9585 result.mTempIns = new Allocation[]{ain1}; 9586 return result; 9587 } 9588 9589 // ain1 = "int2 in" 9590 public result_int reduce_my_int2_9(Allocation ain1) { 9591 return reduce_my_int2_9(ain1, null); 9592 } 9593 9594 // ain1 = "int2 in" 9595 public result_int reduce_my_int2_9(Allocation ain1, Script.LaunchOptions sc) { 9596 // check ain1 9597 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9598 throw new RSRuntimeException("Type mismatch with I32_2!"); 9599 } 9600 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9601 aout.setAutoPadding(true); 9602 reduce(mExportReduceIdx_my_int2_9, new Allocation[]{ain1}, aout, sc); 9603 return new result_int(aout); 9604 } 9605 9606 private final static int mExportReduceIdx_my_int2_10 = 266; 9607 // in1 = "in", flattened 2-vectors 9608 public result_int reduce_my_int2_10(int[] in1) { 9609 // Verify that "in1" is non-null. 9610 if (in1 == null) { 9611 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9612 } 9613 // Verify that the array length is a multiple of the vector size. 9614 if (in1.length % 2 != 0) { 9615 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9616 } 9617 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9618 ain1.setAutoPadding(true); 9619 ain1.copyFrom(in1); 9620 9621 result_int result = reduce_my_int2_10(ain1, null); 9622 result.mTempIns = new Allocation[]{ain1}; 9623 return result; 9624 } 9625 9626 // ain1 = "int2 in" 9627 public result_int reduce_my_int2_10(Allocation ain1) { 9628 return reduce_my_int2_10(ain1, null); 9629 } 9630 9631 // ain1 = "int2 in" 9632 public result_int reduce_my_int2_10(Allocation ain1, Script.LaunchOptions sc) { 9633 // check ain1 9634 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9635 throw new RSRuntimeException("Type mismatch with I32_2!"); 9636 } 9637 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9638 aout.setAutoPadding(true); 9639 reduce(mExportReduceIdx_my_int2_10, new Allocation[]{ain1}, aout, sc); 9640 return new result_int(aout); 9641 } 9642 9643 private final static int mExportReduceIdx_my_int2_11 = 267; 9644 // in1 = "in", flattened 2-vectors 9645 public result_int reduce_my_int2_11(int[] in1) { 9646 // Verify that "in1" is non-null. 9647 if (in1 == null) { 9648 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9649 } 9650 // Verify that the array length is a multiple of the vector size. 9651 if (in1.length % 2 != 0) { 9652 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9653 } 9654 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9655 ain1.setAutoPadding(true); 9656 ain1.copyFrom(in1); 9657 9658 result_int result = reduce_my_int2_11(ain1, null); 9659 result.mTempIns = new Allocation[]{ain1}; 9660 return result; 9661 } 9662 9663 // ain1 = "int2 in" 9664 public result_int reduce_my_int2_11(Allocation ain1) { 9665 return reduce_my_int2_11(ain1, null); 9666 } 9667 9668 // ain1 = "int2 in" 9669 public result_int reduce_my_int2_11(Allocation ain1, Script.LaunchOptions sc) { 9670 // check ain1 9671 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9672 throw new RSRuntimeException("Type mismatch with I32_2!"); 9673 } 9674 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9675 aout.setAutoPadding(true); 9676 reduce(mExportReduceIdx_my_int2_11, new Allocation[]{ain1}, aout, sc); 9677 return new result_int(aout); 9678 } 9679 9680 private final static int mExportReduceIdx_my_int2_12 = 268; 9681 // in1 = "in", flattened 2-vectors 9682 public result_int reduce_my_int2_12(int[] in1) { 9683 // Verify that "in1" is non-null. 9684 if (in1 == null) { 9685 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9686 } 9687 // Verify that the array length is a multiple of the vector size. 9688 if (in1.length % 2 != 0) { 9689 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9690 } 9691 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9692 ain1.setAutoPadding(true); 9693 ain1.copyFrom(in1); 9694 9695 result_int result = reduce_my_int2_12(ain1, null); 9696 result.mTempIns = new Allocation[]{ain1}; 9697 return result; 9698 } 9699 9700 // ain1 = "int2 in" 9701 public result_int reduce_my_int2_12(Allocation ain1) { 9702 return reduce_my_int2_12(ain1, null); 9703 } 9704 9705 // ain1 = "int2 in" 9706 public result_int reduce_my_int2_12(Allocation ain1, Script.LaunchOptions sc) { 9707 // check ain1 9708 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9709 throw new RSRuntimeException("Type mismatch with I32_2!"); 9710 } 9711 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9712 aout.setAutoPadding(true); 9713 reduce(mExportReduceIdx_my_int2_12, new Allocation[]{ain1}, aout, sc); 9714 return new result_int(aout); 9715 } 9716 9717 private final static int mExportReduceIdx_my_int2_13 = 269; 9718 // in1 = "in", flattened 2-vectors 9719 public result_int reduce_my_int2_13(int[] in1) { 9720 // Verify that "in1" is non-null. 9721 if (in1 == null) { 9722 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9723 } 9724 // Verify that the array length is a multiple of the vector size. 9725 if (in1.length % 2 != 0) { 9726 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9727 } 9728 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9729 ain1.setAutoPadding(true); 9730 ain1.copyFrom(in1); 9731 9732 result_int result = reduce_my_int2_13(ain1, null); 9733 result.mTempIns = new Allocation[]{ain1}; 9734 return result; 9735 } 9736 9737 // ain1 = "int2 in" 9738 public result_int reduce_my_int2_13(Allocation ain1) { 9739 return reduce_my_int2_13(ain1, null); 9740 } 9741 9742 // ain1 = "int2 in" 9743 public result_int reduce_my_int2_13(Allocation ain1, Script.LaunchOptions sc) { 9744 // check ain1 9745 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9746 throw new RSRuntimeException("Type mismatch with I32_2!"); 9747 } 9748 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9749 aout.setAutoPadding(true); 9750 reduce(mExportReduceIdx_my_int2_13, new Allocation[]{ain1}, aout, sc); 9751 return new result_int(aout); 9752 } 9753 9754 private final static int mExportReduceIdx_my_int2_14 = 270; 9755 // in1 = "in", flattened 2-vectors 9756 public result_int reduce_my_int2_14(int[] in1) { 9757 // Verify that "in1" is non-null. 9758 if (in1 == null) { 9759 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9760 } 9761 // Verify that the array length is a multiple of the vector size. 9762 if (in1.length % 2 != 0) { 9763 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9764 } 9765 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9766 ain1.setAutoPadding(true); 9767 ain1.copyFrom(in1); 9768 9769 result_int result = reduce_my_int2_14(ain1, null); 9770 result.mTempIns = new Allocation[]{ain1}; 9771 return result; 9772 } 9773 9774 // ain1 = "int2 in" 9775 public result_int reduce_my_int2_14(Allocation ain1) { 9776 return reduce_my_int2_14(ain1, null); 9777 } 9778 9779 // ain1 = "int2 in" 9780 public result_int reduce_my_int2_14(Allocation ain1, Script.LaunchOptions sc) { 9781 // check ain1 9782 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9783 throw new RSRuntimeException("Type mismatch with I32_2!"); 9784 } 9785 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9786 aout.setAutoPadding(true); 9787 reduce(mExportReduceIdx_my_int2_14, new Allocation[]{ain1}, aout, sc); 9788 return new result_int(aout); 9789 } 9790 9791 private final static int mExportReduceIdx_my_int2_15 = 271; 9792 // in1 = "in", flattened 2-vectors 9793 public result_int reduce_my_int2_15(int[] in1) { 9794 // Verify that "in1" is non-null. 9795 if (in1 == null) { 9796 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9797 } 9798 // Verify that the array length is a multiple of the vector size. 9799 if (in1.length % 2 != 0) { 9800 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9801 } 9802 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9803 ain1.setAutoPadding(true); 9804 ain1.copyFrom(in1); 9805 9806 result_int result = reduce_my_int2_15(ain1, null); 9807 result.mTempIns = new Allocation[]{ain1}; 9808 return result; 9809 } 9810 9811 // ain1 = "int2 in" 9812 public result_int reduce_my_int2_15(Allocation ain1) { 9813 return reduce_my_int2_15(ain1, null); 9814 } 9815 9816 // ain1 = "int2 in" 9817 public result_int reduce_my_int2_15(Allocation ain1, Script.LaunchOptions sc) { 9818 // check ain1 9819 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9820 throw new RSRuntimeException("Type mismatch with I32_2!"); 9821 } 9822 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9823 aout.setAutoPadding(true); 9824 reduce(mExportReduceIdx_my_int2_15, new Allocation[]{ain1}, aout, sc); 9825 return new result_int(aout); 9826 } 9827 9828 private final static int mExportReduceIdx_my_int4_0 = 272; 9829 // in1 = "in", flattened 4-vectors 9830 public result_int reduce_my_int4_0(int[] in1) { 9831 // Verify that "in1" is non-null. 9832 if (in1 == null) { 9833 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9834 } 9835 // Verify that the array length is a multiple of the vector size. 9836 if (in1.length % 4 != 0) { 9837 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9838 } 9839 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9840 ain1.setAutoPadding(true); 9841 ain1.copyFrom(in1); 9842 9843 result_int result = reduce_my_int4_0(ain1, null); 9844 result.mTempIns = new Allocation[]{ain1}; 9845 return result; 9846 } 9847 9848 // ain1 = "int4 in" 9849 public result_int reduce_my_int4_0(Allocation ain1) { 9850 return reduce_my_int4_0(ain1, null); 9851 } 9852 9853 // ain1 = "int4 in" 9854 public result_int reduce_my_int4_0(Allocation ain1, Script.LaunchOptions sc) { 9855 // check ain1 9856 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 9857 throw new RSRuntimeException("Type mismatch with I32_4!"); 9858 } 9859 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9860 aout.setAutoPadding(true); 9861 reduce(mExportReduceIdx_my_int4_0, new Allocation[]{ain1}, aout, sc); 9862 return new result_int(aout); 9863 } 9864 9865 private final static int mExportReduceIdx_my_int4_1 = 273; 9866 // in1 = "in", flattened 4-vectors 9867 public result_int reduce_my_int4_1(int[] in1) { 9868 // Verify that "in1" is non-null. 9869 if (in1 == null) { 9870 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9871 } 9872 // Verify that the array length is a multiple of the vector size. 9873 if (in1.length % 4 != 0) { 9874 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9875 } 9876 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9877 ain1.setAutoPadding(true); 9878 ain1.copyFrom(in1); 9879 9880 result_int result = reduce_my_int4_1(ain1, null); 9881 result.mTempIns = new Allocation[]{ain1}; 9882 return result; 9883 } 9884 9885 // ain1 = "int4 in" 9886 public result_int reduce_my_int4_1(Allocation ain1) { 9887 return reduce_my_int4_1(ain1, null); 9888 } 9889 9890 // ain1 = "int4 in" 9891 public result_int reduce_my_int4_1(Allocation ain1, Script.LaunchOptions sc) { 9892 // check ain1 9893 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 9894 throw new RSRuntimeException("Type mismatch with I32_4!"); 9895 } 9896 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9897 aout.setAutoPadding(true); 9898 reduce(mExportReduceIdx_my_int4_1, new Allocation[]{ain1}, aout, sc); 9899 return new result_int(aout); 9900 } 9901 9902 private final static int mExportReduceIdx_my_int4_2 = 274; 9903 // in1 = "in", flattened 4-vectors 9904 public result_int reduce_my_int4_2(int[] in1) { 9905 // Verify that "in1" is non-null. 9906 if (in1 == null) { 9907 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9908 } 9909 // Verify that the array length is a multiple of the vector size. 9910 if (in1.length % 4 != 0) { 9911 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9912 } 9913 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9914 ain1.setAutoPadding(true); 9915 ain1.copyFrom(in1); 9916 9917 result_int result = reduce_my_int4_2(ain1, null); 9918 result.mTempIns = new Allocation[]{ain1}; 9919 return result; 9920 } 9921 9922 // ain1 = "int4 in" 9923 public result_int reduce_my_int4_2(Allocation ain1) { 9924 return reduce_my_int4_2(ain1, null); 9925 } 9926 9927 // ain1 = "int4 in" 9928 public result_int reduce_my_int4_2(Allocation ain1, Script.LaunchOptions sc) { 9929 // check ain1 9930 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 9931 throw new RSRuntimeException("Type mismatch with I32_4!"); 9932 } 9933 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9934 aout.setAutoPadding(true); 9935 reduce(mExportReduceIdx_my_int4_2, new Allocation[]{ain1}, aout, sc); 9936 return new result_int(aout); 9937 } 9938 9939 private final static int mExportReduceIdx_my_int4_3 = 275; 9940 // in1 = "in", flattened 4-vectors 9941 public result_int reduce_my_int4_3(int[] in1) { 9942 // Verify that "in1" is non-null. 9943 if (in1 == null) { 9944 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9945 } 9946 // Verify that the array length is a multiple of the vector size. 9947 if (in1.length % 4 != 0) { 9948 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9949 } 9950 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9951 ain1.setAutoPadding(true); 9952 ain1.copyFrom(in1); 9953 9954 result_int result = reduce_my_int4_3(ain1, null); 9955 result.mTempIns = new Allocation[]{ain1}; 9956 return result; 9957 } 9958 9959 // ain1 = "int4 in" 9960 public result_int reduce_my_int4_3(Allocation ain1) { 9961 return reduce_my_int4_3(ain1, null); 9962 } 9963 9964 // ain1 = "int4 in" 9965 public result_int reduce_my_int4_3(Allocation ain1, Script.LaunchOptions sc) { 9966 // check ain1 9967 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 9968 throw new RSRuntimeException("Type mismatch with I32_4!"); 9969 } 9970 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9971 aout.setAutoPadding(true); 9972 reduce(mExportReduceIdx_my_int4_3, new Allocation[]{ain1}, aout, sc); 9973 return new result_int(aout); 9974 } 9975 9976 private final static int mExportReduceIdx_my_int4_4 = 276; 9977 // in1 = "in", flattened 4-vectors 9978 public result_int reduce_my_int4_4(int[] in1) { 9979 // Verify that "in1" is non-null. 9980 if (in1 == null) { 9981 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9982 } 9983 // Verify that the array length is a multiple of the vector size. 9984 if (in1.length % 4 != 0) { 9985 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9986 } 9987 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9988 ain1.setAutoPadding(true); 9989 ain1.copyFrom(in1); 9990 9991 result_int result = reduce_my_int4_4(ain1, null); 9992 result.mTempIns = new Allocation[]{ain1}; 9993 return result; 9994 } 9995 9996 // ain1 = "int4 in" 9997 public result_int reduce_my_int4_4(Allocation ain1) { 9998 return reduce_my_int4_4(ain1, null); 9999 } 10000 10001 // ain1 = "int4 in" 10002 public result_int reduce_my_int4_4(Allocation ain1, Script.LaunchOptions sc) { 10003 // check ain1 10004 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10005 throw new RSRuntimeException("Type mismatch with I32_4!"); 10006 } 10007 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10008 aout.setAutoPadding(true); 10009 reduce(mExportReduceIdx_my_int4_4, new Allocation[]{ain1}, aout, sc); 10010 return new result_int(aout); 10011 } 10012 10013 private final static int mExportReduceIdx_my_int4_5 = 277; 10014 // in1 = "in", flattened 4-vectors 10015 public result_int reduce_my_int4_5(int[] in1) { 10016 // Verify that "in1" is non-null. 10017 if (in1 == null) { 10018 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10019 } 10020 // Verify that the array length is a multiple of the vector size. 10021 if (in1.length % 4 != 0) { 10022 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10023 } 10024 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10025 ain1.setAutoPadding(true); 10026 ain1.copyFrom(in1); 10027 10028 result_int result = reduce_my_int4_5(ain1, null); 10029 result.mTempIns = new Allocation[]{ain1}; 10030 return result; 10031 } 10032 10033 // ain1 = "int4 in" 10034 public result_int reduce_my_int4_5(Allocation ain1) { 10035 return reduce_my_int4_5(ain1, null); 10036 } 10037 10038 // ain1 = "int4 in" 10039 public result_int reduce_my_int4_5(Allocation ain1, Script.LaunchOptions sc) { 10040 // check ain1 10041 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10042 throw new RSRuntimeException("Type mismatch with I32_4!"); 10043 } 10044 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10045 aout.setAutoPadding(true); 10046 reduce(mExportReduceIdx_my_int4_5, new Allocation[]{ain1}, aout, sc); 10047 return new result_int(aout); 10048 } 10049 10050 private final static int mExportReduceIdx_my_int4_6 = 278; 10051 // in1 = "in", flattened 4-vectors 10052 public result_int reduce_my_int4_6(int[] in1) { 10053 // Verify that "in1" is non-null. 10054 if (in1 == null) { 10055 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10056 } 10057 // Verify that the array length is a multiple of the vector size. 10058 if (in1.length % 4 != 0) { 10059 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10060 } 10061 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10062 ain1.setAutoPadding(true); 10063 ain1.copyFrom(in1); 10064 10065 result_int result = reduce_my_int4_6(ain1, null); 10066 result.mTempIns = new Allocation[]{ain1}; 10067 return result; 10068 } 10069 10070 // ain1 = "int4 in" 10071 public result_int reduce_my_int4_6(Allocation ain1) { 10072 return reduce_my_int4_6(ain1, null); 10073 } 10074 10075 // ain1 = "int4 in" 10076 public result_int reduce_my_int4_6(Allocation ain1, Script.LaunchOptions sc) { 10077 // check ain1 10078 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10079 throw new RSRuntimeException("Type mismatch with I32_4!"); 10080 } 10081 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10082 aout.setAutoPadding(true); 10083 reduce(mExportReduceIdx_my_int4_6, new Allocation[]{ain1}, aout, sc); 10084 return new result_int(aout); 10085 } 10086 10087 private final static int mExportReduceIdx_my_int4_7 = 279; 10088 // in1 = "in", flattened 4-vectors 10089 public result_int reduce_my_int4_7(int[] in1) { 10090 // Verify that "in1" is non-null. 10091 if (in1 == null) { 10092 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10093 } 10094 // Verify that the array length is a multiple of the vector size. 10095 if (in1.length % 4 != 0) { 10096 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10097 } 10098 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10099 ain1.setAutoPadding(true); 10100 ain1.copyFrom(in1); 10101 10102 result_int result = reduce_my_int4_7(ain1, null); 10103 result.mTempIns = new Allocation[]{ain1}; 10104 return result; 10105 } 10106 10107 // ain1 = "int4 in" 10108 public result_int reduce_my_int4_7(Allocation ain1) { 10109 return reduce_my_int4_7(ain1, null); 10110 } 10111 10112 // ain1 = "int4 in" 10113 public result_int reduce_my_int4_7(Allocation ain1, Script.LaunchOptions sc) { 10114 // check ain1 10115 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10116 throw new RSRuntimeException("Type mismatch with I32_4!"); 10117 } 10118 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10119 aout.setAutoPadding(true); 10120 reduce(mExportReduceIdx_my_int4_7, new Allocation[]{ain1}, aout, sc); 10121 return new result_int(aout); 10122 } 10123 10124 private final static int mExportReduceIdx_my_int4_8 = 280; 10125 // in1 = "in", flattened 4-vectors 10126 public result_int reduce_my_int4_8(int[] in1) { 10127 // Verify that "in1" is non-null. 10128 if (in1 == null) { 10129 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10130 } 10131 // Verify that the array length is a multiple of the vector size. 10132 if (in1.length % 4 != 0) { 10133 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10134 } 10135 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10136 ain1.setAutoPadding(true); 10137 ain1.copyFrom(in1); 10138 10139 result_int result = reduce_my_int4_8(ain1, null); 10140 result.mTempIns = new Allocation[]{ain1}; 10141 return result; 10142 } 10143 10144 // ain1 = "int4 in" 10145 public result_int reduce_my_int4_8(Allocation ain1) { 10146 return reduce_my_int4_8(ain1, null); 10147 } 10148 10149 // ain1 = "int4 in" 10150 public result_int reduce_my_int4_8(Allocation ain1, Script.LaunchOptions sc) { 10151 // check ain1 10152 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10153 throw new RSRuntimeException("Type mismatch with I32_4!"); 10154 } 10155 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10156 aout.setAutoPadding(true); 10157 reduce(mExportReduceIdx_my_int4_8, new Allocation[]{ain1}, aout, sc); 10158 return new result_int(aout); 10159 } 10160 10161 private final static int mExportReduceIdx_my_int4_9 = 281; 10162 // in1 = "in", flattened 4-vectors 10163 public result_int reduce_my_int4_9(int[] in1) { 10164 // Verify that "in1" is non-null. 10165 if (in1 == null) { 10166 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10167 } 10168 // Verify that the array length is a multiple of the vector size. 10169 if (in1.length % 4 != 0) { 10170 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10171 } 10172 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10173 ain1.setAutoPadding(true); 10174 ain1.copyFrom(in1); 10175 10176 result_int result = reduce_my_int4_9(ain1, null); 10177 result.mTempIns = new Allocation[]{ain1}; 10178 return result; 10179 } 10180 10181 // ain1 = "int4 in" 10182 public result_int reduce_my_int4_9(Allocation ain1) { 10183 return reduce_my_int4_9(ain1, null); 10184 } 10185 10186 // ain1 = "int4 in" 10187 public result_int reduce_my_int4_9(Allocation ain1, Script.LaunchOptions sc) { 10188 // check ain1 10189 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10190 throw new RSRuntimeException("Type mismatch with I32_4!"); 10191 } 10192 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10193 aout.setAutoPadding(true); 10194 reduce(mExportReduceIdx_my_int4_9, new Allocation[]{ain1}, aout, sc); 10195 return new result_int(aout); 10196 } 10197 10198 private final static int mExportReduceIdx_my_int4_10 = 282; 10199 // in1 = "in", flattened 4-vectors 10200 public result_int reduce_my_int4_10(int[] in1) { 10201 // Verify that "in1" is non-null. 10202 if (in1 == null) { 10203 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10204 } 10205 // Verify that the array length is a multiple of the vector size. 10206 if (in1.length % 4 != 0) { 10207 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10208 } 10209 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10210 ain1.setAutoPadding(true); 10211 ain1.copyFrom(in1); 10212 10213 result_int result = reduce_my_int4_10(ain1, null); 10214 result.mTempIns = new Allocation[]{ain1}; 10215 return result; 10216 } 10217 10218 // ain1 = "int4 in" 10219 public result_int reduce_my_int4_10(Allocation ain1) { 10220 return reduce_my_int4_10(ain1, null); 10221 } 10222 10223 // ain1 = "int4 in" 10224 public result_int reduce_my_int4_10(Allocation ain1, Script.LaunchOptions sc) { 10225 // check ain1 10226 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10227 throw new RSRuntimeException("Type mismatch with I32_4!"); 10228 } 10229 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10230 aout.setAutoPadding(true); 10231 reduce(mExportReduceIdx_my_int4_10, new Allocation[]{ain1}, aout, sc); 10232 return new result_int(aout); 10233 } 10234 10235 private final static int mExportReduceIdx_my_int4_11 = 283; 10236 // in1 = "in", flattened 4-vectors 10237 public result_int reduce_my_int4_11(int[] in1) { 10238 // Verify that "in1" is non-null. 10239 if (in1 == null) { 10240 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10241 } 10242 // Verify that the array length is a multiple of the vector size. 10243 if (in1.length % 4 != 0) { 10244 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10245 } 10246 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10247 ain1.setAutoPadding(true); 10248 ain1.copyFrom(in1); 10249 10250 result_int result = reduce_my_int4_11(ain1, null); 10251 result.mTempIns = new Allocation[]{ain1}; 10252 return result; 10253 } 10254 10255 // ain1 = "int4 in" 10256 public result_int reduce_my_int4_11(Allocation ain1) { 10257 return reduce_my_int4_11(ain1, null); 10258 } 10259 10260 // ain1 = "int4 in" 10261 public result_int reduce_my_int4_11(Allocation ain1, Script.LaunchOptions sc) { 10262 // check ain1 10263 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10264 throw new RSRuntimeException("Type mismatch with I32_4!"); 10265 } 10266 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10267 aout.setAutoPadding(true); 10268 reduce(mExportReduceIdx_my_int4_11, new Allocation[]{ain1}, aout, sc); 10269 return new result_int(aout); 10270 } 10271 10272 private final static int mExportReduceIdx_my_int4_12 = 284; 10273 // in1 = "in", flattened 4-vectors 10274 public result_int reduce_my_int4_12(int[] in1) { 10275 // Verify that "in1" is non-null. 10276 if (in1 == null) { 10277 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10278 } 10279 // Verify that the array length is a multiple of the vector size. 10280 if (in1.length % 4 != 0) { 10281 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10282 } 10283 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10284 ain1.setAutoPadding(true); 10285 ain1.copyFrom(in1); 10286 10287 result_int result = reduce_my_int4_12(ain1, null); 10288 result.mTempIns = new Allocation[]{ain1}; 10289 return result; 10290 } 10291 10292 // ain1 = "int4 in" 10293 public result_int reduce_my_int4_12(Allocation ain1) { 10294 return reduce_my_int4_12(ain1, null); 10295 } 10296 10297 // ain1 = "int4 in" 10298 public result_int reduce_my_int4_12(Allocation ain1, Script.LaunchOptions sc) { 10299 // check ain1 10300 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10301 throw new RSRuntimeException("Type mismatch with I32_4!"); 10302 } 10303 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10304 aout.setAutoPadding(true); 10305 reduce(mExportReduceIdx_my_int4_12, new Allocation[]{ain1}, aout, sc); 10306 return new result_int(aout); 10307 } 10308 10309 private final static int mExportReduceIdx_my_int4_13 = 285; 10310 // in1 = "in", flattened 4-vectors 10311 public result_int reduce_my_int4_13(int[] in1) { 10312 // Verify that "in1" is non-null. 10313 if (in1 == null) { 10314 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10315 } 10316 // Verify that the array length is a multiple of the vector size. 10317 if (in1.length % 4 != 0) { 10318 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10319 } 10320 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10321 ain1.setAutoPadding(true); 10322 ain1.copyFrom(in1); 10323 10324 result_int result = reduce_my_int4_13(ain1, null); 10325 result.mTempIns = new Allocation[]{ain1}; 10326 return result; 10327 } 10328 10329 // ain1 = "int4 in" 10330 public result_int reduce_my_int4_13(Allocation ain1) { 10331 return reduce_my_int4_13(ain1, null); 10332 } 10333 10334 // ain1 = "int4 in" 10335 public result_int reduce_my_int4_13(Allocation ain1, Script.LaunchOptions sc) { 10336 // check ain1 10337 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10338 throw new RSRuntimeException("Type mismatch with I32_4!"); 10339 } 10340 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10341 aout.setAutoPadding(true); 10342 reduce(mExportReduceIdx_my_int4_13, new Allocation[]{ain1}, aout, sc); 10343 return new result_int(aout); 10344 } 10345 10346 private final static int mExportReduceIdx_my_int4_14 = 286; 10347 // in1 = "in", flattened 4-vectors 10348 public result_int reduce_my_int4_14(int[] in1) { 10349 // Verify that "in1" is non-null. 10350 if (in1 == null) { 10351 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10352 } 10353 // Verify that the array length is a multiple of the vector size. 10354 if (in1.length % 4 != 0) { 10355 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10356 } 10357 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10358 ain1.setAutoPadding(true); 10359 ain1.copyFrom(in1); 10360 10361 result_int result = reduce_my_int4_14(ain1, null); 10362 result.mTempIns = new Allocation[]{ain1}; 10363 return result; 10364 } 10365 10366 // ain1 = "int4 in" 10367 public result_int reduce_my_int4_14(Allocation ain1) { 10368 return reduce_my_int4_14(ain1, null); 10369 } 10370 10371 // ain1 = "int4 in" 10372 public result_int reduce_my_int4_14(Allocation ain1, Script.LaunchOptions sc) { 10373 // check ain1 10374 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10375 throw new RSRuntimeException("Type mismatch with I32_4!"); 10376 } 10377 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10378 aout.setAutoPadding(true); 10379 reduce(mExportReduceIdx_my_int4_14, new Allocation[]{ain1}, aout, sc); 10380 return new result_int(aout); 10381 } 10382 10383 private final static int mExportReduceIdx_my_int4_15 = 287; 10384 // in1 = "in", flattened 4-vectors 10385 public result_int reduce_my_int4_15(int[] in1) { 10386 // Verify that "in1" is non-null. 10387 if (in1 == null) { 10388 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10389 } 10390 // Verify that the array length is a multiple of the vector size. 10391 if (in1.length % 4 != 0) { 10392 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10393 } 10394 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10395 ain1.setAutoPadding(true); 10396 ain1.copyFrom(in1); 10397 10398 result_int result = reduce_my_int4_15(ain1, null); 10399 result.mTempIns = new Allocation[]{ain1}; 10400 return result; 10401 } 10402 10403 // ain1 = "int4 in" 10404 public result_int reduce_my_int4_15(Allocation ain1) { 10405 return reduce_my_int4_15(ain1, null); 10406 } 10407 10408 // ain1 = "int4 in" 10409 public result_int reduce_my_int4_15(Allocation ain1, Script.LaunchOptions sc) { 10410 // check ain1 10411 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10412 throw new RSRuntimeException("Type mismatch with I32_4!"); 10413 } 10414 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10415 aout.setAutoPadding(true); 10416 reduce(mExportReduceIdx_my_int4_15, new Allocation[]{ain1}, aout, sc); 10417 return new result_int(aout); 10418 } 10419 10420 private final static int mExportReduceIdx_my_long_0 = 288; 10421 // in1 = "in" 10422 public result_int reduce_my_long_0(long[] in1) { 10423 // Verify that "in1" is non-null. 10424 if (in1 == null) { 10425 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10426 } 10427 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10428 ain1.setAutoPadding(true); 10429 ain1.copyFrom(in1); 10430 10431 result_int result = reduce_my_long_0(ain1, null); 10432 result.mTempIns = new Allocation[]{ain1}; 10433 return result; 10434 } 10435 10436 // ain1 = "long in" 10437 public result_int reduce_my_long_0(Allocation ain1) { 10438 return reduce_my_long_0(ain1, null); 10439 } 10440 10441 // ain1 = "long in" 10442 public result_int reduce_my_long_0(Allocation ain1, Script.LaunchOptions sc) { 10443 // check ain1 10444 if (!ain1.getType().getElement().isCompatible(__I64)) { 10445 throw new RSRuntimeException("Type mismatch with I64!"); 10446 } 10447 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10448 aout.setAutoPadding(true); 10449 reduce(mExportReduceIdx_my_long_0, new Allocation[]{ain1}, aout, sc); 10450 return new result_int(aout); 10451 } 10452 10453 private final static int mExportReduceIdx_my_long_1 = 289; 10454 // in1 = "in" 10455 public result_int reduce_my_long_1(long[] in1) { 10456 // Verify that "in1" is non-null. 10457 if (in1 == null) { 10458 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10459 } 10460 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10461 ain1.setAutoPadding(true); 10462 ain1.copyFrom(in1); 10463 10464 result_int result = reduce_my_long_1(ain1, null); 10465 result.mTempIns = new Allocation[]{ain1}; 10466 return result; 10467 } 10468 10469 // ain1 = "long in" 10470 public result_int reduce_my_long_1(Allocation ain1) { 10471 return reduce_my_long_1(ain1, null); 10472 } 10473 10474 // ain1 = "long in" 10475 public result_int reduce_my_long_1(Allocation ain1, Script.LaunchOptions sc) { 10476 // check ain1 10477 if (!ain1.getType().getElement().isCompatible(__I64)) { 10478 throw new RSRuntimeException("Type mismatch with I64!"); 10479 } 10480 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10481 aout.setAutoPadding(true); 10482 reduce(mExportReduceIdx_my_long_1, new Allocation[]{ain1}, aout, sc); 10483 return new result_int(aout); 10484 } 10485 10486 private final static int mExportReduceIdx_my_long_2 = 290; 10487 // in1 = "in" 10488 public result_int reduce_my_long_2(long[] in1) { 10489 // Verify that "in1" is non-null. 10490 if (in1 == null) { 10491 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10492 } 10493 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10494 ain1.setAutoPadding(true); 10495 ain1.copyFrom(in1); 10496 10497 result_int result = reduce_my_long_2(ain1, null); 10498 result.mTempIns = new Allocation[]{ain1}; 10499 return result; 10500 } 10501 10502 // ain1 = "long in" 10503 public result_int reduce_my_long_2(Allocation ain1) { 10504 return reduce_my_long_2(ain1, null); 10505 } 10506 10507 // ain1 = "long in" 10508 public result_int reduce_my_long_2(Allocation ain1, Script.LaunchOptions sc) { 10509 // check ain1 10510 if (!ain1.getType().getElement().isCompatible(__I64)) { 10511 throw new RSRuntimeException("Type mismatch with I64!"); 10512 } 10513 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10514 aout.setAutoPadding(true); 10515 reduce(mExportReduceIdx_my_long_2, new Allocation[]{ain1}, aout, sc); 10516 return new result_int(aout); 10517 } 10518 10519 private final static int mExportReduceIdx_my_long_3 = 291; 10520 // in1 = "in" 10521 public result_int reduce_my_long_3(long[] in1) { 10522 // Verify that "in1" is non-null. 10523 if (in1 == null) { 10524 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10525 } 10526 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10527 ain1.setAutoPadding(true); 10528 ain1.copyFrom(in1); 10529 10530 result_int result = reduce_my_long_3(ain1, null); 10531 result.mTempIns = new Allocation[]{ain1}; 10532 return result; 10533 } 10534 10535 // ain1 = "long in" 10536 public result_int reduce_my_long_3(Allocation ain1) { 10537 return reduce_my_long_3(ain1, null); 10538 } 10539 10540 // ain1 = "long in" 10541 public result_int reduce_my_long_3(Allocation ain1, Script.LaunchOptions sc) { 10542 // check ain1 10543 if (!ain1.getType().getElement().isCompatible(__I64)) { 10544 throw new RSRuntimeException("Type mismatch with I64!"); 10545 } 10546 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10547 aout.setAutoPadding(true); 10548 reduce(mExportReduceIdx_my_long_3, new Allocation[]{ain1}, aout, sc); 10549 return new result_int(aout); 10550 } 10551 10552 private final static int mExportReduceIdx_my_long_4 = 292; 10553 // in1 = "in" 10554 public result_int reduce_my_long_4(long[] in1) { 10555 // Verify that "in1" is non-null. 10556 if (in1 == null) { 10557 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10558 } 10559 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10560 ain1.setAutoPadding(true); 10561 ain1.copyFrom(in1); 10562 10563 result_int result = reduce_my_long_4(ain1, null); 10564 result.mTempIns = new Allocation[]{ain1}; 10565 return result; 10566 } 10567 10568 // ain1 = "long in" 10569 public result_int reduce_my_long_4(Allocation ain1) { 10570 return reduce_my_long_4(ain1, null); 10571 } 10572 10573 // ain1 = "long in" 10574 public result_int reduce_my_long_4(Allocation ain1, Script.LaunchOptions sc) { 10575 // check ain1 10576 if (!ain1.getType().getElement().isCompatible(__I64)) { 10577 throw new RSRuntimeException("Type mismatch with I64!"); 10578 } 10579 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10580 aout.setAutoPadding(true); 10581 reduce(mExportReduceIdx_my_long_4, new Allocation[]{ain1}, aout, sc); 10582 return new result_int(aout); 10583 } 10584 10585 private final static int mExportReduceIdx_my_long_5 = 293; 10586 // in1 = "in" 10587 public result_int reduce_my_long_5(long[] in1) { 10588 // Verify that "in1" is non-null. 10589 if (in1 == null) { 10590 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10591 } 10592 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10593 ain1.setAutoPadding(true); 10594 ain1.copyFrom(in1); 10595 10596 result_int result = reduce_my_long_5(ain1, null); 10597 result.mTempIns = new Allocation[]{ain1}; 10598 return result; 10599 } 10600 10601 // ain1 = "long in" 10602 public result_int reduce_my_long_5(Allocation ain1) { 10603 return reduce_my_long_5(ain1, null); 10604 } 10605 10606 // ain1 = "long in" 10607 public result_int reduce_my_long_5(Allocation ain1, Script.LaunchOptions sc) { 10608 // check ain1 10609 if (!ain1.getType().getElement().isCompatible(__I64)) { 10610 throw new RSRuntimeException("Type mismatch with I64!"); 10611 } 10612 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10613 aout.setAutoPadding(true); 10614 reduce(mExportReduceIdx_my_long_5, new Allocation[]{ain1}, aout, sc); 10615 return new result_int(aout); 10616 } 10617 10618 private final static int mExportReduceIdx_my_long_6 = 294; 10619 // in1 = "in" 10620 public result_int reduce_my_long_6(long[] in1) { 10621 // Verify that "in1" is non-null. 10622 if (in1 == null) { 10623 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10624 } 10625 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10626 ain1.setAutoPadding(true); 10627 ain1.copyFrom(in1); 10628 10629 result_int result = reduce_my_long_6(ain1, null); 10630 result.mTempIns = new Allocation[]{ain1}; 10631 return result; 10632 } 10633 10634 // ain1 = "long in" 10635 public result_int reduce_my_long_6(Allocation ain1) { 10636 return reduce_my_long_6(ain1, null); 10637 } 10638 10639 // ain1 = "long in" 10640 public result_int reduce_my_long_6(Allocation ain1, Script.LaunchOptions sc) { 10641 // check ain1 10642 if (!ain1.getType().getElement().isCompatible(__I64)) { 10643 throw new RSRuntimeException("Type mismatch with I64!"); 10644 } 10645 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10646 aout.setAutoPadding(true); 10647 reduce(mExportReduceIdx_my_long_6, new Allocation[]{ain1}, aout, sc); 10648 return new result_int(aout); 10649 } 10650 10651 private final static int mExportReduceIdx_my_long_7 = 295; 10652 // in1 = "in" 10653 public result_int reduce_my_long_7(long[] in1) { 10654 // Verify that "in1" is non-null. 10655 if (in1 == null) { 10656 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10657 } 10658 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10659 ain1.setAutoPadding(true); 10660 ain1.copyFrom(in1); 10661 10662 result_int result = reduce_my_long_7(ain1, null); 10663 result.mTempIns = new Allocation[]{ain1}; 10664 return result; 10665 } 10666 10667 // ain1 = "long in" 10668 public result_int reduce_my_long_7(Allocation ain1) { 10669 return reduce_my_long_7(ain1, null); 10670 } 10671 10672 // ain1 = "long in" 10673 public result_int reduce_my_long_7(Allocation ain1, Script.LaunchOptions sc) { 10674 // check ain1 10675 if (!ain1.getType().getElement().isCompatible(__I64)) { 10676 throw new RSRuntimeException("Type mismatch with I64!"); 10677 } 10678 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10679 aout.setAutoPadding(true); 10680 reduce(mExportReduceIdx_my_long_7, new Allocation[]{ain1}, aout, sc); 10681 return new result_int(aout); 10682 } 10683 10684 private final static int mExportReduceIdx_my_long_8 = 296; 10685 // in1 = "in" 10686 public result_int reduce_my_long_8(long[] in1) { 10687 // Verify that "in1" is non-null. 10688 if (in1 == null) { 10689 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10690 } 10691 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10692 ain1.setAutoPadding(true); 10693 ain1.copyFrom(in1); 10694 10695 result_int result = reduce_my_long_8(ain1, null); 10696 result.mTempIns = new Allocation[]{ain1}; 10697 return result; 10698 } 10699 10700 // ain1 = "long in" 10701 public result_int reduce_my_long_8(Allocation ain1) { 10702 return reduce_my_long_8(ain1, null); 10703 } 10704 10705 // ain1 = "long in" 10706 public result_int reduce_my_long_8(Allocation ain1, Script.LaunchOptions sc) { 10707 // check ain1 10708 if (!ain1.getType().getElement().isCompatible(__I64)) { 10709 throw new RSRuntimeException("Type mismatch with I64!"); 10710 } 10711 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10712 aout.setAutoPadding(true); 10713 reduce(mExportReduceIdx_my_long_8, new Allocation[]{ain1}, aout, sc); 10714 return new result_int(aout); 10715 } 10716 10717 private final static int mExportReduceIdx_my_long_9 = 297; 10718 // in1 = "in" 10719 public result_int reduce_my_long_9(long[] in1) { 10720 // Verify that "in1" is non-null. 10721 if (in1 == null) { 10722 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10723 } 10724 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10725 ain1.setAutoPadding(true); 10726 ain1.copyFrom(in1); 10727 10728 result_int result = reduce_my_long_9(ain1, null); 10729 result.mTempIns = new Allocation[]{ain1}; 10730 return result; 10731 } 10732 10733 // ain1 = "long in" 10734 public result_int reduce_my_long_9(Allocation ain1) { 10735 return reduce_my_long_9(ain1, null); 10736 } 10737 10738 // ain1 = "long in" 10739 public result_int reduce_my_long_9(Allocation ain1, Script.LaunchOptions sc) { 10740 // check ain1 10741 if (!ain1.getType().getElement().isCompatible(__I64)) { 10742 throw new RSRuntimeException("Type mismatch with I64!"); 10743 } 10744 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10745 aout.setAutoPadding(true); 10746 reduce(mExportReduceIdx_my_long_9, new Allocation[]{ain1}, aout, sc); 10747 return new result_int(aout); 10748 } 10749 10750 private final static int mExportReduceIdx_my_long_10 = 298; 10751 // in1 = "in" 10752 public result_int reduce_my_long_10(long[] in1) { 10753 // Verify that "in1" is non-null. 10754 if (in1 == null) { 10755 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10756 } 10757 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10758 ain1.setAutoPadding(true); 10759 ain1.copyFrom(in1); 10760 10761 result_int result = reduce_my_long_10(ain1, null); 10762 result.mTempIns = new Allocation[]{ain1}; 10763 return result; 10764 } 10765 10766 // ain1 = "long in" 10767 public result_int reduce_my_long_10(Allocation ain1) { 10768 return reduce_my_long_10(ain1, null); 10769 } 10770 10771 // ain1 = "long in" 10772 public result_int reduce_my_long_10(Allocation ain1, Script.LaunchOptions sc) { 10773 // check ain1 10774 if (!ain1.getType().getElement().isCompatible(__I64)) { 10775 throw new RSRuntimeException("Type mismatch with I64!"); 10776 } 10777 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10778 aout.setAutoPadding(true); 10779 reduce(mExportReduceIdx_my_long_10, new Allocation[]{ain1}, aout, sc); 10780 return new result_int(aout); 10781 } 10782 10783 private final static int mExportReduceIdx_my_long_11 = 299; 10784 // in1 = "in" 10785 public result_int reduce_my_long_11(long[] in1) { 10786 // Verify that "in1" is non-null. 10787 if (in1 == null) { 10788 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10789 } 10790 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10791 ain1.setAutoPadding(true); 10792 ain1.copyFrom(in1); 10793 10794 result_int result = reduce_my_long_11(ain1, null); 10795 result.mTempIns = new Allocation[]{ain1}; 10796 return result; 10797 } 10798 10799 // ain1 = "long in" 10800 public result_int reduce_my_long_11(Allocation ain1) { 10801 return reduce_my_long_11(ain1, null); 10802 } 10803 10804 // ain1 = "long in" 10805 public result_int reduce_my_long_11(Allocation ain1, Script.LaunchOptions sc) { 10806 // check ain1 10807 if (!ain1.getType().getElement().isCompatible(__I64)) { 10808 throw new RSRuntimeException("Type mismatch with I64!"); 10809 } 10810 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10811 aout.setAutoPadding(true); 10812 reduce(mExportReduceIdx_my_long_11, new Allocation[]{ain1}, aout, sc); 10813 return new result_int(aout); 10814 } 10815 10816 private final static int mExportReduceIdx_my_long_12 = 300; 10817 // in1 = "in" 10818 public result_int reduce_my_long_12(long[] in1) { 10819 // Verify that "in1" is non-null. 10820 if (in1 == null) { 10821 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10822 } 10823 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10824 ain1.setAutoPadding(true); 10825 ain1.copyFrom(in1); 10826 10827 result_int result = reduce_my_long_12(ain1, null); 10828 result.mTempIns = new Allocation[]{ain1}; 10829 return result; 10830 } 10831 10832 // ain1 = "long in" 10833 public result_int reduce_my_long_12(Allocation ain1) { 10834 return reduce_my_long_12(ain1, null); 10835 } 10836 10837 // ain1 = "long in" 10838 public result_int reduce_my_long_12(Allocation ain1, Script.LaunchOptions sc) { 10839 // check ain1 10840 if (!ain1.getType().getElement().isCompatible(__I64)) { 10841 throw new RSRuntimeException("Type mismatch with I64!"); 10842 } 10843 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10844 aout.setAutoPadding(true); 10845 reduce(mExportReduceIdx_my_long_12, new Allocation[]{ain1}, aout, sc); 10846 return new result_int(aout); 10847 } 10848 10849 private final static int mExportReduceIdx_my_long_13 = 301; 10850 // in1 = "in" 10851 public result_int reduce_my_long_13(long[] in1) { 10852 // Verify that "in1" is non-null. 10853 if (in1 == null) { 10854 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10855 } 10856 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10857 ain1.setAutoPadding(true); 10858 ain1.copyFrom(in1); 10859 10860 result_int result = reduce_my_long_13(ain1, null); 10861 result.mTempIns = new Allocation[]{ain1}; 10862 return result; 10863 } 10864 10865 // ain1 = "long in" 10866 public result_int reduce_my_long_13(Allocation ain1) { 10867 return reduce_my_long_13(ain1, null); 10868 } 10869 10870 // ain1 = "long in" 10871 public result_int reduce_my_long_13(Allocation ain1, Script.LaunchOptions sc) { 10872 // check ain1 10873 if (!ain1.getType().getElement().isCompatible(__I64)) { 10874 throw new RSRuntimeException("Type mismatch with I64!"); 10875 } 10876 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10877 aout.setAutoPadding(true); 10878 reduce(mExportReduceIdx_my_long_13, new Allocation[]{ain1}, aout, sc); 10879 return new result_int(aout); 10880 } 10881 10882 private final static int mExportReduceIdx_my_long_14 = 302; 10883 // in1 = "in" 10884 public result_int reduce_my_long_14(long[] in1) { 10885 // Verify that "in1" is non-null. 10886 if (in1 == null) { 10887 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10888 } 10889 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10890 ain1.setAutoPadding(true); 10891 ain1.copyFrom(in1); 10892 10893 result_int result = reduce_my_long_14(ain1, null); 10894 result.mTempIns = new Allocation[]{ain1}; 10895 return result; 10896 } 10897 10898 // ain1 = "long in" 10899 public result_int reduce_my_long_14(Allocation ain1) { 10900 return reduce_my_long_14(ain1, null); 10901 } 10902 10903 // ain1 = "long in" 10904 public result_int reduce_my_long_14(Allocation ain1, Script.LaunchOptions sc) { 10905 // check ain1 10906 if (!ain1.getType().getElement().isCompatible(__I64)) { 10907 throw new RSRuntimeException("Type mismatch with I64!"); 10908 } 10909 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10910 aout.setAutoPadding(true); 10911 reduce(mExportReduceIdx_my_long_14, new Allocation[]{ain1}, aout, sc); 10912 return new result_int(aout); 10913 } 10914 10915 private final static int mExportReduceIdx_my_long_15 = 303; 10916 // in1 = "in" 10917 public result_int reduce_my_long_15(long[] in1) { 10918 // Verify that "in1" is non-null. 10919 if (in1 == null) { 10920 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10921 } 10922 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10923 ain1.setAutoPadding(true); 10924 ain1.copyFrom(in1); 10925 10926 result_int result = reduce_my_long_15(ain1, null); 10927 result.mTempIns = new Allocation[]{ain1}; 10928 return result; 10929 } 10930 10931 // ain1 = "long in" 10932 public result_int reduce_my_long_15(Allocation ain1) { 10933 return reduce_my_long_15(ain1, null); 10934 } 10935 10936 // ain1 = "long in" 10937 public result_int reduce_my_long_15(Allocation ain1, Script.LaunchOptions sc) { 10938 // check ain1 10939 if (!ain1.getType().getElement().isCompatible(__I64)) { 10940 throw new RSRuntimeException("Type mismatch with I64!"); 10941 } 10942 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10943 aout.setAutoPadding(true); 10944 reduce(mExportReduceIdx_my_long_15, new Allocation[]{ain1}, aout, sc); 10945 return new result_int(aout); 10946 } 10947 10948 private final static int mExportReduceIdx_my_long2_0 = 304; 10949 // in1 = "in", flattened 2-vectors 10950 public result_int reduce_my_long2_0(long[] in1) { 10951 // Verify that "in1" is non-null. 10952 if (in1 == null) { 10953 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10954 } 10955 // Verify that the array length is a multiple of the vector size. 10956 if (in1.length % 2 != 0) { 10957 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 10958 } 10959 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 10960 ain1.setAutoPadding(true); 10961 ain1.copyFrom(in1); 10962 10963 result_int result = reduce_my_long2_0(ain1, null); 10964 result.mTempIns = new Allocation[]{ain1}; 10965 return result; 10966 } 10967 10968 // ain1 = "long2 in" 10969 public result_int reduce_my_long2_0(Allocation ain1) { 10970 return reduce_my_long2_0(ain1, null); 10971 } 10972 10973 // ain1 = "long2 in" 10974 public result_int reduce_my_long2_0(Allocation ain1, Script.LaunchOptions sc) { 10975 // check ain1 10976 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 10977 throw new RSRuntimeException("Type mismatch with I64_2!"); 10978 } 10979 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10980 aout.setAutoPadding(true); 10981 reduce(mExportReduceIdx_my_long2_0, new Allocation[]{ain1}, aout, sc); 10982 return new result_int(aout); 10983 } 10984 10985 private final static int mExportReduceIdx_my_long2_1 = 305; 10986 // in1 = "in", flattened 2-vectors 10987 public result_int reduce_my_long2_1(long[] in1) { 10988 // Verify that "in1" is non-null. 10989 if (in1 == null) { 10990 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10991 } 10992 // Verify that the array length is a multiple of the vector size. 10993 if (in1.length % 2 != 0) { 10994 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 10995 } 10996 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 10997 ain1.setAutoPadding(true); 10998 ain1.copyFrom(in1); 10999 11000 result_int result = reduce_my_long2_1(ain1, null); 11001 result.mTempIns = new Allocation[]{ain1}; 11002 return result; 11003 } 11004 11005 // ain1 = "long2 in" 11006 public result_int reduce_my_long2_1(Allocation ain1) { 11007 return reduce_my_long2_1(ain1, null); 11008 } 11009 11010 // ain1 = "long2 in" 11011 public result_int reduce_my_long2_1(Allocation ain1, Script.LaunchOptions sc) { 11012 // check ain1 11013 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11014 throw new RSRuntimeException("Type mismatch with I64_2!"); 11015 } 11016 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11017 aout.setAutoPadding(true); 11018 reduce(mExportReduceIdx_my_long2_1, new Allocation[]{ain1}, aout, sc); 11019 return new result_int(aout); 11020 } 11021 11022 private final static int mExportReduceIdx_my_long2_2 = 306; 11023 // in1 = "in", flattened 2-vectors 11024 public result_int reduce_my_long2_2(long[] in1) { 11025 // Verify that "in1" is non-null. 11026 if (in1 == null) { 11027 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11028 } 11029 // Verify that the array length is a multiple of the vector size. 11030 if (in1.length % 2 != 0) { 11031 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11032 } 11033 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11034 ain1.setAutoPadding(true); 11035 ain1.copyFrom(in1); 11036 11037 result_int result = reduce_my_long2_2(ain1, null); 11038 result.mTempIns = new Allocation[]{ain1}; 11039 return result; 11040 } 11041 11042 // ain1 = "long2 in" 11043 public result_int reduce_my_long2_2(Allocation ain1) { 11044 return reduce_my_long2_2(ain1, null); 11045 } 11046 11047 // ain1 = "long2 in" 11048 public result_int reduce_my_long2_2(Allocation ain1, Script.LaunchOptions sc) { 11049 // check ain1 11050 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11051 throw new RSRuntimeException("Type mismatch with I64_2!"); 11052 } 11053 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11054 aout.setAutoPadding(true); 11055 reduce(mExportReduceIdx_my_long2_2, new Allocation[]{ain1}, aout, sc); 11056 return new result_int(aout); 11057 } 11058 11059 private final static int mExportReduceIdx_my_long2_3 = 307; 11060 // in1 = "in", flattened 2-vectors 11061 public result_int reduce_my_long2_3(long[] in1) { 11062 // Verify that "in1" is non-null. 11063 if (in1 == null) { 11064 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11065 } 11066 // Verify that the array length is a multiple of the vector size. 11067 if (in1.length % 2 != 0) { 11068 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11069 } 11070 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11071 ain1.setAutoPadding(true); 11072 ain1.copyFrom(in1); 11073 11074 result_int result = reduce_my_long2_3(ain1, null); 11075 result.mTempIns = new Allocation[]{ain1}; 11076 return result; 11077 } 11078 11079 // ain1 = "long2 in" 11080 public result_int reduce_my_long2_3(Allocation ain1) { 11081 return reduce_my_long2_3(ain1, null); 11082 } 11083 11084 // ain1 = "long2 in" 11085 public result_int reduce_my_long2_3(Allocation ain1, Script.LaunchOptions sc) { 11086 // check ain1 11087 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11088 throw new RSRuntimeException("Type mismatch with I64_2!"); 11089 } 11090 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11091 aout.setAutoPadding(true); 11092 reduce(mExportReduceIdx_my_long2_3, new Allocation[]{ain1}, aout, sc); 11093 return new result_int(aout); 11094 } 11095 11096 private final static int mExportReduceIdx_my_long2_4 = 308; 11097 // in1 = "in", flattened 2-vectors 11098 public result_int reduce_my_long2_4(long[] in1) { 11099 // Verify that "in1" is non-null. 11100 if (in1 == null) { 11101 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11102 } 11103 // Verify that the array length is a multiple of the vector size. 11104 if (in1.length % 2 != 0) { 11105 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11106 } 11107 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11108 ain1.setAutoPadding(true); 11109 ain1.copyFrom(in1); 11110 11111 result_int result = reduce_my_long2_4(ain1, null); 11112 result.mTempIns = new Allocation[]{ain1}; 11113 return result; 11114 } 11115 11116 // ain1 = "long2 in" 11117 public result_int reduce_my_long2_4(Allocation ain1) { 11118 return reduce_my_long2_4(ain1, null); 11119 } 11120 11121 // ain1 = "long2 in" 11122 public result_int reduce_my_long2_4(Allocation ain1, Script.LaunchOptions sc) { 11123 // check ain1 11124 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11125 throw new RSRuntimeException("Type mismatch with I64_2!"); 11126 } 11127 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11128 aout.setAutoPadding(true); 11129 reduce(mExportReduceIdx_my_long2_4, new Allocation[]{ain1}, aout, sc); 11130 return new result_int(aout); 11131 } 11132 11133 private final static int mExportReduceIdx_my_long2_5 = 309; 11134 // in1 = "in", flattened 2-vectors 11135 public result_int reduce_my_long2_5(long[] in1) { 11136 // Verify that "in1" is non-null. 11137 if (in1 == null) { 11138 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11139 } 11140 // Verify that the array length is a multiple of the vector size. 11141 if (in1.length % 2 != 0) { 11142 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11143 } 11144 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11145 ain1.setAutoPadding(true); 11146 ain1.copyFrom(in1); 11147 11148 result_int result = reduce_my_long2_5(ain1, null); 11149 result.mTempIns = new Allocation[]{ain1}; 11150 return result; 11151 } 11152 11153 // ain1 = "long2 in" 11154 public result_int reduce_my_long2_5(Allocation ain1) { 11155 return reduce_my_long2_5(ain1, null); 11156 } 11157 11158 // ain1 = "long2 in" 11159 public result_int reduce_my_long2_5(Allocation ain1, Script.LaunchOptions sc) { 11160 // check ain1 11161 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11162 throw new RSRuntimeException("Type mismatch with I64_2!"); 11163 } 11164 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11165 aout.setAutoPadding(true); 11166 reduce(mExportReduceIdx_my_long2_5, new Allocation[]{ain1}, aout, sc); 11167 return new result_int(aout); 11168 } 11169 11170 private final static int mExportReduceIdx_my_long2_6 = 310; 11171 // in1 = "in", flattened 2-vectors 11172 public result_int reduce_my_long2_6(long[] in1) { 11173 // Verify that "in1" is non-null. 11174 if (in1 == null) { 11175 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11176 } 11177 // Verify that the array length is a multiple of the vector size. 11178 if (in1.length % 2 != 0) { 11179 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11180 } 11181 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11182 ain1.setAutoPadding(true); 11183 ain1.copyFrom(in1); 11184 11185 result_int result = reduce_my_long2_6(ain1, null); 11186 result.mTempIns = new Allocation[]{ain1}; 11187 return result; 11188 } 11189 11190 // ain1 = "long2 in" 11191 public result_int reduce_my_long2_6(Allocation ain1) { 11192 return reduce_my_long2_6(ain1, null); 11193 } 11194 11195 // ain1 = "long2 in" 11196 public result_int reduce_my_long2_6(Allocation ain1, Script.LaunchOptions sc) { 11197 // check ain1 11198 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11199 throw new RSRuntimeException("Type mismatch with I64_2!"); 11200 } 11201 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11202 aout.setAutoPadding(true); 11203 reduce(mExportReduceIdx_my_long2_6, new Allocation[]{ain1}, aout, sc); 11204 return new result_int(aout); 11205 } 11206 11207 private final static int mExportReduceIdx_my_long2_7 = 311; 11208 // in1 = "in", flattened 2-vectors 11209 public result_int reduce_my_long2_7(long[] in1) { 11210 // Verify that "in1" is non-null. 11211 if (in1 == null) { 11212 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11213 } 11214 // Verify that the array length is a multiple of the vector size. 11215 if (in1.length % 2 != 0) { 11216 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11217 } 11218 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11219 ain1.setAutoPadding(true); 11220 ain1.copyFrom(in1); 11221 11222 result_int result = reduce_my_long2_7(ain1, null); 11223 result.mTempIns = new Allocation[]{ain1}; 11224 return result; 11225 } 11226 11227 // ain1 = "long2 in" 11228 public result_int reduce_my_long2_7(Allocation ain1) { 11229 return reduce_my_long2_7(ain1, null); 11230 } 11231 11232 // ain1 = "long2 in" 11233 public result_int reduce_my_long2_7(Allocation ain1, Script.LaunchOptions sc) { 11234 // check ain1 11235 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11236 throw new RSRuntimeException("Type mismatch with I64_2!"); 11237 } 11238 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11239 aout.setAutoPadding(true); 11240 reduce(mExportReduceIdx_my_long2_7, new Allocation[]{ain1}, aout, sc); 11241 return new result_int(aout); 11242 } 11243 11244 private final static int mExportReduceIdx_my_long2_8 = 312; 11245 // in1 = "in", flattened 2-vectors 11246 public result_int reduce_my_long2_8(long[] in1) { 11247 // Verify that "in1" is non-null. 11248 if (in1 == null) { 11249 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11250 } 11251 // Verify that the array length is a multiple of the vector size. 11252 if (in1.length % 2 != 0) { 11253 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11254 } 11255 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11256 ain1.setAutoPadding(true); 11257 ain1.copyFrom(in1); 11258 11259 result_int result = reduce_my_long2_8(ain1, null); 11260 result.mTempIns = new Allocation[]{ain1}; 11261 return result; 11262 } 11263 11264 // ain1 = "long2 in" 11265 public result_int reduce_my_long2_8(Allocation ain1) { 11266 return reduce_my_long2_8(ain1, null); 11267 } 11268 11269 // ain1 = "long2 in" 11270 public result_int reduce_my_long2_8(Allocation ain1, Script.LaunchOptions sc) { 11271 // check ain1 11272 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11273 throw new RSRuntimeException("Type mismatch with I64_2!"); 11274 } 11275 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11276 aout.setAutoPadding(true); 11277 reduce(mExportReduceIdx_my_long2_8, new Allocation[]{ain1}, aout, sc); 11278 return new result_int(aout); 11279 } 11280 11281 private final static int mExportReduceIdx_my_long2_9 = 313; 11282 // in1 = "in", flattened 2-vectors 11283 public result_int reduce_my_long2_9(long[] in1) { 11284 // Verify that "in1" is non-null. 11285 if (in1 == null) { 11286 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11287 } 11288 // Verify that the array length is a multiple of the vector size. 11289 if (in1.length % 2 != 0) { 11290 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11291 } 11292 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11293 ain1.setAutoPadding(true); 11294 ain1.copyFrom(in1); 11295 11296 result_int result = reduce_my_long2_9(ain1, null); 11297 result.mTempIns = new Allocation[]{ain1}; 11298 return result; 11299 } 11300 11301 // ain1 = "long2 in" 11302 public result_int reduce_my_long2_9(Allocation ain1) { 11303 return reduce_my_long2_9(ain1, null); 11304 } 11305 11306 // ain1 = "long2 in" 11307 public result_int reduce_my_long2_9(Allocation ain1, Script.LaunchOptions sc) { 11308 // check ain1 11309 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11310 throw new RSRuntimeException("Type mismatch with I64_2!"); 11311 } 11312 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11313 aout.setAutoPadding(true); 11314 reduce(mExportReduceIdx_my_long2_9, new Allocation[]{ain1}, aout, sc); 11315 return new result_int(aout); 11316 } 11317 11318 private final static int mExportReduceIdx_my_long2_10 = 314; 11319 // in1 = "in", flattened 2-vectors 11320 public result_int reduce_my_long2_10(long[] in1) { 11321 // Verify that "in1" is non-null. 11322 if (in1 == null) { 11323 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11324 } 11325 // Verify that the array length is a multiple of the vector size. 11326 if (in1.length % 2 != 0) { 11327 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11328 } 11329 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11330 ain1.setAutoPadding(true); 11331 ain1.copyFrom(in1); 11332 11333 result_int result = reduce_my_long2_10(ain1, null); 11334 result.mTempIns = new Allocation[]{ain1}; 11335 return result; 11336 } 11337 11338 // ain1 = "long2 in" 11339 public result_int reduce_my_long2_10(Allocation ain1) { 11340 return reduce_my_long2_10(ain1, null); 11341 } 11342 11343 // ain1 = "long2 in" 11344 public result_int reduce_my_long2_10(Allocation ain1, Script.LaunchOptions sc) { 11345 // check ain1 11346 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11347 throw new RSRuntimeException("Type mismatch with I64_2!"); 11348 } 11349 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11350 aout.setAutoPadding(true); 11351 reduce(mExportReduceIdx_my_long2_10, new Allocation[]{ain1}, aout, sc); 11352 return new result_int(aout); 11353 } 11354 11355 private final static int mExportReduceIdx_my_long2_11 = 315; 11356 // in1 = "in", flattened 2-vectors 11357 public result_int reduce_my_long2_11(long[] in1) { 11358 // Verify that "in1" is non-null. 11359 if (in1 == null) { 11360 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11361 } 11362 // Verify that the array length is a multiple of the vector size. 11363 if (in1.length % 2 != 0) { 11364 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11365 } 11366 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11367 ain1.setAutoPadding(true); 11368 ain1.copyFrom(in1); 11369 11370 result_int result = reduce_my_long2_11(ain1, null); 11371 result.mTempIns = new Allocation[]{ain1}; 11372 return result; 11373 } 11374 11375 // ain1 = "long2 in" 11376 public result_int reduce_my_long2_11(Allocation ain1) { 11377 return reduce_my_long2_11(ain1, null); 11378 } 11379 11380 // ain1 = "long2 in" 11381 public result_int reduce_my_long2_11(Allocation ain1, Script.LaunchOptions sc) { 11382 // check ain1 11383 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11384 throw new RSRuntimeException("Type mismatch with I64_2!"); 11385 } 11386 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11387 aout.setAutoPadding(true); 11388 reduce(mExportReduceIdx_my_long2_11, new Allocation[]{ain1}, aout, sc); 11389 return new result_int(aout); 11390 } 11391 11392 private final static int mExportReduceIdx_my_long2_12 = 316; 11393 // in1 = "in", flattened 2-vectors 11394 public result_int reduce_my_long2_12(long[] in1) { 11395 // Verify that "in1" is non-null. 11396 if (in1 == null) { 11397 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11398 } 11399 // Verify that the array length is a multiple of the vector size. 11400 if (in1.length % 2 != 0) { 11401 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11402 } 11403 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11404 ain1.setAutoPadding(true); 11405 ain1.copyFrom(in1); 11406 11407 result_int result = reduce_my_long2_12(ain1, null); 11408 result.mTempIns = new Allocation[]{ain1}; 11409 return result; 11410 } 11411 11412 // ain1 = "long2 in" 11413 public result_int reduce_my_long2_12(Allocation ain1) { 11414 return reduce_my_long2_12(ain1, null); 11415 } 11416 11417 // ain1 = "long2 in" 11418 public result_int reduce_my_long2_12(Allocation ain1, Script.LaunchOptions sc) { 11419 // check ain1 11420 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11421 throw new RSRuntimeException("Type mismatch with I64_2!"); 11422 } 11423 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11424 aout.setAutoPadding(true); 11425 reduce(mExportReduceIdx_my_long2_12, new Allocation[]{ain1}, aout, sc); 11426 return new result_int(aout); 11427 } 11428 11429 private final static int mExportReduceIdx_my_long2_13 = 317; 11430 // in1 = "in", flattened 2-vectors 11431 public result_int reduce_my_long2_13(long[] in1) { 11432 // Verify that "in1" is non-null. 11433 if (in1 == null) { 11434 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11435 } 11436 // Verify that the array length is a multiple of the vector size. 11437 if (in1.length % 2 != 0) { 11438 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11439 } 11440 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11441 ain1.setAutoPadding(true); 11442 ain1.copyFrom(in1); 11443 11444 result_int result = reduce_my_long2_13(ain1, null); 11445 result.mTempIns = new Allocation[]{ain1}; 11446 return result; 11447 } 11448 11449 // ain1 = "long2 in" 11450 public result_int reduce_my_long2_13(Allocation ain1) { 11451 return reduce_my_long2_13(ain1, null); 11452 } 11453 11454 // ain1 = "long2 in" 11455 public result_int reduce_my_long2_13(Allocation ain1, Script.LaunchOptions sc) { 11456 // check ain1 11457 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11458 throw new RSRuntimeException("Type mismatch with I64_2!"); 11459 } 11460 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11461 aout.setAutoPadding(true); 11462 reduce(mExportReduceIdx_my_long2_13, new Allocation[]{ain1}, aout, sc); 11463 return new result_int(aout); 11464 } 11465 11466 private final static int mExportReduceIdx_my_long2_14 = 318; 11467 // in1 = "in", flattened 2-vectors 11468 public result_int reduce_my_long2_14(long[] in1) { 11469 // Verify that "in1" is non-null. 11470 if (in1 == null) { 11471 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11472 } 11473 // Verify that the array length is a multiple of the vector size. 11474 if (in1.length % 2 != 0) { 11475 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11476 } 11477 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11478 ain1.setAutoPadding(true); 11479 ain1.copyFrom(in1); 11480 11481 result_int result = reduce_my_long2_14(ain1, null); 11482 result.mTempIns = new Allocation[]{ain1}; 11483 return result; 11484 } 11485 11486 // ain1 = "long2 in" 11487 public result_int reduce_my_long2_14(Allocation ain1) { 11488 return reduce_my_long2_14(ain1, null); 11489 } 11490 11491 // ain1 = "long2 in" 11492 public result_int reduce_my_long2_14(Allocation ain1, Script.LaunchOptions sc) { 11493 // check ain1 11494 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11495 throw new RSRuntimeException("Type mismatch with I64_2!"); 11496 } 11497 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11498 aout.setAutoPadding(true); 11499 reduce(mExportReduceIdx_my_long2_14, new Allocation[]{ain1}, aout, sc); 11500 return new result_int(aout); 11501 } 11502 11503 private final static int mExportReduceIdx_my_long2_15 = 319; 11504 // in1 = "in", flattened 2-vectors 11505 public result_int reduce_my_long2_15(long[] in1) { 11506 // Verify that "in1" is non-null. 11507 if (in1 == null) { 11508 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11509 } 11510 // Verify that the array length is a multiple of the vector size. 11511 if (in1.length % 2 != 0) { 11512 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11513 } 11514 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11515 ain1.setAutoPadding(true); 11516 ain1.copyFrom(in1); 11517 11518 result_int result = reduce_my_long2_15(ain1, null); 11519 result.mTempIns = new Allocation[]{ain1}; 11520 return result; 11521 } 11522 11523 // ain1 = "long2 in" 11524 public result_int reduce_my_long2_15(Allocation ain1) { 11525 return reduce_my_long2_15(ain1, null); 11526 } 11527 11528 // ain1 = "long2 in" 11529 public result_int reduce_my_long2_15(Allocation ain1, Script.LaunchOptions sc) { 11530 // check ain1 11531 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11532 throw new RSRuntimeException("Type mismatch with I64_2!"); 11533 } 11534 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11535 aout.setAutoPadding(true); 11536 reduce(mExportReduceIdx_my_long2_15, new Allocation[]{ain1}, aout, sc); 11537 return new result_int(aout); 11538 } 11539 11540 private final static int mExportReduceIdx_my_long4_0 = 320; 11541 // in1 = "in", flattened 4-vectors 11542 public result_int reduce_my_long4_0(long[] in1) { 11543 // Verify that "in1" is non-null. 11544 if (in1 == null) { 11545 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11546 } 11547 // Verify that the array length is a multiple of the vector size. 11548 if (in1.length % 4 != 0) { 11549 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11550 } 11551 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11552 ain1.setAutoPadding(true); 11553 ain1.copyFrom(in1); 11554 11555 result_int result = reduce_my_long4_0(ain1, null); 11556 result.mTempIns = new Allocation[]{ain1}; 11557 return result; 11558 } 11559 11560 // ain1 = "long4 in" 11561 public result_int reduce_my_long4_0(Allocation ain1) { 11562 return reduce_my_long4_0(ain1, null); 11563 } 11564 11565 // ain1 = "long4 in" 11566 public result_int reduce_my_long4_0(Allocation ain1, Script.LaunchOptions sc) { 11567 // check ain1 11568 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11569 throw new RSRuntimeException("Type mismatch with I64_4!"); 11570 } 11571 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11572 aout.setAutoPadding(true); 11573 reduce(mExportReduceIdx_my_long4_0, new Allocation[]{ain1}, aout, sc); 11574 return new result_int(aout); 11575 } 11576 11577 private final static int mExportReduceIdx_my_long4_1 = 321; 11578 // in1 = "in", flattened 4-vectors 11579 public result_int reduce_my_long4_1(long[] in1) { 11580 // Verify that "in1" is non-null. 11581 if (in1 == null) { 11582 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11583 } 11584 // Verify that the array length is a multiple of the vector size. 11585 if (in1.length % 4 != 0) { 11586 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11587 } 11588 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11589 ain1.setAutoPadding(true); 11590 ain1.copyFrom(in1); 11591 11592 result_int result = reduce_my_long4_1(ain1, null); 11593 result.mTempIns = new Allocation[]{ain1}; 11594 return result; 11595 } 11596 11597 // ain1 = "long4 in" 11598 public result_int reduce_my_long4_1(Allocation ain1) { 11599 return reduce_my_long4_1(ain1, null); 11600 } 11601 11602 // ain1 = "long4 in" 11603 public result_int reduce_my_long4_1(Allocation ain1, Script.LaunchOptions sc) { 11604 // check ain1 11605 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11606 throw new RSRuntimeException("Type mismatch with I64_4!"); 11607 } 11608 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11609 aout.setAutoPadding(true); 11610 reduce(mExportReduceIdx_my_long4_1, new Allocation[]{ain1}, aout, sc); 11611 return new result_int(aout); 11612 } 11613 11614 private final static int mExportReduceIdx_my_long4_2 = 322; 11615 // in1 = "in", flattened 4-vectors 11616 public result_int reduce_my_long4_2(long[] in1) { 11617 // Verify that "in1" is non-null. 11618 if (in1 == null) { 11619 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11620 } 11621 // Verify that the array length is a multiple of the vector size. 11622 if (in1.length % 4 != 0) { 11623 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11624 } 11625 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11626 ain1.setAutoPadding(true); 11627 ain1.copyFrom(in1); 11628 11629 result_int result = reduce_my_long4_2(ain1, null); 11630 result.mTempIns = new Allocation[]{ain1}; 11631 return result; 11632 } 11633 11634 // ain1 = "long4 in" 11635 public result_int reduce_my_long4_2(Allocation ain1) { 11636 return reduce_my_long4_2(ain1, null); 11637 } 11638 11639 // ain1 = "long4 in" 11640 public result_int reduce_my_long4_2(Allocation ain1, Script.LaunchOptions sc) { 11641 // check ain1 11642 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11643 throw new RSRuntimeException("Type mismatch with I64_4!"); 11644 } 11645 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11646 aout.setAutoPadding(true); 11647 reduce(mExportReduceIdx_my_long4_2, new Allocation[]{ain1}, aout, sc); 11648 return new result_int(aout); 11649 } 11650 11651 private final static int mExportReduceIdx_my_long4_3 = 323; 11652 // in1 = "in", flattened 4-vectors 11653 public result_int reduce_my_long4_3(long[] in1) { 11654 // Verify that "in1" is non-null. 11655 if (in1 == null) { 11656 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11657 } 11658 // Verify that the array length is a multiple of the vector size. 11659 if (in1.length % 4 != 0) { 11660 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11661 } 11662 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11663 ain1.setAutoPadding(true); 11664 ain1.copyFrom(in1); 11665 11666 result_int result = reduce_my_long4_3(ain1, null); 11667 result.mTempIns = new Allocation[]{ain1}; 11668 return result; 11669 } 11670 11671 // ain1 = "long4 in" 11672 public result_int reduce_my_long4_3(Allocation ain1) { 11673 return reduce_my_long4_3(ain1, null); 11674 } 11675 11676 // ain1 = "long4 in" 11677 public result_int reduce_my_long4_3(Allocation ain1, Script.LaunchOptions sc) { 11678 // check ain1 11679 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11680 throw new RSRuntimeException("Type mismatch with I64_4!"); 11681 } 11682 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11683 aout.setAutoPadding(true); 11684 reduce(mExportReduceIdx_my_long4_3, new Allocation[]{ain1}, aout, sc); 11685 return new result_int(aout); 11686 } 11687 11688 private final static int mExportReduceIdx_my_long4_4 = 324; 11689 // in1 = "in", flattened 4-vectors 11690 public result_int reduce_my_long4_4(long[] in1) { 11691 // Verify that "in1" is non-null. 11692 if (in1 == null) { 11693 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11694 } 11695 // Verify that the array length is a multiple of the vector size. 11696 if (in1.length % 4 != 0) { 11697 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11698 } 11699 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11700 ain1.setAutoPadding(true); 11701 ain1.copyFrom(in1); 11702 11703 result_int result = reduce_my_long4_4(ain1, null); 11704 result.mTempIns = new Allocation[]{ain1}; 11705 return result; 11706 } 11707 11708 // ain1 = "long4 in" 11709 public result_int reduce_my_long4_4(Allocation ain1) { 11710 return reduce_my_long4_4(ain1, null); 11711 } 11712 11713 // ain1 = "long4 in" 11714 public result_int reduce_my_long4_4(Allocation ain1, Script.LaunchOptions sc) { 11715 // check ain1 11716 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11717 throw new RSRuntimeException("Type mismatch with I64_4!"); 11718 } 11719 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11720 aout.setAutoPadding(true); 11721 reduce(mExportReduceIdx_my_long4_4, new Allocation[]{ain1}, aout, sc); 11722 return new result_int(aout); 11723 } 11724 11725 private final static int mExportReduceIdx_my_long4_5 = 325; 11726 // in1 = "in", flattened 4-vectors 11727 public result_int reduce_my_long4_5(long[] in1) { 11728 // Verify that "in1" is non-null. 11729 if (in1 == null) { 11730 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11731 } 11732 // Verify that the array length is a multiple of the vector size. 11733 if (in1.length % 4 != 0) { 11734 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11735 } 11736 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11737 ain1.setAutoPadding(true); 11738 ain1.copyFrom(in1); 11739 11740 result_int result = reduce_my_long4_5(ain1, null); 11741 result.mTempIns = new Allocation[]{ain1}; 11742 return result; 11743 } 11744 11745 // ain1 = "long4 in" 11746 public result_int reduce_my_long4_5(Allocation ain1) { 11747 return reduce_my_long4_5(ain1, null); 11748 } 11749 11750 // ain1 = "long4 in" 11751 public result_int reduce_my_long4_5(Allocation ain1, Script.LaunchOptions sc) { 11752 // check ain1 11753 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11754 throw new RSRuntimeException("Type mismatch with I64_4!"); 11755 } 11756 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11757 aout.setAutoPadding(true); 11758 reduce(mExportReduceIdx_my_long4_5, new Allocation[]{ain1}, aout, sc); 11759 return new result_int(aout); 11760 } 11761 11762 private final static int mExportReduceIdx_my_long4_6 = 326; 11763 // in1 = "in", flattened 4-vectors 11764 public result_int reduce_my_long4_6(long[] in1) { 11765 // Verify that "in1" is non-null. 11766 if (in1 == null) { 11767 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11768 } 11769 // Verify that the array length is a multiple of the vector size. 11770 if (in1.length % 4 != 0) { 11771 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11772 } 11773 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11774 ain1.setAutoPadding(true); 11775 ain1.copyFrom(in1); 11776 11777 result_int result = reduce_my_long4_6(ain1, null); 11778 result.mTempIns = new Allocation[]{ain1}; 11779 return result; 11780 } 11781 11782 // ain1 = "long4 in" 11783 public result_int reduce_my_long4_6(Allocation ain1) { 11784 return reduce_my_long4_6(ain1, null); 11785 } 11786 11787 // ain1 = "long4 in" 11788 public result_int reduce_my_long4_6(Allocation ain1, Script.LaunchOptions sc) { 11789 // check ain1 11790 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11791 throw new RSRuntimeException("Type mismatch with I64_4!"); 11792 } 11793 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11794 aout.setAutoPadding(true); 11795 reduce(mExportReduceIdx_my_long4_6, new Allocation[]{ain1}, aout, sc); 11796 return new result_int(aout); 11797 } 11798 11799 private final static int mExportReduceIdx_my_long4_7 = 327; 11800 // in1 = "in", flattened 4-vectors 11801 public result_int reduce_my_long4_7(long[] in1) { 11802 // Verify that "in1" is non-null. 11803 if (in1 == null) { 11804 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11805 } 11806 // Verify that the array length is a multiple of the vector size. 11807 if (in1.length % 4 != 0) { 11808 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11809 } 11810 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11811 ain1.setAutoPadding(true); 11812 ain1.copyFrom(in1); 11813 11814 result_int result = reduce_my_long4_7(ain1, null); 11815 result.mTempIns = new Allocation[]{ain1}; 11816 return result; 11817 } 11818 11819 // ain1 = "long4 in" 11820 public result_int reduce_my_long4_7(Allocation ain1) { 11821 return reduce_my_long4_7(ain1, null); 11822 } 11823 11824 // ain1 = "long4 in" 11825 public result_int reduce_my_long4_7(Allocation ain1, Script.LaunchOptions sc) { 11826 // check ain1 11827 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11828 throw new RSRuntimeException("Type mismatch with I64_4!"); 11829 } 11830 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11831 aout.setAutoPadding(true); 11832 reduce(mExportReduceIdx_my_long4_7, new Allocation[]{ain1}, aout, sc); 11833 return new result_int(aout); 11834 } 11835 11836 private final static int mExportReduceIdx_my_long4_8 = 328; 11837 // in1 = "in", flattened 4-vectors 11838 public result_int reduce_my_long4_8(long[] in1) { 11839 // Verify that "in1" is non-null. 11840 if (in1 == null) { 11841 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11842 } 11843 // Verify that the array length is a multiple of the vector size. 11844 if (in1.length % 4 != 0) { 11845 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11846 } 11847 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11848 ain1.setAutoPadding(true); 11849 ain1.copyFrom(in1); 11850 11851 result_int result = reduce_my_long4_8(ain1, null); 11852 result.mTempIns = new Allocation[]{ain1}; 11853 return result; 11854 } 11855 11856 // ain1 = "long4 in" 11857 public result_int reduce_my_long4_8(Allocation ain1) { 11858 return reduce_my_long4_8(ain1, null); 11859 } 11860 11861 // ain1 = "long4 in" 11862 public result_int reduce_my_long4_8(Allocation ain1, Script.LaunchOptions sc) { 11863 // check ain1 11864 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11865 throw new RSRuntimeException("Type mismatch with I64_4!"); 11866 } 11867 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11868 aout.setAutoPadding(true); 11869 reduce(mExportReduceIdx_my_long4_8, new Allocation[]{ain1}, aout, sc); 11870 return new result_int(aout); 11871 } 11872 11873 private final static int mExportReduceIdx_my_long4_9 = 329; 11874 // in1 = "in", flattened 4-vectors 11875 public result_int reduce_my_long4_9(long[] in1) { 11876 // Verify that "in1" is non-null. 11877 if (in1 == null) { 11878 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11879 } 11880 // Verify that the array length is a multiple of the vector size. 11881 if (in1.length % 4 != 0) { 11882 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11883 } 11884 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11885 ain1.setAutoPadding(true); 11886 ain1.copyFrom(in1); 11887 11888 result_int result = reduce_my_long4_9(ain1, null); 11889 result.mTempIns = new Allocation[]{ain1}; 11890 return result; 11891 } 11892 11893 // ain1 = "long4 in" 11894 public result_int reduce_my_long4_9(Allocation ain1) { 11895 return reduce_my_long4_9(ain1, null); 11896 } 11897 11898 // ain1 = "long4 in" 11899 public result_int reduce_my_long4_9(Allocation ain1, Script.LaunchOptions sc) { 11900 // check ain1 11901 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11902 throw new RSRuntimeException("Type mismatch with I64_4!"); 11903 } 11904 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11905 aout.setAutoPadding(true); 11906 reduce(mExportReduceIdx_my_long4_9, new Allocation[]{ain1}, aout, sc); 11907 return new result_int(aout); 11908 } 11909 11910 private final static int mExportReduceIdx_my_long4_10 = 330; 11911 // in1 = "in", flattened 4-vectors 11912 public result_int reduce_my_long4_10(long[] in1) { 11913 // Verify that "in1" is non-null. 11914 if (in1 == null) { 11915 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11916 } 11917 // Verify that the array length is a multiple of the vector size. 11918 if (in1.length % 4 != 0) { 11919 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11920 } 11921 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11922 ain1.setAutoPadding(true); 11923 ain1.copyFrom(in1); 11924 11925 result_int result = reduce_my_long4_10(ain1, null); 11926 result.mTempIns = new Allocation[]{ain1}; 11927 return result; 11928 } 11929 11930 // ain1 = "long4 in" 11931 public result_int reduce_my_long4_10(Allocation ain1) { 11932 return reduce_my_long4_10(ain1, null); 11933 } 11934 11935 // ain1 = "long4 in" 11936 public result_int reduce_my_long4_10(Allocation ain1, Script.LaunchOptions sc) { 11937 // check ain1 11938 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11939 throw new RSRuntimeException("Type mismatch with I64_4!"); 11940 } 11941 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11942 aout.setAutoPadding(true); 11943 reduce(mExportReduceIdx_my_long4_10, new Allocation[]{ain1}, aout, sc); 11944 return new result_int(aout); 11945 } 11946 11947 private final static int mExportReduceIdx_my_long4_11 = 331; 11948 // in1 = "in", flattened 4-vectors 11949 public result_int reduce_my_long4_11(long[] in1) { 11950 // Verify that "in1" is non-null. 11951 if (in1 == null) { 11952 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11953 } 11954 // Verify that the array length is a multiple of the vector size. 11955 if (in1.length % 4 != 0) { 11956 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11957 } 11958 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11959 ain1.setAutoPadding(true); 11960 ain1.copyFrom(in1); 11961 11962 result_int result = reduce_my_long4_11(ain1, null); 11963 result.mTempIns = new Allocation[]{ain1}; 11964 return result; 11965 } 11966 11967 // ain1 = "long4 in" 11968 public result_int reduce_my_long4_11(Allocation ain1) { 11969 return reduce_my_long4_11(ain1, null); 11970 } 11971 11972 // ain1 = "long4 in" 11973 public result_int reduce_my_long4_11(Allocation ain1, Script.LaunchOptions sc) { 11974 // check ain1 11975 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11976 throw new RSRuntimeException("Type mismatch with I64_4!"); 11977 } 11978 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11979 aout.setAutoPadding(true); 11980 reduce(mExportReduceIdx_my_long4_11, new Allocation[]{ain1}, aout, sc); 11981 return new result_int(aout); 11982 } 11983 11984 private final static int mExportReduceIdx_my_long4_12 = 332; 11985 // in1 = "in", flattened 4-vectors 11986 public result_int reduce_my_long4_12(long[] in1) { 11987 // Verify that "in1" is non-null. 11988 if (in1 == null) { 11989 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11990 } 11991 // Verify that the array length is a multiple of the vector size. 11992 if (in1.length % 4 != 0) { 11993 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11994 } 11995 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11996 ain1.setAutoPadding(true); 11997 ain1.copyFrom(in1); 11998 11999 result_int result = reduce_my_long4_12(ain1, null); 12000 result.mTempIns = new Allocation[]{ain1}; 12001 return result; 12002 } 12003 12004 // ain1 = "long4 in" 12005 public result_int reduce_my_long4_12(Allocation ain1) { 12006 return reduce_my_long4_12(ain1, null); 12007 } 12008 12009 // ain1 = "long4 in" 12010 public result_int reduce_my_long4_12(Allocation ain1, Script.LaunchOptions sc) { 12011 // check ain1 12012 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 12013 throw new RSRuntimeException("Type mismatch with I64_4!"); 12014 } 12015 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12016 aout.setAutoPadding(true); 12017 reduce(mExportReduceIdx_my_long4_12, new Allocation[]{ain1}, aout, sc); 12018 return new result_int(aout); 12019 } 12020 12021 private final static int mExportReduceIdx_my_long4_13 = 333; 12022 // in1 = "in", flattened 4-vectors 12023 public result_int reduce_my_long4_13(long[] in1) { 12024 // Verify that "in1" is non-null. 12025 if (in1 == null) { 12026 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12027 } 12028 // Verify that the array length is a multiple of the vector size. 12029 if (in1.length % 4 != 0) { 12030 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 12031 } 12032 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 12033 ain1.setAutoPadding(true); 12034 ain1.copyFrom(in1); 12035 12036 result_int result = reduce_my_long4_13(ain1, null); 12037 result.mTempIns = new Allocation[]{ain1}; 12038 return result; 12039 } 12040 12041 // ain1 = "long4 in" 12042 public result_int reduce_my_long4_13(Allocation ain1) { 12043 return reduce_my_long4_13(ain1, null); 12044 } 12045 12046 // ain1 = "long4 in" 12047 public result_int reduce_my_long4_13(Allocation ain1, Script.LaunchOptions sc) { 12048 // check ain1 12049 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 12050 throw new RSRuntimeException("Type mismatch with I64_4!"); 12051 } 12052 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12053 aout.setAutoPadding(true); 12054 reduce(mExportReduceIdx_my_long4_13, new Allocation[]{ain1}, aout, sc); 12055 return new result_int(aout); 12056 } 12057 12058 private final static int mExportReduceIdx_my_long4_14 = 334; 12059 // in1 = "in", flattened 4-vectors 12060 public result_int reduce_my_long4_14(long[] in1) { 12061 // Verify that "in1" is non-null. 12062 if (in1 == null) { 12063 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12064 } 12065 // Verify that the array length is a multiple of the vector size. 12066 if (in1.length % 4 != 0) { 12067 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 12068 } 12069 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 12070 ain1.setAutoPadding(true); 12071 ain1.copyFrom(in1); 12072 12073 result_int result = reduce_my_long4_14(ain1, null); 12074 result.mTempIns = new Allocation[]{ain1}; 12075 return result; 12076 } 12077 12078 // ain1 = "long4 in" 12079 public result_int reduce_my_long4_14(Allocation ain1) { 12080 return reduce_my_long4_14(ain1, null); 12081 } 12082 12083 // ain1 = "long4 in" 12084 public result_int reduce_my_long4_14(Allocation ain1, Script.LaunchOptions sc) { 12085 // check ain1 12086 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 12087 throw new RSRuntimeException("Type mismatch with I64_4!"); 12088 } 12089 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12090 aout.setAutoPadding(true); 12091 reduce(mExportReduceIdx_my_long4_14, new Allocation[]{ain1}, aout, sc); 12092 return new result_int(aout); 12093 } 12094 12095 private final static int mExportReduceIdx_my_long4_15 = 335; 12096 // in1 = "in", flattened 4-vectors 12097 public result_int reduce_my_long4_15(long[] in1) { 12098 // Verify that "in1" is non-null. 12099 if (in1 == null) { 12100 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12101 } 12102 // Verify that the array length is a multiple of the vector size. 12103 if (in1.length % 4 != 0) { 12104 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 12105 } 12106 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 12107 ain1.setAutoPadding(true); 12108 ain1.copyFrom(in1); 12109 12110 result_int result = reduce_my_long4_15(ain1, null); 12111 result.mTempIns = new Allocation[]{ain1}; 12112 return result; 12113 } 12114 12115 // ain1 = "long4 in" 12116 public result_int reduce_my_long4_15(Allocation ain1) { 12117 return reduce_my_long4_15(ain1, null); 12118 } 12119 12120 // ain1 = "long4 in" 12121 public result_int reduce_my_long4_15(Allocation ain1, Script.LaunchOptions sc) { 12122 // check ain1 12123 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 12124 throw new RSRuntimeException("Type mismatch with I64_4!"); 12125 } 12126 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12127 aout.setAutoPadding(true); 12128 reduce(mExportReduceIdx_my_long4_15, new Allocation[]{ain1}, aout, sc); 12129 return new result_int(aout); 12130 } 12131 12132 private final static int mExportReduceIdx_my_uchar_0 = 336; 12133 // in1 = "in" 12134 public result_int reduce_my_uchar_0(byte[] in1) { 12135 // Verify that "in1" is non-null. 12136 if (in1 == null) { 12137 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12138 } 12139 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12140 ain1.setAutoPadding(true); 12141 ain1.copyFrom(in1); 12142 12143 result_int result = reduce_my_uchar_0(ain1, null); 12144 result.mTempIns = new Allocation[]{ain1}; 12145 return result; 12146 } 12147 12148 // ain1 = "uchar in" 12149 public result_int reduce_my_uchar_0(Allocation ain1) { 12150 return reduce_my_uchar_0(ain1, null); 12151 } 12152 12153 // ain1 = "uchar in" 12154 public result_int reduce_my_uchar_0(Allocation ain1, Script.LaunchOptions sc) { 12155 // check ain1 12156 if (!ain1.getType().getElement().isCompatible(__U8)) { 12157 throw new RSRuntimeException("Type mismatch with U8!"); 12158 } 12159 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12160 aout.setAutoPadding(true); 12161 reduce(mExportReduceIdx_my_uchar_0, new Allocation[]{ain1}, aout, sc); 12162 return new result_int(aout); 12163 } 12164 12165 private final static int mExportReduceIdx_my_uchar_1 = 337; 12166 // in1 = "in" 12167 public result_int reduce_my_uchar_1(byte[] in1) { 12168 // Verify that "in1" is non-null. 12169 if (in1 == null) { 12170 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12171 } 12172 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12173 ain1.setAutoPadding(true); 12174 ain1.copyFrom(in1); 12175 12176 result_int result = reduce_my_uchar_1(ain1, null); 12177 result.mTempIns = new Allocation[]{ain1}; 12178 return result; 12179 } 12180 12181 // ain1 = "uchar in" 12182 public result_int reduce_my_uchar_1(Allocation ain1) { 12183 return reduce_my_uchar_1(ain1, null); 12184 } 12185 12186 // ain1 = "uchar in" 12187 public result_int reduce_my_uchar_1(Allocation ain1, Script.LaunchOptions sc) { 12188 // check ain1 12189 if (!ain1.getType().getElement().isCompatible(__U8)) { 12190 throw new RSRuntimeException("Type mismatch with U8!"); 12191 } 12192 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12193 aout.setAutoPadding(true); 12194 reduce(mExportReduceIdx_my_uchar_1, new Allocation[]{ain1}, aout, sc); 12195 return new result_int(aout); 12196 } 12197 12198 private final static int mExportReduceIdx_my_uchar_2 = 338; 12199 // in1 = "in" 12200 public result_int reduce_my_uchar_2(byte[] in1) { 12201 // Verify that "in1" is non-null. 12202 if (in1 == null) { 12203 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12204 } 12205 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12206 ain1.setAutoPadding(true); 12207 ain1.copyFrom(in1); 12208 12209 result_int result = reduce_my_uchar_2(ain1, null); 12210 result.mTempIns = new Allocation[]{ain1}; 12211 return result; 12212 } 12213 12214 // ain1 = "uchar in" 12215 public result_int reduce_my_uchar_2(Allocation ain1) { 12216 return reduce_my_uchar_2(ain1, null); 12217 } 12218 12219 // ain1 = "uchar in" 12220 public result_int reduce_my_uchar_2(Allocation ain1, Script.LaunchOptions sc) { 12221 // check ain1 12222 if (!ain1.getType().getElement().isCompatible(__U8)) { 12223 throw new RSRuntimeException("Type mismatch with U8!"); 12224 } 12225 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12226 aout.setAutoPadding(true); 12227 reduce(mExportReduceIdx_my_uchar_2, new Allocation[]{ain1}, aout, sc); 12228 return new result_int(aout); 12229 } 12230 12231 private final static int mExportReduceIdx_my_uchar_3 = 339; 12232 // in1 = "in" 12233 public result_int reduce_my_uchar_3(byte[] in1) { 12234 // Verify that "in1" is non-null. 12235 if (in1 == null) { 12236 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12237 } 12238 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12239 ain1.setAutoPadding(true); 12240 ain1.copyFrom(in1); 12241 12242 result_int result = reduce_my_uchar_3(ain1, null); 12243 result.mTempIns = new Allocation[]{ain1}; 12244 return result; 12245 } 12246 12247 // ain1 = "uchar in" 12248 public result_int reduce_my_uchar_3(Allocation ain1) { 12249 return reduce_my_uchar_3(ain1, null); 12250 } 12251 12252 // ain1 = "uchar in" 12253 public result_int reduce_my_uchar_3(Allocation ain1, Script.LaunchOptions sc) { 12254 // check ain1 12255 if (!ain1.getType().getElement().isCompatible(__U8)) { 12256 throw new RSRuntimeException("Type mismatch with U8!"); 12257 } 12258 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12259 aout.setAutoPadding(true); 12260 reduce(mExportReduceIdx_my_uchar_3, new Allocation[]{ain1}, aout, sc); 12261 return new result_int(aout); 12262 } 12263 12264 private final static int mExportReduceIdx_my_uchar_4 = 340; 12265 // in1 = "in" 12266 public result_int reduce_my_uchar_4(byte[] in1) { 12267 // Verify that "in1" is non-null. 12268 if (in1 == null) { 12269 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12270 } 12271 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12272 ain1.setAutoPadding(true); 12273 ain1.copyFrom(in1); 12274 12275 result_int result = reduce_my_uchar_4(ain1, null); 12276 result.mTempIns = new Allocation[]{ain1}; 12277 return result; 12278 } 12279 12280 // ain1 = "uchar in" 12281 public result_int reduce_my_uchar_4(Allocation ain1) { 12282 return reduce_my_uchar_4(ain1, null); 12283 } 12284 12285 // ain1 = "uchar in" 12286 public result_int reduce_my_uchar_4(Allocation ain1, Script.LaunchOptions sc) { 12287 // check ain1 12288 if (!ain1.getType().getElement().isCompatible(__U8)) { 12289 throw new RSRuntimeException("Type mismatch with U8!"); 12290 } 12291 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12292 aout.setAutoPadding(true); 12293 reduce(mExportReduceIdx_my_uchar_4, new Allocation[]{ain1}, aout, sc); 12294 return new result_int(aout); 12295 } 12296 12297 private final static int mExportReduceIdx_my_uchar_5 = 341; 12298 // in1 = "in" 12299 public result_int reduce_my_uchar_5(byte[] in1) { 12300 // Verify that "in1" is non-null. 12301 if (in1 == null) { 12302 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12303 } 12304 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12305 ain1.setAutoPadding(true); 12306 ain1.copyFrom(in1); 12307 12308 result_int result = reduce_my_uchar_5(ain1, null); 12309 result.mTempIns = new Allocation[]{ain1}; 12310 return result; 12311 } 12312 12313 // ain1 = "uchar in" 12314 public result_int reduce_my_uchar_5(Allocation ain1) { 12315 return reduce_my_uchar_5(ain1, null); 12316 } 12317 12318 // ain1 = "uchar in" 12319 public result_int reduce_my_uchar_5(Allocation ain1, Script.LaunchOptions sc) { 12320 // check ain1 12321 if (!ain1.getType().getElement().isCompatible(__U8)) { 12322 throw new RSRuntimeException("Type mismatch with U8!"); 12323 } 12324 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12325 aout.setAutoPadding(true); 12326 reduce(mExportReduceIdx_my_uchar_5, new Allocation[]{ain1}, aout, sc); 12327 return new result_int(aout); 12328 } 12329 12330 private final static int mExportReduceIdx_my_uchar_6 = 342; 12331 // in1 = "in" 12332 public result_int reduce_my_uchar_6(byte[] in1) { 12333 // Verify that "in1" is non-null. 12334 if (in1 == null) { 12335 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12336 } 12337 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12338 ain1.setAutoPadding(true); 12339 ain1.copyFrom(in1); 12340 12341 result_int result = reduce_my_uchar_6(ain1, null); 12342 result.mTempIns = new Allocation[]{ain1}; 12343 return result; 12344 } 12345 12346 // ain1 = "uchar in" 12347 public result_int reduce_my_uchar_6(Allocation ain1) { 12348 return reduce_my_uchar_6(ain1, null); 12349 } 12350 12351 // ain1 = "uchar in" 12352 public result_int reduce_my_uchar_6(Allocation ain1, Script.LaunchOptions sc) { 12353 // check ain1 12354 if (!ain1.getType().getElement().isCompatible(__U8)) { 12355 throw new RSRuntimeException("Type mismatch with U8!"); 12356 } 12357 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12358 aout.setAutoPadding(true); 12359 reduce(mExportReduceIdx_my_uchar_6, new Allocation[]{ain1}, aout, sc); 12360 return new result_int(aout); 12361 } 12362 12363 private final static int mExportReduceIdx_my_uchar_7 = 343; 12364 // in1 = "in" 12365 public result_int reduce_my_uchar_7(byte[] in1) { 12366 // Verify that "in1" is non-null. 12367 if (in1 == null) { 12368 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12369 } 12370 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12371 ain1.setAutoPadding(true); 12372 ain1.copyFrom(in1); 12373 12374 result_int result = reduce_my_uchar_7(ain1, null); 12375 result.mTempIns = new Allocation[]{ain1}; 12376 return result; 12377 } 12378 12379 // ain1 = "uchar in" 12380 public result_int reduce_my_uchar_7(Allocation ain1) { 12381 return reduce_my_uchar_7(ain1, null); 12382 } 12383 12384 // ain1 = "uchar in" 12385 public result_int reduce_my_uchar_7(Allocation ain1, Script.LaunchOptions sc) { 12386 // check ain1 12387 if (!ain1.getType().getElement().isCompatible(__U8)) { 12388 throw new RSRuntimeException("Type mismatch with U8!"); 12389 } 12390 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12391 aout.setAutoPadding(true); 12392 reduce(mExportReduceIdx_my_uchar_7, new Allocation[]{ain1}, aout, sc); 12393 return new result_int(aout); 12394 } 12395 12396 private final static int mExportReduceIdx_my_uchar_8 = 344; 12397 // in1 = "in" 12398 public result_int reduce_my_uchar_8(byte[] in1) { 12399 // Verify that "in1" is non-null. 12400 if (in1 == null) { 12401 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12402 } 12403 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12404 ain1.setAutoPadding(true); 12405 ain1.copyFrom(in1); 12406 12407 result_int result = reduce_my_uchar_8(ain1, null); 12408 result.mTempIns = new Allocation[]{ain1}; 12409 return result; 12410 } 12411 12412 // ain1 = "uchar in" 12413 public result_int reduce_my_uchar_8(Allocation ain1) { 12414 return reduce_my_uchar_8(ain1, null); 12415 } 12416 12417 // ain1 = "uchar in" 12418 public result_int reduce_my_uchar_8(Allocation ain1, Script.LaunchOptions sc) { 12419 // check ain1 12420 if (!ain1.getType().getElement().isCompatible(__U8)) { 12421 throw new RSRuntimeException("Type mismatch with U8!"); 12422 } 12423 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12424 aout.setAutoPadding(true); 12425 reduce(mExportReduceIdx_my_uchar_8, new Allocation[]{ain1}, aout, sc); 12426 return new result_int(aout); 12427 } 12428 12429 private final static int mExportReduceIdx_my_uchar_9 = 345; 12430 // in1 = "in" 12431 public result_int reduce_my_uchar_9(byte[] in1) { 12432 // Verify that "in1" is non-null. 12433 if (in1 == null) { 12434 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12435 } 12436 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12437 ain1.setAutoPadding(true); 12438 ain1.copyFrom(in1); 12439 12440 result_int result = reduce_my_uchar_9(ain1, null); 12441 result.mTempIns = new Allocation[]{ain1}; 12442 return result; 12443 } 12444 12445 // ain1 = "uchar in" 12446 public result_int reduce_my_uchar_9(Allocation ain1) { 12447 return reduce_my_uchar_9(ain1, null); 12448 } 12449 12450 // ain1 = "uchar in" 12451 public result_int reduce_my_uchar_9(Allocation ain1, Script.LaunchOptions sc) { 12452 // check ain1 12453 if (!ain1.getType().getElement().isCompatible(__U8)) { 12454 throw new RSRuntimeException("Type mismatch with U8!"); 12455 } 12456 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12457 aout.setAutoPadding(true); 12458 reduce(mExportReduceIdx_my_uchar_9, new Allocation[]{ain1}, aout, sc); 12459 return new result_int(aout); 12460 } 12461 12462 private final static int mExportReduceIdx_my_uchar_10 = 346; 12463 // in1 = "in" 12464 public result_int reduce_my_uchar_10(byte[] in1) { 12465 // Verify that "in1" is non-null. 12466 if (in1 == null) { 12467 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12468 } 12469 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12470 ain1.setAutoPadding(true); 12471 ain1.copyFrom(in1); 12472 12473 result_int result = reduce_my_uchar_10(ain1, null); 12474 result.mTempIns = new Allocation[]{ain1}; 12475 return result; 12476 } 12477 12478 // ain1 = "uchar in" 12479 public result_int reduce_my_uchar_10(Allocation ain1) { 12480 return reduce_my_uchar_10(ain1, null); 12481 } 12482 12483 // ain1 = "uchar in" 12484 public result_int reduce_my_uchar_10(Allocation ain1, Script.LaunchOptions sc) { 12485 // check ain1 12486 if (!ain1.getType().getElement().isCompatible(__U8)) { 12487 throw new RSRuntimeException("Type mismatch with U8!"); 12488 } 12489 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12490 aout.setAutoPadding(true); 12491 reduce(mExportReduceIdx_my_uchar_10, new Allocation[]{ain1}, aout, sc); 12492 return new result_int(aout); 12493 } 12494 12495 private final static int mExportReduceIdx_my_uchar_11 = 347; 12496 // in1 = "in" 12497 public result_int reduce_my_uchar_11(byte[] in1) { 12498 // Verify that "in1" is non-null. 12499 if (in1 == null) { 12500 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12501 } 12502 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12503 ain1.setAutoPadding(true); 12504 ain1.copyFrom(in1); 12505 12506 result_int result = reduce_my_uchar_11(ain1, null); 12507 result.mTempIns = new Allocation[]{ain1}; 12508 return result; 12509 } 12510 12511 // ain1 = "uchar in" 12512 public result_int reduce_my_uchar_11(Allocation ain1) { 12513 return reduce_my_uchar_11(ain1, null); 12514 } 12515 12516 // ain1 = "uchar in" 12517 public result_int reduce_my_uchar_11(Allocation ain1, Script.LaunchOptions sc) { 12518 // check ain1 12519 if (!ain1.getType().getElement().isCompatible(__U8)) { 12520 throw new RSRuntimeException("Type mismatch with U8!"); 12521 } 12522 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12523 aout.setAutoPadding(true); 12524 reduce(mExportReduceIdx_my_uchar_11, new Allocation[]{ain1}, aout, sc); 12525 return new result_int(aout); 12526 } 12527 12528 private final static int mExportReduceIdx_my_uchar_12 = 348; 12529 // in1 = "in" 12530 public result_int reduce_my_uchar_12(byte[] in1) { 12531 // Verify that "in1" is non-null. 12532 if (in1 == null) { 12533 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12534 } 12535 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12536 ain1.setAutoPadding(true); 12537 ain1.copyFrom(in1); 12538 12539 result_int result = reduce_my_uchar_12(ain1, null); 12540 result.mTempIns = new Allocation[]{ain1}; 12541 return result; 12542 } 12543 12544 // ain1 = "uchar in" 12545 public result_int reduce_my_uchar_12(Allocation ain1) { 12546 return reduce_my_uchar_12(ain1, null); 12547 } 12548 12549 // ain1 = "uchar in" 12550 public result_int reduce_my_uchar_12(Allocation ain1, Script.LaunchOptions sc) { 12551 // check ain1 12552 if (!ain1.getType().getElement().isCompatible(__U8)) { 12553 throw new RSRuntimeException("Type mismatch with U8!"); 12554 } 12555 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12556 aout.setAutoPadding(true); 12557 reduce(mExportReduceIdx_my_uchar_12, new Allocation[]{ain1}, aout, sc); 12558 return new result_int(aout); 12559 } 12560 12561 private final static int mExportReduceIdx_my_uchar_13 = 349; 12562 // in1 = "in" 12563 public result_int reduce_my_uchar_13(byte[] in1) { 12564 // Verify that "in1" is non-null. 12565 if (in1 == null) { 12566 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12567 } 12568 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12569 ain1.setAutoPadding(true); 12570 ain1.copyFrom(in1); 12571 12572 result_int result = reduce_my_uchar_13(ain1, null); 12573 result.mTempIns = new Allocation[]{ain1}; 12574 return result; 12575 } 12576 12577 // ain1 = "uchar in" 12578 public result_int reduce_my_uchar_13(Allocation ain1) { 12579 return reduce_my_uchar_13(ain1, null); 12580 } 12581 12582 // ain1 = "uchar in" 12583 public result_int reduce_my_uchar_13(Allocation ain1, Script.LaunchOptions sc) { 12584 // check ain1 12585 if (!ain1.getType().getElement().isCompatible(__U8)) { 12586 throw new RSRuntimeException("Type mismatch with U8!"); 12587 } 12588 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12589 aout.setAutoPadding(true); 12590 reduce(mExportReduceIdx_my_uchar_13, new Allocation[]{ain1}, aout, sc); 12591 return new result_int(aout); 12592 } 12593 12594 private final static int mExportReduceIdx_my_uchar_14 = 350; 12595 // in1 = "in" 12596 public result_int reduce_my_uchar_14(byte[] in1) { 12597 // Verify that "in1" is non-null. 12598 if (in1 == null) { 12599 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12600 } 12601 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12602 ain1.setAutoPadding(true); 12603 ain1.copyFrom(in1); 12604 12605 result_int result = reduce_my_uchar_14(ain1, null); 12606 result.mTempIns = new Allocation[]{ain1}; 12607 return result; 12608 } 12609 12610 // ain1 = "uchar in" 12611 public result_int reduce_my_uchar_14(Allocation ain1) { 12612 return reduce_my_uchar_14(ain1, null); 12613 } 12614 12615 // ain1 = "uchar in" 12616 public result_int reduce_my_uchar_14(Allocation ain1, Script.LaunchOptions sc) { 12617 // check ain1 12618 if (!ain1.getType().getElement().isCompatible(__U8)) { 12619 throw new RSRuntimeException("Type mismatch with U8!"); 12620 } 12621 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12622 aout.setAutoPadding(true); 12623 reduce(mExportReduceIdx_my_uchar_14, new Allocation[]{ain1}, aout, sc); 12624 return new result_int(aout); 12625 } 12626 12627 private final static int mExportReduceIdx_my_uchar_15 = 351; 12628 // in1 = "in" 12629 public result_int reduce_my_uchar_15(byte[] in1) { 12630 // Verify that "in1" is non-null. 12631 if (in1 == null) { 12632 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12633 } 12634 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12635 ain1.setAutoPadding(true); 12636 ain1.copyFrom(in1); 12637 12638 result_int result = reduce_my_uchar_15(ain1, null); 12639 result.mTempIns = new Allocation[]{ain1}; 12640 return result; 12641 } 12642 12643 // ain1 = "uchar in" 12644 public result_int reduce_my_uchar_15(Allocation ain1) { 12645 return reduce_my_uchar_15(ain1, null); 12646 } 12647 12648 // ain1 = "uchar in" 12649 public result_int reduce_my_uchar_15(Allocation ain1, Script.LaunchOptions sc) { 12650 // check ain1 12651 if (!ain1.getType().getElement().isCompatible(__U8)) { 12652 throw new RSRuntimeException("Type mismatch with U8!"); 12653 } 12654 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12655 aout.setAutoPadding(true); 12656 reduce(mExportReduceIdx_my_uchar_15, new Allocation[]{ain1}, aout, sc); 12657 return new result_int(aout); 12658 } 12659 12660 private final static int mExportReduceIdx_my_uchar2_0 = 352; 12661 // in1 = "in", flattened 2-vectors 12662 public result_int reduce_my_uchar2_0(byte[] in1) { 12663 // Verify that "in1" is non-null. 12664 if (in1 == null) { 12665 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12666 } 12667 // Verify that the array length is a multiple of the vector size. 12668 if (in1.length % 2 != 0) { 12669 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12670 } 12671 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12672 ain1.setAutoPadding(true); 12673 ain1.copyFrom(in1); 12674 12675 result_int result = reduce_my_uchar2_0(ain1, null); 12676 result.mTempIns = new Allocation[]{ain1}; 12677 return result; 12678 } 12679 12680 // ain1 = "uchar2 in" 12681 public result_int reduce_my_uchar2_0(Allocation ain1) { 12682 return reduce_my_uchar2_0(ain1, null); 12683 } 12684 12685 // ain1 = "uchar2 in" 12686 public result_int reduce_my_uchar2_0(Allocation ain1, Script.LaunchOptions sc) { 12687 // check ain1 12688 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12689 throw new RSRuntimeException("Type mismatch with U8_2!"); 12690 } 12691 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12692 aout.setAutoPadding(true); 12693 reduce(mExportReduceIdx_my_uchar2_0, new Allocation[]{ain1}, aout, sc); 12694 return new result_int(aout); 12695 } 12696 12697 private final static int mExportReduceIdx_my_uchar2_1 = 353; 12698 // in1 = "in", flattened 2-vectors 12699 public result_int reduce_my_uchar2_1(byte[] in1) { 12700 // Verify that "in1" is non-null. 12701 if (in1 == null) { 12702 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12703 } 12704 // Verify that the array length is a multiple of the vector size. 12705 if (in1.length % 2 != 0) { 12706 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12707 } 12708 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12709 ain1.setAutoPadding(true); 12710 ain1.copyFrom(in1); 12711 12712 result_int result = reduce_my_uchar2_1(ain1, null); 12713 result.mTempIns = new Allocation[]{ain1}; 12714 return result; 12715 } 12716 12717 // ain1 = "uchar2 in" 12718 public result_int reduce_my_uchar2_1(Allocation ain1) { 12719 return reduce_my_uchar2_1(ain1, null); 12720 } 12721 12722 // ain1 = "uchar2 in" 12723 public result_int reduce_my_uchar2_1(Allocation ain1, Script.LaunchOptions sc) { 12724 // check ain1 12725 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12726 throw new RSRuntimeException("Type mismatch with U8_2!"); 12727 } 12728 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12729 aout.setAutoPadding(true); 12730 reduce(mExportReduceIdx_my_uchar2_1, new Allocation[]{ain1}, aout, sc); 12731 return new result_int(aout); 12732 } 12733 12734 private final static int mExportReduceIdx_my_uchar2_2 = 354; 12735 // in1 = "in", flattened 2-vectors 12736 public result_int reduce_my_uchar2_2(byte[] in1) { 12737 // Verify that "in1" is non-null. 12738 if (in1 == null) { 12739 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12740 } 12741 // Verify that the array length is a multiple of the vector size. 12742 if (in1.length % 2 != 0) { 12743 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12744 } 12745 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12746 ain1.setAutoPadding(true); 12747 ain1.copyFrom(in1); 12748 12749 result_int result = reduce_my_uchar2_2(ain1, null); 12750 result.mTempIns = new Allocation[]{ain1}; 12751 return result; 12752 } 12753 12754 // ain1 = "uchar2 in" 12755 public result_int reduce_my_uchar2_2(Allocation ain1) { 12756 return reduce_my_uchar2_2(ain1, null); 12757 } 12758 12759 // ain1 = "uchar2 in" 12760 public result_int reduce_my_uchar2_2(Allocation ain1, Script.LaunchOptions sc) { 12761 // check ain1 12762 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12763 throw new RSRuntimeException("Type mismatch with U8_2!"); 12764 } 12765 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12766 aout.setAutoPadding(true); 12767 reduce(mExportReduceIdx_my_uchar2_2, new Allocation[]{ain1}, aout, sc); 12768 return new result_int(aout); 12769 } 12770 12771 private final static int mExportReduceIdx_my_uchar2_3 = 355; 12772 // in1 = "in", flattened 2-vectors 12773 public result_int reduce_my_uchar2_3(byte[] in1) { 12774 // Verify that "in1" is non-null. 12775 if (in1 == null) { 12776 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12777 } 12778 // Verify that the array length is a multiple of the vector size. 12779 if (in1.length % 2 != 0) { 12780 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12781 } 12782 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12783 ain1.setAutoPadding(true); 12784 ain1.copyFrom(in1); 12785 12786 result_int result = reduce_my_uchar2_3(ain1, null); 12787 result.mTempIns = new Allocation[]{ain1}; 12788 return result; 12789 } 12790 12791 // ain1 = "uchar2 in" 12792 public result_int reduce_my_uchar2_3(Allocation ain1) { 12793 return reduce_my_uchar2_3(ain1, null); 12794 } 12795 12796 // ain1 = "uchar2 in" 12797 public result_int reduce_my_uchar2_3(Allocation ain1, Script.LaunchOptions sc) { 12798 // check ain1 12799 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12800 throw new RSRuntimeException("Type mismatch with U8_2!"); 12801 } 12802 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12803 aout.setAutoPadding(true); 12804 reduce(mExportReduceIdx_my_uchar2_3, new Allocation[]{ain1}, aout, sc); 12805 return new result_int(aout); 12806 } 12807 12808 private final static int mExportReduceIdx_my_uchar2_4 = 356; 12809 // in1 = "in", flattened 2-vectors 12810 public result_int reduce_my_uchar2_4(byte[] in1) { 12811 // Verify that "in1" is non-null. 12812 if (in1 == null) { 12813 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12814 } 12815 // Verify that the array length is a multiple of the vector size. 12816 if (in1.length % 2 != 0) { 12817 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12818 } 12819 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12820 ain1.setAutoPadding(true); 12821 ain1.copyFrom(in1); 12822 12823 result_int result = reduce_my_uchar2_4(ain1, null); 12824 result.mTempIns = new Allocation[]{ain1}; 12825 return result; 12826 } 12827 12828 // ain1 = "uchar2 in" 12829 public result_int reduce_my_uchar2_4(Allocation ain1) { 12830 return reduce_my_uchar2_4(ain1, null); 12831 } 12832 12833 // ain1 = "uchar2 in" 12834 public result_int reduce_my_uchar2_4(Allocation ain1, Script.LaunchOptions sc) { 12835 // check ain1 12836 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12837 throw new RSRuntimeException("Type mismatch with U8_2!"); 12838 } 12839 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12840 aout.setAutoPadding(true); 12841 reduce(mExportReduceIdx_my_uchar2_4, new Allocation[]{ain1}, aout, sc); 12842 return new result_int(aout); 12843 } 12844 12845 private final static int mExportReduceIdx_my_uchar2_5 = 357; 12846 // in1 = "in", flattened 2-vectors 12847 public result_int reduce_my_uchar2_5(byte[] in1) { 12848 // Verify that "in1" is non-null. 12849 if (in1 == null) { 12850 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12851 } 12852 // Verify that the array length is a multiple of the vector size. 12853 if (in1.length % 2 != 0) { 12854 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12855 } 12856 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12857 ain1.setAutoPadding(true); 12858 ain1.copyFrom(in1); 12859 12860 result_int result = reduce_my_uchar2_5(ain1, null); 12861 result.mTempIns = new Allocation[]{ain1}; 12862 return result; 12863 } 12864 12865 // ain1 = "uchar2 in" 12866 public result_int reduce_my_uchar2_5(Allocation ain1) { 12867 return reduce_my_uchar2_5(ain1, null); 12868 } 12869 12870 // ain1 = "uchar2 in" 12871 public result_int reduce_my_uchar2_5(Allocation ain1, Script.LaunchOptions sc) { 12872 // check ain1 12873 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12874 throw new RSRuntimeException("Type mismatch with U8_2!"); 12875 } 12876 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12877 aout.setAutoPadding(true); 12878 reduce(mExportReduceIdx_my_uchar2_5, new Allocation[]{ain1}, aout, sc); 12879 return new result_int(aout); 12880 } 12881 12882 private final static int mExportReduceIdx_my_uchar2_6 = 358; 12883 // in1 = "in", flattened 2-vectors 12884 public result_int reduce_my_uchar2_6(byte[] in1) { 12885 // Verify that "in1" is non-null. 12886 if (in1 == null) { 12887 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12888 } 12889 // Verify that the array length is a multiple of the vector size. 12890 if (in1.length % 2 != 0) { 12891 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12892 } 12893 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12894 ain1.setAutoPadding(true); 12895 ain1.copyFrom(in1); 12896 12897 result_int result = reduce_my_uchar2_6(ain1, null); 12898 result.mTempIns = new Allocation[]{ain1}; 12899 return result; 12900 } 12901 12902 // ain1 = "uchar2 in" 12903 public result_int reduce_my_uchar2_6(Allocation ain1) { 12904 return reduce_my_uchar2_6(ain1, null); 12905 } 12906 12907 // ain1 = "uchar2 in" 12908 public result_int reduce_my_uchar2_6(Allocation ain1, Script.LaunchOptions sc) { 12909 // check ain1 12910 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12911 throw new RSRuntimeException("Type mismatch with U8_2!"); 12912 } 12913 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12914 aout.setAutoPadding(true); 12915 reduce(mExportReduceIdx_my_uchar2_6, new Allocation[]{ain1}, aout, sc); 12916 return new result_int(aout); 12917 } 12918 12919 private final static int mExportReduceIdx_my_uchar2_7 = 359; 12920 // in1 = "in", flattened 2-vectors 12921 public result_int reduce_my_uchar2_7(byte[] in1) { 12922 // Verify that "in1" is non-null. 12923 if (in1 == null) { 12924 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12925 } 12926 // Verify that the array length is a multiple of the vector size. 12927 if (in1.length % 2 != 0) { 12928 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12929 } 12930 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12931 ain1.setAutoPadding(true); 12932 ain1.copyFrom(in1); 12933 12934 result_int result = reduce_my_uchar2_7(ain1, null); 12935 result.mTempIns = new Allocation[]{ain1}; 12936 return result; 12937 } 12938 12939 // ain1 = "uchar2 in" 12940 public result_int reduce_my_uchar2_7(Allocation ain1) { 12941 return reduce_my_uchar2_7(ain1, null); 12942 } 12943 12944 // ain1 = "uchar2 in" 12945 public result_int reduce_my_uchar2_7(Allocation ain1, Script.LaunchOptions sc) { 12946 // check ain1 12947 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12948 throw new RSRuntimeException("Type mismatch with U8_2!"); 12949 } 12950 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12951 aout.setAutoPadding(true); 12952 reduce(mExportReduceIdx_my_uchar2_7, new Allocation[]{ain1}, aout, sc); 12953 return new result_int(aout); 12954 } 12955 12956 private final static int mExportReduceIdx_my_uchar2_8 = 360; 12957 // in1 = "in", flattened 2-vectors 12958 public result_int reduce_my_uchar2_8(byte[] in1) { 12959 // Verify that "in1" is non-null. 12960 if (in1 == null) { 12961 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12962 } 12963 // Verify that the array length is a multiple of the vector size. 12964 if (in1.length % 2 != 0) { 12965 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12966 } 12967 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12968 ain1.setAutoPadding(true); 12969 ain1.copyFrom(in1); 12970 12971 result_int result = reduce_my_uchar2_8(ain1, null); 12972 result.mTempIns = new Allocation[]{ain1}; 12973 return result; 12974 } 12975 12976 // ain1 = "uchar2 in" 12977 public result_int reduce_my_uchar2_8(Allocation ain1) { 12978 return reduce_my_uchar2_8(ain1, null); 12979 } 12980 12981 // ain1 = "uchar2 in" 12982 public result_int reduce_my_uchar2_8(Allocation ain1, Script.LaunchOptions sc) { 12983 // check ain1 12984 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12985 throw new RSRuntimeException("Type mismatch with U8_2!"); 12986 } 12987 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12988 aout.setAutoPadding(true); 12989 reduce(mExportReduceIdx_my_uchar2_8, new Allocation[]{ain1}, aout, sc); 12990 return new result_int(aout); 12991 } 12992 12993 private final static int mExportReduceIdx_my_uchar2_9 = 361; 12994 // in1 = "in", flattened 2-vectors 12995 public result_int reduce_my_uchar2_9(byte[] in1) { 12996 // Verify that "in1" is non-null. 12997 if (in1 == null) { 12998 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12999 } 13000 // Verify that the array length is a multiple of the vector size. 13001 if (in1.length % 2 != 0) { 13002 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13003 } 13004 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13005 ain1.setAutoPadding(true); 13006 ain1.copyFrom(in1); 13007 13008 result_int result = reduce_my_uchar2_9(ain1, null); 13009 result.mTempIns = new Allocation[]{ain1}; 13010 return result; 13011 } 13012 13013 // ain1 = "uchar2 in" 13014 public result_int reduce_my_uchar2_9(Allocation ain1) { 13015 return reduce_my_uchar2_9(ain1, null); 13016 } 13017 13018 // ain1 = "uchar2 in" 13019 public result_int reduce_my_uchar2_9(Allocation ain1, Script.LaunchOptions sc) { 13020 // check ain1 13021 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13022 throw new RSRuntimeException("Type mismatch with U8_2!"); 13023 } 13024 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13025 aout.setAutoPadding(true); 13026 reduce(mExportReduceIdx_my_uchar2_9, new Allocation[]{ain1}, aout, sc); 13027 return new result_int(aout); 13028 } 13029 13030 private final static int mExportReduceIdx_my_uchar2_10 = 362; 13031 // in1 = "in", flattened 2-vectors 13032 public result_int reduce_my_uchar2_10(byte[] in1) { 13033 // Verify that "in1" is non-null. 13034 if (in1 == null) { 13035 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13036 } 13037 // Verify that the array length is a multiple of the vector size. 13038 if (in1.length % 2 != 0) { 13039 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13040 } 13041 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13042 ain1.setAutoPadding(true); 13043 ain1.copyFrom(in1); 13044 13045 result_int result = reduce_my_uchar2_10(ain1, null); 13046 result.mTempIns = new Allocation[]{ain1}; 13047 return result; 13048 } 13049 13050 // ain1 = "uchar2 in" 13051 public result_int reduce_my_uchar2_10(Allocation ain1) { 13052 return reduce_my_uchar2_10(ain1, null); 13053 } 13054 13055 // ain1 = "uchar2 in" 13056 public result_int reduce_my_uchar2_10(Allocation ain1, Script.LaunchOptions sc) { 13057 // check ain1 13058 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13059 throw new RSRuntimeException("Type mismatch with U8_2!"); 13060 } 13061 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13062 aout.setAutoPadding(true); 13063 reduce(mExportReduceIdx_my_uchar2_10, new Allocation[]{ain1}, aout, sc); 13064 return new result_int(aout); 13065 } 13066 13067 private final static int mExportReduceIdx_my_uchar2_11 = 363; 13068 // in1 = "in", flattened 2-vectors 13069 public result_int reduce_my_uchar2_11(byte[] in1) { 13070 // Verify that "in1" is non-null. 13071 if (in1 == null) { 13072 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13073 } 13074 // Verify that the array length is a multiple of the vector size. 13075 if (in1.length % 2 != 0) { 13076 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13077 } 13078 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13079 ain1.setAutoPadding(true); 13080 ain1.copyFrom(in1); 13081 13082 result_int result = reduce_my_uchar2_11(ain1, null); 13083 result.mTempIns = new Allocation[]{ain1}; 13084 return result; 13085 } 13086 13087 // ain1 = "uchar2 in" 13088 public result_int reduce_my_uchar2_11(Allocation ain1) { 13089 return reduce_my_uchar2_11(ain1, null); 13090 } 13091 13092 // ain1 = "uchar2 in" 13093 public result_int reduce_my_uchar2_11(Allocation ain1, Script.LaunchOptions sc) { 13094 // check ain1 13095 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13096 throw new RSRuntimeException("Type mismatch with U8_2!"); 13097 } 13098 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13099 aout.setAutoPadding(true); 13100 reduce(mExportReduceIdx_my_uchar2_11, new Allocation[]{ain1}, aout, sc); 13101 return new result_int(aout); 13102 } 13103 13104 private final static int mExportReduceIdx_my_uchar2_12 = 364; 13105 // in1 = "in", flattened 2-vectors 13106 public result_int reduce_my_uchar2_12(byte[] in1) { 13107 // Verify that "in1" is non-null. 13108 if (in1 == null) { 13109 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13110 } 13111 // Verify that the array length is a multiple of the vector size. 13112 if (in1.length % 2 != 0) { 13113 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13114 } 13115 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13116 ain1.setAutoPadding(true); 13117 ain1.copyFrom(in1); 13118 13119 result_int result = reduce_my_uchar2_12(ain1, null); 13120 result.mTempIns = new Allocation[]{ain1}; 13121 return result; 13122 } 13123 13124 // ain1 = "uchar2 in" 13125 public result_int reduce_my_uchar2_12(Allocation ain1) { 13126 return reduce_my_uchar2_12(ain1, null); 13127 } 13128 13129 // ain1 = "uchar2 in" 13130 public result_int reduce_my_uchar2_12(Allocation ain1, Script.LaunchOptions sc) { 13131 // check ain1 13132 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13133 throw new RSRuntimeException("Type mismatch with U8_2!"); 13134 } 13135 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13136 aout.setAutoPadding(true); 13137 reduce(mExportReduceIdx_my_uchar2_12, new Allocation[]{ain1}, aout, sc); 13138 return new result_int(aout); 13139 } 13140 13141 private final static int mExportReduceIdx_my_uchar2_13 = 365; 13142 // in1 = "in", flattened 2-vectors 13143 public result_int reduce_my_uchar2_13(byte[] in1) { 13144 // Verify that "in1" is non-null. 13145 if (in1 == null) { 13146 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13147 } 13148 // Verify that the array length is a multiple of the vector size. 13149 if (in1.length % 2 != 0) { 13150 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13151 } 13152 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13153 ain1.setAutoPadding(true); 13154 ain1.copyFrom(in1); 13155 13156 result_int result = reduce_my_uchar2_13(ain1, null); 13157 result.mTempIns = new Allocation[]{ain1}; 13158 return result; 13159 } 13160 13161 // ain1 = "uchar2 in" 13162 public result_int reduce_my_uchar2_13(Allocation ain1) { 13163 return reduce_my_uchar2_13(ain1, null); 13164 } 13165 13166 // ain1 = "uchar2 in" 13167 public result_int reduce_my_uchar2_13(Allocation ain1, Script.LaunchOptions sc) { 13168 // check ain1 13169 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13170 throw new RSRuntimeException("Type mismatch with U8_2!"); 13171 } 13172 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13173 aout.setAutoPadding(true); 13174 reduce(mExportReduceIdx_my_uchar2_13, new Allocation[]{ain1}, aout, sc); 13175 return new result_int(aout); 13176 } 13177 13178 private final static int mExportReduceIdx_my_uchar2_14 = 366; 13179 // in1 = "in", flattened 2-vectors 13180 public result_int reduce_my_uchar2_14(byte[] in1) { 13181 // Verify that "in1" is non-null. 13182 if (in1 == null) { 13183 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13184 } 13185 // Verify that the array length is a multiple of the vector size. 13186 if (in1.length % 2 != 0) { 13187 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13188 } 13189 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13190 ain1.setAutoPadding(true); 13191 ain1.copyFrom(in1); 13192 13193 result_int result = reduce_my_uchar2_14(ain1, null); 13194 result.mTempIns = new Allocation[]{ain1}; 13195 return result; 13196 } 13197 13198 // ain1 = "uchar2 in" 13199 public result_int reduce_my_uchar2_14(Allocation ain1) { 13200 return reduce_my_uchar2_14(ain1, null); 13201 } 13202 13203 // ain1 = "uchar2 in" 13204 public result_int reduce_my_uchar2_14(Allocation ain1, Script.LaunchOptions sc) { 13205 // check ain1 13206 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13207 throw new RSRuntimeException("Type mismatch with U8_2!"); 13208 } 13209 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13210 aout.setAutoPadding(true); 13211 reduce(mExportReduceIdx_my_uchar2_14, new Allocation[]{ain1}, aout, sc); 13212 return new result_int(aout); 13213 } 13214 13215 private final static int mExportReduceIdx_my_uchar2_15 = 367; 13216 // in1 = "in", flattened 2-vectors 13217 public result_int reduce_my_uchar2_15(byte[] in1) { 13218 // Verify that "in1" is non-null. 13219 if (in1 == null) { 13220 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13221 } 13222 // Verify that the array length is a multiple of the vector size. 13223 if (in1.length % 2 != 0) { 13224 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13225 } 13226 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13227 ain1.setAutoPadding(true); 13228 ain1.copyFrom(in1); 13229 13230 result_int result = reduce_my_uchar2_15(ain1, null); 13231 result.mTempIns = new Allocation[]{ain1}; 13232 return result; 13233 } 13234 13235 // ain1 = "uchar2 in" 13236 public result_int reduce_my_uchar2_15(Allocation ain1) { 13237 return reduce_my_uchar2_15(ain1, null); 13238 } 13239 13240 // ain1 = "uchar2 in" 13241 public result_int reduce_my_uchar2_15(Allocation ain1, Script.LaunchOptions sc) { 13242 // check ain1 13243 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13244 throw new RSRuntimeException("Type mismatch with U8_2!"); 13245 } 13246 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13247 aout.setAutoPadding(true); 13248 reduce(mExportReduceIdx_my_uchar2_15, new Allocation[]{ain1}, aout, sc); 13249 return new result_int(aout); 13250 } 13251 13252 private final static int mExportReduceIdx_my_uchar4_0 = 368; 13253 // in1 = "in", flattened 4-vectors 13254 public result_int reduce_my_uchar4_0(byte[] in1) { 13255 // Verify that "in1" is non-null. 13256 if (in1 == null) { 13257 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13258 } 13259 // Verify that the array length is a multiple of the vector size. 13260 if (in1.length % 4 != 0) { 13261 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13262 } 13263 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13264 ain1.setAutoPadding(true); 13265 ain1.copyFrom(in1); 13266 13267 result_int result = reduce_my_uchar4_0(ain1, null); 13268 result.mTempIns = new Allocation[]{ain1}; 13269 return result; 13270 } 13271 13272 // ain1 = "uchar4 in" 13273 public result_int reduce_my_uchar4_0(Allocation ain1) { 13274 return reduce_my_uchar4_0(ain1, null); 13275 } 13276 13277 // ain1 = "uchar4 in" 13278 public result_int reduce_my_uchar4_0(Allocation ain1, Script.LaunchOptions sc) { 13279 // check ain1 13280 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13281 throw new RSRuntimeException("Type mismatch with U8_4!"); 13282 } 13283 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13284 aout.setAutoPadding(true); 13285 reduce(mExportReduceIdx_my_uchar4_0, new Allocation[]{ain1}, aout, sc); 13286 return new result_int(aout); 13287 } 13288 13289 private final static int mExportReduceIdx_my_uchar4_1 = 369; 13290 // in1 = "in", flattened 4-vectors 13291 public result_int reduce_my_uchar4_1(byte[] in1) { 13292 // Verify that "in1" is non-null. 13293 if (in1 == null) { 13294 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13295 } 13296 // Verify that the array length is a multiple of the vector size. 13297 if (in1.length % 4 != 0) { 13298 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13299 } 13300 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13301 ain1.setAutoPadding(true); 13302 ain1.copyFrom(in1); 13303 13304 result_int result = reduce_my_uchar4_1(ain1, null); 13305 result.mTempIns = new Allocation[]{ain1}; 13306 return result; 13307 } 13308 13309 // ain1 = "uchar4 in" 13310 public result_int reduce_my_uchar4_1(Allocation ain1) { 13311 return reduce_my_uchar4_1(ain1, null); 13312 } 13313 13314 // ain1 = "uchar4 in" 13315 public result_int reduce_my_uchar4_1(Allocation ain1, Script.LaunchOptions sc) { 13316 // check ain1 13317 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13318 throw new RSRuntimeException("Type mismatch with U8_4!"); 13319 } 13320 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13321 aout.setAutoPadding(true); 13322 reduce(mExportReduceIdx_my_uchar4_1, new Allocation[]{ain1}, aout, sc); 13323 return new result_int(aout); 13324 } 13325 13326 private final static int mExportReduceIdx_my_uchar4_2 = 370; 13327 // in1 = "in", flattened 4-vectors 13328 public result_int reduce_my_uchar4_2(byte[] in1) { 13329 // Verify that "in1" is non-null. 13330 if (in1 == null) { 13331 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13332 } 13333 // Verify that the array length is a multiple of the vector size. 13334 if (in1.length % 4 != 0) { 13335 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13336 } 13337 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13338 ain1.setAutoPadding(true); 13339 ain1.copyFrom(in1); 13340 13341 result_int result = reduce_my_uchar4_2(ain1, null); 13342 result.mTempIns = new Allocation[]{ain1}; 13343 return result; 13344 } 13345 13346 // ain1 = "uchar4 in" 13347 public result_int reduce_my_uchar4_2(Allocation ain1) { 13348 return reduce_my_uchar4_2(ain1, null); 13349 } 13350 13351 // ain1 = "uchar4 in" 13352 public result_int reduce_my_uchar4_2(Allocation ain1, Script.LaunchOptions sc) { 13353 // check ain1 13354 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13355 throw new RSRuntimeException("Type mismatch with U8_4!"); 13356 } 13357 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13358 aout.setAutoPadding(true); 13359 reduce(mExportReduceIdx_my_uchar4_2, new Allocation[]{ain1}, aout, sc); 13360 return new result_int(aout); 13361 } 13362 13363 private final static int mExportReduceIdx_my_uchar4_3 = 371; 13364 // in1 = "in", flattened 4-vectors 13365 public result_int reduce_my_uchar4_3(byte[] in1) { 13366 // Verify that "in1" is non-null. 13367 if (in1 == null) { 13368 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13369 } 13370 // Verify that the array length is a multiple of the vector size. 13371 if (in1.length % 4 != 0) { 13372 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13373 } 13374 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13375 ain1.setAutoPadding(true); 13376 ain1.copyFrom(in1); 13377 13378 result_int result = reduce_my_uchar4_3(ain1, null); 13379 result.mTempIns = new Allocation[]{ain1}; 13380 return result; 13381 } 13382 13383 // ain1 = "uchar4 in" 13384 public result_int reduce_my_uchar4_3(Allocation ain1) { 13385 return reduce_my_uchar4_3(ain1, null); 13386 } 13387 13388 // ain1 = "uchar4 in" 13389 public result_int reduce_my_uchar4_3(Allocation ain1, Script.LaunchOptions sc) { 13390 // check ain1 13391 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13392 throw new RSRuntimeException("Type mismatch with U8_4!"); 13393 } 13394 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13395 aout.setAutoPadding(true); 13396 reduce(mExportReduceIdx_my_uchar4_3, new Allocation[]{ain1}, aout, sc); 13397 return new result_int(aout); 13398 } 13399 13400 private final static int mExportReduceIdx_my_uchar4_4 = 372; 13401 // in1 = "in", flattened 4-vectors 13402 public result_int reduce_my_uchar4_4(byte[] in1) { 13403 // Verify that "in1" is non-null. 13404 if (in1 == null) { 13405 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13406 } 13407 // Verify that the array length is a multiple of the vector size. 13408 if (in1.length % 4 != 0) { 13409 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13410 } 13411 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13412 ain1.setAutoPadding(true); 13413 ain1.copyFrom(in1); 13414 13415 result_int result = reduce_my_uchar4_4(ain1, null); 13416 result.mTempIns = new Allocation[]{ain1}; 13417 return result; 13418 } 13419 13420 // ain1 = "uchar4 in" 13421 public result_int reduce_my_uchar4_4(Allocation ain1) { 13422 return reduce_my_uchar4_4(ain1, null); 13423 } 13424 13425 // ain1 = "uchar4 in" 13426 public result_int reduce_my_uchar4_4(Allocation ain1, Script.LaunchOptions sc) { 13427 // check ain1 13428 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13429 throw new RSRuntimeException("Type mismatch with U8_4!"); 13430 } 13431 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13432 aout.setAutoPadding(true); 13433 reduce(mExportReduceIdx_my_uchar4_4, new Allocation[]{ain1}, aout, sc); 13434 return new result_int(aout); 13435 } 13436 13437 private final static int mExportReduceIdx_my_uchar4_5 = 373; 13438 // in1 = "in", flattened 4-vectors 13439 public result_int reduce_my_uchar4_5(byte[] in1) { 13440 // Verify that "in1" is non-null. 13441 if (in1 == null) { 13442 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13443 } 13444 // Verify that the array length is a multiple of the vector size. 13445 if (in1.length % 4 != 0) { 13446 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13447 } 13448 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13449 ain1.setAutoPadding(true); 13450 ain1.copyFrom(in1); 13451 13452 result_int result = reduce_my_uchar4_5(ain1, null); 13453 result.mTempIns = new Allocation[]{ain1}; 13454 return result; 13455 } 13456 13457 // ain1 = "uchar4 in" 13458 public result_int reduce_my_uchar4_5(Allocation ain1) { 13459 return reduce_my_uchar4_5(ain1, null); 13460 } 13461 13462 // ain1 = "uchar4 in" 13463 public result_int reduce_my_uchar4_5(Allocation ain1, Script.LaunchOptions sc) { 13464 // check ain1 13465 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13466 throw new RSRuntimeException("Type mismatch with U8_4!"); 13467 } 13468 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13469 aout.setAutoPadding(true); 13470 reduce(mExportReduceIdx_my_uchar4_5, new Allocation[]{ain1}, aout, sc); 13471 return new result_int(aout); 13472 } 13473 13474 private final static int mExportReduceIdx_my_uchar4_6 = 374; 13475 // in1 = "in", flattened 4-vectors 13476 public result_int reduce_my_uchar4_6(byte[] in1) { 13477 // Verify that "in1" is non-null. 13478 if (in1 == null) { 13479 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13480 } 13481 // Verify that the array length is a multiple of the vector size. 13482 if (in1.length % 4 != 0) { 13483 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13484 } 13485 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13486 ain1.setAutoPadding(true); 13487 ain1.copyFrom(in1); 13488 13489 result_int result = reduce_my_uchar4_6(ain1, null); 13490 result.mTempIns = new Allocation[]{ain1}; 13491 return result; 13492 } 13493 13494 // ain1 = "uchar4 in" 13495 public result_int reduce_my_uchar4_6(Allocation ain1) { 13496 return reduce_my_uchar4_6(ain1, null); 13497 } 13498 13499 // ain1 = "uchar4 in" 13500 public result_int reduce_my_uchar4_6(Allocation ain1, Script.LaunchOptions sc) { 13501 // check ain1 13502 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13503 throw new RSRuntimeException("Type mismatch with U8_4!"); 13504 } 13505 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13506 aout.setAutoPadding(true); 13507 reduce(mExportReduceIdx_my_uchar4_6, new Allocation[]{ain1}, aout, sc); 13508 return new result_int(aout); 13509 } 13510 13511 private final static int mExportReduceIdx_my_uchar4_7 = 375; 13512 // in1 = "in", flattened 4-vectors 13513 public result_int reduce_my_uchar4_7(byte[] in1) { 13514 // Verify that "in1" is non-null. 13515 if (in1 == null) { 13516 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13517 } 13518 // Verify that the array length is a multiple of the vector size. 13519 if (in1.length % 4 != 0) { 13520 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13521 } 13522 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13523 ain1.setAutoPadding(true); 13524 ain1.copyFrom(in1); 13525 13526 result_int result = reduce_my_uchar4_7(ain1, null); 13527 result.mTempIns = new Allocation[]{ain1}; 13528 return result; 13529 } 13530 13531 // ain1 = "uchar4 in" 13532 public result_int reduce_my_uchar4_7(Allocation ain1) { 13533 return reduce_my_uchar4_7(ain1, null); 13534 } 13535 13536 // ain1 = "uchar4 in" 13537 public result_int reduce_my_uchar4_7(Allocation ain1, Script.LaunchOptions sc) { 13538 // check ain1 13539 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13540 throw new RSRuntimeException("Type mismatch with U8_4!"); 13541 } 13542 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13543 aout.setAutoPadding(true); 13544 reduce(mExportReduceIdx_my_uchar4_7, new Allocation[]{ain1}, aout, sc); 13545 return new result_int(aout); 13546 } 13547 13548 private final static int mExportReduceIdx_my_uchar4_8 = 376; 13549 // in1 = "in", flattened 4-vectors 13550 public result_int reduce_my_uchar4_8(byte[] in1) { 13551 // Verify that "in1" is non-null. 13552 if (in1 == null) { 13553 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13554 } 13555 // Verify that the array length is a multiple of the vector size. 13556 if (in1.length % 4 != 0) { 13557 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13558 } 13559 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13560 ain1.setAutoPadding(true); 13561 ain1.copyFrom(in1); 13562 13563 result_int result = reduce_my_uchar4_8(ain1, null); 13564 result.mTempIns = new Allocation[]{ain1}; 13565 return result; 13566 } 13567 13568 // ain1 = "uchar4 in" 13569 public result_int reduce_my_uchar4_8(Allocation ain1) { 13570 return reduce_my_uchar4_8(ain1, null); 13571 } 13572 13573 // ain1 = "uchar4 in" 13574 public result_int reduce_my_uchar4_8(Allocation ain1, Script.LaunchOptions sc) { 13575 // check ain1 13576 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13577 throw new RSRuntimeException("Type mismatch with U8_4!"); 13578 } 13579 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13580 aout.setAutoPadding(true); 13581 reduce(mExportReduceIdx_my_uchar4_8, new Allocation[]{ain1}, aout, sc); 13582 return new result_int(aout); 13583 } 13584 13585 private final static int mExportReduceIdx_my_uchar4_9 = 377; 13586 // in1 = "in", flattened 4-vectors 13587 public result_int reduce_my_uchar4_9(byte[] in1) { 13588 // Verify that "in1" is non-null. 13589 if (in1 == null) { 13590 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13591 } 13592 // Verify that the array length is a multiple of the vector size. 13593 if (in1.length % 4 != 0) { 13594 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13595 } 13596 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13597 ain1.setAutoPadding(true); 13598 ain1.copyFrom(in1); 13599 13600 result_int result = reduce_my_uchar4_9(ain1, null); 13601 result.mTempIns = new Allocation[]{ain1}; 13602 return result; 13603 } 13604 13605 // ain1 = "uchar4 in" 13606 public result_int reduce_my_uchar4_9(Allocation ain1) { 13607 return reduce_my_uchar4_9(ain1, null); 13608 } 13609 13610 // ain1 = "uchar4 in" 13611 public result_int reduce_my_uchar4_9(Allocation ain1, Script.LaunchOptions sc) { 13612 // check ain1 13613 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13614 throw new RSRuntimeException("Type mismatch with U8_4!"); 13615 } 13616 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13617 aout.setAutoPadding(true); 13618 reduce(mExportReduceIdx_my_uchar4_9, new Allocation[]{ain1}, aout, sc); 13619 return new result_int(aout); 13620 } 13621 13622 private final static int mExportReduceIdx_my_uchar4_10 = 378; 13623 // in1 = "in", flattened 4-vectors 13624 public result_int reduce_my_uchar4_10(byte[] in1) { 13625 // Verify that "in1" is non-null. 13626 if (in1 == null) { 13627 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13628 } 13629 // Verify that the array length is a multiple of the vector size. 13630 if (in1.length % 4 != 0) { 13631 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13632 } 13633 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13634 ain1.setAutoPadding(true); 13635 ain1.copyFrom(in1); 13636 13637 result_int result = reduce_my_uchar4_10(ain1, null); 13638 result.mTempIns = new Allocation[]{ain1}; 13639 return result; 13640 } 13641 13642 // ain1 = "uchar4 in" 13643 public result_int reduce_my_uchar4_10(Allocation ain1) { 13644 return reduce_my_uchar4_10(ain1, null); 13645 } 13646 13647 // ain1 = "uchar4 in" 13648 public result_int reduce_my_uchar4_10(Allocation ain1, Script.LaunchOptions sc) { 13649 // check ain1 13650 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13651 throw new RSRuntimeException("Type mismatch with U8_4!"); 13652 } 13653 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13654 aout.setAutoPadding(true); 13655 reduce(mExportReduceIdx_my_uchar4_10, new Allocation[]{ain1}, aout, sc); 13656 return new result_int(aout); 13657 } 13658 13659 private final static int mExportReduceIdx_my_uchar4_11 = 379; 13660 // in1 = "in", flattened 4-vectors 13661 public result_int reduce_my_uchar4_11(byte[] in1) { 13662 // Verify that "in1" is non-null. 13663 if (in1 == null) { 13664 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13665 } 13666 // Verify that the array length is a multiple of the vector size. 13667 if (in1.length % 4 != 0) { 13668 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13669 } 13670 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13671 ain1.setAutoPadding(true); 13672 ain1.copyFrom(in1); 13673 13674 result_int result = reduce_my_uchar4_11(ain1, null); 13675 result.mTempIns = new Allocation[]{ain1}; 13676 return result; 13677 } 13678 13679 // ain1 = "uchar4 in" 13680 public result_int reduce_my_uchar4_11(Allocation ain1) { 13681 return reduce_my_uchar4_11(ain1, null); 13682 } 13683 13684 // ain1 = "uchar4 in" 13685 public result_int reduce_my_uchar4_11(Allocation ain1, Script.LaunchOptions sc) { 13686 // check ain1 13687 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13688 throw new RSRuntimeException("Type mismatch with U8_4!"); 13689 } 13690 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13691 aout.setAutoPadding(true); 13692 reduce(mExportReduceIdx_my_uchar4_11, new Allocation[]{ain1}, aout, sc); 13693 return new result_int(aout); 13694 } 13695 13696 private final static int mExportReduceIdx_my_uchar4_12 = 380; 13697 // in1 = "in", flattened 4-vectors 13698 public result_int reduce_my_uchar4_12(byte[] in1) { 13699 // Verify that "in1" is non-null. 13700 if (in1 == null) { 13701 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13702 } 13703 // Verify that the array length is a multiple of the vector size. 13704 if (in1.length % 4 != 0) { 13705 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13706 } 13707 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13708 ain1.setAutoPadding(true); 13709 ain1.copyFrom(in1); 13710 13711 result_int result = reduce_my_uchar4_12(ain1, null); 13712 result.mTempIns = new Allocation[]{ain1}; 13713 return result; 13714 } 13715 13716 // ain1 = "uchar4 in" 13717 public result_int reduce_my_uchar4_12(Allocation ain1) { 13718 return reduce_my_uchar4_12(ain1, null); 13719 } 13720 13721 // ain1 = "uchar4 in" 13722 public result_int reduce_my_uchar4_12(Allocation ain1, Script.LaunchOptions sc) { 13723 // check ain1 13724 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13725 throw new RSRuntimeException("Type mismatch with U8_4!"); 13726 } 13727 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13728 aout.setAutoPadding(true); 13729 reduce(mExportReduceIdx_my_uchar4_12, new Allocation[]{ain1}, aout, sc); 13730 return new result_int(aout); 13731 } 13732 13733 private final static int mExportReduceIdx_my_uchar4_13 = 381; 13734 // in1 = "in", flattened 4-vectors 13735 public result_int reduce_my_uchar4_13(byte[] in1) { 13736 // Verify that "in1" is non-null. 13737 if (in1 == null) { 13738 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13739 } 13740 // Verify that the array length is a multiple of the vector size. 13741 if (in1.length % 4 != 0) { 13742 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13743 } 13744 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13745 ain1.setAutoPadding(true); 13746 ain1.copyFrom(in1); 13747 13748 result_int result = reduce_my_uchar4_13(ain1, null); 13749 result.mTempIns = new Allocation[]{ain1}; 13750 return result; 13751 } 13752 13753 // ain1 = "uchar4 in" 13754 public result_int reduce_my_uchar4_13(Allocation ain1) { 13755 return reduce_my_uchar4_13(ain1, null); 13756 } 13757 13758 // ain1 = "uchar4 in" 13759 public result_int reduce_my_uchar4_13(Allocation ain1, Script.LaunchOptions sc) { 13760 // check ain1 13761 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13762 throw new RSRuntimeException("Type mismatch with U8_4!"); 13763 } 13764 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13765 aout.setAutoPadding(true); 13766 reduce(mExportReduceIdx_my_uchar4_13, new Allocation[]{ain1}, aout, sc); 13767 return new result_int(aout); 13768 } 13769 13770 private final static int mExportReduceIdx_my_uchar4_14 = 382; 13771 // in1 = "in", flattened 4-vectors 13772 public result_int reduce_my_uchar4_14(byte[] in1) { 13773 // Verify that "in1" is non-null. 13774 if (in1 == null) { 13775 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13776 } 13777 // Verify that the array length is a multiple of the vector size. 13778 if (in1.length % 4 != 0) { 13779 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13780 } 13781 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13782 ain1.setAutoPadding(true); 13783 ain1.copyFrom(in1); 13784 13785 result_int result = reduce_my_uchar4_14(ain1, null); 13786 result.mTempIns = new Allocation[]{ain1}; 13787 return result; 13788 } 13789 13790 // ain1 = "uchar4 in" 13791 public result_int reduce_my_uchar4_14(Allocation ain1) { 13792 return reduce_my_uchar4_14(ain1, null); 13793 } 13794 13795 // ain1 = "uchar4 in" 13796 public result_int reduce_my_uchar4_14(Allocation ain1, Script.LaunchOptions sc) { 13797 // check ain1 13798 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13799 throw new RSRuntimeException("Type mismatch with U8_4!"); 13800 } 13801 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13802 aout.setAutoPadding(true); 13803 reduce(mExportReduceIdx_my_uchar4_14, new Allocation[]{ain1}, aout, sc); 13804 return new result_int(aout); 13805 } 13806 13807 private final static int mExportReduceIdx_my_uchar4_15 = 383; 13808 // in1 = "in", flattened 4-vectors 13809 public result_int reduce_my_uchar4_15(byte[] in1) { 13810 // Verify that "in1" is non-null. 13811 if (in1 == null) { 13812 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13813 } 13814 // Verify that the array length is a multiple of the vector size. 13815 if (in1.length % 4 != 0) { 13816 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13817 } 13818 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13819 ain1.setAutoPadding(true); 13820 ain1.copyFrom(in1); 13821 13822 result_int result = reduce_my_uchar4_15(ain1, null); 13823 result.mTempIns = new Allocation[]{ain1}; 13824 return result; 13825 } 13826 13827 // ain1 = "uchar4 in" 13828 public result_int reduce_my_uchar4_15(Allocation ain1) { 13829 return reduce_my_uchar4_15(ain1, null); 13830 } 13831 13832 // ain1 = "uchar4 in" 13833 public result_int reduce_my_uchar4_15(Allocation ain1, Script.LaunchOptions sc) { 13834 // check ain1 13835 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13836 throw new RSRuntimeException("Type mismatch with U8_4!"); 13837 } 13838 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13839 aout.setAutoPadding(true); 13840 reduce(mExportReduceIdx_my_uchar4_15, new Allocation[]{ain1}, aout, sc); 13841 return new result_int(aout); 13842 } 13843 13844 private final static int mExportReduceIdx_my_ushort_0 = 384; 13845 // in1 = "in" 13846 public result_int reduce_my_ushort_0(short[] in1) { 13847 // Verify that "in1" is non-null. 13848 if (in1 == null) { 13849 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13850 } 13851 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13852 ain1.setAutoPadding(true); 13853 ain1.copyFrom(in1); 13854 13855 result_int result = reduce_my_ushort_0(ain1, null); 13856 result.mTempIns = new Allocation[]{ain1}; 13857 return result; 13858 } 13859 13860 // ain1 = "ushort in" 13861 public result_int reduce_my_ushort_0(Allocation ain1) { 13862 return reduce_my_ushort_0(ain1, null); 13863 } 13864 13865 // ain1 = "ushort in" 13866 public result_int reduce_my_ushort_0(Allocation ain1, Script.LaunchOptions sc) { 13867 // check ain1 13868 if (!ain1.getType().getElement().isCompatible(__U16)) { 13869 throw new RSRuntimeException("Type mismatch with U16!"); 13870 } 13871 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13872 aout.setAutoPadding(true); 13873 reduce(mExportReduceIdx_my_ushort_0, new Allocation[]{ain1}, aout, sc); 13874 return new result_int(aout); 13875 } 13876 13877 private final static int mExportReduceIdx_my_ushort_1 = 385; 13878 // in1 = "in" 13879 public result_int reduce_my_ushort_1(short[] in1) { 13880 // Verify that "in1" is non-null. 13881 if (in1 == null) { 13882 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13883 } 13884 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13885 ain1.setAutoPadding(true); 13886 ain1.copyFrom(in1); 13887 13888 result_int result = reduce_my_ushort_1(ain1, null); 13889 result.mTempIns = new Allocation[]{ain1}; 13890 return result; 13891 } 13892 13893 // ain1 = "ushort in" 13894 public result_int reduce_my_ushort_1(Allocation ain1) { 13895 return reduce_my_ushort_1(ain1, null); 13896 } 13897 13898 // ain1 = "ushort in" 13899 public result_int reduce_my_ushort_1(Allocation ain1, Script.LaunchOptions sc) { 13900 // check ain1 13901 if (!ain1.getType().getElement().isCompatible(__U16)) { 13902 throw new RSRuntimeException("Type mismatch with U16!"); 13903 } 13904 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13905 aout.setAutoPadding(true); 13906 reduce(mExportReduceIdx_my_ushort_1, new Allocation[]{ain1}, aout, sc); 13907 return new result_int(aout); 13908 } 13909 13910 private final static int mExportReduceIdx_my_ushort_2 = 386; 13911 // in1 = "in" 13912 public result_int reduce_my_ushort_2(short[] in1) { 13913 // Verify that "in1" is non-null. 13914 if (in1 == null) { 13915 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13916 } 13917 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13918 ain1.setAutoPadding(true); 13919 ain1.copyFrom(in1); 13920 13921 result_int result = reduce_my_ushort_2(ain1, null); 13922 result.mTempIns = new Allocation[]{ain1}; 13923 return result; 13924 } 13925 13926 // ain1 = "ushort in" 13927 public result_int reduce_my_ushort_2(Allocation ain1) { 13928 return reduce_my_ushort_2(ain1, null); 13929 } 13930 13931 // ain1 = "ushort in" 13932 public result_int reduce_my_ushort_2(Allocation ain1, Script.LaunchOptions sc) { 13933 // check ain1 13934 if (!ain1.getType().getElement().isCompatible(__U16)) { 13935 throw new RSRuntimeException("Type mismatch with U16!"); 13936 } 13937 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13938 aout.setAutoPadding(true); 13939 reduce(mExportReduceIdx_my_ushort_2, new Allocation[]{ain1}, aout, sc); 13940 return new result_int(aout); 13941 } 13942 13943 private final static int mExportReduceIdx_my_ushort_3 = 387; 13944 // in1 = "in" 13945 public result_int reduce_my_ushort_3(short[] in1) { 13946 // Verify that "in1" is non-null. 13947 if (in1 == null) { 13948 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13949 } 13950 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13951 ain1.setAutoPadding(true); 13952 ain1.copyFrom(in1); 13953 13954 result_int result = reduce_my_ushort_3(ain1, null); 13955 result.mTempIns = new Allocation[]{ain1}; 13956 return result; 13957 } 13958 13959 // ain1 = "ushort in" 13960 public result_int reduce_my_ushort_3(Allocation ain1) { 13961 return reduce_my_ushort_3(ain1, null); 13962 } 13963 13964 // ain1 = "ushort in" 13965 public result_int reduce_my_ushort_3(Allocation ain1, Script.LaunchOptions sc) { 13966 // check ain1 13967 if (!ain1.getType().getElement().isCompatible(__U16)) { 13968 throw new RSRuntimeException("Type mismatch with U16!"); 13969 } 13970 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13971 aout.setAutoPadding(true); 13972 reduce(mExportReduceIdx_my_ushort_3, new Allocation[]{ain1}, aout, sc); 13973 return new result_int(aout); 13974 } 13975 13976 private final static int mExportReduceIdx_my_ushort_4 = 388; 13977 // in1 = "in" 13978 public result_int reduce_my_ushort_4(short[] in1) { 13979 // Verify that "in1" is non-null. 13980 if (in1 == null) { 13981 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13982 } 13983 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13984 ain1.setAutoPadding(true); 13985 ain1.copyFrom(in1); 13986 13987 result_int result = reduce_my_ushort_4(ain1, null); 13988 result.mTempIns = new Allocation[]{ain1}; 13989 return result; 13990 } 13991 13992 // ain1 = "ushort in" 13993 public result_int reduce_my_ushort_4(Allocation ain1) { 13994 return reduce_my_ushort_4(ain1, null); 13995 } 13996 13997 // ain1 = "ushort in" 13998 public result_int reduce_my_ushort_4(Allocation ain1, Script.LaunchOptions sc) { 13999 // check ain1 14000 if (!ain1.getType().getElement().isCompatible(__U16)) { 14001 throw new RSRuntimeException("Type mismatch with U16!"); 14002 } 14003 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14004 aout.setAutoPadding(true); 14005 reduce(mExportReduceIdx_my_ushort_4, new Allocation[]{ain1}, aout, sc); 14006 return new result_int(aout); 14007 } 14008 14009 private final static int mExportReduceIdx_my_ushort_5 = 389; 14010 // in1 = "in" 14011 public result_int reduce_my_ushort_5(short[] in1) { 14012 // Verify that "in1" is non-null. 14013 if (in1 == null) { 14014 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14015 } 14016 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14017 ain1.setAutoPadding(true); 14018 ain1.copyFrom(in1); 14019 14020 result_int result = reduce_my_ushort_5(ain1, null); 14021 result.mTempIns = new Allocation[]{ain1}; 14022 return result; 14023 } 14024 14025 // ain1 = "ushort in" 14026 public result_int reduce_my_ushort_5(Allocation ain1) { 14027 return reduce_my_ushort_5(ain1, null); 14028 } 14029 14030 // ain1 = "ushort in" 14031 public result_int reduce_my_ushort_5(Allocation ain1, Script.LaunchOptions sc) { 14032 // check ain1 14033 if (!ain1.getType().getElement().isCompatible(__U16)) { 14034 throw new RSRuntimeException("Type mismatch with U16!"); 14035 } 14036 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14037 aout.setAutoPadding(true); 14038 reduce(mExportReduceIdx_my_ushort_5, new Allocation[]{ain1}, aout, sc); 14039 return new result_int(aout); 14040 } 14041 14042 private final static int mExportReduceIdx_my_ushort_6 = 390; 14043 // in1 = "in" 14044 public result_int reduce_my_ushort_6(short[] in1) { 14045 // Verify that "in1" is non-null. 14046 if (in1 == null) { 14047 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14048 } 14049 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14050 ain1.setAutoPadding(true); 14051 ain1.copyFrom(in1); 14052 14053 result_int result = reduce_my_ushort_6(ain1, null); 14054 result.mTempIns = new Allocation[]{ain1}; 14055 return result; 14056 } 14057 14058 // ain1 = "ushort in" 14059 public result_int reduce_my_ushort_6(Allocation ain1) { 14060 return reduce_my_ushort_6(ain1, null); 14061 } 14062 14063 // ain1 = "ushort in" 14064 public result_int reduce_my_ushort_6(Allocation ain1, Script.LaunchOptions sc) { 14065 // check ain1 14066 if (!ain1.getType().getElement().isCompatible(__U16)) { 14067 throw new RSRuntimeException("Type mismatch with U16!"); 14068 } 14069 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14070 aout.setAutoPadding(true); 14071 reduce(mExportReduceIdx_my_ushort_6, new Allocation[]{ain1}, aout, sc); 14072 return new result_int(aout); 14073 } 14074 14075 private final static int mExportReduceIdx_my_ushort_7 = 391; 14076 // in1 = "in" 14077 public result_int reduce_my_ushort_7(short[] in1) { 14078 // Verify that "in1" is non-null. 14079 if (in1 == null) { 14080 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14081 } 14082 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14083 ain1.setAutoPadding(true); 14084 ain1.copyFrom(in1); 14085 14086 result_int result = reduce_my_ushort_7(ain1, null); 14087 result.mTempIns = new Allocation[]{ain1}; 14088 return result; 14089 } 14090 14091 // ain1 = "ushort in" 14092 public result_int reduce_my_ushort_7(Allocation ain1) { 14093 return reduce_my_ushort_7(ain1, null); 14094 } 14095 14096 // ain1 = "ushort in" 14097 public result_int reduce_my_ushort_7(Allocation ain1, Script.LaunchOptions sc) { 14098 // check ain1 14099 if (!ain1.getType().getElement().isCompatible(__U16)) { 14100 throw new RSRuntimeException("Type mismatch with U16!"); 14101 } 14102 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14103 aout.setAutoPadding(true); 14104 reduce(mExportReduceIdx_my_ushort_7, new Allocation[]{ain1}, aout, sc); 14105 return new result_int(aout); 14106 } 14107 14108 private final static int mExportReduceIdx_my_ushort_8 = 392; 14109 // in1 = "in" 14110 public result_int reduce_my_ushort_8(short[] in1) { 14111 // Verify that "in1" is non-null. 14112 if (in1 == null) { 14113 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14114 } 14115 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14116 ain1.setAutoPadding(true); 14117 ain1.copyFrom(in1); 14118 14119 result_int result = reduce_my_ushort_8(ain1, null); 14120 result.mTempIns = new Allocation[]{ain1}; 14121 return result; 14122 } 14123 14124 // ain1 = "ushort in" 14125 public result_int reduce_my_ushort_8(Allocation ain1) { 14126 return reduce_my_ushort_8(ain1, null); 14127 } 14128 14129 // ain1 = "ushort in" 14130 public result_int reduce_my_ushort_8(Allocation ain1, Script.LaunchOptions sc) { 14131 // check ain1 14132 if (!ain1.getType().getElement().isCompatible(__U16)) { 14133 throw new RSRuntimeException("Type mismatch with U16!"); 14134 } 14135 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14136 aout.setAutoPadding(true); 14137 reduce(mExportReduceIdx_my_ushort_8, new Allocation[]{ain1}, aout, sc); 14138 return new result_int(aout); 14139 } 14140 14141 private final static int mExportReduceIdx_my_ushort_9 = 393; 14142 // in1 = "in" 14143 public result_int reduce_my_ushort_9(short[] in1) { 14144 // Verify that "in1" is non-null. 14145 if (in1 == null) { 14146 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14147 } 14148 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14149 ain1.setAutoPadding(true); 14150 ain1.copyFrom(in1); 14151 14152 result_int result = reduce_my_ushort_9(ain1, null); 14153 result.mTempIns = new Allocation[]{ain1}; 14154 return result; 14155 } 14156 14157 // ain1 = "ushort in" 14158 public result_int reduce_my_ushort_9(Allocation ain1) { 14159 return reduce_my_ushort_9(ain1, null); 14160 } 14161 14162 // ain1 = "ushort in" 14163 public result_int reduce_my_ushort_9(Allocation ain1, Script.LaunchOptions sc) { 14164 // check ain1 14165 if (!ain1.getType().getElement().isCompatible(__U16)) { 14166 throw new RSRuntimeException("Type mismatch with U16!"); 14167 } 14168 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14169 aout.setAutoPadding(true); 14170 reduce(mExportReduceIdx_my_ushort_9, new Allocation[]{ain1}, aout, sc); 14171 return new result_int(aout); 14172 } 14173 14174 private final static int mExportReduceIdx_my_ushort_10 = 394; 14175 // in1 = "in" 14176 public result_int reduce_my_ushort_10(short[] in1) { 14177 // Verify that "in1" is non-null. 14178 if (in1 == null) { 14179 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14180 } 14181 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14182 ain1.setAutoPadding(true); 14183 ain1.copyFrom(in1); 14184 14185 result_int result = reduce_my_ushort_10(ain1, null); 14186 result.mTempIns = new Allocation[]{ain1}; 14187 return result; 14188 } 14189 14190 // ain1 = "ushort in" 14191 public result_int reduce_my_ushort_10(Allocation ain1) { 14192 return reduce_my_ushort_10(ain1, null); 14193 } 14194 14195 // ain1 = "ushort in" 14196 public result_int reduce_my_ushort_10(Allocation ain1, Script.LaunchOptions sc) { 14197 // check ain1 14198 if (!ain1.getType().getElement().isCompatible(__U16)) { 14199 throw new RSRuntimeException("Type mismatch with U16!"); 14200 } 14201 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14202 aout.setAutoPadding(true); 14203 reduce(mExportReduceIdx_my_ushort_10, new Allocation[]{ain1}, aout, sc); 14204 return new result_int(aout); 14205 } 14206 14207 private final static int mExportReduceIdx_my_ushort_11 = 395; 14208 // in1 = "in" 14209 public result_int reduce_my_ushort_11(short[] in1) { 14210 // Verify that "in1" is non-null. 14211 if (in1 == null) { 14212 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14213 } 14214 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14215 ain1.setAutoPadding(true); 14216 ain1.copyFrom(in1); 14217 14218 result_int result = reduce_my_ushort_11(ain1, null); 14219 result.mTempIns = new Allocation[]{ain1}; 14220 return result; 14221 } 14222 14223 // ain1 = "ushort in" 14224 public result_int reduce_my_ushort_11(Allocation ain1) { 14225 return reduce_my_ushort_11(ain1, null); 14226 } 14227 14228 // ain1 = "ushort in" 14229 public result_int reduce_my_ushort_11(Allocation ain1, Script.LaunchOptions sc) { 14230 // check ain1 14231 if (!ain1.getType().getElement().isCompatible(__U16)) { 14232 throw new RSRuntimeException("Type mismatch with U16!"); 14233 } 14234 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14235 aout.setAutoPadding(true); 14236 reduce(mExportReduceIdx_my_ushort_11, new Allocation[]{ain1}, aout, sc); 14237 return new result_int(aout); 14238 } 14239 14240 private final static int mExportReduceIdx_my_ushort_12 = 396; 14241 // in1 = "in" 14242 public result_int reduce_my_ushort_12(short[] in1) { 14243 // Verify that "in1" is non-null. 14244 if (in1 == null) { 14245 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14246 } 14247 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14248 ain1.setAutoPadding(true); 14249 ain1.copyFrom(in1); 14250 14251 result_int result = reduce_my_ushort_12(ain1, null); 14252 result.mTempIns = new Allocation[]{ain1}; 14253 return result; 14254 } 14255 14256 // ain1 = "ushort in" 14257 public result_int reduce_my_ushort_12(Allocation ain1) { 14258 return reduce_my_ushort_12(ain1, null); 14259 } 14260 14261 // ain1 = "ushort in" 14262 public result_int reduce_my_ushort_12(Allocation ain1, Script.LaunchOptions sc) { 14263 // check ain1 14264 if (!ain1.getType().getElement().isCompatible(__U16)) { 14265 throw new RSRuntimeException("Type mismatch with U16!"); 14266 } 14267 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14268 aout.setAutoPadding(true); 14269 reduce(mExportReduceIdx_my_ushort_12, new Allocation[]{ain1}, aout, sc); 14270 return new result_int(aout); 14271 } 14272 14273 private final static int mExportReduceIdx_my_ushort_13 = 397; 14274 // in1 = "in" 14275 public result_int reduce_my_ushort_13(short[] in1) { 14276 // Verify that "in1" is non-null. 14277 if (in1 == null) { 14278 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14279 } 14280 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14281 ain1.setAutoPadding(true); 14282 ain1.copyFrom(in1); 14283 14284 result_int result = reduce_my_ushort_13(ain1, null); 14285 result.mTempIns = new Allocation[]{ain1}; 14286 return result; 14287 } 14288 14289 // ain1 = "ushort in" 14290 public result_int reduce_my_ushort_13(Allocation ain1) { 14291 return reduce_my_ushort_13(ain1, null); 14292 } 14293 14294 // ain1 = "ushort in" 14295 public result_int reduce_my_ushort_13(Allocation ain1, Script.LaunchOptions sc) { 14296 // check ain1 14297 if (!ain1.getType().getElement().isCompatible(__U16)) { 14298 throw new RSRuntimeException("Type mismatch with U16!"); 14299 } 14300 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14301 aout.setAutoPadding(true); 14302 reduce(mExportReduceIdx_my_ushort_13, new Allocation[]{ain1}, aout, sc); 14303 return new result_int(aout); 14304 } 14305 14306 private final static int mExportReduceIdx_my_ushort_14 = 398; 14307 // in1 = "in" 14308 public result_int reduce_my_ushort_14(short[] in1) { 14309 // Verify that "in1" is non-null. 14310 if (in1 == null) { 14311 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14312 } 14313 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14314 ain1.setAutoPadding(true); 14315 ain1.copyFrom(in1); 14316 14317 result_int result = reduce_my_ushort_14(ain1, null); 14318 result.mTempIns = new Allocation[]{ain1}; 14319 return result; 14320 } 14321 14322 // ain1 = "ushort in" 14323 public result_int reduce_my_ushort_14(Allocation ain1) { 14324 return reduce_my_ushort_14(ain1, null); 14325 } 14326 14327 // ain1 = "ushort in" 14328 public result_int reduce_my_ushort_14(Allocation ain1, Script.LaunchOptions sc) { 14329 // check ain1 14330 if (!ain1.getType().getElement().isCompatible(__U16)) { 14331 throw new RSRuntimeException("Type mismatch with U16!"); 14332 } 14333 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14334 aout.setAutoPadding(true); 14335 reduce(mExportReduceIdx_my_ushort_14, new Allocation[]{ain1}, aout, sc); 14336 return new result_int(aout); 14337 } 14338 14339 private final static int mExportReduceIdx_my_ushort_15 = 399; 14340 // in1 = "in" 14341 public result_int reduce_my_ushort_15(short[] in1) { 14342 // Verify that "in1" is non-null. 14343 if (in1 == null) { 14344 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14345 } 14346 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14347 ain1.setAutoPadding(true); 14348 ain1.copyFrom(in1); 14349 14350 result_int result = reduce_my_ushort_15(ain1, null); 14351 result.mTempIns = new Allocation[]{ain1}; 14352 return result; 14353 } 14354 14355 // ain1 = "ushort in" 14356 public result_int reduce_my_ushort_15(Allocation ain1) { 14357 return reduce_my_ushort_15(ain1, null); 14358 } 14359 14360 // ain1 = "ushort in" 14361 public result_int reduce_my_ushort_15(Allocation ain1, Script.LaunchOptions sc) { 14362 // check ain1 14363 if (!ain1.getType().getElement().isCompatible(__U16)) { 14364 throw new RSRuntimeException("Type mismatch with U16!"); 14365 } 14366 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14367 aout.setAutoPadding(true); 14368 reduce(mExportReduceIdx_my_ushort_15, new Allocation[]{ain1}, aout, sc); 14369 return new result_int(aout); 14370 } 14371 14372 private final static int mExportReduceIdx_my_ushort2_0 = 400; 14373 // in1 = "in", flattened 2-vectors 14374 public result_int reduce_my_ushort2_0(short[] in1) { 14375 // Verify that "in1" is non-null. 14376 if (in1 == null) { 14377 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14378 } 14379 // Verify that the array length is a multiple of the vector size. 14380 if (in1.length % 2 != 0) { 14381 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14382 } 14383 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14384 ain1.setAutoPadding(true); 14385 ain1.copyFrom(in1); 14386 14387 result_int result = reduce_my_ushort2_0(ain1, null); 14388 result.mTempIns = new Allocation[]{ain1}; 14389 return result; 14390 } 14391 14392 // ain1 = "ushort2 in" 14393 public result_int reduce_my_ushort2_0(Allocation ain1) { 14394 return reduce_my_ushort2_0(ain1, null); 14395 } 14396 14397 // ain1 = "ushort2 in" 14398 public result_int reduce_my_ushort2_0(Allocation ain1, Script.LaunchOptions sc) { 14399 // check ain1 14400 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14401 throw new RSRuntimeException("Type mismatch with U16_2!"); 14402 } 14403 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14404 aout.setAutoPadding(true); 14405 reduce(mExportReduceIdx_my_ushort2_0, new Allocation[]{ain1}, aout, sc); 14406 return new result_int(aout); 14407 } 14408 14409 private final static int mExportReduceIdx_my_ushort2_1 = 401; 14410 // in1 = "in", flattened 2-vectors 14411 public result_int reduce_my_ushort2_1(short[] in1) { 14412 // Verify that "in1" is non-null. 14413 if (in1 == null) { 14414 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14415 } 14416 // Verify that the array length is a multiple of the vector size. 14417 if (in1.length % 2 != 0) { 14418 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14419 } 14420 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14421 ain1.setAutoPadding(true); 14422 ain1.copyFrom(in1); 14423 14424 result_int result = reduce_my_ushort2_1(ain1, null); 14425 result.mTempIns = new Allocation[]{ain1}; 14426 return result; 14427 } 14428 14429 // ain1 = "ushort2 in" 14430 public result_int reduce_my_ushort2_1(Allocation ain1) { 14431 return reduce_my_ushort2_1(ain1, null); 14432 } 14433 14434 // ain1 = "ushort2 in" 14435 public result_int reduce_my_ushort2_1(Allocation ain1, Script.LaunchOptions sc) { 14436 // check ain1 14437 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14438 throw new RSRuntimeException("Type mismatch with U16_2!"); 14439 } 14440 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14441 aout.setAutoPadding(true); 14442 reduce(mExportReduceIdx_my_ushort2_1, new Allocation[]{ain1}, aout, sc); 14443 return new result_int(aout); 14444 } 14445 14446 private final static int mExportReduceIdx_my_ushort2_2 = 402; 14447 // in1 = "in", flattened 2-vectors 14448 public result_int reduce_my_ushort2_2(short[] in1) { 14449 // Verify that "in1" is non-null. 14450 if (in1 == null) { 14451 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14452 } 14453 // Verify that the array length is a multiple of the vector size. 14454 if (in1.length % 2 != 0) { 14455 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14456 } 14457 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14458 ain1.setAutoPadding(true); 14459 ain1.copyFrom(in1); 14460 14461 result_int result = reduce_my_ushort2_2(ain1, null); 14462 result.mTempIns = new Allocation[]{ain1}; 14463 return result; 14464 } 14465 14466 // ain1 = "ushort2 in" 14467 public result_int reduce_my_ushort2_2(Allocation ain1) { 14468 return reduce_my_ushort2_2(ain1, null); 14469 } 14470 14471 // ain1 = "ushort2 in" 14472 public result_int reduce_my_ushort2_2(Allocation ain1, Script.LaunchOptions sc) { 14473 // check ain1 14474 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14475 throw new RSRuntimeException("Type mismatch with U16_2!"); 14476 } 14477 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14478 aout.setAutoPadding(true); 14479 reduce(mExportReduceIdx_my_ushort2_2, new Allocation[]{ain1}, aout, sc); 14480 return new result_int(aout); 14481 } 14482 14483 private final static int mExportReduceIdx_my_ushort2_3 = 403; 14484 // in1 = "in", flattened 2-vectors 14485 public result_int reduce_my_ushort2_3(short[] in1) { 14486 // Verify that "in1" is non-null. 14487 if (in1 == null) { 14488 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14489 } 14490 // Verify that the array length is a multiple of the vector size. 14491 if (in1.length % 2 != 0) { 14492 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14493 } 14494 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14495 ain1.setAutoPadding(true); 14496 ain1.copyFrom(in1); 14497 14498 result_int result = reduce_my_ushort2_3(ain1, null); 14499 result.mTempIns = new Allocation[]{ain1}; 14500 return result; 14501 } 14502 14503 // ain1 = "ushort2 in" 14504 public result_int reduce_my_ushort2_3(Allocation ain1) { 14505 return reduce_my_ushort2_3(ain1, null); 14506 } 14507 14508 // ain1 = "ushort2 in" 14509 public result_int reduce_my_ushort2_3(Allocation ain1, Script.LaunchOptions sc) { 14510 // check ain1 14511 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14512 throw new RSRuntimeException("Type mismatch with U16_2!"); 14513 } 14514 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14515 aout.setAutoPadding(true); 14516 reduce(mExportReduceIdx_my_ushort2_3, new Allocation[]{ain1}, aout, sc); 14517 return new result_int(aout); 14518 } 14519 14520 private final static int mExportReduceIdx_my_ushort2_4 = 404; 14521 // in1 = "in", flattened 2-vectors 14522 public result_int reduce_my_ushort2_4(short[] in1) { 14523 // Verify that "in1" is non-null. 14524 if (in1 == null) { 14525 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14526 } 14527 // Verify that the array length is a multiple of the vector size. 14528 if (in1.length % 2 != 0) { 14529 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14530 } 14531 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14532 ain1.setAutoPadding(true); 14533 ain1.copyFrom(in1); 14534 14535 result_int result = reduce_my_ushort2_4(ain1, null); 14536 result.mTempIns = new Allocation[]{ain1}; 14537 return result; 14538 } 14539 14540 // ain1 = "ushort2 in" 14541 public result_int reduce_my_ushort2_4(Allocation ain1) { 14542 return reduce_my_ushort2_4(ain1, null); 14543 } 14544 14545 // ain1 = "ushort2 in" 14546 public result_int reduce_my_ushort2_4(Allocation ain1, Script.LaunchOptions sc) { 14547 // check ain1 14548 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14549 throw new RSRuntimeException("Type mismatch with U16_2!"); 14550 } 14551 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14552 aout.setAutoPadding(true); 14553 reduce(mExportReduceIdx_my_ushort2_4, new Allocation[]{ain1}, aout, sc); 14554 return new result_int(aout); 14555 } 14556 14557 private final static int mExportReduceIdx_my_ushort2_5 = 405; 14558 // in1 = "in", flattened 2-vectors 14559 public result_int reduce_my_ushort2_5(short[] in1) { 14560 // Verify that "in1" is non-null. 14561 if (in1 == null) { 14562 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14563 } 14564 // Verify that the array length is a multiple of the vector size. 14565 if (in1.length % 2 != 0) { 14566 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14567 } 14568 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14569 ain1.setAutoPadding(true); 14570 ain1.copyFrom(in1); 14571 14572 result_int result = reduce_my_ushort2_5(ain1, null); 14573 result.mTempIns = new Allocation[]{ain1}; 14574 return result; 14575 } 14576 14577 // ain1 = "ushort2 in" 14578 public result_int reduce_my_ushort2_5(Allocation ain1) { 14579 return reduce_my_ushort2_5(ain1, null); 14580 } 14581 14582 // ain1 = "ushort2 in" 14583 public result_int reduce_my_ushort2_5(Allocation ain1, Script.LaunchOptions sc) { 14584 // check ain1 14585 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14586 throw new RSRuntimeException("Type mismatch with U16_2!"); 14587 } 14588 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14589 aout.setAutoPadding(true); 14590 reduce(mExportReduceIdx_my_ushort2_5, new Allocation[]{ain1}, aout, sc); 14591 return new result_int(aout); 14592 } 14593 14594 private final static int mExportReduceIdx_my_ushort2_6 = 406; 14595 // in1 = "in", flattened 2-vectors 14596 public result_int reduce_my_ushort2_6(short[] in1) { 14597 // Verify that "in1" is non-null. 14598 if (in1 == null) { 14599 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14600 } 14601 // Verify that the array length is a multiple of the vector size. 14602 if (in1.length % 2 != 0) { 14603 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14604 } 14605 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14606 ain1.setAutoPadding(true); 14607 ain1.copyFrom(in1); 14608 14609 result_int result = reduce_my_ushort2_6(ain1, null); 14610 result.mTempIns = new Allocation[]{ain1}; 14611 return result; 14612 } 14613 14614 // ain1 = "ushort2 in" 14615 public result_int reduce_my_ushort2_6(Allocation ain1) { 14616 return reduce_my_ushort2_6(ain1, null); 14617 } 14618 14619 // ain1 = "ushort2 in" 14620 public result_int reduce_my_ushort2_6(Allocation ain1, Script.LaunchOptions sc) { 14621 // check ain1 14622 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14623 throw new RSRuntimeException("Type mismatch with U16_2!"); 14624 } 14625 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14626 aout.setAutoPadding(true); 14627 reduce(mExportReduceIdx_my_ushort2_6, new Allocation[]{ain1}, aout, sc); 14628 return new result_int(aout); 14629 } 14630 14631 private final static int mExportReduceIdx_my_ushort2_7 = 407; 14632 // in1 = "in", flattened 2-vectors 14633 public result_int reduce_my_ushort2_7(short[] in1) { 14634 // Verify that "in1" is non-null. 14635 if (in1 == null) { 14636 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14637 } 14638 // Verify that the array length is a multiple of the vector size. 14639 if (in1.length % 2 != 0) { 14640 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14641 } 14642 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14643 ain1.setAutoPadding(true); 14644 ain1.copyFrom(in1); 14645 14646 result_int result = reduce_my_ushort2_7(ain1, null); 14647 result.mTempIns = new Allocation[]{ain1}; 14648 return result; 14649 } 14650 14651 // ain1 = "ushort2 in" 14652 public result_int reduce_my_ushort2_7(Allocation ain1) { 14653 return reduce_my_ushort2_7(ain1, null); 14654 } 14655 14656 // ain1 = "ushort2 in" 14657 public result_int reduce_my_ushort2_7(Allocation ain1, Script.LaunchOptions sc) { 14658 // check ain1 14659 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14660 throw new RSRuntimeException("Type mismatch with U16_2!"); 14661 } 14662 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14663 aout.setAutoPadding(true); 14664 reduce(mExportReduceIdx_my_ushort2_7, new Allocation[]{ain1}, aout, sc); 14665 return new result_int(aout); 14666 } 14667 14668 private final static int mExportReduceIdx_my_ushort2_8 = 408; 14669 // in1 = "in", flattened 2-vectors 14670 public result_int reduce_my_ushort2_8(short[] in1) { 14671 // Verify that "in1" is non-null. 14672 if (in1 == null) { 14673 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14674 } 14675 // Verify that the array length is a multiple of the vector size. 14676 if (in1.length % 2 != 0) { 14677 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14678 } 14679 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14680 ain1.setAutoPadding(true); 14681 ain1.copyFrom(in1); 14682 14683 result_int result = reduce_my_ushort2_8(ain1, null); 14684 result.mTempIns = new Allocation[]{ain1}; 14685 return result; 14686 } 14687 14688 // ain1 = "ushort2 in" 14689 public result_int reduce_my_ushort2_8(Allocation ain1) { 14690 return reduce_my_ushort2_8(ain1, null); 14691 } 14692 14693 // ain1 = "ushort2 in" 14694 public result_int reduce_my_ushort2_8(Allocation ain1, Script.LaunchOptions sc) { 14695 // check ain1 14696 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14697 throw new RSRuntimeException("Type mismatch with U16_2!"); 14698 } 14699 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14700 aout.setAutoPadding(true); 14701 reduce(mExportReduceIdx_my_ushort2_8, new Allocation[]{ain1}, aout, sc); 14702 return new result_int(aout); 14703 } 14704 14705 private final static int mExportReduceIdx_my_ushort2_9 = 409; 14706 // in1 = "in", flattened 2-vectors 14707 public result_int reduce_my_ushort2_9(short[] in1) { 14708 // Verify that "in1" is non-null. 14709 if (in1 == null) { 14710 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14711 } 14712 // Verify that the array length is a multiple of the vector size. 14713 if (in1.length % 2 != 0) { 14714 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14715 } 14716 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14717 ain1.setAutoPadding(true); 14718 ain1.copyFrom(in1); 14719 14720 result_int result = reduce_my_ushort2_9(ain1, null); 14721 result.mTempIns = new Allocation[]{ain1}; 14722 return result; 14723 } 14724 14725 // ain1 = "ushort2 in" 14726 public result_int reduce_my_ushort2_9(Allocation ain1) { 14727 return reduce_my_ushort2_9(ain1, null); 14728 } 14729 14730 // ain1 = "ushort2 in" 14731 public result_int reduce_my_ushort2_9(Allocation ain1, Script.LaunchOptions sc) { 14732 // check ain1 14733 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14734 throw new RSRuntimeException("Type mismatch with U16_2!"); 14735 } 14736 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14737 aout.setAutoPadding(true); 14738 reduce(mExportReduceIdx_my_ushort2_9, new Allocation[]{ain1}, aout, sc); 14739 return new result_int(aout); 14740 } 14741 14742 private final static int mExportReduceIdx_my_ushort2_10 = 410; 14743 // in1 = "in", flattened 2-vectors 14744 public result_int reduce_my_ushort2_10(short[] in1) { 14745 // Verify that "in1" is non-null. 14746 if (in1 == null) { 14747 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14748 } 14749 // Verify that the array length is a multiple of the vector size. 14750 if (in1.length % 2 != 0) { 14751 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14752 } 14753 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14754 ain1.setAutoPadding(true); 14755 ain1.copyFrom(in1); 14756 14757 result_int result = reduce_my_ushort2_10(ain1, null); 14758 result.mTempIns = new Allocation[]{ain1}; 14759 return result; 14760 } 14761 14762 // ain1 = "ushort2 in" 14763 public result_int reduce_my_ushort2_10(Allocation ain1) { 14764 return reduce_my_ushort2_10(ain1, null); 14765 } 14766 14767 // ain1 = "ushort2 in" 14768 public result_int reduce_my_ushort2_10(Allocation ain1, Script.LaunchOptions sc) { 14769 // check ain1 14770 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14771 throw new RSRuntimeException("Type mismatch with U16_2!"); 14772 } 14773 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14774 aout.setAutoPadding(true); 14775 reduce(mExportReduceIdx_my_ushort2_10, new Allocation[]{ain1}, aout, sc); 14776 return new result_int(aout); 14777 } 14778 14779 private final static int mExportReduceIdx_my_ushort2_11 = 411; 14780 // in1 = "in", flattened 2-vectors 14781 public result_int reduce_my_ushort2_11(short[] in1) { 14782 // Verify that "in1" is non-null. 14783 if (in1 == null) { 14784 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14785 } 14786 // Verify that the array length is a multiple of the vector size. 14787 if (in1.length % 2 != 0) { 14788 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14789 } 14790 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14791 ain1.setAutoPadding(true); 14792 ain1.copyFrom(in1); 14793 14794 result_int result = reduce_my_ushort2_11(ain1, null); 14795 result.mTempIns = new Allocation[]{ain1}; 14796 return result; 14797 } 14798 14799 // ain1 = "ushort2 in" 14800 public result_int reduce_my_ushort2_11(Allocation ain1) { 14801 return reduce_my_ushort2_11(ain1, null); 14802 } 14803 14804 // ain1 = "ushort2 in" 14805 public result_int reduce_my_ushort2_11(Allocation ain1, Script.LaunchOptions sc) { 14806 // check ain1 14807 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14808 throw new RSRuntimeException("Type mismatch with U16_2!"); 14809 } 14810 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14811 aout.setAutoPadding(true); 14812 reduce(mExportReduceIdx_my_ushort2_11, new Allocation[]{ain1}, aout, sc); 14813 return new result_int(aout); 14814 } 14815 14816 private final static int mExportReduceIdx_my_ushort2_12 = 412; 14817 // in1 = "in", flattened 2-vectors 14818 public result_int reduce_my_ushort2_12(short[] in1) { 14819 // Verify that "in1" is non-null. 14820 if (in1 == null) { 14821 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14822 } 14823 // Verify that the array length is a multiple of the vector size. 14824 if (in1.length % 2 != 0) { 14825 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14826 } 14827 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14828 ain1.setAutoPadding(true); 14829 ain1.copyFrom(in1); 14830 14831 result_int result = reduce_my_ushort2_12(ain1, null); 14832 result.mTempIns = new Allocation[]{ain1}; 14833 return result; 14834 } 14835 14836 // ain1 = "ushort2 in" 14837 public result_int reduce_my_ushort2_12(Allocation ain1) { 14838 return reduce_my_ushort2_12(ain1, null); 14839 } 14840 14841 // ain1 = "ushort2 in" 14842 public result_int reduce_my_ushort2_12(Allocation ain1, Script.LaunchOptions sc) { 14843 // check ain1 14844 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14845 throw new RSRuntimeException("Type mismatch with U16_2!"); 14846 } 14847 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14848 aout.setAutoPadding(true); 14849 reduce(mExportReduceIdx_my_ushort2_12, new Allocation[]{ain1}, aout, sc); 14850 return new result_int(aout); 14851 } 14852 14853 private final static int mExportReduceIdx_my_ushort2_13 = 413; 14854 // in1 = "in", flattened 2-vectors 14855 public result_int reduce_my_ushort2_13(short[] in1) { 14856 // Verify that "in1" is non-null. 14857 if (in1 == null) { 14858 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14859 } 14860 // Verify that the array length is a multiple of the vector size. 14861 if (in1.length % 2 != 0) { 14862 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14863 } 14864 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14865 ain1.setAutoPadding(true); 14866 ain1.copyFrom(in1); 14867 14868 result_int result = reduce_my_ushort2_13(ain1, null); 14869 result.mTempIns = new Allocation[]{ain1}; 14870 return result; 14871 } 14872 14873 // ain1 = "ushort2 in" 14874 public result_int reduce_my_ushort2_13(Allocation ain1) { 14875 return reduce_my_ushort2_13(ain1, null); 14876 } 14877 14878 // ain1 = "ushort2 in" 14879 public result_int reduce_my_ushort2_13(Allocation ain1, Script.LaunchOptions sc) { 14880 // check ain1 14881 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14882 throw new RSRuntimeException("Type mismatch with U16_2!"); 14883 } 14884 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14885 aout.setAutoPadding(true); 14886 reduce(mExportReduceIdx_my_ushort2_13, new Allocation[]{ain1}, aout, sc); 14887 return new result_int(aout); 14888 } 14889 14890 private final static int mExportReduceIdx_my_ushort2_14 = 414; 14891 // in1 = "in", flattened 2-vectors 14892 public result_int reduce_my_ushort2_14(short[] in1) { 14893 // Verify that "in1" is non-null. 14894 if (in1 == null) { 14895 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14896 } 14897 // Verify that the array length is a multiple of the vector size. 14898 if (in1.length % 2 != 0) { 14899 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14900 } 14901 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14902 ain1.setAutoPadding(true); 14903 ain1.copyFrom(in1); 14904 14905 result_int result = reduce_my_ushort2_14(ain1, null); 14906 result.mTempIns = new Allocation[]{ain1}; 14907 return result; 14908 } 14909 14910 // ain1 = "ushort2 in" 14911 public result_int reduce_my_ushort2_14(Allocation ain1) { 14912 return reduce_my_ushort2_14(ain1, null); 14913 } 14914 14915 // ain1 = "ushort2 in" 14916 public result_int reduce_my_ushort2_14(Allocation ain1, Script.LaunchOptions sc) { 14917 // check ain1 14918 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14919 throw new RSRuntimeException("Type mismatch with U16_2!"); 14920 } 14921 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14922 aout.setAutoPadding(true); 14923 reduce(mExportReduceIdx_my_ushort2_14, new Allocation[]{ain1}, aout, sc); 14924 return new result_int(aout); 14925 } 14926 14927 private final static int mExportReduceIdx_my_ushort2_15 = 415; 14928 // in1 = "in", flattened 2-vectors 14929 public result_int reduce_my_ushort2_15(short[] in1) { 14930 // Verify that "in1" is non-null. 14931 if (in1 == null) { 14932 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14933 } 14934 // Verify that the array length is a multiple of the vector size. 14935 if (in1.length % 2 != 0) { 14936 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14937 } 14938 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14939 ain1.setAutoPadding(true); 14940 ain1.copyFrom(in1); 14941 14942 result_int result = reduce_my_ushort2_15(ain1, null); 14943 result.mTempIns = new Allocation[]{ain1}; 14944 return result; 14945 } 14946 14947 // ain1 = "ushort2 in" 14948 public result_int reduce_my_ushort2_15(Allocation ain1) { 14949 return reduce_my_ushort2_15(ain1, null); 14950 } 14951 14952 // ain1 = "ushort2 in" 14953 public result_int reduce_my_ushort2_15(Allocation ain1, Script.LaunchOptions sc) { 14954 // check ain1 14955 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14956 throw new RSRuntimeException("Type mismatch with U16_2!"); 14957 } 14958 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14959 aout.setAutoPadding(true); 14960 reduce(mExportReduceIdx_my_ushort2_15, new Allocation[]{ain1}, aout, sc); 14961 return new result_int(aout); 14962 } 14963 14964 private final static int mExportReduceIdx_my_ushort4_0 = 416; 14965 // in1 = "in", flattened 4-vectors 14966 public result_int reduce_my_ushort4_0(short[] in1) { 14967 // Verify that "in1" is non-null. 14968 if (in1 == null) { 14969 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14970 } 14971 // Verify that the array length is a multiple of the vector size. 14972 if (in1.length % 4 != 0) { 14973 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 14974 } 14975 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 14976 ain1.setAutoPadding(true); 14977 ain1.copyFrom(in1); 14978 14979 result_int result = reduce_my_ushort4_0(ain1, null); 14980 result.mTempIns = new Allocation[]{ain1}; 14981 return result; 14982 } 14983 14984 // ain1 = "ushort4 in" 14985 public result_int reduce_my_ushort4_0(Allocation ain1) { 14986 return reduce_my_ushort4_0(ain1, null); 14987 } 14988 14989 // ain1 = "ushort4 in" 14990 public result_int reduce_my_ushort4_0(Allocation ain1, Script.LaunchOptions sc) { 14991 // check ain1 14992 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 14993 throw new RSRuntimeException("Type mismatch with U16_4!"); 14994 } 14995 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14996 aout.setAutoPadding(true); 14997 reduce(mExportReduceIdx_my_ushort4_0, new Allocation[]{ain1}, aout, sc); 14998 return new result_int(aout); 14999 } 15000 15001 private final static int mExportReduceIdx_my_ushort4_1 = 417; 15002 // in1 = "in", flattened 4-vectors 15003 public result_int reduce_my_ushort4_1(short[] in1) { 15004 // Verify that "in1" is non-null. 15005 if (in1 == null) { 15006 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15007 } 15008 // Verify that the array length is a multiple of the vector size. 15009 if (in1.length % 4 != 0) { 15010 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15011 } 15012 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15013 ain1.setAutoPadding(true); 15014 ain1.copyFrom(in1); 15015 15016 result_int result = reduce_my_ushort4_1(ain1, null); 15017 result.mTempIns = new Allocation[]{ain1}; 15018 return result; 15019 } 15020 15021 // ain1 = "ushort4 in" 15022 public result_int reduce_my_ushort4_1(Allocation ain1) { 15023 return reduce_my_ushort4_1(ain1, null); 15024 } 15025 15026 // ain1 = "ushort4 in" 15027 public result_int reduce_my_ushort4_1(Allocation ain1, Script.LaunchOptions sc) { 15028 // check ain1 15029 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15030 throw new RSRuntimeException("Type mismatch with U16_4!"); 15031 } 15032 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15033 aout.setAutoPadding(true); 15034 reduce(mExportReduceIdx_my_ushort4_1, new Allocation[]{ain1}, aout, sc); 15035 return new result_int(aout); 15036 } 15037 15038 private final static int mExportReduceIdx_my_ushort4_2 = 418; 15039 // in1 = "in", flattened 4-vectors 15040 public result_int reduce_my_ushort4_2(short[] in1) { 15041 // Verify that "in1" is non-null. 15042 if (in1 == null) { 15043 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15044 } 15045 // Verify that the array length is a multiple of the vector size. 15046 if (in1.length % 4 != 0) { 15047 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15048 } 15049 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15050 ain1.setAutoPadding(true); 15051 ain1.copyFrom(in1); 15052 15053 result_int result = reduce_my_ushort4_2(ain1, null); 15054 result.mTempIns = new Allocation[]{ain1}; 15055 return result; 15056 } 15057 15058 // ain1 = "ushort4 in" 15059 public result_int reduce_my_ushort4_2(Allocation ain1) { 15060 return reduce_my_ushort4_2(ain1, null); 15061 } 15062 15063 // ain1 = "ushort4 in" 15064 public result_int reduce_my_ushort4_2(Allocation ain1, Script.LaunchOptions sc) { 15065 // check ain1 15066 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15067 throw new RSRuntimeException("Type mismatch with U16_4!"); 15068 } 15069 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15070 aout.setAutoPadding(true); 15071 reduce(mExportReduceIdx_my_ushort4_2, new Allocation[]{ain1}, aout, sc); 15072 return new result_int(aout); 15073 } 15074 15075 private final static int mExportReduceIdx_my_ushort4_3 = 419; 15076 // in1 = "in", flattened 4-vectors 15077 public result_int reduce_my_ushort4_3(short[] in1) { 15078 // Verify that "in1" is non-null. 15079 if (in1 == null) { 15080 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15081 } 15082 // Verify that the array length is a multiple of the vector size. 15083 if (in1.length % 4 != 0) { 15084 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15085 } 15086 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15087 ain1.setAutoPadding(true); 15088 ain1.copyFrom(in1); 15089 15090 result_int result = reduce_my_ushort4_3(ain1, null); 15091 result.mTempIns = new Allocation[]{ain1}; 15092 return result; 15093 } 15094 15095 // ain1 = "ushort4 in" 15096 public result_int reduce_my_ushort4_3(Allocation ain1) { 15097 return reduce_my_ushort4_3(ain1, null); 15098 } 15099 15100 // ain1 = "ushort4 in" 15101 public result_int reduce_my_ushort4_3(Allocation ain1, Script.LaunchOptions sc) { 15102 // check ain1 15103 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15104 throw new RSRuntimeException("Type mismatch with U16_4!"); 15105 } 15106 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15107 aout.setAutoPadding(true); 15108 reduce(mExportReduceIdx_my_ushort4_3, new Allocation[]{ain1}, aout, sc); 15109 return new result_int(aout); 15110 } 15111 15112 private final static int mExportReduceIdx_my_ushort4_4 = 420; 15113 // in1 = "in", flattened 4-vectors 15114 public result_int reduce_my_ushort4_4(short[] in1) { 15115 // Verify that "in1" is non-null. 15116 if (in1 == null) { 15117 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15118 } 15119 // Verify that the array length is a multiple of the vector size. 15120 if (in1.length % 4 != 0) { 15121 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15122 } 15123 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15124 ain1.setAutoPadding(true); 15125 ain1.copyFrom(in1); 15126 15127 result_int result = reduce_my_ushort4_4(ain1, null); 15128 result.mTempIns = new Allocation[]{ain1}; 15129 return result; 15130 } 15131 15132 // ain1 = "ushort4 in" 15133 public result_int reduce_my_ushort4_4(Allocation ain1) { 15134 return reduce_my_ushort4_4(ain1, null); 15135 } 15136 15137 // ain1 = "ushort4 in" 15138 public result_int reduce_my_ushort4_4(Allocation ain1, Script.LaunchOptions sc) { 15139 // check ain1 15140 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15141 throw new RSRuntimeException("Type mismatch with U16_4!"); 15142 } 15143 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15144 aout.setAutoPadding(true); 15145 reduce(mExportReduceIdx_my_ushort4_4, new Allocation[]{ain1}, aout, sc); 15146 return new result_int(aout); 15147 } 15148 15149 private final static int mExportReduceIdx_my_ushort4_5 = 421; 15150 // in1 = "in", flattened 4-vectors 15151 public result_int reduce_my_ushort4_5(short[] in1) { 15152 // Verify that "in1" is non-null. 15153 if (in1 == null) { 15154 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15155 } 15156 // Verify that the array length is a multiple of the vector size. 15157 if (in1.length % 4 != 0) { 15158 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15159 } 15160 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15161 ain1.setAutoPadding(true); 15162 ain1.copyFrom(in1); 15163 15164 result_int result = reduce_my_ushort4_5(ain1, null); 15165 result.mTempIns = new Allocation[]{ain1}; 15166 return result; 15167 } 15168 15169 // ain1 = "ushort4 in" 15170 public result_int reduce_my_ushort4_5(Allocation ain1) { 15171 return reduce_my_ushort4_5(ain1, null); 15172 } 15173 15174 // ain1 = "ushort4 in" 15175 public result_int reduce_my_ushort4_5(Allocation ain1, Script.LaunchOptions sc) { 15176 // check ain1 15177 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15178 throw new RSRuntimeException("Type mismatch with U16_4!"); 15179 } 15180 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15181 aout.setAutoPadding(true); 15182 reduce(mExportReduceIdx_my_ushort4_5, new Allocation[]{ain1}, aout, sc); 15183 return new result_int(aout); 15184 } 15185 15186 private final static int mExportReduceIdx_my_ushort4_6 = 422; 15187 // in1 = "in", flattened 4-vectors 15188 public result_int reduce_my_ushort4_6(short[] in1) { 15189 // Verify that "in1" is non-null. 15190 if (in1 == null) { 15191 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15192 } 15193 // Verify that the array length is a multiple of the vector size. 15194 if (in1.length % 4 != 0) { 15195 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15196 } 15197 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15198 ain1.setAutoPadding(true); 15199 ain1.copyFrom(in1); 15200 15201 result_int result = reduce_my_ushort4_6(ain1, null); 15202 result.mTempIns = new Allocation[]{ain1}; 15203 return result; 15204 } 15205 15206 // ain1 = "ushort4 in" 15207 public result_int reduce_my_ushort4_6(Allocation ain1) { 15208 return reduce_my_ushort4_6(ain1, null); 15209 } 15210 15211 // ain1 = "ushort4 in" 15212 public result_int reduce_my_ushort4_6(Allocation ain1, Script.LaunchOptions sc) { 15213 // check ain1 15214 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15215 throw new RSRuntimeException("Type mismatch with U16_4!"); 15216 } 15217 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15218 aout.setAutoPadding(true); 15219 reduce(mExportReduceIdx_my_ushort4_6, new Allocation[]{ain1}, aout, sc); 15220 return new result_int(aout); 15221 } 15222 15223 private final static int mExportReduceIdx_my_ushort4_7 = 423; 15224 // in1 = "in", flattened 4-vectors 15225 public result_int reduce_my_ushort4_7(short[] in1) { 15226 // Verify that "in1" is non-null. 15227 if (in1 == null) { 15228 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15229 } 15230 // Verify that the array length is a multiple of the vector size. 15231 if (in1.length % 4 != 0) { 15232 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15233 } 15234 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15235 ain1.setAutoPadding(true); 15236 ain1.copyFrom(in1); 15237 15238 result_int result = reduce_my_ushort4_7(ain1, null); 15239 result.mTempIns = new Allocation[]{ain1}; 15240 return result; 15241 } 15242 15243 // ain1 = "ushort4 in" 15244 public result_int reduce_my_ushort4_7(Allocation ain1) { 15245 return reduce_my_ushort4_7(ain1, null); 15246 } 15247 15248 // ain1 = "ushort4 in" 15249 public result_int reduce_my_ushort4_7(Allocation ain1, Script.LaunchOptions sc) { 15250 // check ain1 15251 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15252 throw new RSRuntimeException("Type mismatch with U16_4!"); 15253 } 15254 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15255 aout.setAutoPadding(true); 15256 reduce(mExportReduceIdx_my_ushort4_7, new Allocation[]{ain1}, aout, sc); 15257 return new result_int(aout); 15258 } 15259 15260 private final static int mExportReduceIdx_my_ushort4_8 = 424; 15261 // in1 = "in", flattened 4-vectors 15262 public result_int reduce_my_ushort4_8(short[] in1) { 15263 // Verify that "in1" is non-null. 15264 if (in1 == null) { 15265 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15266 } 15267 // Verify that the array length is a multiple of the vector size. 15268 if (in1.length % 4 != 0) { 15269 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15270 } 15271 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15272 ain1.setAutoPadding(true); 15273 ain1.copyFrom(in1); 15274 15275 result_int result = reduce_my_ushort4_8(ain1, null); 15276 result.mTempIns = new Allocation[]{ain1}; 15277 return result; 15278 } 15279 15280 // ain1 = "ushort4 in" 15281 public result_int reduce_my_ushort4_8(Allocation ain1) { 15282 return reduce_my_ushort4_8(ain1, null); 15283 } 15284 15285 // ain1 = "ushort4 in" 15286 public result_int reduce_my_ushort4_8(Allocation ain1, Script.LaunchOptions sc) { 15287 // check ain1 15288 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15289 throw new RSRuntimeException("Type mismatch with U16_4!"); 15290 } 15291 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15292 aout.setAutoPadding(true); 15293 reduce(mExportReduceIdx_my_ushort4_8, new Allocation[]{ain1}, aout, sc); 15294 return new result_int(aout); 15295 } 15296 15297 private final static int mExportReduceIdx_my_ushort4_9 = 425; 15298 // in1 = "in", flattened 4-vectors 15299 public result_int reduce_my_ushort4_9(short[] in1) { 15300 // Verify that "in1" is non-null. 15301 if (in1 == null) { 15302 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15303 } 15304 // Verify that the array length is a multiple of the vector size. 15305 if (in1.length % 4 != 0) { 15306 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15307 } 15308 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15309 ain1.setAutoPadding(true); 15310 ain1.copyFrom(in1); 15311 15312 result_int result = reduce_my_ushort4_9(ain1, null); 15313 result.mTempIns = new Allocation[]{ain1}; 15314 return result; 15315 } 15316 15317 // ain1 = "ushort4 in" 15318 public result_int reduce_my_ushort4_9(Allocation ain1) { 15319 return reduce_my_ushort4_9(ain1, null); 15320 } 15321 15322 // ain1 = "ushort4 in" 15323 public result_int reduce_my_ushort4_9(Allocation ain1, Script.LaunchOptions sc) { 15324 // check ain1 15325 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15326 throw new RSRuntimeException("Type mismatch with U16_4!"); 15327 } 15328 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15329 aout.setAutoPadding(true); 15330 reduce(mExportReduceIdx_my_ushort4_9, new Allocation[]{ain1}, aout, sc); 15331 return new result_int(aout); 15332 } 15333 15334 private final static int mExportReduceIdx_my_ushort4_10 = 426; 15335 // in1 = "in", flattened 4-vectors 15336 public result_int reduce_my_ushort4_10(short[] in1) { 15337 // Verify that "in1" is non-null. 15338 if (in1 == null) { 15339 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15340 } 15341 // Verify that the array length is a multiple of the vector size. 15342 if (in1.length % 4 != 0) { 15343 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15344 } 15345 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15346 ain1.setAutoPadding(true); 15347 ain1.copyFrom(in1); 15348 15349 result_int result = reduce_my_ushort4_10(ain1, null); 15350 result.mTempIns = new Allocation[]{ain1}; 15351 return result; 15352 } 15353 15354 // ain1 = "ushort4 in" 15355 public result_int reduce_my_ushort4_10(Allocation ain1) { 15356 return reduce_my_ushort4_10(ain1, null); 15357 } 15358 15359 // ain1 = "ushort4 in" 15360 public result_int reduce_my_ushort4_10(Allocation ain1, Script.LaunchOptions sc) { 15361 // check ain1 15362 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15363 throw new RSRuntimeException("Type mismatch with U16_4!"); 15364 } 15365 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15366 aout.setAutoPadding(true); 15367 reduce(mExportReduceIdx_my_ushort4_10, new Allocation[]{ain1}, aout, sc); 15368 return new result_int(aout); 15369 } 15370 15371 private final static int mExportReduceIdx_my_ushort4_11 = 427; 15372 // in1 = "in", flattened 4-vectors 15373 public result_int reduce_my_ushort4_11(short[] in1) { 15374 // Verify that "in1" is non-null. 15375 if (in1 == null) { 15376 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15377 } 15378 // Verify that the array length is a multiple of the vector size. 15379 if (in1.length % 4 != 0) { 15380 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15381 } 15382 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15383 ain1.setAutoPadding(true); 15384 ain1.copyFrom(in1); 15385 15386 result_int result = reduce_my_ushort4_11(ain1, null); 15387 result.mTempIns = new Allocation[]{ain1}; 15388 return result; 15389 } 15390 15391 // ain1 = "ushort4 in" 15392 public result_int reduce_my_ushort4_11(Allocation ain1) { 15393 return reduce_my_ushort4_11(ain1, null); 15394 } 15395 15396 // ain1 = "ushort4 in" 15397 public result_int reduce_my_ushort4_11(Allocation ain1, Script.LaunchOptions sc) { 15398 // check ain1 15399 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15400 throw new RSRuntimeException("Type mismatch with U16_4!"); 15401 } 15402 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15403 aout.setAutoPadding(true); 15404 reduce(mExportReduceIdx_my_ushort4_11, new Allocation[]{ain1}, aout, sc); 15405 return new result_int(aout); 15406 } 15407 15408 private final static int mExportReduceIdx_my_ushort4_12 = 428; 15409 // in1 = "in", flattened 4-vectors 15410 public result_int reduce_my_ushort4_12(short[] in1) { 15411 // Verify that "in1" is non-null. 15412 if (in1 == null) { 15413 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15414 } 15415 // Verify that the array length is a multiple of the vector size. 15416 if (in1.length % 4 != 0) { 15417 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15418 } 15419 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15420 ain1.setAutoPadding(true); 15421 ain1.copyFrom(in1); 15422 15423 result_int result = reduce_my_ushort4_12(ain1, null); 15424 result.mTempIns = new Allocation[]{ain1}; 15425 return result; 15426 } 15427 15428 // ain1 = "ushort4 in" 15429 public result_int reduce_my_ushort4_12(Allocation ain1) { 15430 return reduce_my_ushort4_12(ain1, null); 15431 } 15432 15433 // ain1 = "ushort4 in" 15434 public result_int reduce_my_ushort4_12(Allocation ain1, Script.LaunchOptions sc) { 15435 // check ain1 15436 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15437 throw new RSRuntimeException("Type mismatch with U16_4!"); 15438 } 15439 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15440 aout.setAutoPadding(true); 15441 reduce(mExportReduceIdx_my_ushort4_12, new Allocation[]{ain1}, aout, sc); 15442 return new result_int(aout); 15443 } 15444 15445 private final static int mExportReduceIdx_my_ushort4_13 = 429; 15446 // in1 = "in", flattened 4-vectors 15447 public result_int reduce_my_ushort4_13(short[] in1) { 15448 // Verify that "in1" is non-null. 15449 if (in1 == null) { 15450 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15451 } 15452 // Verify that the array length is a multiple of the vector size. 15453 if (in1.length % 4 != 0) { 15454 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15455 } 15456 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15457 ain1.setAutoPadding(true); 15458 ain1.copyFrom(in1); 15459 15460 result_int result = reduce_my_ushort4_13(ain1, null); 15461 result.mTempIns = new Allocation[]{ain1}; 15462 return result; 15463 } 15464 15465 // ain1 = "ushort4 in" 15466 public result_int reduce_my_ushort4_13(Allocation ain1) { 15467 return reduce_my_ushort4_13(ain1, null); 15468 } 15469 15470 // ain1 = "ushort4 in" 15471 public result_int reduce_my_ushort4_13(Allocation ain1, Script.LaunchOptions sc) { 15472 // check ain1 15473 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15474 throw new RSRuntimeException("Type mismatch with U16_4!"); 15475 } 15476 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15477 aout.setAutoPadding(true); 15478 reduce(mExportReduceIdx_my_ushort4_13, new Allocation[]{ain1}, aout, sc); 15479 return new result_int(aout); 15480 } 15481 15482 private final static int mExportReduceIdx_my_ushort4_14 = 430; 15483 // in1 = "in", flattened 4-vectors 15484 public result_int reduce_my_ushort4_14(short[] in1) { 15485 // Verify that "in1" is non-null. 15486 if (in1 == null) { 15487 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15488 } 15489 // Verify that the array length is a multiple of the vector size. 15490 if (in1.length % 4 != 0) { 15491 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15492 } 15493 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15494 ain1.setAutoPadding(true); 15495 ain1.copyFrom(in1); 15496 15497 result_int result = reduce_my_ushort4_14(ain1, null); 15498 result.mTempIns = new Allocation[]{ain1}; 15499 return result; 15500 } 15501 15502 // ain1 = "ushort4 in" 15503 public result_int reduce_my_ushort4_14(Allocation ain1) { 15504 return reduce_my_ushort4_14(ain1, null); 15505 } 15506 15507 // ain1 = "ushort4 in" 15508 public result_int reduce_my_ushort4_14(Allocation ain1, Script.LaunchOptions sc) { 15509 // check ain1 15510 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15511 throw new RSRuntimeException("Type mismatch with U16_4!"); 15512 } 15513 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15514 aout.setAutoPadding(true); 15515 reduce(mExportReduceIdx_my_ushort4_14, new Allocation[]{ain1}, aout, sc); 15516 return new result_int(aout); 15517 } 15518 15519 private final static int mExportReduceIdx_my_ushort4_15 = 431; 15520 // in1 = "in", flattened 4-vectors 15521 public result_int reduce_my_ushort4_15(short[] in1) { 15522 // Verify that "in1" is non-null. 15523 if (in1 == null) { 15524 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15525 } 15526 // Verify that the array length is a multiple of the vector size. 15527 if (in1.length % 4 != 0) { 15528 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15529 } 15530 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15531 ain1.setAutoPadding(true); 15532 ain1.copyFrom(in1); 15533 15534 result_int result = reduce_my_ushort4_15(ain1, null); 15535 result.mTempIns = new Allocation[]{ain1}; 15536 return result; 15537 } 15538 15539 // ain1 = "ushort4 in" 15540 public result_int reduce_my_ushort4_15(Allocation ain1) { 15541 return reduce_my_ushort4_15(ain1, null); 15542 } 15543 15544 // ain1 = "ushort4 in" 15545 public result_int reduce_my_ushort4_15(Allocation ain1, Script.LaunchOptions sc) { 15546 // check ain1 15547 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15548 throw new RSRuntimeException("Type mismatch with U16_4!"); 15549 } 15550 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15551 aout.setAutoPadding(true); 15552 reduce(mExportReduceIdx_my_ushort4_15, new Allocation[]{ain1}, aout, sc); 15553 return new result_int(aout); 15554 } 15555 15556 private final static int mExportReduceIdx_my_uint_0 = 432; 15557 // in1 = "in" 15558 public result_int reduce_my_uint_0(int[] in1) { 15559 // Verify that "in1" is non-null. 15560 if (in1 == null) { 15561 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15562 } 15563 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15564 ain1.setAutoPadding(true); 15565 ain1.copyFrom(in1); 15566 15567 result_int result = reduce_my_uint_0(ain1, null); 15568 result.mTempIns = new Allocation[]{ain1}; 15569 return result; 15570 } 15571 15572 // ain1 = "uint in" 15573 public result_int reduce_my_uint_0(Allocation ain1) { 15574 return reduce_my_uint_0(ain1, null); 15575 } 15576 15577 // ain1 = "uint in" 15578 public result_int reduce_my_uint_0(Allocation ain1, Script.LaunchOptions sc) { 15579 // check ain1 15580 if (!ain1.getType().getElement().isCompatible(__U32)) { 15581 throw new RSRuntimeException("Type mismatch with U32!"); 15582 } 15583 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15584 aout.setAutoPadding(true); 15585 reduce(mExportReduceIdx_my_uint_0, new Allocation[]{ain1}, aout, sc); 15586 return new result_int(aout); 15587 } 15588 15589 private final static int mExportReduceIdx_my_uint_1 = 433; 15590 // in1 = "in" 15591 public result_int reduce_my_uint_1(int[] in1) { 15592 // Verify that "in1" is non-null. 15593 if (in1 == null) { 15594 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15595 } 15596 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15597 ain1.setAutoPadding(true); 15598 ain1.copyFrom(in1); 15599 15600 result_int result = reduce_my_uint_1(ain1, null); 15601 result.mTempIns = new Allocation[]{ain1}; 15602 return result; 15603 } 15604 15605 // ain1 = "uint in" 15606 public result_int reduce_my_uint_1(Allocation ain1) { 15607 return reduce_my_uint_1(ain1, null); 15608 } 15609 15610 // ain1 = "uint in" 15611 public result_int reduce_my_uint_1(Allocation ain1, Script.LaunchOptions sc) { 15612 // check ain1 15613 if (!ain1.getType().getElement().isCompatible(__U32)) { 15614 throw new RSRuntimeException("Type mismatch with U32!"); 15615 } 15616 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15617 aout.setAutoPadding(true); 15618 reduce(mExportReduceIdx_my_uint_1, new Allocation[]{ain1}, aout, sc); 15619 return new result_int(aout); 15620 } 15621 15622 private final static int mExportReduceIdx_my_uint_2 = 434; 15623 // in1 = "in" 15624 public result_int reduce_my_uint_2(int[] in1) { 15625 // Verify that "in1" is non-null. 15626 if (in1 == null) { 15627 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15628 } 15629 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15630 ain1.setAutoPadding(true); 15631 ain1.copyFrom(in1); 15632 15633 result_int result = reduce_my_uint_2(ain1, null); 15634 result.mTempIns = new Allocation[]{ain1}; 15635 return result; 15636 } 15637 15638 // ain1 = "uint in" 15639 public result_int reduce_my_uint_2(Allocation ain1) { 15640 return reduce_my_uint_2(ain1, null); 15641 } 15642 15643 // ain1 = "uint in" 15644 public result_int reduce_my_uint_2(Allocation ain1, Script.LaunchOptions sc) { 15645 // check ain1 15646 if (!ain1.getType().getElement().isCompatible(__U32)) { 15647 throw new RSRuntimeException("Type mismatch with U32!"); 15648 } 15649 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15650 aout.setAutoPadding(true); 15651 reduce(mExportReduceIdx_my_uint_2, new Allocation[]{ain1}, aout, sc); 15652 return new result_int(aout); 15653 } 15654 15655 private final static int mExportReduceIdx_my_uint_3 = 435; 15656 // in1 = "in" 15657 public result_int reduce_my_uint_3(int[] in1) { 15658 // Verify that "in1" is non-null. 15659 if (in1 == null) { 15660 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15661 } 15662 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15663 ain1.setAutoPadding(true); 15664 ain1.copyFrom(in1); 15665 15666 result_int result = reduce_my_uint_3(ain1, null); 15667 result.mTempIns = new Allocation[]{ain1}; 15668 return result; 15669 } 15670 15671 // ain1 = "uint in" 15672 public result_int reduce_my_uint_3(Allocation ain1) { 15673 return reduce_my_uint_3(ain1, null); 15674 } 15675 15676 // ain1 = "uint in" 15677 public result_int reduce_my_uint_3(Allocation ain1, Script.LaunchOptions sc) { 15678 // check ain1 15679 if (!ain1.getType().getElement().isCompatible(__U32)) { 15680 throw new RSRuntimeException("Type mismatch with U32!"); 15681 } 15682 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15683 aout.setAutoPadding(true); 15684 reduce(mExportReduceIdx_my_uint_3, new Allocation[]{ain1}, aout, sc); 15685 return new result_int(aout); 15686 } 15687 15688 private final static int mExportReduceIdx_my_uint_4 = 436; 15689 // in1 = "in" 15690 public result_int reduce_my_uint_4(int[] in1) { 15691 // Verify that "in1" is non-null. 15692 if (in1 == null) { 15693 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15694 } 15695 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15696 ain1.setAutoPadding(true); 15697 ain1.copyFrom(in1); 15698 15699 result_int result = reduce_my_uint_4(ain1, null); 15700 result.mTempIns = new Allocation[]{ain1}; 15701 return result; 15702 } 15703 15704 // ain1 = "uint in" 15705 public result_int reduce_my_uint_4(Allocation ain1) { 15706 return reduce_my_uint_4(ain1, null); 15707 } 15708 15709 // ain1 = "uint in" 15710 public result_int reduce_my_uint_4(Allocation ain1, Script.LaunchOptions sc) { 15711 // check ain1 15712 if (!ain1.getType().getElement().isCompatible(__U32)) { 15713 throw new RSRuntimeException("Type mismatch with U32!"); 15714 } 15715 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15716 aout.setAutoPadding(true); 15717 reduce(mExportReduceIdx_my_uint_4, new Allocation[]{ain1}, aout, sc); 15718 return new result_int(aout); 15719 } 15720 15721 private final static int mExportReduceIdx_my_uint_5 = 437; 15722 // in1 = "in" 15723 public result_int reduce_my_uint_5(int[] in1) { 15724 // Verify that "in1" is non-null. 15725 if (in1 == null) { 15726 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15727 } 15728 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15729 ain1.setAutoPadding(true); 15730 ain1.copyFrom(in1); 15731 15732 result_int result = reduce_my_uint_5(ain1, null); 15733 result.mTempIns = new Allocation[]{ain1}; 15734 return result; 15735 } 15736 15737 // ain1 = "uint in" 15738 public result_int reduce_my_uint_5(Allocation ain1) { 15739 return reduce_my_uint_5(ain1, null); 15740 } 15741 15742 // ain1 = "uint in" 15743 public result_int reduce_my_uint_5(Allocation ain1, Script.LaunchOptions sc) { 15744 // check ain1 15745 if (!ain1.getType().getElement().isCompatible(__U32)) { 15746 throw new RSRuntimeException("Type mismatch with U32!"); 15747 } 15748 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15749 aout.setAutoPadding(true); 15750 reduce(mExportReduceIdx_my_uint_5, new Allocation[]{ain1}, aout, sc); 15751 return new result_int(aout); 15752 } 15753 15754 private final static int mExportReduceIdx_my_uint_6 = 438; 15755 // in1 = "in" 15756 public result_int reduce_my_uint_6(int[] in1) { 15757 // Verify that "in1" is non-null. 15758 if (in1 == null) { 15759 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15760 } 15761 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15762 ain1.setAutoPadding(true); 15763 ain1.copyFrom(in1); 15764 15765 result_int result = reduce_my_uint_6(ain1, null); 15766 result.mTempIns = new Allocation[]{ain1}; 15767 return result; 15768 } 15769 15770 // ain1 = "uint in" 15771 public result_int reduce_my_uint_6(Allocation ain1) { 15772 return reduce_my_uint_6(ain1, null); 15773 } 15774 15775 // ain1 = "uint in" 15776 public result_int reduce_my_uint_6(Allocation ain1, Script.LaunchOptions sc) { 15777 // check ain1 15778 if (!ain1.getType().getElement().isCompatible(__U32)) { 15779 throw new RSRuntimeException("Type mismatch with U32!"); 15780 } 15781 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15782 aout.setAutoPadding(true); 15783 reduce(mExportReduceIdx_my_uint_6, new Allocation[]{ain1}, aout, sc); 15784 return new result_int(aout); 15785 } 15786 15787 private final static int mExportReduceIdx_my_uint_7 = 439; 15788 // in1 = "in" 15789 public result_int reduce_my_uint_7(int[] in1) { 15790 // Verify that "in1" is non-null. 15791 if (in1 == null) { 15792 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15793 } 15794 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15795 ain1.setAutoPadding(true); 15796 ain1.copyFrom(in1); 15797 15798 result_int result = reduce_my_uint_7(ain1, null); 15799 result.mTempIns = new Allocation[]{ain1}; 15800 return result; 15801 } 15802 15803 // ain1 = "uint in" 15804 public result_int reduce_my_uint_7(Allocation ain1) { 15805 return reduce_my_uint_7(ain1, null); 15806 } 15807 15808 // ain1 = "uint in" 15809 public result_int reduce_my_uint_7(Allocation ain1, Script.LaunchOptions sc) { 15810 // check ain1 15811 if (!ain1.getType().getElement().isCompatible(__U32)) { 15812 throw new RSRuntimeException("Type mismatch with U32!"); 15813 } 15814 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15815 aout.setAutoPadding(true); 15816 reduce(mExportReduceIdx_my_uint_7, new Allocation[]{ain1}, aout, sc); 15817 return new result_int(aout); 15818 } 15819 15820 private final static int mExportReduceIdx_my_uint_8 = 440; 15821 // in1 = "in" 15822 public result_int reduce_my_uint_8(int[] in1) { 15823 // Verify that "in1" is non-null. 15824 if (in1 == null) { 15825 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15826 } 15827 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15828 ain1.setAutoPadding(true); 15829 ain1.copyFrom(in1); 15830 15831 result_int result = reduce_my_uint_8(ain1, null); 15832 result.mTempIns = new Allocation[]{ain1}; 15833 return result; 15834 } 15835 15836 // ain1 = "uint in" 15837 public result_int reduce_my_uint_8(Allocation ain1) { 15838 return reduce_my_uint_8(ain1, null); 15839 } 15840 15841 // ain1 = "uint in" 15842 public result_int reduce_my_uint_8(Allocation ain1, Script.LaunchOptions sc) { 15843 // check ain1 15844 if (!ain1.getType().getElement().isCompatible(__U32)) { 15845 throw new RSRuntimeException("Type mismatch with U32!"); 15846 } 15847 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15848 aout.setAutoPadding(true); 15849 reduce(mExportReduceIdx_my_uint_8, new Allocation[]{ain1}, aout, sc); 15850 return new result_int(aout); 15851 } 15852 15853 private final static int mExportReduceIdx_my_uint_9 = 441; 15854 // in1 = "in" 15855 public result_int reduce_my_uint_9(int[] in1) { 15856 // Verify that "in1" is non-null. 15857 if (in1 == null) { 15858 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15859 } 15860 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15861 ain1.setAutoPadding(true); 15862 ain1.copyFrom(in1); 15863 15864 result_int result = reduce_my_uint_9(ain1, null); 15865 result.mTempIns = new Allocation[]{ain1}; 15866 return result; 15867 } 15868 15869 // ain1 = "uint in" 15870 public result_int reduce_my_uint_9(Allocation ain1) { 15871 return reduce_my_uint_9(ain1, null); 15872 } 15873 15874 // ain1 = "uint in" 15875 public result_int reduce_my_uint_9(Allocation ain1, Script.LaunchOptions sc) { 15876 // check ain1 15877 if (!ain1.getType().getElement().isCompatible(__U32)) { 15878 throw new RSRuntimeException("Type mismatch with U32!"); 15879 } 15880 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15881 aout.setAutoPadding(true); 15882 reduce(mExportReduceIdx_my_uint_9, new Allocation[]{ain1}, aout, sc); 15883 return new result_int(aout); 15884 } 15885 15886 private final static int mExportReduceIdx_my_uint_10 = 442; 15887 // in1 = "in" 15888 public result_int reduce_my_uint_10(int[] in1) { 15889 // Verify that "in1" is non-null. 15890 if (in1 == null) { 15891 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15892 } 15893 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15894 ain1.setAutoPadding(true); 15895 ain1.copyFrom(in1); 15896 15897 result_int result = reduce_my_uint_10(ain1, null); 15898 result.mTempIns = new Allocation[]{ain1}; 15899 return result; 15900 } 15901 15902 // ain1 = "uint in" 15903 public result_int reduce_my_uint_10(Allocation ain1) { 15904 return reduce_my_uint_10(ain1, null); 15905 } 15906 15907 // ain1 = "uint in" 15908 public result_int reduce_my_uint_10(Allocation ain1, Script.LaunchOptions sc) { 15909 // check ain1 15910 if (!ain1.getType().getElement().isCompatible(__U32)) { 15911 throw new RSRuntimeException("Type mismatch with U32!"); 15912 } 15913 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15914 aout.setAutoPadding(true); 15915 reduce(mExportReduceIdx_my_uint_10, new Allocation[]{ain1}, aout, sc); 15916 return new result_int(aout); 15917 } 15918 15919 private final static int mExportReduceIdx_my_uint_11 = 443; 15920 // in1 = "in" 15921 public result_int reduce_my_uint_11(int[] in1) { 15922 // Verify that "in1" is non-null. 15923 if (in1 == null) { 15924 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15925 } 15926 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15927 ain1.setAutoPadding(true); 15928 ain1.copyFrom(in1); 15929 15930 result_int result = reduce_my_uint_11(ain1, null); 15931 result.mTempIns = new Allocation[]{ain1}; 15932 return result; 15933 } 15934 15935 // ain1 = "uint in" 15936 public result_int reduce_my_uint_11(Allocation ain1) { 15937 return reduce_my_uint_11(ain1, null); 15938 } 15939 15940 // ain1 = "uint in" 15941 public result_int reduce_my_uint_11(Allocation ain1, Script.LaunchOptions sc) { 15942 // check ain1 15943 if (!ain1.getType().getElement().isCompatible(__U32)) { 15944 throw new RSRuntimeException("Type mismatch with U32!"); 15945 } 15946 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15947 aout.setAutoPadding(true); 15948 reduce(mExportReduceIdx_my_uint_11, new Allocation[]{ain1}, aout, sc); 15949 return new result_int(aout); 15950 } 15951 15952 private final static int mExportReduceIdx_my_uint_12 = 444; 15953 // in1 = "in" 15954 public result_int reduce_my_uint_12(int[] in1) { 15955 // Verify that "in1" is non-null. 15956 if (in1 == null) { 15957 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15958 } 15959 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15960 ain1.setAutoPadding(true); 15961 ain1.copyFrom(in1); 15962 15963 result_int result = reduce_my_uint_12(ain1, null); 15964 result.mTempIns = new Allocation[]{ain1}; 15965 return result; 15966 } 15967 15968 // ain1 = "uint in" 15969 public result_int reduce_my_uint_12(Allocation ain1) { 15970 return reduce_my_uint_12(ain1, null); 15971 } 15972 15973 // ain1 = "uint in" 15974 public result_int reduce_my_uint_12(Allocation ain1, Script.LaunchOptions sc) { 15975 // check ain1 15976 if (!ain1.getType().getElement().isCompatible(__U32)) { 15977 throw new RSRuntimeException("Type mismatch with U32!"); 15978 } 15979 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15980 aout.setAutoPadding(true); 15981 reduce(mExportReduceIdx_my_uint_12, new Allocation[]{ain1}, aout, sc); 15982 return new result_int(aout); 15983 } 15984 15985 private final static int mExportReduceIdx_my_uint_13 = 445; 15986 // in1 = "in" 15987 public result_int reduce_my_uint_13(int[] in1) { 15988 // Verify that "in1" is non-null. 15989 if (in1 == null) { 15990 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15991 } 15992 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15993 ain1.setAutoPadding(true); 15994 ain1.copyFrom(in1); 15995 15996 result_int result = reduce_my_uint_13(ain1, null); 15997 result.mTempIns = new Allocation[]{ain1}; 15998 return result; 15999 } 16000 16001 // ain1 = "uint in" 16002 public result_int reduce_my_uint_13(Allocation ain1) { 16003 return reduce_my_uint_13(ain1, null); 16004 } 16005 16006 // ain1 = "uint in" 16007 public result_int reduce_my_uint_13(Allocation ain1, Script.LaunchOptions sc) { 16008 // check ain1 16009 if (!ain1.getType().getElement().isCompatible(__U32)) { 16010 throw new RSRuntimeException("Type mismatch with U32!"); 16011 } 16012 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16013 aout.setAutoPadding(true); 16014 reduce(mExportReduceIdx_my_uint_13, new Allocation[]{ain1}, aout, sc); 16015 return new result_int(aout); 16016 } 16017 16018 private final static int mExportReduceIdx_my_uint_14 = 446; 16019 // in1 = "in" 16020 public result_int reduce_my_uint_14(int[] in1) { 16021 // Verify that "in1" is non-null. 16022 if (in1 == null) { 16023 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16024 } 16025 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 16026 ain1.setAutoPadding(true); 16027 ain1.copyFrom(in1); 16028 16029 result_int result = reduce_my_uint_14(ain1, null); 16030 result.mTempIns = new Allocation[]{ain1}; 16031 return result; 16032 } 16033 16034 // ain1 = "uint in" 16035 public result_int reduce_my_uint_14(Allocation ain1) { 16036 return reduce_my_uint_14(ain1, null); 16037 } 16038 16039 // ain1 = "uint in" 16040 public result_int reduce_my_uint_14(Allocation ain1, Script.LaunchOptions sc) { 16041 // check ain1 16042 if (!ain1.getType().getElement().isCompatible(__U32)) { 16043 throw new RSRuntimeException("Type mismatch with U32!"); 16044 } 16045 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16046 aout.setAutoPadding(true); 16047 reduce(mExportReduceIdx_my_uint_14, new Allocation[]{ain1}, aout, sc); 16048 return new result_int(aout); 16049 } 16050 16051 private final static int mExportReduceIdx_my_uint_15 = 447; 16052 // in1 = "in" 16053 public result_int reduce_my_uint_15(int[] in1) { 16054 // Verify that "in1" is non-null. 16055 if (in1 == null) { 16056 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16057 } 16058 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 16059 ain1.setAutoPadding(true); 16060 ain1.copyFrom(in1); 16061 16062 result_int result = reduce_my_uint_15(ain1, null); 16063 result.mTempIns = new Allocation[]{ain1}; 16064 return result; 16065 } 16066 16067 // ain1 = "uint in" 16068 public result_int reduce_my_uint_15(Allocation ain1) { 16069 return reduce_my_uint_15(ain1, null); 16070 } 16071 16072 // ain1 = "uint in" 16073 public result_int reduce_my_uint_15(Allocation ain1, Script.LaunchOptions sc) { 16074 // check ain1 16075 if (!ain1.getType().getElement().isCompatible(__U32)) { 16076 throw new RSRuntimeException("Type mismatch with U32!"); 16077 } 16078 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16079 aout.setAutoPadding(true); 16080 reduce(mExportReduceIdx_my_uint_15, new Allocation[]{ain1}, aout, sc); 16081 return new result_int(aout); 16082 } 16083 16084 private final static int mExportReduceIdx_my_uint2_0 = 448; 16085 // in1 = "in", flattened 2-vectors 16086 public result_int reduce_my_uint2_0(int[] in1) { 16087 // Verify that "in1" is non-null. 16088 if (in1 == null) { 16089 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16090 } 16091 // Verify that the array length is a multiple of the vector size. 16092 if (in1.length % 2 != 0) { 16093 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16094 } 16095 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16096 ain1.setAutoPadding(true); 16097 ain1.copyFrom(in1); 16098 16099 result_int result = reduce_my_uint2_0(ain1, null); 16100 result.mTempIns = new Allocation[]{ain1}; 16101 return result; 16102 } 16103 16104 // ain1 = "uint2 in" 16105 public result_int reduce_my_uint2_0(Allocation ain1) { 16106 return reduce_my_uint2_0(ain1, null); 16107 } 16108 16109 // ain1 = "uint2 in" 16110 public result_int reduce_my_uint2_0(Allocation ain1, Script.LaunchOptions sc) { 16111 // check ain1 16112 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16113 throw new RSRuntimeException("Type mismatch with U32_2!"); 16114 } 16115 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16116 aout.setAutoPadding(true); 16117 reduce(mExportReduceIdx_my_uint2_0, new Allocation[]{ain1}, aout, sc); 16118 return new result_int(aout); 16119 } 16120 16121 private final static int mExportReduceIdx_my_uint2_1 = 449; 16122 // in1 = "in", flattened 2-vectors 16123 public result_int reduce_my_uint2_1(int[] in1) { 16124 // Verify that "in1" is non-null. 16125 if (in1 == null) { 16126 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16127 } 16128 // Verify that the array length is a multiple of the vector size. 16129 if (in1.length % 2 != 0) { 16130 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16131 } 16132 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16133 ain1.setAutoPadding(true); 16134 ain1.copyFrom(in1); 16135 16136 result_int result = reduce_my_uint2_1(ain1, null); 16137 result.mTempIns = new Allocation[]{ain1}; 16138 return result; 16139 } 16140 16141 // ain1 = "uint2 in" 16142 public result_int reduce_my_uint2_1(Allocation ain1) { 16143 return reduce_my_uint2_1(ain1, null); 16144 } 16145 16146 // ain1 = "uint2 in" 16147 public result_int reduce_my_uint2_1(Allocation ain1, Script.LaunchOptions sc) { 16148 // check ain1 16149 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16150 throw new RSRuntimeException("Type mismatch with U32_2!"); 16151 } 16152 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16153 aout.setAutoPadding(true); 16154 reduce(mExportReduceIdx_my_uint2_1, new Allocation[]{ain1}, aout, sc); 16155 return new result_int(aout); 16156 } 16157 16158 private final static int mExportReduceIdx_my_uint2_2 = 450; 16159 // in1 = "in", flattened 2-vectors 16160 public result_int reduce_my_uint2_2(int[] in1) { 16161 // Verify that "in1" is non-null. 16162 if (in1 == null) { 16163 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16164 } 16165 // Verify that the array length is a multiple of the vector size. 16166 if (in1.length % 2 != 0) { 16167 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16168 } 16169 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16170 ain1.setAutoPadding(true); 16171 ain1.copyFrom(in1); 16172 16173 result_int result = reduce_my_uint2_2(ain1, null); 16174 result.mTempIns = new Allocation[]{ain1}; 16175 return result; 16176 } 16177 16178 // ain1 = "uint2 in" 16179 public result_int reduce_my_uint2_2(Allocation ain1) { 16180 return reduce_my_uint2_2(ain1, null); 16181 } 16182 16183 // ain1 = "uint2 in" 16184 public result_int reduce_my_uint2_2(Allocation ain1, Script.LaunchOptions sc) { 16185 // check ain1 16186 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16187 throw new RSRuntimeException("Type mismatch with U32_2!"); 16188 } 16189 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16190 aout.setAutoPadding(true); 16191 reduce(mExportReduceIdx_my_uint2_2, new Allocation[]{ain1}, aout, sc); 16192 return new result_int(aout); 16193 } 16194 16195 private final static int mExportReduceIdx_my_uint2_3 = 451; 16196 // in1 = "in", flattened 2-vectors 16197 public result_int reduce_my_uint2_3(int[] in1) { 16198 // Verify that "in1" is non-null. 16199 if (in1 == null) { 16200 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16201 } 16202 // Verify that the array length is a multiple of the vector size. 16203 if (in1.length % 2 != 0) { 16204 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16205 } 16206 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16207 ain1.setAutoPadding(true); 16208 ain1.copyFrom(in1); 16209 16210 result_int result = reduce_my_uint2_3(ain1, null); 16211 result.mTempIns = new Allocation[]{ain1}; 16212 return result; 16213 } 16214 16215 // ain1 = "uint2 in" 16216 public result_int reduce_my_uint2_3(Allocation ain1) { 16217 return reduce_my_uint2_3(ain1, null); 16218 } 16219 16220 // ain1 = "uint2 in" 16221 public result_int reduce_my_uint2_3(Allocation ain1, Script.LaunchOptions sc) { 16222 // check ain1 16223 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16224 throw new RSRuntimeException("Type mismatch with U32_2!"); 16225 } 16226 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16227 aout.setAutoPadding(true); 16228 reduce(mExportReduceIdx_my_uint2_3, new Allocation[]{ain1}, aout, sc); 16229 return new result_int(aout); 16230 } 16231 16232 private final static int mExportReduceIdx_my_uint2_4 = 452; 16233 // in1 = "in", flattened 2-vectors 16234 public result_int reduce_my_uint2_4(int[] in1) { 16235 // Verify that "in1" is non-null. 16236 if (in1 == null) { 16237 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16238 } 16239 // Verify that the array length is a multiple of the vector size. 16240 if (in1.length % 2 != 0) { 16241 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16242 } 16243 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16244 ain1.setAutoPadding(true); 16245 ain1.copyFrom(in1); 16246 16247 result_int result = reduce_my_uint2_4(ain1, null); 16248 result.mTempIns = new Allocation[]{ain1}; 16249 return result; 16250 } 16251 16252 // ain1 = "uint2 in" 16253 public result_int reduce_my_uint2_4(Allocation ain1) { 16254 return reduce_my_uint2_4(ain1, null); 16255 } 16256 16257 // ain1 = "uint2 in" 16258 public result_int reduce_my_uint2_4(Allocation ain1, Script.LaunchOptions sc) { 16259 // check ain1 16260 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16261 throw new RSRuntimeException("Type mismatch with U32_2!"); 16262 } 16263 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16264 aout.setAutoPadding(true); 16265 reduce(mExportReduceIdx_my_uint2_4, new Allocation[]{ain1}, aout, sc); 16266 return new result_int(aout); 16267 } 16268 16269 private final static int mExportReduceIdx_my_uint2_5 = 453; 16270 // in1 = "in", flattened 2-vectors 16271 public result_int reduce_my_uint2_5(int[] in1) { 16272 // Verify that "in1" is non-null. 16273 if (in1 == null) { 16274 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16275 } 16276 // Verify that the array length is a multiple of the vector size. 16277 if (in1.length % 2 != 0) { 16278 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16279 } 16280 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16281 ain1.setAutoPadding(true); 16282 ain1.copyFrom(in1); 16283 16284 result_int result = reduce_my_uint2_5(ain1, null); 16285 result.mTempIns = new Allocation[]{ain1}; 16286 return result; 16287 } 16288 16289 // ain1 = "uint2 in" 16290 public result_int reduce_my_uint2_5(Allocation ain1) { 16291 return reduce_my_uint2_5(ain1, null); 16292 } 16293 16294 // ain1 = "uint2 in" 16295 public result_int reduce_my_uint2_5(Allocation ain1, Script.LaunchOptions sc) { 16296 // check ain1 16297 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16298 throw new RSRuntimeException("Type mismatch with U32_2!"); 16299 } 16300 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16301 aout.setAutoPadding(true); 16302 reduce(mExportReduceIdx_my_uint2_5, new Allocation[]{ain1}, aout, sc); 16303 return new result_int(aout); 16304 } 16305 16306 private final static int mExportReduceIdx_my_uint2_6 = 454; 16307 // in1 = "in", flattened 2-vectors 16308 public result_int reduce_my_uint2_6(int[] in1) { 16309 // Verify that "in1" is non-null. 16310 if (in1 == null) { 16311 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16312 } 16313 // Verify that the array length is a multiple of the vector size. 16314 if (in1.length % 2 != 0) { 16315 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16316 } 16317 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16318 ain1.setAutoPadding(true); 16319 ain1.copyFrom(in1); 16320 16321 result_int result = reduce_my_uint2_6(ain1, null); 16322 result.mTempIns = new Allocation[]{ain1}; 16323 return result; 16324 } 16325 16326 // ain1 = "uint2 in" 16327 public result_int reduce_my_uint2_6(Allocation ain1) { 16328 return reduce_my_uint2_6(ain1, null); 16329 } 16330 16331 // ain1 = "uint2 in" 16332 public result_int reduce_my_uint2_6(Allocation ain1, Script.LaunchOptions sc) { 16333 // check ain1 16334 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16335 throw new RSRuntimeException("Type mismatch with U32_2!"); 16336 } 16337 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16338 aout.setAutoPadding(true); 16339 reduce(mExportReduceIdx_my_uint2_6, new Allocation[]{ain1}, aout, sc); 16340 return new result_int(aout); 16341 } 16342 16343 private final static int mExportReduceIdx_my_uint2_7 = 455; 16344 // in1 = "in", flattened 2-vectors 16345 public result_int reduce_my_uint2_7(int[] in1) { 16346 // Verify that "in1" is non-null. 16347 if (in1 == null) { 16348 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16349 } 16350 // Verify that the array length is a multiple of the vector size. 16351 if (in1.length % 2 != 0) { 16352 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16353 } 16354 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16355 ain1.setAutoPadding(true); 16356 ain1.copyFrom(in1); 16357 16358 result_int result = reduce_my_uint2_7(ain1, null); 16359 result.mTempIns = new Allocation[]{ain1}; 16360 return result; 16361 } 16362 16363 // ain1 = "uint2 in" 16364 public result_int reduce_my_uint2_7(Allocation ain1) { 16365 return reduce_my_uint2_7(ain1, null); 16366 } 16367 16368 // ain1 = "uint2 in" 16369 public result_int reduce_my_uint2_7(Allocation ain1, Script.LaunchOptions sc) { 16370 // check ain1 16371 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16372 throw new RSRuntimeException("Type mismatch with U32_2!"); 16373 } 16374 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16375 aout.setAutoPadding(true); 16376 reduce(mExportReduceIdx_my_uint2_7, new Allocation[]{ain1}, aout, sc); 16377 return new result_int(aout); 16378 } 16379 16380 private final static int mExportReduceIdx_my_uint2_8 = 456; 16381 // in1 = "in", flattened 2-vectors 16382 public result_int reduce_my_uint2_8(int[] in1) { 16383 // Verify that "in1" is non-null. 16384 if (in1 == null) { 16385 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16386 } 16387 // Verify that the array length is a multiple of the vector size. 16388 if (in1.length % 2 != 0) { 16389 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16390 } 16391 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16392 ain1.setAutoPadding(true); 16393 ain1.copyFrom(in1); 16394 16395 result_int result = reduce_my_uint2_8(ain1, null); 16396 result.mTempIns = new Allocation[]{ain1}; 16397 return result; 16398 } 16399 16400 // ain1 = "uint2 in" 16401 public result_int reduce_my_uint2_8(Allocation ain1) { 16402 return reduce_my_uint2_8(ain1, null); 16403 } 16404 16405 // ain1 = "uint2 in" 16406 public result_int reduce_my_uint2_8(Allocation ain1, Script.LaunchOptions sc) { 16407 // check ain1 16408 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16409 throw new RSRuntimeException("Type mismatch with U32_2!"); 16410 } 16411 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16412 aout.setAutoPadding(true); 16413 reduce(mExportReduceIdx_my_uint2_8, new Allocation[]{ain1}, aout, sc); 16414 return new result_int(aout); 16415 } 16416 16417 private final static int mExportReduceIdx_my_uint2_9 = 457; 16418 // in1 = "in", flattened 2-vectors 16419 public result_int reduce_my_uint2_9(int[] in1) { 16420 // Verify that "in1" is non-null. 16421 if (in1 == null) { 16422 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16423 } 16424 // Verify that the array length is a multiple of the vector size. 16425 if (in1.length % 2 != 0) { 16426 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16427 } 16428 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16429 ain1.setAutoPadding(true); 16430 ain1.copyFrom(in1); 16431 16432 result_int result = reduce_my_uint2_9(ain1, null); 16433 result.mTempIns = new Allocation[]{ain1}; 16434 return result; 16435 } 16436 16437 // ain1 = "uint2 in" 16438 public result_int reduce_my_uint2_9(Allocation ain1) { 16439 return reduce_my_uint2_9(ain1, null); 16440 } 16441 16442 // ain1 = "uint2 in" 16443 public result_int reduce_my_uint2_9(Allocation ain1, Script.LaunchOptions sc) { 16444 // check ain1 16445 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16446 throw new RSRuntimeException("Type mismatch with U32_2!"); 16447 } 16448 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16449 aout.setAutoPadding(true); 16450 reduce(mExportReduceIdx_my_uint2_9, new Allocation[]{ain1}, aout, sc); 16451 return new result_int(aout); 16452 } 16453 16454 private final static int mExportReduceIdx_my_uint2_10 = 458; 16455 // in1 = "in", flattened 2-vectors 16456 public result_int reduce_my_uint2_10(int[] in1) { 16457 // Verify that "in1" is non-null. 16458 if (in1 == null) { 16459 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16460 } 16461 // Verify that the array length is a multiple of the vector size. 16462 if (in1.length % 2 != 0) { 16463 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16464 } 16465 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16466 ain1.setAutoPadding(true); 16467 ain1.copyFrom(in1); 16468 16469 result_int result = reduce_my_uint2_10(ain1, null); 16470 result.mTempIns = new Allocation[]{ain1}; 16471 return result; 16472 } 16473 16474 // ain1 = "uint2 in" 16475 public result_int reduce_my_uint2_10(Allocation ain1) { 16476 return reduce_my_uint2_10(ain1, null); 16477 } 16478 16479 // ain1 = "uint2 in" 16480 public result_int reduce_my_uint2_10(Allocation ain1, Script.LaunchOptions sc) { 16481 // check ain1 16482 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16483 throw new RSRuntimeException("Type mismatch with U32_2!"); 16484 } 16485 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16486 aout.setAutoPadding(true); 16487 reduce(mExportReduceIdx_my_uint2_10, new Allocation[]{ain1}, aout, sc); 16488 return new result_int(aout); 16489 } 16490 16491 private final static int mExportReduceIdx_my_uint2_11 = 459; 16492 // in1 = "in", flattened 2-vectors 16493 public result_int reduce_my_uint2_11(int[] in1) { 16494 // Verify that "in1" is non-null. 16495 if (in1 == null) { 16496 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16497 } 16498 // Verify that the array length is a multiple of the vector size. 16499 if (in1.length % 2 != 0) { 16500 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16501 } 16502 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16503 ain1.setAutoPadding(true); 16504 ain1.copyFrom(in1); 16505 16506 result_int result = reduce_my_uint2_11(ain1, null); 16507 result.mTempIns = new Allocation[]{ain1}; 16508 return result; 16509 } 16510 16511 // ain1 = "uint2 in" 16512 public result_int reduce_my_uint2_11(Allocation ain1) { 16513 return reduce_my_uint2_11(ain1, null); 16514 } 16515 16516 // ain1 = "uint2 in" 16517 public result_int reduce_my_uint2_11(Allocation ain1, Script.LaunchOptions sc) { 16518 // check ain1 16519 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16520 throw new RSRuntimeException("Type mismatch with U32_2!"); 16521 } 16522 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16523 aout.setAutoPadding(true); 16524 reduce(mExportReduceIdx_my_uint2_11, new Allocation[]{ain1}, aout, sc); 16525 return new result_int(aout); 16526 } 16527 16528 private final static int mExportReduceIdx_my_uint2_12 = 460; 16529 // in1 = "in", flattened 2-vectors 16530 public result_int reduce_my_uint2_12(int[] in1) { 16531 // Verify that "in1" is non-null. 16532 if (in1 == null) { 16533 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16534 } 16535 // Verify that the array length is a multiple of the vector size. 16536 if (in1.length % 2 != 0) { 16537 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16538 } 16539 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16540 ain1.setAutoPadding(true); 16541 ain1.copyFrom(in1); 16542 16543 result_int result = reduce_my_uint2_12(ain1, null); 16544 result.mTempIns = new Allocation[]{ain1}; 16545 return result; 16546 } 16547 16548 // ain1 = "uint2 in" 16549 public result_int reduce_my_uint2_12(Allocation ain1) { 16550 return reduce_my_uint2_12(ain1, null); 16551 } 16552 16553 // ain1 = "uint2 in" 16554 public result_int reduce_my_uint2_12(Allocation ain1, Script.LaunchOptions sc) { 16555 // check ain1 16556 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16557 throw new RSRuntimeException("Type mismatch with U32_2!"); 16558 } 16559 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16560 aout.setAutoPadding(true); 16561 reduce(mExportReduceIdx_my_uint2_12, new Allocation[]{ain1}, aout, sc); 16562 return new result_int(aout); 16563 } 16564 16565 private final static int mExportReduceIdx_my_uint2_13 = 461; 16566 // in1 = "in", flattened 2-vectors 16567 public result_int reduce_my_uint2_13(int[] in1) { 16568 // Verify that "in1" is non-null. 16569 if (in1 == null) { 16570 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16571 } 16572 // Verify that the array length is a multiple of the vector size. 16573 if (in1.length % 2 != 0) { 16574 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16575 } 16576 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16577 ain1.setAutoPadding(true); 16578 ain1.copyFrom(in1); 16579 16580 result_int result = reduce_my_uint2_13(ain1, null); 16581 result.mTempIns = new Allocation[]{ain1}; 16582 return result; 16583 } 16584 16585 // ain1 = "uint2 in" 16586 public result_int reduce_my_uint2_13(Allocation ain1) { 16587 return reduce_my_uint2_13(ain1, null); 16588 } 16589 16590 // ain1 = "uint2 in" 16591 public result_int reduce_my_uint2_13(Allocation ain1, Script.LaunchOptions sc) { 16592 // check ain1 16593 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16594 throw new RSRuntimeException("Type mismatch with U32_2!"); 16595 } 16596 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16597 aout.setAutoPadding(true); 16598 reduce(mExportReduceIdx_my_uint2_13, new Allocation[]{ain1}, aout, sc); 16599 return new result_int(aout); 16600 } 16601 16602 private final static int mExportReduceIdx_my_uint2_14 = 462; 16603 // in1 = "in", flattened 2-vectors 16604 public result_int reduce_my_uint2_14(int[] in1) { 16605 // Verify that "in1" is non-null. 16606 if (in1 == null) { 16607 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16608 } 16609 // Verify that the array length is a multiple of the vector size. 16610 if (in1.length % 2 != 0) { 16611 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16612 } 16613 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16614 ain1.setAutoPadding(true); 16615 ain1.copyFrom(in1); 16616 16617 result_int result = reduce_my_uint2_14(ain1, null); 16618 result.mTempIns = new Allocation[]{ain1}; 16619 return result; 16620 } 16621 16622 // ain1 = "uint2 in" 16623 public result_int reduce_my_uint2_14(Allocation ain1) { 16624 return reduce_my_uint2_14(ain1, null); 16625 } 16626 16627 // ain1 = "uint2 in" 16628 public result_int reduce_my_uint2_14(Allocation ain1, Script.LaunchOptions sc) { 16629 // check ain1 16630 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16631 throw new RSRuntimeException("Type mismatch with U32_2!"); 16632 } 16633 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16634 aout.setAutoPadding(true); 16635 reduce(mExportReduceIdx_my_uint2_14, new Allocation[]{ain1}, aout, sc); 16636 return new result_int(aout); 16637 } 16638 16639 private final static int mExportReduceIdx_my_uint2_15 = 463; 16640 // in1 = "in", flattened 2-vectors 16641 public result_int reduce_my_uint2_15(int[] in1) { 16642 // Verify that "in1" is non-null. 16643 if (in1 == null) { 16644 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16645 } 16646 // Verify that the array length is a multiple of the vector size. 16647 if (in1.length % 2 != 0) { 16648 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16649 } 16650 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16651 ain1.setAutoPadding(true); 16652 ain1.copyFrom(in1); 16653 16654 result_int result = reduce_my_uint2_15(ain1, null); 16655 result.mTempIns = new Allocation[]{ain1}; 16656 return result; 16657 } 16658 16659 // ain1 = "uint2 in" 16660 public result_int reduce_my_uint2_15(Allocation ain1) { 16661 return reduce_my_uint2_15(ain1, null); 16662 } 16663 16664 // ain1 = "uint2 in" 16665 public result_int reduce_my_uint2_15(Allocation ain1, Script.LaunchOptions sc) { 16666 // check ain1 16667 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16668 throw new RSRuntimeException("Type mismatch with U32_2!"); 16669 } 16670 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16671 aout.setAutoPadding(true); 16672 reduce(mExportReduceIdx_my_uint2_15, new Allocation[]{ain1}, aout, sc); 16673 return new result_int(aout); 16674 } 16675 16676 private final static int mExportReduceIdx_my_uint4_0 = 464; 16677 // in1 = "in", flattened 4-vectors 16678 public result_int reduce_my_uint4_0(int[] in1) { 16679 // Verify that "in1" is non-null. 16680 if (in1 == null) { 16681 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16682 } 16683 // Verify that the array length is a multiple of the vector size. 16684 if (in1.length % 4 != 0) { 16685 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16686 } 16687 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16688 ain1.setAutoPadding(true); 16689 ain1.copyFrom(in1); 16690 16691 result_int result = reduce_my_uint4_0(ain1, null); 16692 result.mTempIns = new Allocation[]{ain1}; 16693 return result; 16694 } 16695 16696 // ain1 = "uint4 in" 16697 public result_int reduce_my_uint4_0(Allocation ain1) { 16698 return reduce_my_uint4_0(ain1, null); 16699 } 16700 16701 // ain1 = "uint4 in" 16702 public result_int reduce_my_uint4_0(Allocation ain1, Script.LaunchOptions sc) { 16703 // check ain1 16704 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16705 throw new RSRuntimeException("Type mismatch with U32_4!"); 16706 } 16707 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16708 aout.setAutoPadding(true); 16709 reduce(mExportReduceIdx_my_uint4_0, new Allocation[]{ain1}, aout, sc); 16710 return new result_int(aout); 16711 } 16712 16713 private final static int mExportReduceIdx_my_uint4_1 = 465; 16714 // in1 = "in", flattened 4-vectors 16715 public result_int reduce_my_uint4_1(int[] in1) { 16716 // Verify that "in1" is non-null. 16717 if (in1 == null) { 16718 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16719 } 16720 // Verify that the array length is a multiple of the vector size. 16721 if (in1.length % 4 != 0) { 16722 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16723 } 16724 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16725 ain1.setAutoPadding(true); 16726 ain1.copyFrom(in1); 16727 16728 result_int result = reduce_my_uint4_1(ain1, null); 16729 result.mTempIns = new Allocation[]{ain1}; 16730 return result; 16731 } 16732 16733 // ain1 = "uint4 in" 16734 public result_int reduce_my_uint4_1(Allocation ain1) { 16735 return reduce_my_uint4_1(ain1, null); 16736 } 16737 16738 // ain1 = "uint4 in" 16739 public result_int reduce_my_uint4_1(Allocation ain1, Script.LaunchOptions sc) { 16740 // check ain1 16741 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16742 throw new RSRuntimeException("Type mismatch with U32_4!"); 16743 } 16744 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16745 aout.setAutoPadding(true); 16746 reduce(mExportReduceIdx_my_uint4_1, new Allocation[]{ain1}, aout, sc); 16747 return new result_int(aout); 16748 } 16749 16750 private final static int mExportReduceIdx_my_uint4_2 = 466; 16751 // in1 = "in", flattened 4-vectors 16752 public result_int reduce_my_uint4_2(int[] in1) { 16753 // Verify that "in1" is non-null. 16754 if (in1 == null) { 16755 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16756 } 16757 // Verify that the array length is a multiple of the vector size. 16758 if (in1.length % 4 != 0) { 16759 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16760 } 16761 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16762 ain1.setAutoPadding(true); 16763 ain1.copyFrom(in1); 16764 16765 result_int result = reduce_my_uint4_2(ain1, null); 16766 result.mTempIns = new Allocation[]{ain1}; 16767 return result; 16768 } 16769 16770 // ain1 = "uint4 in" 16771 public result_int reduce_my_uint4_2(Allocation ain1) { 16772 return reduce_my_uint4_2(ain1, null); 16773 } 16774 16775 // ain1 = "uint4 in" 16776 public result_int reduce_my_uint4_2(Allocation ain1, Script.LaunchOptions sc) { 16777 // check ain1 16778 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16779 throw new RSRuntimeException("Type mismatch with U32_4!"); 16780 } 16781 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16782 aout.setAutoPadding(true); 16783 reduce(mExportReduceIdx_my_uint4_2, new Allocation[]{ain1}, aout, sc); 16784 return new result_int(aout); 16785 } 16786 16787 private final static int mExportReduceIdx_my_uint4_3 = 467; 16788 // in1 = "in", flattened 4-vectors 16789 public result_int reduce_my_uint4_3(int[] in1) { 16790 // Verify that "in1" is non-null. 16791 if (in1 == null) { 16792 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16793 } 16794 // Verify that the array length is a multiple of the vector size. 16795 if (in1.length % 4 != 0) { 16796 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16797 } 16798 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16799 ain1.setAutoPadding(true); 16800 ain1.copyFrom(in1); 16801 16802 result_int result = reduce_my_uint4_3(ain1, null); 16803 result.mTempIns = new Allocation[]{ain1}; 16804 return result; 16805 } 16806 16807 // ain1 = "uint4 in" 16808 public result_int reduce_my_uint4_3(Allocation ain1) { 16809 return reduce_my_uint4_3(ain1, null); 16810 } 16811 16812 // ain1 = "uint4 in" 16813 public result_int reduce_my_uint4_3(Allocation ain1, Script.LaunchOptions sc) { 16814 // check ain1 16815 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16816 throw new RSRuntimeException("Type mismatch with U32_4!"); 16817 } 16818 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16819 aout.setAutoPadding(true); 16820 reduce(mExportReduceIdx_my_uint4_3, new Allocation[]{ain1}, aout, sc); 16821 return new result_int(aout); 16822 } 16823 16824 private final static int mExportReduceIdx_my_uint4_4 = 468; 16825 // in1 = "in", flattened 4-vectors 16826 public result_int reduce_my_uint4_4(int[] in1) { 16827 // Verify that "in1" is non-null. 16828 if (in1 == null) { 16829 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16830 } 16831 // Verify that the array length is a multiple of the vector size. 16832 if (in1.length % 4 != 0) { 16833 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16834 } 16835 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16836 ain1.setAutoPadding(true); 16837 ain1.copyFrom(in1); 16838 16839 result_int result = reduce_my_uint4_4(ain1, null); 16840 result.mTempIns = new Allocation[]{ain1}; 16841 return result; 16842 } 16843 16844 // ain1 = "uint4 in" 16845 public result_int reduce_my_uint4_4(Allocation ain1) { 16846 return reduce_my_uint4_4(ain1, null); 16847 } 16848 16849 // ain1 = "uint4 in" 16850 public result_int reduce_my_uint4_4(Allocation ain1, Script.LaunchOptions sc) { 16851 // check ain1 16852 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16853 throw new RSRuntimeException("Type mismatch with U32_4!"); 16854 } 16855 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16856 aout.setAutoPadding(true); 16857 reduce(mExportReduceIdx_my_uint4_4, new Allocation[]{ain1}, aout, sc); 16858 return new result_int(aout); 16859 } 16860 16861 private final static int mExportReduceIdx_my_uint4_5 = 469; 16862 // in1 = "in", flattened 4-vectors 16863 public result_int reduce_my_uint4_5(int[] in1) { 16864 // Verify that "in1" is non-null. 16865 if (in1 == null) { 16866 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16867 } 16868 // Verify that the array length is a multiple of the vector size. 16869 if (in1.length % 4 != 0) { 16870 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16871 } 16872 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16873 ain1.setAutoPadding(true); 16874 ain1.copyFrom(in1); 16875 16876 result_int result = reduce_my_uint4_5(ain1, null); 16877 result.mTempIns = new Allocation[]{ain1}; 16878 return result; 16879 } 16880 16881 // ain1 = "uint4 in" 16882 public result_int reduce_my_uint4_5(Allocation ain1) { 16883 return reduce_my_uint4_5(ain1, null); 16884 } 16885 16886 // ain1 = "uint4 in" 16887 public result_int reduce_my_uint4_5(Allocation ain1, Script.LaunchOptions sc) { 16888 // check ain1 16889 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16890 throw new RSRuntimeException("Type mismatch with U32_4!"); 16891 } 16892 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16893 aout.setAutoPadding(true); 16894 reduce(mExportReduceIdx_my_uint4_5, new Allocation[]{ain1}, aout, sc); 16895 return new result_int(aout); 16896 } 16897 16898 private final static int mExportReduceIdx_my_uint4_6 = 470; 16899 // in1 = "in", flattened 4-vectors 16900 public result_int reduce_my_uint4_6(int[] in1) { 16901 // Verify that "in1" is non-null. 16902 if (in1 == null) { 16903 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16904 } 16905 // Verify that the array length is a multiple of the vector size. 16906 if (in1.length % 4 != 0) { 16907 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16908 } 16909 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16910 ain1.setAutoPadding(true); 16911 ain1.copyFrom(in1); 16912 16913 result_int result = reduce_my_uint4_6(ain1, null); 16914 result.mTempIns = new Allocation[]{ain1}; 16915 return result; 16916 } 16917 16918 // ain1 = "uint4 in" 16919 public result_int reduce_my_uint4_6(Allocation ain1) { 16920 return reduce_my_uint4_6(ain1, null); 16921 } 16922 16923 // ain1 = "uint4 in" 16924 public result_int reduce_my_uint4_6(Allocation ain1, Script.LaunchOptions sc) { 16925 // check ain1 16926 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16927 throw new RSRuntimeException("Type mismatch with U32_4!"); 16928 } 16929 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16930 aout.setAutoPadding(true); 16931 reduce(mExportReduceIdx_my_uint4_6, new Allocation[]{ain1}, aout, sc); 16932 return new result_int(aout); 16933 } 16934 16935 private final static int mExportReduceIdx_my_uint4_7 = 471; 16936 // in1 = "in", flattened 4-vectors 16937 public result_int reduce_my_uint4_7(int[] in1) { 16938 // Verify that "in1" is non-null. 16939 if (in1 == null) { 16940 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16941 } 16942 // Verify that the array length is a multiple of the vector size. 16943 if (in1.length % 4 != 0) { 16944 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16945 } 16946 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16947 ain1.setAutoPadding(true); 16948 ain1.copyFrom(in1); 16949 16950 result_int result = reduce_my_uint4_7(ain1, null); 16951 result.mTempIns = new Allocation[]{ain1}; 16952 return result; 16953 } 16954 16955 // ain1 = "uint4 in" 16956 public result_int reduce_my_uint4_7(Allocation ain1) { 16957 return reduce_my_uint4_7(ain1, null); 16958 } 16959 16960 // ain1 = "uint4 in" 16961 public result_int reduce_my_uint4_7(Allocation ain1, Script.LaunchOptions sc) { 16962 // check ain1 16963 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16964 throw new RSRuntimeException("Type mismatch with U32_4!"); 16965 } 16966 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16967 aout.setAutoPadding(true); 16968 reduce(mExportReduceIdx_my_uint4_7, new Allocation[]{ain1}, aout, sc); 16969 return new result_int(aout); 16970 } 16971 16972 private final static int mExportReduceIdx_my_uint4_8 = 472; 16973 // in1 = "in", flattened 4-vectors 16974 public result_int reduce_my_uint4_8(int[] in1) { 16975 // Verify that "in1" is non-null. 16976 if (in1 == null) { 16977 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16978 } 16979 // Verify that the array length is a multiple of the vector size. 16980 if (in1.length % 4 != 0) { 16981 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16982 } 16983 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16984 ain1.setAutoPadding(true); 16985 ain1.copyFrom(in1); 16986 16987 result_int result = reduce_my_uint4_8(ain1, null); 16988 result.mTempIns = new Allocation[]{ain1}; 16989 return result; 16990 } 16991 16992 // ain1 = "uint4 in" 16993 public result_int reduce_my_uint4_8(Allocation ain1) { 16994 return reduce_my_uint4_8(ain1, null); 16995 } 16996 16997 // ain1 = "uint4 in" 16998 public result_int reduce_my_uint4_8(Allocation ain1, Script.LaunchOptions sc) { 16999 // check ain1 17000 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17001 throw new RSRuntimeException("Type mismatch with U32_4!"); 17002 } 17003 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17004 aout.setAutoPadding(true); 17005 reduce(mExportReduceIdx_my_uint4_8, new Allocation[]{ain1}, aout, sc); 17006 return new result_int(aout); 17007 } 17008 17009 private final static int mExportReduceIdx_my_uint4_9 = 473; 17010 // in1 = "in", flattened 4-vectors 17011 public result_int reduce_my_uint4_9(int[] in1) { 17012 // Verify that "in1" is non-null. 17013 if (in1 == null) { 17014 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17015 } 17016 // Verify that the array length is a multiple of the vector size. 17017 if (in1.length % 4 != 0) { 17018 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17019 } 17020 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17021 ain1.setAutoPadding(true); 17022 ain1.copyFrom(in1); 17023 17024 result_int result = reduce_my_uint4_9(ain1, null); 17025 result.mTempIns = new Allocation[]{ain1}; 17026 return result; 17027 } 17028 17029 // ain1 = "uint4 in" 17030 public result_int reduce_my_uint4_9(Allocation ain1) { 17031 return reduce_my_uint4_9(ain1, null); 17032 } 17033 17034 // ain1 = "uint4 in" 17035 public result_int reduce_my_uint4_9(Allocation ain1, Script.LaunchOptions sc) { 17036 // check ain1 17037 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17038 throw new RSRuntimeException("Type mismatch with U32_4!"); 17039 } 17040 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17041 aout.setAutoPadding(true); 17042 reduce(mExportReduceIdx_my_uint4_9, new Allocation[]{ain1}, aout, sc); 17043 return new result_int(aout); 17044 } 17045 17046 private final static int mExportReduceIdx_my_uint4_10 = 474; 17047 // in1 = "in", flattened 4-vectors 17048 public result_int reduce_my_uint4_10(int[] in1) { 17049 // Verify that "in1" is non-null. 17050 if (in1 == null) { 17051 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17052 } 17053 // Verify that the array length is a multiple of the vector size. 17054 if (in1.length % 4 != 0) { 17055 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17056 } 17057 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17058 ain1.setAutoPadding(true); 17059 ain1.copyFrom(in1); 17060 17061 result_int result = reduce_my_uint4_10(ain1, null); 17062 result.mTempIns = new Allocation[]{ain1}; 17063 return result; 17064 } 17065 17066 // ain1 = "uint4 in" 17067 public result_int reduce_my_uint4_10(Allocation ain1) { 17068 return reduce_my_uint4_10(ain1, null); 17069 } 17070 17071 // ain1 = "uint4 in" 17072 public result_int reduce_my_uint4_10(Allocation ain1, Script.LaunchOptions sc) { 17073 // check ain1 17074 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17075 throw new RSRuntimeException("Type mismatch with U32_4!"); 17076 } 17077 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17078 aout.setAutoPadding(true); 17079 reduce(mExportReduceIdx_my_uint4_10, new Allocation[]{ain1}, aout, sc); 17080 return new result_int(aout); 17081 } 17082 17083 private final static int mExportReduceIdx_my_uint4_11 = 475; 17084 // in1 = "in", flattened 4-vectors 17085 public result_int reduce_my_uint4_11(int[] in1) { 17086 // Verify that "in1" is non-null. 17087 if (in1 == null) { 17088 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17089 } 17090 // Verify that the array length is a multiple of the vector size. 17091 if (in1.length % 4 != 0) { 17092 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17093 } 17094 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17095 ain1.setAutoPadding(true); 17096 ain1.copyFrom(in1); 17097 17098 result_int result = reduce_my_uint4_11(ain1, null); 17099 result.mTempIns = new Allocation[]{ain1}; 17100 return result; 17101 } 17102 17103 // ain1 = "uint4 in" 17104 public result_int reduce_my_uint4_11(Allocation ain1) { 17105 return reduce_my_uint4_11(ain1, null); 17106 } 17107 17108 // ain1 = "uint4 in" 17109 public result_int reduce_my_uint4_11(Allocation ain1, Script.LaunchOptions sc) { 17110 // check ain1 17111 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17112 throw new RSRuntimeException("Type mismatch with U32_4!"); 17113 } 17114 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17115 aout.setAutoPadding(true); 17116 reduce(mExportReduceIdx_my_uint4_11, new Allocation[]{ain1}, aout, sc); 17117 return new result_int(aout); 17118 } 17119 17120 private final static int mExportReduceIdx_my_uint4_12 = 476; 17121 // in1 = "in", flattened 4-vectors 17122 public result_int reduce_my_uint4_12(int[] in1) { 17123 // Verify that "in1" is non-null. 17124 if (in1 == null) { 17125 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17126 } 17127 // Verify that the array length is a multiple of the vector size. 17128 if (in1.length % 4 != 0) { 17129 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17130 } 17131 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17132 ain1.setAutoPadding(true); 17133 ain1.copyFrom(in1); 17134 17135 result_int result = reduce_my_uint4_12(ain1, null); 17136 result.mTempIns = new Allocation[]{ain1}; 17137 return result; 17138 } 17139 17140 // ain1 = "uint4 in" 17141 public result_int reduce_my_uint4_12(Allocation ain1) { 17142 return reduce_my_uint4_12(ain1, null); 17143 } 17144 17145 // ain1 = "uint4 in" 17146 public result_int reduce_my_uint4_12(Allocation ain1, Script.LaunchOptions sc) { 17147 // check ain1 17148 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17149 throw new RSRuntimeException("Type mismatch with U32_4!"); 17150 } 17151 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17152 aout.setAutoPadding(true); 17153 reduce(mExportReduceIdx_my_uint4_12, new Allocation[]{ain1}, aout, sc); 17154 return new result_int(aout); 17155 } 17156 17157 private final static int mExportReduceIdx_my_uint4_13 = 477; 17158 // in1 = "in", flattened 4-vectors 17159 public result_int reduce_my_uint4_13(int[] in1) { 17160 // Verify that "in1" is non-null. 17161 if (in1 == null) { 17162 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17163 } 17164 // Verify that the array length is a multiple of the vector size. 17165 if (in1.length % 4 != 0) { 17166 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17167 } 17168 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17169 ain1.setAutoPadding(true); 17170 ain1.copyFrom(in1); 17171 17172 result_int result = reduce_my_uint4_13(ain1, null); 17173 result.mTempIns = new Allocation[]{ain1}; 17174 return result; 17175 } 17176 17177 // ain1 = "uint4 in" 17178 public result_int reduce_my_uint4_13(Allocation ain1) { 17179 return reduce_my_uint4_13(ain1, null); 17180 } 17181 17182 // ain1 = "uint4 in" 17183 public result_int reduce_my_uint4_13(Allocation ain1, Script.LaunchOptions sc) { 17184 // check ain1 17185 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17186 throw new RSRuntimeException("Type mismatch with U32_4!"); 17187 } 17188 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17189 aout.setAutoPadding(true); 17190 reduce(mExportReduceIdx_my_uint4_13, new Allocation[]{ain1}, aout, sc); 17191 return new result_int(aout); 17192 } 17193 17194 private final static int mExportReduceIdx_my_uint4_14 = 478; 17195 // in1 = "in", flattened 4-vectors 17196 public result_int reduce_my_uint4_14(int[] in1) { 17197 // Verify that "in1" is non-null. 17198 if (in1 == null) { 17199 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17200 } 17201 // Verify that the array length is a multiple of the vector size. 17202 if (in1.length % 4 != 0) { 17203 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17204 } 17205 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17206 ain1.setAutoPadding(true); 17207 ain1.copyFrom(in1); 17208 17209 result_int result = reduce_my_uint4_14(ain1, null); 17210 result.mTempIns = new Allocation[]{ain1}; 17211 return result; 17212 } 17213 17214 // ain1 = "uint4 in" 17215 public result_int reduce_my_uint4_14(Allocation ain1) { 17216 return reduce_my_uint4_14(ain1, null); 17217 } 17218 17219 // ain1 = "uint4 in" 17220 public result_int reduce_my_uint4_14(Allocation ain1, Script.LaunchOptions sc) { 17221 // check ain1 17222 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17223 throw new RSRuntimeException("Type mismatch with U32_4!"); 17224 } 17225 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17226 aout.setAutoPadding(true); 17227 reduce(mExportReduceIdx_my_uint4_14, new Allocation[]{ain1}, aout, sc); 17228 return new result_int(aout); 17229 } 17230 17231 private final static int mExportReduceIdx_my_uint4_15 = 479; 17232 // in1 = "in", flattened 4-vectors 17233 public result_int reduce_my_uint4_15(int[] in1) { 17234 // Verify that "in1" is non-null. 17235 if (in1 == null) { 17236 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17237 } 17238 // Verify that the array length is a multiple of the vector size. 17239 if (in1.length % 4 != 0) { 17240 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17241 } 17242 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17243 ain1.setAutoPadding(true); 17244 ain1.copyFrom(in1); 17245 17246 result_int result = reduce_my_uint4_15(ain1, null); 17247 result.mTempIns = new Allocation[]{ain1}; 17248 return result; 17249 } 17250 17251 // ain1 = "uint4 in" 17252 public result_int reduce_my_uint4_15(Allocation ain1) { 17253 return reduce_my_uint4_15(ain1, null); 17254 } 17255 17256 // ain1 = "uint4 in" 17257 public result_int reduce_my_uint4_15(Allocation ain1, Script.LaunchOptions sc) { 17258 // check ain1 17259 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17260 throw new RSRuntimeException("Type mismatch with U32_4!"); 17261 } 17262 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17263 aout.setAutoPadding(true); 17264 reduce(mExportReduceIdx_my_uint4_15, new Allocation[]{ain1}, aout, sc); 17265 return new result_int(aout); 17266 } 17267 17268 private final static int mExportReduceIdx_my_ulong_0 = 480; 17269 // in1 = "in" 17270 public result_int reduce_my_ulong_0(long[] in1) { 17271 // Verify that "in1" is non-null. 17272 if (in1 == null) { 17273 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17274 } 17275 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17276 ain1.setAutoPadding(true); 17277 ain1.copyFrom(in1); 17278 17279 result_int result = reduce_my_ulong_0(ain1, null); 17280 result.mTempIns = new Allocation[]{ain1}; 17281 return result; 17282 } 17283 17284 // ain1 = "ulong in" 17285 public result_int reduce_my_ulong_0(Allocation ain1) { 17286 return reduce_my_ulong_0(ain1, null); 17287 } 17288 17289 // ain1 = "ulong in" 17290 public result_int reduce_my_ulong_0(Allocation ain1, Script.LaunchOptions sc) { 17291 // check ain1 17292 if (!ain1.getType().getElement().isCompatible(__U64)) { 17293 throw new RSRuntimeException("Type mismatch with U64!"); 17294 } 17295 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17296 aout.setAutoPadding(true); 17297 reduce(mExportReduceIdx_my_ulong_0, new Allocation[]{ain1}, aout, sc); 17298 return new result_int(aout); 17299 } 17300 17301 private final static int mExportReduceIdx_my_ulong_1 = 481; 17302 // in1 = "in" 17303 public result_int reduce_my_ulong_1(long[] in1) { 17304 // Verify that "in1" is non-null. 17305 if (in1 == null) { 17306 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17307 } 17308 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17309 ain1.setAutoPadding(true); 17310 ain1.copyFrom(in1); 17311 17312 result_int result = reduce_my_ulong_1(ain1, null); 17313 result.mTempIns = new Allocation[]{ain1}; 17314 return result; 17315 } 17316 17317 // ain1 = "ulong in" 17318 public result_int reduce_my_ulong_1(Allocation ain1) { 17319 return reduce_my_ulong_1(ain1, null); 17320 } 17321 17322 // ain1 = "ulong in" 17323 public result_int reduce_my_ulong_1(Allocation ain1, Script.LaunchOptions sc) { 17324 // check ain1 17325 if (!ain1.getType().getElement().isCompatible(__U64)) { 17326 throw new RSRuntimeException("Type mismatch with U64!"); 17327 } 17328 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17329 aout.setAutoPadding(true); 17330 reduce(mExportReduceIdx_my_ulong_1, new Allocation[]{ain1}, aout, sc); 17331 return new result_int(aout); 17332 } 17333 17334 private final static int mExportReduceIdx_my_ulong_2 = 482; 17335 // in1 = "in" 17336 public result_int reduce_my_ulong_2(long[] in1) { 17337 // Verify that "in1" is non-null. 17338 if (in1 == null) { 17339 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17340 } 17341 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17342 ain1.setAutoPadding(true); 17343 ain1.copyFrom(in1); 17344 17345 result_int result = reduce_my_ulong_2(ain1, null); 17346 result.mTempIns = new Allocation[]{ain1}; 17347 return result; 17348 } 17349 17350 // ain1 = "ulong in" 17351 public result_int reduce_my_ulong_2(Allocation ain1) { 17352 return reduce_my_ulong_2(ain1, null); 17353 } 17354 17355 // ain1 = "ulong in" 17356 public result_int reduce_my_ulong_2(Allocation ain1, Script.LaunchOptions sc) { 17357 // check ain1 17358 if (!ain1.getType().getElement().isCompatible(__U64)) { 17359 throw new RSRuntimeException("Type mismatch with U64!"); 17360 } 17361 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17362 aout.setAutoPadding(true); 17363 reduce(mExportReduceIdx_my_ulong_2, new Allocation[]{ain1}, aout, sc); 17364 return new result_int(aout); 17365 } 17366 17367 private final static int mExportReduceIdx_my_ulong_3 = 483; 17368 // in1 = "in" 17369 public result_int reduce_my_ulong_3(long[] in1) { 17370 // Verify that "in1" is non-null. 17371 if (in1 == null) { 17372 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17373 } 17374 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17375 ain1.setAutoPadding(true); 17376 ain1.copyFrom(in1); 17377 17378 result_int result = reduce_my_ulong_3(ain1, null); 17379 result.mTempIns = new Allocation[]{ain1}; 17380 return result; 17381 } 17382 17383 // ain1 = "ulong in" 17384 public result_int reduce_my_ulong_3(Allocation ain1) { 17385 return reduce_my_ulong_3(ain1, null); 17386 } 17387 17388 // ain1 = "ulong in" 17389 public result_int reduce_my_ulong_3(Allocation ain1, Script.LaunchOptions sc) { 17390 // check ain1 17391 if (!ain1.getType().getElement().isCompatible(__U64)) { 17392 throw new RSRuntimeException("Type mismatch with U64!"); 17393 } 17394 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17395 aout.setAutoPadding(true); 17396 reduce(mExportReduceIdx_my_ulong_3, new Allocation[]{ain1}, aout, sc); 17397 return new result_int(aout); 17398 } 17399 17400 private final static int mExportReduceIdx_my_ulong_4 = 484; 17401 // in1 = "in" 17402 public result_int reduce_my_ulong_4(long[] in1) { 17403 // Verify that "in1" is non-null. 17404 if (in1 == null) { 17405 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17406 } 17407 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17408 ain1.setAutoPadding(true); 17409 ain1.copyFrom(in1); 17410 17411 result_int result = reduce_my_ulong_4(ain1, null); 17412 result.mTempIns = new Allocation[]{ain1}; 17413 return result; 17414 } 17415 17416 // ain1 = "ulong in" 17417 public result_int reduce_my_ulong_4(Allocation ain1) { 17418 return reduce_my_ulong_4(ain1, null); 17419 } 17420 17421 // ain1 = "ulong in" 17422 public result_int reduce_my_ulong_4(Allocation ain1, Script.LaunchOptions sc) { 17423 // check ain1 17424 if (!ain1.getType().getElement().isCompatible(__U64)) { 17425 throw new RSRuntimeException("Type mismatch with U64!"); 17426 } 17427 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17428 aout.setAutoPadding(true); 17429 reduce(mExportReduceIdx_my_ulong_4, new Allocation[]{ain1}, aout, sc); 17430 return new result_int(aout); 17431 } 17432 17433 private final static int mExportReduceIdx_my_ulong_5 = 485; 17434 // in1 = "in" 17435 public result_int reduce_my_ulong_5(long[] in1) { 17436 // Verify that "in1" is non-null. 17437 if (in1 == null) { 17438 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17439 } 17440 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17441 ain1.setAutoPadding(true); 17442 ain1.copyFrom(in1); 17443 17444 result_int result = reduce_my_ulong_5(ain1, null); 17445 result.mTempIns = new Allocation[]{ain1}; 17446 return result; 17447 } 17448 17449 // ain1 = "ulong in" 17450 public result_int reduce_my_ulong_5(Allocation ain1) { 17451 return reduce_my_ulong_5(ain1, null); 17452 } 17453 17454 // ain1 = "ulong in" 17455 public result_int reduce_my_ulong_5(Allocation ain1, Script.LaunchOptions sc) { 17456 // check ain1 17457 if (!ain1.getType().getElement().isCompatible(__U64)) { 17458 throw new RSRuntimeException("Type mismatch with U64!"); 17459 } 17460 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17461 aout.setAutoPadding(true); 17462 reduce(mExportReduceIdx_my_ulong_5, new Allocation[]{ain1}, aout, sc); 17463 return new result_int(aout); 17464 } 17465 17466 private final static int mExportReduceIdx_my_ulong_6 = 486; 17467 // in1 = "in" 17468 public result_int reduce_my_ulong_6(long[] in1) { 17469 // Verify that "in1" is non-null. 17470 if (in1 == null) { 17471 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17472 } 17473 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17474 ain1.setAutoPadding(true); 17475 ain1.copyFrom(in1); 17476 17477 result_int result = reduce_my_ulong_6(ain1, null); 17478 result.mTempIns = new Allocation[]{ain1}; 17479 return result; 17480 } 17481 17482 // ain1 = "ulong in" 17483 public result_int reduce_my_ulong_6(Allocation ain1) { 17484 return reduce_my_ulong_6(ain1, null); 17485 } 17486 17487 // ain1 = "ulong in" 17488 public result_int reduce_my_ulong_6(Allocation ain1, Script.LaunchOptions sc) { 17489 // check ain1 17490 if (!ain1.getType().getElement().isCompatible(__U64)) { 17491 throw new RSRuntimeException("Type mismatch with U64!"); 17492 } 17493 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17494 aout.setAutoPadding(true); 17495 reduce(mExportReduceIdx_my_ulong_6, new Allocation[]{ain1}, aout, sc); 17496 return new result_int(aout); 17497 } 17498 17499 private final static int mExportReduceIdx_my_ulong_7 = 487; 17500 // in1 = "in" 17501 public result_int reduce_my_ulong_7(long[] in1) { 17502 // Verify that "in1" is non-null. 17503 if (in1 == null) { 17504 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17505 } 17506 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17507 ain1.setAutoPadding(true); 17508 ain1.copyFrom(in1); 17509 17510 result_int result = reduce_my_ulong_7(ain1, null); 17511 result.mTempIns = new Allocation[]{ain1}; 17512 return result; 17513 } 17514 17515 // ain1 = "ulong in" 17516 public result_int reduce_my_ulong_7(Allocation ain1) { 17517 return reduce_my_ulong_7(ain1, null); 17518 } 17519 17520 // ain1 = "ulong in" 17521 public result_int reduce_my_ulong_7(Allocation ain1, Script.LaunchOptions sc) { 17522 // check ain1 17523 if (!ain1.getType().getElement().isCompatible(__U64)) { 17524 throw new RSRuntimeException("Type mismatch with U64!"); 17525 } 17526 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17527 aout.setAutoPadding(true); 17528 reduce(mExportReduceIdx_my_ulong_7, new Allocation[]{ain1}, aout, sc); 17529 return new result_int(aout); 17530 } 17531 17532 private final static int mExportReduceIdx_my_ulong_8 = 488; 17533 // in1 = "in" 17534 public result_int reduce_my_ulong_8(long[] in1) { 17535 // Verify that "in1" is non-null. 17536 if (in1 == null) { 17537 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17538 } 17539 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17540 ain1.setAutoPadding(true); 17541 ain1.copyFrom(in1); 17542 17543 result_int result = reduce_my_ulong_8(ain1, null); 17544 result.mTempIns = new Allocation[]{ain1}; 17545 return result; 17546 } 17547 17548 // ain1 = "ulong in" 17549 public result_int reduce_my_ulong_8(Allocation ain1) { 17550 return reduce_my_ulong_8(ain1, null); 17551 } 17552 17553 // ain1 = "ulong in" 17554 public result_int reduce_my_ulong_8(Allocation ain1, Script.LaunchOptions sc) { 17555 // check ain1 17556 if (!ain1.getType().getElement().isCompatible(__U64)) { 17557 throw new RSRuntimeException("Type mismatch with U64!"); 17558 } 17559 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17560 aout.setAutoPadding(true); 17561 reduce(mExportReduceIdx_my_ulong_8, new Allocation[]{ain1}, aout, sc); 17562 return new result_int(aout); 17563 } 17564 17565 private final static int mExportReduceIdx_my_ulong_9 = 489; 17566 // in1 = "in" 17567 public result_int reduce_my_ulong_9(long[] in1) { 17568 // Verify that "in1" is non-null. 17569 if (in1 == null) { 17570 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17571 } 17572 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17573 ain1.setAutoPadding(true); 17574 ain1.copyFrom(in1); 17575 17576 result_int result = reduce_my_ulong_9(ain1, null); 17577 result.mTempIns = new Allocation[]{ain1}; 17578 return result; 17579 } 17580 17581 // ain1 = "ulong in" 17582 public result_int reduce_my_ulong_9(Allocation ain1) { 17583 return reduce_my_ulong_9(ain1, null); 17584 } 17585 17586 // ain1 = "ulong in" 17587 public result_int reduce_my_ulong_9(Allocation ain1, Script.LaunchOptions sc) { 17588 // check ain1 17589 if (!ain1.getType().getElement().isCompatible(__U64)) { 17590 throw new RSRuntimeException("Type mismatch with U64!"); 17591 } 17592 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17593 aout.setAutoPadding(true); 17594 reduce(mExportReduceIdx_my_ulong_9, new Allocation[]{ain1}, aout, sc); 17595 return new result_int(aout); 17596 } 17597 17598 private final static int mExportReduceIdx_my_ulong_10 = 490; 17599 // in1 = "in" 17600 public result_int reduce_my_ulong_10(long[] in1) { 17601 // Verify that "in1" is non-null. 17602 if (in1 == null) { 17603 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17604 } 17605 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17606 ain1.setAutoPadding(true); 17607 ain1.copyFrom(in1); 17608 17609 result_int result = reduce_my_ulong_10(ain1, null); 17610 result.mTempIns = new Allocation[]{ain1}; 17611 return result; 17612 } 17613 17614 // ain1 = "ulong in" 17615 public result_int reduce_my_ulong_10(Allocation ain1) { 17616 return reduce_my_ulong_10(ain1, null); 17617 } 17618 17619 // ain1 = "ulong in" 17620 public result_int reduce_my_ulong_10(Allocation ain1, Script.LaunchOptions sc) { 17621 // check ain1 17622 if (!ain1.getType().getElement().isCompatible(__U64)) { 17623 throw new RSRuntimeException("Type mismatch with U64!"); 17624 } 17625 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17626 aout.setAutoPadding(true); 17627 reduce(mExportReduceIdx_my_ulong_10, new Allocation[]{ain1}, aout, sc); 17628 return new result_int(aout); 17629 } 17630 17631 private final static int mExportReduceIdx_my_ulong_11 = 491; 17632 // in1 = "in" 17633 public result_int reduce_my_ulong_11(long[] in1) { 17634 // Verify that "in1" is non-null. 17635 if (in1 == null) { 17636 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17637 } 17638 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17639 ain1.setAutoPadding(true); 17640 ain1.copyFrom(in1); 17641 17642 result_int result = reduce_my_ulong_11(ain1, null); 17643 result.mTempIns = new Allocation[]{ain1}; 17644 return result; 17645 } 17646 17647 // ain1 = "ulong in" 17648 public result_int reduce_my_ulong_11(Allocation ain1) { 17649 return reduce_my_ulong_11(ain1, null); 17650 } 17651 17652 // ain1 = "ulong in" 17653 public result_int reduce_my_ulong_11(Allocation ain1, Script.LaunchOptions sc) { 17654 // check ain1 17655 if (!ain1.getType().getElement().isCompatible(__U64)) { 17656 throw new RSRuntimeException("Type mismatch with U64!"); 17657 } 17658 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17659 aout.setAutoPadding(true); 17660 reduce(mExportReduceIdx_my_ulong_11, new Allocation[]{ain1}, aout, sc); 17661 return new result_int(aout); 17662 } 17663 17664 private final static int mExportReduceIdx_my_ulong_12 = 492; 17665 // in1 = "in" 17666 public result_int reduce_my_ulong_12(long[] in1) { 17667 // Verify that "in1" is non-null. 17668 if (in1 == null) { 17669 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17670 } 17671 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17672 ain1.setAutoPadding(true); 17673 ain1.copyFrom(in1); 17674 17675 result_int result = reduce_my_ulong_12(ain1, null); 17676 result.mTempIns = new Allocation[]{ain1}; 17677 return result; 17678 } 17679 17680 // ain1 = "ulong in" 17681 public result_int reduce_my_ulong_12(Allocation ain1) { 17682 return reduce_my_ulong_12(ain1, null); 17683 } 17684 17685 // ain1 = "ulong in" 17686 public result_int reduce_my_ulong_12(Allocation ain1, Script.LaunchOptions sc) { 17687 // check ain1 17688 if (!ain1.getType().getElement().isCompatible(__U64)) { 17689 throw new RSRuntimeException("Type mismatch with U64!"); 17690 } 17691 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17692 aout.setAutoPadding(true); 17693 reduce(mExportReduceIdx_my_ulong_12, new Allocation[]{ain1}, aout, sc); 17694 return new result_int(aout); 17695 } 17696 17697 private final static int mExportReduceIdx_my_ulong_13 = 493; 17698 // in1 = "in" 17699 public result_int reduce_my_ulong_13(long[] in1) { 17700 // Verify that "in1" is non-null. 17701 if (in1 == null) { 17702 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17703 } 17704 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17705 ain1.setAutoPadding(true); 17706 ain1.copyFrom(in1); 17707 17708 result_int result = reduce_my_ulong_13(ain1, null); 17709 result.mTempIns = new Allocation[]{ain1}; 17710 return result; 17711 } 17712 17713 // ain1 = "ulong in" 17714 public result_int reduce_my_ulong_13(Allocation ain1) { 17715 return reduce_my_ulong_13(ain1, null); 17716 } 17717 17718 // ain1 = "ulong in" 17719 public result_int reduce_my_ulong_13(Allocation ain1, Script.LaunchOptions sc) { 17720 // check ain1 17721 if (!ain1.getType().getElement().isCompatible(__U64)) { 17722 throw new RSRuntimeException("Type mismatch with U64!"); 17723 } 17724 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17725 aout.setAutoPadding(true); 17726 reduce(mExportReduceIdx_my_ulong_13, new Allocation[]{ain1}, aout, sc); 17727 return new result_int(aout); 17728 } 17729 17730 private final static int mExportReduceIdx_my_ulong_14 = 494; 17731 // in1 = "in" 17732 public result_int reduce_my_ulong_14(long[] in1) { 17733 // Verify that "in1" is non-null. 17734 if (in1 == null) { 17735 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17736 } 17737 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17738 ain1.setAutoPadding(true); 17739 ain1.copyFrom(in1); 17740 17741 result_int result = reduce_my_ulong_14(ain1, null); 17742 result.mTempIns = new Allocation[]{ain1}; 17743 return result; 17744 } 17745 17746 // ain1 = "ulong in" 17747 public result_int reduce_my_ulong_14(Allocation ain1) { 17748 return reduce_my_ulong_14(ain1, null); 17749 } 17750 17751 // ain1 = "ulong in" 17752 public result_int reduce_my_ulong_14(Allocation ain1, Script.LaunchOptions sc) { 17753 // check ain1 17754 if (!ain1.getType().getElement().isCompatible(__U64)) { 17755 throw new RSRuntimeException("Type mismatch with U64!"); 17756 } 17757 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17758 aout.setAutoPadding(true); 17759 reduce(mExportReduceIdx_my_ulong_14, new Allocation[]{ain1}, aout, sc); 17760 return new result_int(aout); 17761 } 17762 17763 private final static int mExportReduceIdx_my_ulong_15 = 495; 17764 // in1 = "in" 17765 public result_int reduce_my_ulong_15(long[] in1) { 17766 // Verify that "in1" is non-null. 17767 if (in1 == null) { 17768 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17769 } 17770 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17771 ain1.setAutoPadding(true); 17772 ain1.copyFrom(in1); 17773 17774 result_int result = reduce_my_ulong_15(ain1, null); 17775 result.mTempIns = new Allocation[]{ain1}; 17776 return result; 17777 } 17778 17779 // ain1 = "ulong in" 17780 public result_int reduce_my_ulong_15(Allocation ain1) { 17781 return reduce_my_ulong_15(ain1, null); 17782 } 17783 17784 // ain1 = "ulong in" 17785 public result_int reduce_my_ulong_15(Allocation ain1, Script.LaunchOptions sc) { 17786 // check ain1 17787 if (!ain1.getType().getElement().isCompatible(__U64)) { 17788 throw new RSRuntimeException("Type mismatch with U64!"); 17789 } 17790 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17791 aout.setAutoPadding(true); 17792 reduce(mExportReduceIdx_my_ulong_15, new Allocation[]{ain1}, aout, sc); 17793 return new result_int(aout); 17794 } 17795 17796 private final static int mExportReduceIdx_my_ulong2_0 = 496; 17797 // in1 = "in", flattened 2-vectors 17798 public result_int reduce_my_ulong2_0(long[] in1) { 17799 // Verify that "in1" is non-null. 17800 if (in1 == null) { 17801 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17802 } 17803 // Verify that the array length is a multiple of the vector size. 17804 if (in1.length % 2 != 0) { 17805 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17806 } 17807 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17808 ain1.setAutoPadding(true); 17809 ain1.copyFrom(in1); 17810 17811 result_int result = reduce_my_ulong2_0(ain1, null); 17812 result.mTempIns = new Allocation[]{ain1}; 17813 return result; 17814 } 17815 17816 // ain1 = "ulong2 in" 17817 public result_int reduce_my_ulong2_0(Allocation ain1) { 17818 return reduce_my_ulong2_0(ain1, null); 17819 } 17820 17821 // ain1 = "ulong2 in" 17822 public result_int reduce_my_ulong2_0(Allocation ain1, Script.LaunchOptions sc) { 17823 // check ain1 17824 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17825 throw new RSRuntimeException("Type mismatch with U64_2!"); 17826 } 17827 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17828 aout.setAutoPadding(true); 17829 reduce(mExportReduceIdx_my_ulong2_0, new Allocation[]{ain1}, aout, sc); 17830 return new result_int(aout); 17831 } 17832 17833 private final static int mExportReduceIdx_my_ulong2_1 = 497; 17834 // in1 = "in", flattened 2-vectors 17835 public result_int reduce_my_ulong2_1(long[] in1) { 17836 // Verify that "in1" is non-null. 17837 if (in1 == null) { 17838 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17839 } 17840 // Verify that the array length is a multiple of the vector size. 17841 if (in1.length % 2 != 0) { 17842 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17843 } 17844 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17845 ain1.setAutoPadding(true); 17846 ain1.copyFrom(in1); 17847 17848 result_int result = reduce_my_ulong2_1(ain1, null); 17849 result.mTempIns = new Allocation[]{ain1}; 17850 return result; 17851 } 17852 17853 // ain1 = "ulong2 in" 17854 public result_int reduce_my_ulong2_1(Allocation ain1) { 17855 return reduce_my_ulong2_1(ain1, null); 17856 } 17857 17858 // ain1 = "ulong2 in" 17859 public result_int reduce_my_ulong2_1(Allocation ain1, Script.LaunchOptions sc) { 17860 // check ain1 17861 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17862 throw new RSRuntimeException("Type mismatch with U64_2!"); 17863 } 17864 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17865 aout.setAutoPadding(true); 17866 reduce(mExportReduceIdx_my_ulong2_1, new Allocation[]{ain1}, aout, sc); 17867 return new result_int(aout); 17868 } 17869 17870 private final static int mExportReduceIdx_my_ulong2_2 = 498; 17871 // in1 = "in", flattened 2-vectors 17872 public result_int reduce_my_ulong2_2(long[] in1) { 17873 // Verify that "in1" is non-null. 17874 if (in1 == null) { 17875 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17876 } 17877 // Verify that the array length is a multiple of the vector size. 17878 if (in1.length % 2 != 0) { 17879 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17880 } 17881 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17882 ain1.setAutoPadding(true); 17883 ain1.copyFrom(in1); 17884 17885 result_int result = reduce_my_ulong2_2(ain1, null); 17886 result.mTempIns = new Allocation[]{ain1}; 17887 return result; 17888 } 17889 17890 // ain1 = "ulong2 in" 17891 public result_int reduce_my_ulong2_2(Allocation ain1) { 17892 return reduce_my_ulong2_2(ain1, null); 17893 } 17894 17895 // ain1 = "ulong2 in" 17896 public result_int reduce_my_ulong2_2(Allocation ain1, Script.LaunchOptions sc) { 17897 // check ain1 17898 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17899 throw new RSRuntimeException("Type mismatch with U64_2!"); 17900 } 17901 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17902 aout.setAutoPadding(true); 17903 reduce(mExportReduceIdx_my_ulong2_2, new Allocation[]{ain1}, aout, sc); 17904 return new result_int(aout); 17905 } 17906 17907 private final static int mExportReduceIdx_my_ulong2_3 = 499; 17908 // in1 = "in", flattened 2-vectors 17909 public result_int reduce_my_ulong2_3(long[] in1) { 17910 // Verify that "in1" is non-null. 17911 if (in1 == null) { 17912 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17913 } 17914 // Verify that the array length is a multiple of the vector size. 17915 if (in1.length % 2 != 0) { 17916 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17917 } 17918 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17919 ain1.setAutoPadding(true); 17920 ain1.copyFrom(in1); 17921 17922 result_int result = reduce_my_ulong2_3(ain1, null); 17923 result.mTempIns = new Allocation[]{ain1}; 17924 return result; 17925 } 17926 17927 // ain1 = "ulong2 in" 17928 public result_int reduce_my_ulong2_3(Allocation ain1) { 17929 return reduce_my_ulong2_3(ain1, null); 17930 } 17931 17932 // ain1 = "ulong2 in" 17933 public result_int reduce_my_ulong2_3(Allocation ain1, Script.LaunchOptions sc) { 17934 // check ain1 17935 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17936 throw new RSRuntimeException("Type mismatch with U64_2!"); 17937 } 17938 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17939 aout.setAutoPadding(true); 17940 reduce(mExportReduceIdx_my_ulong2_3, new Allocation[]{ain1}, aout, sc); 17941 return new result_int(aout); 17942 } 17943 17944 private final static int mExportReduceIdx_my_ulong2_4 = 500; 17945 // in1 = "in", flattened 2-vectors 17946 public result_int reduce_my_ulong2_4(long[] in1) { 17947 // Verify that "in1" is non-null. 17948 if (in1 == null) { 17949 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17950 } 17951 // Verify that the array length is a multiple of the vector size. 17952 if (in1.length % 2 != 0) { 17953 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17954 } 17955 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17956 ain1.setAutoPadding(true); 17957 ain1.copyFrom(in1); 17958 17959 result_int result = reduce_my_ulong2_4(ain1, null); 17960 result.mTempIns = new Allocation[]{ain1}; 17961 return result; 17962 } 17963 17964 // ain1 = "ulong2 in" 17965 public result_int reduce_my_ulong2_4(Allocation ain1) { 17966 return reduce_my_ulong2_4(ain1, null); 17967 } 17968 17969 // ain1 = "ulong2 in" 17970 public result_int reduce_my_ulong2_4(Allocation ain1, Script.LaunchOptions sc) { 17971 // check ain1 17972 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17973 throw new RSRuntimeException("Type mismatch with U64_2!"); 17974 } 17975 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17976 aout.setAutoPadding(true); 17977 reduce(mExportReduceIdx_my_ulong2_4, new Allocation[]{ain1}, aout, sc); 17978 return new result_int(aout); 17979 } 17980 17981 private final static int mExportReduceIdx_my_ulong2_5 = 501; 17982 // in1 = "in", flattened 2-vectors 17983 public result_int reduce_my_ulong2_5(long[] in1) { 17984 // Verify that "in1" is non-null. 17985 if (in1 == null) { 17986 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17987 } 17988 // Verify that the array length is a multiple of the vector size. 17989 if (in1.length % 2 != 0) { 17990 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17991 } 17992 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17993 ain1.setAutoPadding(true); 17994 ain1.copyFrom(in1); 17995 17996 result_int result = reduce_my_ulong2_5(ain1, null); 17997 result.mTempIns = new Allocation[]{ain1}; 17998 return result; 17999 } 18000 18001 // ain1 = "ulong2 in" 18002 public result_int reduce_my_ulong2_5(Allocation ain1) { 18003 return reduce_my_ulong2_5(ain1, null); 18004 } 18005 18006 // ain1 = "ulong2 in" 18007 public result_int reduce_my_ulong2_5(Allocation ain1, Script.LaunchOptions sc) { 18008 // check ain1 18009 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18010 throw new RSRuntimeException("Type mismatch with U64_2!"); 18011 } 18012 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18013 aout.setAutoPadding(true); 18014 reduce(mExportReduceIdx_my_ulong2_5, new Allocation[]{ain1}, aout, sc); 18015 return new result_int(aout); 18016 } 18017 18018 private final static int mExportReduceIdx_my_ulong2_6 = 502; 18019 // in1 = "in", flattened 2-vectors 18020 public result_int reduce_my_ulong2_6(long[] in1) { 18021 // Verify that "in1" is non-null. 18022 if (in1 == null) { 18023 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18024 } 18025 // Verify that the array length is a multiple of the vector size. 18026 if (in1.length % 2 != 0) { 18027 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18028 } 18029 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18030 ain1.setAutoPadding(true); 18031 ain1.copyFrom(in1); 18032 18033 result_int result = reduce_my_ulong2_6(ain1, null); 18034 result.mTempIns = new Allocation[]{ain1}; 18035 return result; 18036 } 18037 18038 // ain1 = "ulong2 in" 18039 public result_int reduce_my_ulong2_6(Allocation ain1) { 18040 return reduce_my_ulong2_6(ain1, null); 18041 } 18042 18043 // ain1 = "ulong2 in" 18044 public result_int reduce_my_ulong2_6(Allocation ain1, Script.LaunchOptions sc) { 18045 // check ain1 18046 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18047 throw new RSRuntimeException("Type mismatch with U64_2!"); 18048 } 18049 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18050 aout.setAutoPadding(true); 18051 reduce(mExportReduceIdx_my_ulong2_6, new Allocation[]{ain1}, aout, sc); 18052 return new result_int(aout); 18053 } 18054 18055 private final static int mExportReduceIdx_my_ulong2_7 = 503; 18056 // in1 = "in", flattened 2-vectors 18057 public result_int reduce_my_ulong2_7(long[] in1) { 18058 // Verify that "in1" is non-null. 18059 if (in1 == null) { 18060 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18061 } 18062 // Verify that the array length is a multiple of the vector size. 18063 if (in1.length % 2 != 0) { 18064 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18065 } 18066 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18067 ain1.setAutoPadding(true); 18068 ain1.copyFrom(in1); 18069 18070 result_int result = reduce_my_ulong2_7(ain1, null); 18071 result.mTempIns = new Allocation[]{ain1}; 18072 return result; 18073 } 18074 18075 // ain1 = "ulong2 in" 18076 public result_int reduce_my_ulong2_7(Allocation ain1) { 18077 return reduce_my_ulong2_7(ain1, null); 18078 } 18079 18080 // ain1 = "ulong2 in" 18081 public result_int reduce_my_ulong2_7(Allocation ain1, Script.LaunchOptions sc) { 18082 // check ain1 18083 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18084 throw new RSRuntimeException("Type mismatch with U64_2!"); 18085 } 18086 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18087 aout.setAutoPadding(true); 18088 reduce(mExportReduceIdx_my_ulong2_7, new Allocation[]{ain1}, aout, sc); 18089 return new result_int(aout); 18090 } 18091 18092 private final static int mExportReduceIdx_my_ulong2_8 = 504; 18093 // in1 = "in", flattened 2-vectors 18094 public result_int reduce_my_ulong2_8(long[] in1) { 18095 // Verify that "in1" is non-null. 18096 if (in1 == null) { 18097 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18098 } 18099 // Verify that the array length is a multiple of the vector size. 18100 if (in1.length % 2 != 0) { 18101 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18102 } 18103 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18104 ain1.setAutoPadding(true); 18105 ain1.copyFrom(in1); 18106 18107 result_int result = reduce_my_ulong2_8(ain1, null); 18108 result.mTempIns = new Allocation[]{ain1}; 18109 return result; 18110 } 18111 18112 // ain1 = "ulong2 in" 18113 public result_int reduce_my_ulong2_8(Allocation ain1) { 18114 return reduce_my_ulong2_8(ain1, null); 18115 } 18116 18117 // ain1 = "ulong2 in" 18118 public result_int reduce_my_ulong2_8(Allocation ain1, Script.LaunchOptions sc) { 18119 // check ain1 18120 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18121 throw new RSRuntimeException("Type mismatch with U64_2!"); 18122 } 18123 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18124 aout.setAutoPadding(true); 18125 reduce(mExportReduceIdx_my_ulong2_8, new Allocation[]{ain1}, aout, sc); 18126 return new result_int(aout); 18127 } 18128 18129 private final static int mExportReduceIdx_my_ulong2_9 = 505; 18130 // in1 = "in", flattened 2-vectors 18131 public result_int reduce_my_ulong2_9(long[] in1) { 18132 // Verify that "in1" is non-null. 18133 if (in1 == null) { 18134 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18135 } 18136 // Verify that the array length is a multiple of the vector size. 18137 if (in1.length % 2 != 0) { 18138 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18139 } 18140 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18141 ain1.setAutoPadding(true); 18142 ain1.copyFrom(in1); 18143 18144 result_int result = reduce_my_ulong2_9(ain1, null); 18145 result.mTempIns = new Allocation[]{ain1}; 18146 return result; 18147 } 18148 18149 // ain1 = "ulong2 in" 18150 public result_int reduce_my_ulong2_9(Allocation ain1) { 18151 return reduce_my_ulong2_9(ain1, null); 18152 } 18153 18154 // ain1 = "ulong2 in" 18155 public result_int reduce_my_ulong2_9(Allocation ain1, Script.LaunchOptions sc) { 18156 // check ain1 18157 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18158 throw new RSRuntimeException("Type mismatch with U64_2!"); 18159 } 18160 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18161 aout.setAutoPadding(true); 18162 reduce(mExportReduceIdx_my_ulong2_9, new Allocation[]{ain1}, aout, sc); 18163 return new result_int(aout); 18164 } 18165 18166 private final static int mExportReduceIdx_my_ulong2_10 = 506; 18167 // in1 = "in", flattened 2-vectors 18168 public result_int reduce_my_ulong2_10(long[] in1) { 18169 // Verify that "in1" is non-null. 18170 if (in1 == null) { 18171 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18172 } 18173 // Verify that the array length is a multiple of the vector size. 18174 if (in1.length % 2 != 0) { 18175 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18176 } 18177 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18178 ain1.setAutoPadding(true); 18179 ain1.copyFrom(in1); 18180 18181 result_int result = reduce_my_ulong2_10(ain1, null); 18182 result.mTempIns = new Allocation[]{ain1}; 18183 return result; 18184 } 18185 18186 // ain1 = "ulong2 in" 18187 public result_int reduce_my_ulong2_10(Allocation ain1) { 18188 return reduce_my_ulong2_10(ain1, null); 18189 } 18190 18191 // ain1 = "ulong2 in" 18192 public result_int reduce_my_ulong2_10(Allocation ain1, Script.LaunchOptions sc) { 18193 // check ain1 18194 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18195 throw new RSRuntimeException("Type mismatch with U64_2!"); 18196 } 18197 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18198 aout.setAutoPadding(true); 18199 reduce(mExportReduceIdx_my_ulong2_10, new Allocation[]{ain1}, aout, sc); 18200 return new result_int(aout); 18201 } 18202 18203 private final static int mExportReduceIdx_my_ulong2_11 = 507; 18204 // in1 = "in", flattened 2-vectors 18205 public result_int reduce_my_ulong2_11(long[] in1) { 18206 // Verify that "in1" is non-null. 18207 if (in1 == null) { 18208 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18209 } 18210 // Verify that the array length is a multiple of the vector size. 18211 if (in1.length % 2 != 0) { 18212 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18213 } 18214 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18215 ain1.setAutoPadding(true); 18216 ain1.copyFrom(in1); 18217 18218 result_int result = reduce_my_ulong2_11(ain1, null); 18219 result.mTempIns = new Allocation[]{ain1}; 18220 return result; 18221 } 18222 18223 // ain1 = "ulong2 in" 18224 public result_int reduce_my_ulong2_11(Allocation ain1) { 18225 return reduce_my_ulong2_11(ain1, null); 18226 } 18227 18228 // ain1 = "ulong2 in" 18229 public result_int reduce_my_ulong2_11(Allocation ain1, Script.LaunchOptions sc) { 18230 // check ain1 18231 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18232 throw new RSRuntimeException("Type mismatch with U64_2!"); 18233 } 18234 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18235 aout.setAutoPadding(true); 18236 reduce(mExportReduceIdx_my_ulong2_11, new Allocation[]{ain1}, aout, sc); 18237 return new result_int(aout); 18238 } 18239 18240 private final static int mExportReduceIdx_my_ulong2_12 = 508; 18241 // in1 = "in", flattened 2-vectors 18242 public result_int reduce_my_ulong2_12(long[] in1) { 18243 // Verify that "in1" is non-null. 18244 if (in1 == null) { 18245 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18246 } 18247 // Verify that the array length is a multiple of the vector size. 18248 if (in1.length % 2 != 0) { 18249 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18250 } 18251 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18252 ain1.setAutoPadding(true); 18253 ain1.copyFrom(in1); 18254 18255 result_int result = reduce_my_ulong2_12(ain1, null); 18256 result.mTempIns = new Allocation[]{ain1}; 18257 return result; 18258 } 18259 18260 // ain1 = "ulong2 in" 18261 public result_int reduce_my_ulong2_12(Allocation ain1) { 18262 return reduce_my_ulong2_12(ain1, null); 18263 } 18264 18265 // ain1 = "ulong2 in" 18266 public result_int reduce_my_ulong2_12(Allocation ain1, Script.LaunchOptions sc) { 18267 // check ain1 18268 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18269 throw new RSRuntimeException("Type mismatch with U64_2!"); 18270 } 18271 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18272 aout.setAutoPadding(true); 18273 reduce(mExportReduceIdx_my_ulong2_12, new Allocation[]{ain1}, aout, sc); 18274 return new result_int(aout); 18275 } 18276 18277 private final static int mExportReduceIdx_my_ulong2_13 = 509; 18278 // in1 = "in", flattened 2-vectors 18279 public result_int reduce_my_ulong2_13(long[] in1) { 18280 // Verify that "in1" is non-null. 18281 if (in1 == null) { 18282 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18283 } 18284 // Verify that the array length is a multiple of the vector size. 18285 if (in1.length % 2 != 0) { 18286 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18287 } 18288 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18289 ain1.setAutoPadding(true); 18290 ain1.copyFrom(in1); 18291 18292 result_int result = reduce_my_ulong2_13(ain1, null); 18293 result.mTempIns = new Allocation[]{ain1}; 18294 return result; 18295 } 18296 18297 // ain1 = "ulong2 in" 18298 public result_int reduce_my_ulong2_13(Allocation ain1) { 18299 return reduce_my_ulong2_13(ain1, null); 18300 } 18301 18302 // ain1 = "ulong2 in" 18303 public result_int reduce_my_ulong2_13(Allocation ain1, Script.LaunchOptions sc) { 18304 // check ain1 18305 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18306 throw new RSRuntimeException("Type mismatch with U64_2!"); 18307 } 18308 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18309 aout.setAutoPadding(true); 18310 reduce(mExportReduceIdx_my_ulong2_13, new Allocation[]{ain1}, aout, sc); 18311 return new result_int(aout); 18312 } 18313 18314 private final static int mExportReduceIdx_my_ulong2_14 = 510; 18315 // in1 = "in", flattened 2-vectors 18316 public result_int reduce_my_ulong2_14(long[] in1) { 18317 // Verify that "in1" is non-null. 18318 if (in1 == null) { 18319 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18320 } 18321 // Verify that the array length is a multiple of the vector size. 18322 if (in1.length % 2 != 0) { 18323 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18324 } 18325 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18326 ain1.setAutoPadding(true); 18327 ain1.copyFrom(in1); 18328 18329 result_int result = reduce_my_ulong2_14(ain1, null); 18330 result.mTempIns = new Allocation[]{ain1}; 18331 return result; 18332 } 18333 18334 // ain1 = "ulong2 in" 18335 public result_int reduce_my_ulong2_14(Allocation ain1) { 18336 return reduce_my_ulong2_14(ain1, null); 18337 } 18338 18339 // ain1 = "ulong2 in" 18340 public result_int reduce_my_ulong2_14(Allocation ain1, Script.LaunchOptions sc) { 18341 // check ain1 18342 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18343 throw new RSRuntimeException("Type mismatch with U64_2!"); 18344 } 18345 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18346 aout.setAutoPadding(true); 18347 reduce(mExportReduceIdx_my_ulong2_14, new Allocation[]{ain1}, aout, sc); 18348 return new result_int(aout); 18349 } 18350 18351 private final static int mExportReduceIdx_my_ulong2_15 = 511; 18352 // in1 = "in", flattened 2-vectors 18353 public result_int reduce_my_ulong2_15(long[] in1) { 18354 // Verify that "in1" is non-null. 18355 if (in1 == null) { 18356 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18357 } 18358 // Verify that the array length is a multiple of the vector size. 18359 if (in1.length % 2 != 0) { 18360 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18361 } 18362 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18363 ain1.setAutoPadding(true); 18364 ain1.copyFrom(in1); 18365 18366 result_int result = reduce_my_ulong2_15(ain1, null); 18367 result.mTempIns = new Allocation[]{ain1}; 18368 return result; 18369 } 18370 18371 // ain1 = "ulong2 in" 18372 public result_int reduce_my_ulong2_15(Allocation ain1) { 18373 return reduce_my_ulong2_15(ain1, null); 18374 } 18375 18376 // ain1 = "ulong2 in" 18377 public result_int reduce_my_ulong2_15(Allocation ain1, Script.LaunchOptions sc) { 18378 // check ain1 18379 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18380 throw new RSRuntimeException("Type mismatch with U64_2!"); 18381 } 18382 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18383 aout.setAutoPadding(true); 18384 reduce(mExportReduceIdx_my_ulong2_15, new Allocation[]{ain1}, aout, sc); 18385 return new result_int(aout); 18386 } 18387 18388 private final static int mExportReduceIdx_my_ulong4_0 = 512; 18389 // in1 = "in", flattened 4-vectors 18390 public result_int reduce_my_ulong4_0(long[] in1) { 18391 // Verify that "in1" is non-null. 18392 if (in1 == null) { 18393 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18394 } 18395 // Verify that the array length is a multiple of the vector size. 18396 if (in1.length % 4 != 0) { 18397 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18398 } 18399 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18400 ain1.setAutoPadding(true); 18401 ain1.copyFrom(in1); 18402 18403 result_int result = reduce_my_ulong4_0(ain1, null); 18404 result.mTempIns = new Allocation[]{ain1}; 18405 return result; 18406 } 18407 18408 // ain1 = "ulong4 in" 18409 public result_int reduce_my_ulong4_0(Allocation ain1) { 18410 return reduce_my_ulong4_0(ain1, null); 18411 } 18412 18413 // ain1 = "ulong4 in" 18414 public result_int reduce_my_ulong4_0(Allocation ain1, Script.LaunchOptions sc) { 18415 // check ain1 18416 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18417 throw new RSRuntimeException("Type mismatch with U64_4!"); 18418 } 18419 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18420 aout.setAutoPadding(true); 18421 reduce(mExportReduceIdx_my_ulong4_0, new Allocation[]{ain1}, aout, sc); 18422 return new result_int(aout); 18423 } 18424 18425 private final static int mExportReduceIdx_my_ulong4_1 = 513; 18426 // in1 = "in", flattened 4-vectors 18427 public result_int reduce_my_ulong4_1(long[] in1) { 18428 // Verify that "in1" is non-null. 18429 if (in1 == null) { 18430 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18431 } 18432 // Verify that the array length is a multiple of the vector size. 18433 if (in1.length % 4 != 0) { 18434 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18435 } 18436 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18437 ain1.setAutoPadding(true); 18438 ain1.copyFrom(in1); 18439 18440 result_int result = reduce_my_ulong4_1(ain1, null); 18441 result.mTempIns = new Allocation[]{ain1}; 18442 return result; 18443 } 18444 18445 // ain1 = "ulong4 in" 18446 public result_int reduce_my_ulong4_1(Allocation ain1) { 18447 return reduce_my_ulong4_1(ain1, null); 18448 } 18449 18450 // ain1 = "ulong4 in" 18451 public result_int reduce_my_ulong4_1(Allocation ain1, Script.LaunchOptions sc) { 18452 // check ain1 18453 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18454 throw new RSRuntimeException("Type mismatch with U64_4!"); 18455 } 18456 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18457 aout.setAutoPadding(true); 18458 reduce(mExportReduceIdx_my_ulong4_1, new Allocation[]{ain1}, aout, sc); 18459 return new result_int(aout); 18460 } 18461 18462 private final static int mExportReduceIdx_my_ulong4_2 = 514; 18463 // in1 = "in", flattened 4-vectors 18464 public result_int reduce_my_ulong4_2(long[] in1) { 18465 // Verify that "in1" is non-null. 18466 if (in1 == null) { 18467 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18468 } 18469 // Verify that the array length is a multiple of the vector size. 18470 if (in1.length % 4 != 0) { 18471 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18472 } 18473 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18474 ain1.setAutoPadding(true); 18475 ain1.copyFrom(in1); 18476 18477 result_int result = reduce_my_ulong4_2(ain1, null); 18478 result.mTempIns = new Allocation[]{ain1}; 18479 return result; 18480 } 18481 18482 // ain1 = "ulong4 in" 18483 public result_int reduce_my_ulong4_2(Allocation ain1) { 18484 return reduce_my_ulong4_2(ain1, null); 18485 } 18486 18487 // ain1 = "ulong4 in" 18488 public result_int reduce_my_ulong4_2(Allocation ain1, Script.LaunchOptions sc) { 18489 // check ain1 18490 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18491 throw new RSRuntimeException("Type mismatch with U64_4!"); 18492 } 18493 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18494 aout.setAutoPadding(true); 18495 reduce(mExportReduceIdx_my_ulong4_2, new Allocation[]{ain1}, aout, sc); 18496 return new result_int(aout); 18497 } 18498 18499 private final static int mExportReduceIdx_my_ulong4_3 = 515; 18500 // in1 = "in", flattened 4-vectors 18501 public result_int reduce_my_ulong4_3(long[] in1) { 18502 // Verify that "in1" is non-null. 18503 if (in1 == null) { 18504 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18505 } 18506 // Verify that the array length is a multiple of the vector size. 18507 if (in1.length % 4 != 0) { 18508 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18509 } 18510 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18511 ain1.setAutoPadding(true); 18512 ain1.copyFrom(in1); 18513 18514 result_int result = reduce_my_ulong4_3(ain1, null); 18515 result.mTempIns = new Allocation[]{ain1}; 18516 return result; 18517 } 18518 18519 // ain1 = "ulong4 in" 18520 public result_int reduce_my_ulong4_3(Allocation ain1) { 18521 return reduce_my_ulong4_3(ain1, null); 18522 } 18523 18524 // ain1 = "ulong4 in" 18525 public result_int reduce_my_ulong4_3(Allocation ain1, Script.LaunchOptions sc) { 18526 // check ain1 18527 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18528 throw new RSRuntimeException("Type mismatch with U64_4!"); 18529 } 18530 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18531 aout.setAutoPadding(true); 18532 reduce(mExportReduceIdx_my_ulong4_3, new Allocation[]{ain1}, aout, sc); 18533 return new result_int(aout); 18534 } 18535 18536 private final static int mExportReduceIdx_my_ulong4_4 = 516; 18537 // in1 = "in", flattened 4-vectors 18538 public result_int reduce_my_ulong4_4(long[] in1) { 18539 // Verify that "in1" is non-null. 18540 if (in1 == null) { 18541 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18542 } 18543 // Verify that the array length is a multiple of the vector size. 18544 if (in1.length % 4 != 0) { 18545 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18546 } 18547 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18548 ain1.setAutoPadding(true); 18549 ain1.copyFrom(in1); 18550 18551 result_int result = reduce_my_ulong4_4(ain1, null); 18552 result.mTempIns = new Allocation[]{ain1}; 18553 return result; 18554 } 18555 18556 // ain1 = "ulong4 in" 18557 public result_int reduce_my_ulong4_4(Allocation ain1) { 18558 return reduce_my_ulong4_4(ain1, null); 18559 } 18560 18561 // ain1 = "ulong4 in" 18562 public result_int reduce_my_ulong4_4(Allocation ain1, Script.LaunchOptions sc) { 18563 // check ain1 18564 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18565 throw new RSRuntimeException("Type mismatch with U64_4!"); 18566 } 18567 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18568 aout.setAutoPadding(true); 18569 reduce(mExportReduceIdx_my_ulong4_4, new Allocation[]{ain1}, aout, sc); 18570 return new result_int(aout); 18571 } 18572 18573 private final static int mExportReduceIdx_my_ulong4_5 = 517; 18574 // in1 = "in", flattened 4-vectors 18575 public result_int reduce_my_ulong4_5(long[] in1) { 18576 // Verify that "in1" is non-null. 18577 if (in1 == null) { 18578 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18579 } 18580 // Verify that the array length is a multiple of the vector size. 18581 if (in1.length % 4 != 0) { 18582 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18583 } 18584 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18585 ain1.setAutoPadding(true); 18586 ain1.copyFrom(in1); 18587 18588 result_int result = reduce_my_ulong4_5(ain1, null); 18589 result.mTempIns = new Allocation[]{ain1}; 18590 return result; 18591 } 18592 18593 // ain1 = "ulong4 in" 18594 public result_int reduce_my_ulong4_5(Allocation ain1) { 18595 return reduce_my_ulong4_5(ain1, null); 18596 } 18597 18598 // ain1 = "ulong4 in" 18599 public result_int reduce_my_ulong4_5(Allocation ain1, Script.LaunchOptions sc) { 18600 // check ain1 18601 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18602 throw new RSRuntimeException("Type mismatch with U64_4!"); 18603 } 18604 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18605 aout.setAutoPadding(true); 18606 reduce(mExportReduceIdx_my_ulong4_5, new Allocation[]{ain1}, aout, sc); 18607 return new result_int(aout); 18608 } 18609 18610 private final static int mExportReduceIdx_my_ulong4_6 = 518; 18611 // in1 = "in", flattened 4-vectors 18612 public result_int reduce_my_ulong4_6(long[] in1) { 18613 // Verify that "in1" is non-null. 18614 if (in1 == null) { 18615 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18616 } 18617 // Verify that the array length is a multiple of the vector size. 18618 if (in1.length % 4 != 0) { 18619 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18620 } 18621 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18622 ain1.setAutoPadding(true); 18623 ain1.copyFrom(in1); 18624 18625 result_int result = reduce_my_ulong4_6(ain1, null); 18626 result.mTempIns = new Allocation[]{ain1}; 18627 return result; 18628 } 18629 18630 // ain1 = "ulong4 in" 18631 public result_int reduce_my_ulong4_6(Allocation ain1) { 18632 return reduce_my_ulong4_6(ain1, null); 18633 } 18634 18635 // ain1 = "ulong4 in" 18636 public result_int reduce_my_ulong4_6(Allocation ain1, Script.LaunchOptions sc) { 18637 // check ain1 18638 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18639 throw new RSRuntimeException("Type mismatch with U64_4!"); 18640 } 18641 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18642 aout.setAutoPadding(true); 18643 reduce(mExportReduceIdx_my_ulong4_6, new Allocation[]{ain1}, aout, sc); 18644 return new result_int(aout); 18645 } 18646 18647 private final static int mExportReduceIdx_my_ulong4_7 = 519; 18648 // in1 = "in", flattened 4-vectors 18649 public result_int reduce_my_ulong4_7(long[] in1) { 18650 // Verify that "in1" is non-null. 18651 if (in1 == null) { 18652 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18653 } 18654 // Verify that the array length is a multiple of the vector size. 18655 if (in1.length % 4 != 0) { 18656 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18657 } 18658 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18659 ain1.setAutoPadding(true); 18660 ain1.copyFrom(in1); 18661 18662 result_int result = reduce_my_ulong4_7(ain1, null); 18663 result.mTempIns = new Allocation[]{ain1}; 18664 return result; 18665 } 18666 18667 // ain1 = "ulong4 in" 18668 public result_int reduce_my_ulong4_7(Allocation ain1) { 18669 return reduce_my_ulong4_7(ain1, null); 18670 } 18671 18672 // ain1 = "ulong4 in" 18673 public result_int reduce_my_ulong4_7(Allocation ain1, Script.LaunchOptions sc) { 18674 // check ain1 18675 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18676 throw new RSRuntimeException("Type mismatch with U64_4!"); 18677 } 18678 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18679 aout.setAutoPadding(true); 18680 reduce(mExportReduceIdx_my_ulong4_7, new Allocation[]{ain1}, aout, sc); 18681 return new result_int(aout); 18682 } 18683 18684 private final static int mExportReduceIdx_my_ulong4_8 = 520; 18685 // in1 = "in", flattened 4-vectors 18686 public result_int reduce_my_ulong4_8(long[] in1) { 18687 // Verify that "in1" is non-null. 18688 if (in1 == null) { 18689 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18690 } 18691 // Verify that the array length is a multiple of the vector size. 18692 if (in1.length % 4 != 0) { 18693 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18694 } 18695 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18696 ain1.setAutoPadding(true); 18697 ain1.copyFrom(in1); 18698 18699 result_int result = reduce_my_ulong4_8(ain1, null); 18700 result.mTempIns = new Allocation[]{ain1}; 18701 return result; 18702 } 18703 18704 // ain1 = "ulong4 in" 18705 public result_int reduce_my_ulong4_8(Allocation ain1) { 18706 return reduce_my_ulong4_8(ain1, null); 18707 } 18708 18709 // ain1 = "ulong4 in" 18710 public result_int reduce_my_ulong4_8(Allocation ain1, Script.LaunchOptions sc) { 18711 // check ain1 18712 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18713 throw new RSRuntimeException("Type mismatch with U64_4!"); 18714 } 18715 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18716 aout.setAutoPadding(true); 18717 reduce(mExportReduceIdx_my_ulong4_8, new Allocation[]{ain1}, aout, sc); 18718 return new result_int(aout); 18719 } 18720 18721 private final static int mExportReduceIdx_my_ulong4_9 = 521; 18722 // in1 = "in", flattened 4-vectors 18723 public result_int reduce_my_ulong4_9(long[] in1) { 18724 // Verify that "in1" is non-null. 18725 if (in1 == null) { 18726 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18727 } 18728 // Verify that the array length is a multiple of the vector size. 18729 if (in1.length % 4 != 0) { 18730 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18731 } 18732 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18733 ain1.setAutoPadding(true); 18734 ain1.copyFrom(in1); 18735 18736 result_int result = reduce_my_ulong4_9(ain1, null); 18737 result.mTempIns = new Allocation[]{ain1}; 18738 return result; 18739 } 18740 18741 // ain1 = "ulong4 in" 18742 public result_int reduce_my_ulong4_9(Allocation ain1) { 18743 return reduce_my_ulong4_9(ain1, null); 18744 } 18745 18746 // ain1 = "ulong4 in" 18747 public result_int reduce_my_ulong4_9(Allocation ain1, Script.LaunchOptions sc) { 18748 // check ain1 18749 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18750 throw new RSRuntimeException("Type mismatch with U64_4!"); 18751 } 18752 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18753 aout.setAutoPadding(true); 18754 reduce(mExportReduceIdx_my_ulong4_9, new Allocation[]{ain1}, aout, sc); 18755 return new result_int(aout); 18756 } 18757 18758 private final static int mExportReduceIdx_my_ulong4_10 = 522; 18759 // in1 = "in", flattened 4-vectors 18760 public result_int reduce_my_ulong4_10(long[] in1) { 18761 // Verify that "in1" is non-null. 18762 if (in1 == null) { 18763 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18764 } 18765 // Verify that the array length is a multiple of the vector size. 18766 if (in1.length % 4 != 0) { 18767 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18768 } 18769 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18770 ain1.setAutoPadding(true); 18771 ain1.copyFrom(in1); 18772 18773 result_int result = reduce_my_ulong4_10(ain1, null); 18774 result.mTempIns = new Allocation[]{ain1}; 18775 return result; 18776 } 18777 18778 // ain1 = "ulong4 in" 18779 public result_int reduce_my_ulong4_10(Allocation ain1) { 18780 return reduce_my_ulong4_10(ain1, null); 18781 } 18782 18783 // ain1 = "ulong4 in" 18784 public result_int reduce_my_ulong4_10(Allocation ain1, Script.LaunchOptions sc) { 18785 // check ain1 18786 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18787 throw new RSRuntimeException("Type mismatch with U64_4!"); 18788 } 18789 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18790 aout.setAutoPadding(true); 18791 reduce(mExportReduceIdx_my_ulong4_10, new Allocation[]{ain1}, aout, sc); 18792 return new result_int(aout); 18793 } 18794 18795 private final static int mExportReduceIdx_my_ulong4_11 = 523; 18796 // in1 = "in", flattened 4-vectors 18797 public result_int reduce_my_ulong4_11(long[] in1) { 18798 // Verify that "in1" is non-null. 18799 if (in1 == null) { 18800 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18801 } 18802 // Verify that the array length is a multiple of the vector size. 18803 if (in1.length % 4 != 0) { 18804 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18805 } 18806 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18807 ain1.setAutoPadding(true); 18808 ain1.copyFrom(in1); 18809 18810 result_int result = reduce_my_ulong4_11(ain1, null); 18811 result.mTempIns = new Allocation[]{ain1}; 18812 return result; 18813 } 18814 18815 // ain1 = "ulong4 in" 18816 public result_int reduce_my_ulong4_11(Allocation ain1) { 18817 return reduce_my_ulong4_11(ain1, null); 18818 } 18819 18820 // ain1 = "ulong4 in" 18821 public result_int reduce_my_ulong4_11(Allocation ain1, Script.LaunchOptions sc) { 18822 // check ain1 18823 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18824 throw new RSRuntimeException("Type mismatch with U64_4!"); 18825 } 18826 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18827 aout.setAutoPadding(true); 18828 reduce(mExportReduceIdx_my_ulong4_11, new Allocation[]{ain1}, aout, sc); 18829 return new result_int(aout); 18830 } 18831 18832 private final static int mExportReduceIdx_my_ulong4_12 = 524; 18833 // in1 = "in", flattened 4-vectors 18834 public result_int reduce_my_ulong4_12(long[] in1) { 18835 // Verify that "in1" is non-null. 18836 if (in1 == null) { 18837 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18838 } 18839 // Verify that the array length is a multiple of the vector size. 18840 if (in1.length % 4 != 0) { 18841 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18842 } 18843 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18844 ain1.setAutoPadding(true); 18845 ain1.copyFrom(in1); 18846 18847 result_int result = reduce_my_ulong4_12(ain1, null); 18848 result.mTempIns = new Allocation[]{ain1}; 18849 return result; 18850 } 18851 18852 // ain1 = "ulong4 in" 18853 public result_int reduce_my_ulong4_12(Allocation ain1) { 18854 return reduce_my_ulong4_12(ain1, null); 18855 } 18856 18857 // ain1 = "ulong4 in" 18858 public result_int reduce_my_ulong4_12(Allocation ain1, Script.LaunchOptions sc) { 18859 // check ain1 18860 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18861 throw new RSRuntimeException("Type mismatch with U64_4!"); 18862 } 18863 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18864 aout.setAutoPadding(true); 18865 reduce(mExportReduceIdx_my_ulong4_12, new Allocation[]{ain1}, aout, sc); 18866 return new result_int(aout); 18867 } 18868 18869 private final static int mExportReduceIdx_my_ulong4_13 = 525; 18870 // in1 = "in", flattened 4-vectors 18871 public result_int reduce_my_ulong4_13(long[] in1) { 18872 // Verify that "in1" is non-null. 18873 if (in1 == null) { 18874 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18875 } 18876 // Verify that the array length is a multiple of the vector size. 18877 if (in1.length % 4 != 0) { 18878 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18879 } 18880 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18881 ain1.setAutoPadding(true); 18882 ain1.copyFrom(in1); 18883 18884 result_int result = reduce_my_ulong4_13(ain1, null); 18885 result.mTempIns = new Allocation[]{ain1}; 18886 return result; 18887 } 18888 18889 // ain1 = "ulong4 in" 18890 public result_int reduce_my_ulong4_13(Allocation ain1) { 18891 return reduce_my_ulong4_13(ain1, null); 18892 } 18893 18894 // ain1 = "ulong4 in" 18895 public result_int reduce_my_ulong4_13(Allocation ain1, Script.LaunchOptions sc) { 18896 // check ain1 18897 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18898 throw new RSRuntimeException("Type mismatch with U64_4!"); 18899 } 18900 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18901 aout.setAutoPadding(true); 18902 reduce(mExportReduceIdx_my_ulong4_13, new Allocation[]{ain1}, aout, sc); 18903 return new result_int(aout); 18904 } 18905 18906 private final static int mExportReduceIdx_my_ulong4_14 = 526; 18907 // in1 = "in", flattened 4-vectors 18908 public result_int reduce_my_ulong4_14(long[] in1) { 18909 // Verify that "in1" is non-null. 18910 if (in1 == null) { 18911 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18912 } 18913 // Verify that the array length is a multiple of the vector size. 18914 if (in1.length % 4 != 0) { 18915 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18916 } 18917 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18918 ain1.setAutoPadding(true); 18919 ain1.copyFrom(in1); 18920 18921 result_int result = reduce_my_ulong4_14(ain1, null); 18922 result.mTempIns = new Allocation[]{ain1}; 18923 return result; 18924 } 18925 18926 // ain1 = "ulong4 in" 18927 public result_int reduce_my_ulong4_14(Allocation ain1) { 18928 return reduce_my_ulong4_14(ain1, null); 18929 } 18930 18931 // ain1 = "ulong4 in" 18932 public result_int reduce_my_ulong4_14(Allocation ain1, Script.LaunchOptions sc) { 18933 // check ain1 18934 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18935 throw new RSRuntimeException("Type mismatch with U64_4!"); 18936 } 18937 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18938 aout.setAutoPadding(true); 18939 reduce(mExportReduceIdx_my_ulong4_14, new Allocation[]{ain1}, aout, sc); 18940 return new result_int(aout); 18941 } 18942 18943 private final static int mExportReduceIdx_my_ulong4_15 = 527; 18944 // in1 = "in", flattened 4-vectors 18945 public result_int reduce_my_ulong4_15(long[] in1) { 18946 // Verify that "in1" is non-null. 18947 if (in1 == null) { 18948 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18949 } 18950 // Verify that the array length is a multiple of the vector size. 18951 if (in1.length % 4 != 0) { 18952 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18953 } 18954 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18955 ain1.setAutoPadding(true); 18956 ain1.copyFrom(in1); 18957 18958 result_int result = reduce_my_ulong4_15(ain1, null); 18959 result.mTempIns = new Allocation[]{ain1}; 18960 return result; 18961 } 18962 18963 // ain1 = "ulong4 in" 18964 public result_int reduce_my_ulong4_15(Allocation ain1) { 18965 return reduce_my_ulong4_15(ain1, null); 18966 } 18967 18968 // ain1 = "ulong4 in" 18969 public result_int reduce_my_ulong4_15(Allocation ain1, Script.LaunchOptions sc) { 18970 // check ain1 18971 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18972 throw new RSRuntimeException("Type mismatch with U64_4!"); 18973 } 18974 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18975 aout.setAutoPadding(true); 18976 reduce(mExportReduceIdx_my_ulong4_15, new Allocation[]{ain1}, aout, sc); 18977 return new result_int(aout); 18978 } 18979 18980 private final static int mExportReduceIdx_my_bool_0 = 528; 18981 // in1 = "in" 18982 public result_int reduce_my_bool_0(byte[] in1) { 18983 // Verify that "in1" is non-null. 18984 if (in1 == null) { 18985 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18986 } 18987 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 18988 ain1.setAutoPadding(true); 18989 ain1.copyFrom(in1); 18990 18991 result_int result = reduce_my_bool_0(ain1, null); 18992 result.mTempIns = new Allocation[]{ain1}; 18993 return result; 18994 } 18995 18996 // ain1 = "bool in" 18997 public result_int reduce_my_bool_0(Allocation ain1) { 18998 return reduce_my_bool_0(ain1, null); 18999 } 19000 19001 // ain1 = "bool in" 19002 public result_int reduce_my_bool_0(Allocation ain1, Script.LaunchOptions sc) { 19003 // check ain1 19004 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19005 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19006 } 19007 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19008 aout.setAutoPadding(true); 19009 reduce(mExportReduceIdx_my_bool_0, new Allocation[]{ain1}, aout, sc); 19010 return new result_int(aout); 19011 } 19012 19013 private final static int mExportReduceIdx_my_bool_1 = 529; 19014 // in1 = "in" 19015 public result_int reduce_my_bool_1(byte[] in1) { 19016 // Verify that "in1" is non-null. 19017 if (in1 == null) { 19018 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19019 } 19020 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19021 ain1.setAutoPadding(true); 19022 ain1.copyFrom(in1); 19023 19024 result_int result = reduce_my_bool_1(ain1, null); 19025 result.mTempIns = new Allocation[]{ain1}; 19026 return result; 19027 } 19028 19029 // ain1 = "bool in" 19030 public result_int reduce_my_bool_1(Allocation ain1) { 19031 return reduce_my_bool_1(ain1, null); 19032 } 19033 19034 // ain1 = "bool in" 19035 public result_int reduce_my_bool_1(Allocation ain1, Script.LaunchOptions sc) { 19036 // check ain1 19037 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19038 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19039 } 19040 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19041 aout.setAutoPadding(true); 19042 reduce(mExportReduceIdx_my_bool_1, new Allocation[]{ain1}, aout, sc); 19043 return new result_int(aout); 19044 } 19045 19046 private final static int mExportReduceIdx_my_bool_2 = 530; 19047 // in1 = "in" 19048 public result_int reduce_my_bool_2(byte[] in1) { 19049 // Verify that "in1" is non-null. 19050 if (in1 == null) { 19051 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19052 } 19053 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19054 ain1.setAutoPadding(true); 19055 ain1.copyFrom(in1); 19056 19057 result_int result = reduce_my_bool_2(ain1, null); 19058 result.mTempIns = new Allocation[]{ain1}; 19059 return result; 19060 } 19061 19062 // ain1 = "bool in" 19063 public result_int reduce_my_bool_2(Allocation ain1) { 19064 return reduce_my_bool_2(ain1, null); 19065 } 19066 19067 // ain1 = "bool in" 19068 public result_int reduce_my_bool_2(Allocation ain1, Script.LaunchOptions sc) { 19069 // check ain1 19070 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19071 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19072 } 19073 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19074 aout.setAutoPadding(true); 19075 reduce(mExportReduceIdx_my_bool_2, new Allocation[]{ain1}, aout, sc); 19076 return new result_int(aout); 19077 } 19078 19079 private final static int mExportReduceIdx_my_bool_3 = 531; 19080 // in1 = "in" 19081 public result_int reduce_my_bool_3(byte[] in1) { 19082 // Verify that "in1" is non-null. 19083 if (in1 == null) { 19084 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19085 } 19086 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19087 ain1.setAutoPadding(true); 19088 ain1.copyFrom(in1); 19089 19090 result_int result = reduce_my_bool_3(ain1, null); 19091 result.mTempIns = new Allocation[]{ain1}; 19092 return result; 19093 } 19094 19095 // ain1 = "bool in" 19096 public result_int reduce_my_bool_3(Allocation ain1) { 19097 return reduce_my_bool_3(ain1, null); 19098 } 19099 19100 // ain1 = "bool in" 19101 public result_int reduce_my_bool_3(Allocation ain1, Script.LaunchOptions sc) { 19102 // check ain1 19103 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19104 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19105 } 19106 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19107 aout.setAutoPadding(true); 19108 reduce(mExportReduceIdx_my_bool_3, new Allocation[]{ain1}, aout, sc); 19109 return new result_int(aout); 19110 } 19111 19112 private final static int mExportReduceIdx_my_bool_4 = 532; 19113 // in1 = "in" 19114 public result_int reduce_my_bool_4(byte[] in1) { 19115 // Verify that "in1" is non-null. 19116 if (in1 == null) { 19117 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19118 } 19119 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19120 ain1.setAutoPadding(true); 19121 ain1.copyFrom(in1); 19122 19123 result_int result = reduce_my_bool_4(ain1, null); 19124 result.mTempIns = new Allocation[]{ain1}; 19125 return result; 19126 } 19127 19128 // ain1 = "bool in" 19129 public result_int reduce_my_bool_4(Allocation ain1) { 19130 return reduce_my_bool_4(ain1, null); 19131 } 19132 19133 // ain1 = "bool in" 19134 public result_int reduce_my_bool_4(Allocation ain1, Script.LaunchOptions sc) { 19135 // check ain1 19136 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19137 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19138 } 19139 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19140 aout.setAutoPadding(true); 19141 reduce(mExportReduceIdx_my_bool_4, new Allocation[]{ain1}, aout, sc); 19142 return new result_int(aout); 19143 } 19144 19145 private final static int mExportReduceIdx_my_bool_5 = 533; 19146 // in1 = "in" 19147 public result_int reduce_my_bool_5(byte[] in1) { 19148 // Verify that "in1" is non-null. 19149 if (in1 == null) { 19150 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19151 } 19152 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19153 ain1.setAutoPadding(true); 19154 ain1.copyFrom(in1); 19155 19156 result_int result = reduce_my_bool_5(ain1, null); 19157 result.mTempIns = new Allocation[]{ain1}; 19158 return result; 19159 } 19160 19161 // ain1 = "bool in" 19162 public result_int reduce_my_bool_5(Allocation ain1) { 19163 return reduce_my_bool_5(ain1, null); 19164 } 19165 19166 // ain1 = "bool in" 19167 public result_int reduce_my_bool_5(Allocation ain1, Script.LaunchOptions sc) { 19168 // check ain1 19169 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19170 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19171 } 19172 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19173 aout.setAutoPadding(true); 19174 reduce(mExportReduceIdx_my_bool_5, new Allocation[]{ain1}, aout, sc); 19175 return new result_int(aout); 19176 } 19177 19178 private final static int mExportReduceIdx_my_bool_6 = 534; 19179 // in1 = "in" 19180 public result_int reduce_my_bool_6(byte[] in1) { 19181 // Verify that "in1" is non-null. 19182 if (in1 == null) { 19183 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19184 } 19185 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19186 ain1.setAutoPadding(true); 19187 ain1.copyFrom(in1); 19188 19189 result_int result = reduce_my_bool_6(ain1, null); 19190 result.mTempIns = new Allocation[]{ain1}; 19191 return result; 19192 } 19193 19194 // ain1 = "bool in" 19195 public result_int reduce_my_bool_6(Allocation ain1) { 19196 return reduce_my_bool_6(ain1, null); 19197 } 19198 19199 // ain1 = "bool in" 19200 public result_int reduce_my_bool_6(Allocation ain1, Script.LaunchOptions sc) { 19201 // check ain1 19202 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19203 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19204 } 19205 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19206 aout.setAutoPadding(true); 19207 reduce(mExportReduceIdx_my_bool_6, new Allocation[]{ain1}, aout, sc); 19208 return new result_int(aout); 19209 } 19210 19211 private final static int mExportReduceIdx_my_bool_7 = 535; 19212 // in1 = "in" 19213 public result_int reduce_my_bool_7(byte[] in1) { 19214 // Verify that "in1" is non-null. 19215 if (in1 == null) { 19216 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19217 } 19218 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19219 ain1.setAutoPadding(true); 19220 ain1.copyFrom(in1); 19221 19222 result_int result = reduce_my_bool_7(ain1, null); 19223 result.mTempIns = new Allocation[]{ain1}; 19224 return result; 19225 } 19226 19227 // ain1 = "bool in" 19228 public result_int reduce_my_bool_7(Allocation ain1) { 19229 return reduce_my_bool_7(ain1, null); 19230 } 19231 19232 // ain1 = "bool in" 19233 public result_int reduce_my_bool_7(Allocation ain1, Script.LaunchOptions sc) { 19234 // check ain1 19235 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19236 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19237 } 19238 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19239 aout.setAutoPadding(true); 19240 reduce(mExportReduceIdx_my_bool_7, new Allocation[]{ain1}, aout, sc); 19241 return new result_int(aout); 19242 } 19243 19244 private final static int mExportReduceIdx_my_bool_8 = 536; 19245 // in1 = "in" 19246 public result_int reduce_my_bool_8(byte[] in1) { 19247 // Verify that "in1" is non-null. 19248 if (in1 == null) { 19249 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19250 } 19251 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19252 ain1.setAutoPadding(true); 19253 ain1.copyFrom(in1); 19254 19255 result_int result = reduce_my_bool_8(ain1, null); 19256 result.mTempIns = new Allocation[]{ain1}; 19257 return result; 19258 } 19259 19260 // ain1 = "bool in" 19261 public result_int reduce_my_bool_8(Allocation ain1) { 19262 return reduce_my_bool_8(ain1, null); 19263 } 19264 19265 // ain1 = "bool in" 19266 public result_int reduce_my_bool_8(Allocation ain1, Script.LaunchOptions sc) { 19267 // check ain1 19268 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19269 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19270 } 19271 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19272 aout.setAutoPadding(true); 19273 reduce(mExportReduceIdx_my_bool_8, new Allocation[]{ain1}, aout, sc); 19274 return new result_int(aout); 19275 } 19276 19277 private final static int mExportReduceIdx_my_bool_9 = 537; 19278 // in1 = "in" 19279 public result_int reduce_my_bool_9(byte[] in1) { 19280 // Verify that "in1" is non-null. 19281 if (in1 == null) { 19282 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19283 } 19284 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19285 ain1.setAutoPadding(true); 19286 ain1.copyFrom(in1); 19287 19288 result_int result = reduce_my_bool_9(ain1, null); 19289 result.mTempIns = new Allocation[]{ain1}; 19290 return result; 19291 } 19292 19293 // ain1 = "bool in" 19294 public result_int reduce_my_bool_9(Allocation ain1) { 19295 return reduce_my_bool_9(ain1, null); 19296 } 19297 19298 // ain1 = "bool in" 19299 public result_int reduce_my_bool_9(Allocation ain1, Script.LaunchOptions sc) { 19300 // check ain1 19301 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19302 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19303 } 19304 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19305 aout.setAutoPadding(true); 19306 reduce(mExportReduceIdx_my_bool_9, new Allocation[]{ain1}, aout, sc); 19307 return new result_int(aout); 19308 } 19309 19310 private final static int mExportReduceIdx_my_bool_10 = 538; 19311 // in1 = "in" 19312 public result_int reduce_my_bool_10(byte[] in1) { 19313 // Verify that "in1" is non-null. 19314 if (in1 == null) { 19315 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19316 } 19317 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19318 ain1.setAutoPadding(true); 19319 ain1.copyFrom(in1); 19320 19321 result_int result = reduce_my_bool_10(ain1, null); 19322 result.mTempIns = new Allocation[]{ain1}; 19323 return result; 19324 } 19325 19326 // ain1 = "bool in" 19327 public result_int reduce_my_bool_10(Allocation ain1) { 19328 return reduce_my_bool_10(ain1, null); 19329 } 19330 19331 // ain1 = "bool in" 19332 public result_int reduce_my_bool_10(Allocation ain1, Script.LaunchOptions sc) { 19333 // check ain1 19334 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19335 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19336 } 19337 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19338 aout.setAutoPadding(true); 19339 reduce(mExportReduceIdx_my_bool_10, new Allocation[]{ain1}, aout, sc); 19340 return new result_int(aout); 19341 } 19342 19343 private final static int mExportReduceIdx_my_bool_11 = 539; 19344 // in1 = "in" 19345 public result_int reduce_my_bool_11(byte[] in1) { 19346 // Verify that "in1" is non-null. 19347 if (in1 == null) { 19348 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19349 } 19350 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19351 ain1.setAutoPadding(true); 19352 ain1.copyFrom(in1); 19353 19354 result_int result = reduce_my_bool_11(ain1, null); 19355 result.mTempIns = new Allocation[]{ain1}; 19356 return result; 19357 } 19358 19359 // ain1 = "bool in" 19360 public result_int reduce_my_bool_11(Allocation ain1) { 19361 return reduce_my_bool_11(ain1, null); 19362 } 19363 19364 // ain1 = "bool in" 19365 public result_int reduce_my_bool_11(Allocation ain1, Script.LaunchOptions sc) { 19366 // check ain1 19367 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19368 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19369 } 19370 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19371 aout.setAutoPadding(true); 19372 reduce(mExportReduceIdx_my_bool_11, new Allocation[]{ain1}, aout, sc); 19373 return new result_int(aout); 19374 } 19375 19376 private final static int mExportReduceIdx_my_bool_12 = 540; 19377 // in1 = "in" 19378 public result_int reduce_my_bool_12(byte[] in1) { 19379 // Verify that "in1" is non-null. 19380 if (in1 == null) { 19381 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19382 } 19383 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19384 ain1.setAutoPadding(true); 19385 ain1.copyFrom(in1); 19386 19387 result_int result = reduce_my_bool_12(ain1, null); 19388 result.mTempIns = new Allocation[]{ain1}; 19389 return result; 19390 } 19391 19392 // ain1 = "bool in" 19393 public result_int reduce_my_bool_12(Allocation ain1) { 19394 return reduce_my_bool_12(ain1, null); 19395 } 19396 19397 // ain1 = "bool in" 19398 public result_int reduce_my_bool_12(Allocation ain1, Script.LaunchOptions sc) { 19399 // check ain1 19400 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19401 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19402 } 19403 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19404 aout.setAutoPadding(true); 19405 reduce(mExportReduceIdx_my_bool_12, new Allocation[]{ain1}, aout, sc); 19406 return new result_int(aout); 19407 } 19408 19409 private final static int mExportReduceIdx_my_bool_13 = 541; 19410 // in1 = "in" 19411 public result_int reduce_my_bool_13(byte[] in1) { 19412 // Verify that "in1" is non-null. 19413 if (in1 == null) { 19414 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19415 } 19416 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19417 ain1.setAutoPadding(true); 19418 ain1.copyFrom(in1); 19419 19420 result_int result = reduce_my_bool_13(ain1, null); 19421 result.mTempIns = new Allocation[]{ain1}; 19422 return result; 19423 } 19424 19425 // ain1 = "bool in" 19426 public result_int reduce_my_bool_13(Allocation ain1) { 19427 return reduce_my_bool_13(ain1, null); 19428 } 19429 19430 // ain1 = "bool in" 19431 public result_int reduce_my_bool_13(Allocation ain1, Script.LaunchOptions sc) { 19432 // check ain1 19433 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19434 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19435 } 19436 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19437 aout.setAutoPadding(true); 19438 reduce(mExportReduceIdx_my_bool_13, new Allocation[]{ain1}, aout, sc); 19439 return new result_int(aout); 19440 } 19441 19442 private final static int mExportReduceIdx_my_bool_14 = 542; 19443 // in1 = "in" 19444 public result_int reduce_my_bool_14(byte[] in1) { 19445 // Verify that "in1" is non-null. 19446 if (in1 == null) { 19447 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19448 } 19449 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19450 ain1.setAutoPadding(true); 19451 ain1.copyFrom(in1); 19452 19453 result_int result = reduce_my_bool_14(ain1, null); 19454 result.mTempIns = new Allocation[]{ain1}; 19455 return result; 19456 } 19457 19458 // ain1 = "bool in" 19459 public result_int reduce_my_bool_14(Allocation ain1) { 19460 return reduce_my_bool_14(ain1, null); 19461 } 19462 19463 // ain1 = "bool in" 19464 public result_int reduce_my_bool_14(Allocation ain1, Script.LaunchOptions sc) { 19465 // check ain1 19466 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19467 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19468 } 19469 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19470 aout.setAutoPadding(true); 19471 reduce(mExportReduceIdx_my_bool_14, new Allocation[]{ain1}, aout, sc); 19472 return new result_int(aout); 19473 } 19474 19475 private final static int mExportReduceIdx_my_bool_15 = 543; 19476 // in1 = "in" 19477 public result_int reduce_my_bool_15(byte[] in1) { 19478 // Verify that "in1" is non-null. 19479 if (in1 == null) { 19480 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19481 } 19482 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19483 ain1.setAutoPadding(true); 19484 ain1.copyFrom(in1); 19485 19486 result_int result = reduce_my_bool_15(ain1, null); 19487 result.mTempIns = new Allocation[]{ain1}; 19488 return result; 19489 } 19490 19491 // ain1 = "bool in" 19492 public result_int reduce_my_bool_15(Allocation ain1) { 19493 return reduce_my_bool_15(ain1, null); 19494 } 19495 19496 // ain1 = "bool in" 19497 public result_int reduce_my_bool_15(Allocation ain1, Script.LaunchOptions sc) { 19498 // check ain1 19499 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19500 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19501 } 19502 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19503 aout.setAutoPadding(true); 19504 reduce(mExportReduceIdx_my_bool_15, new Allocation[]{ain1}, aout, sc); 19505 return new result_int(aout); 19506 } 19507 19508 private final static int mExportReduceIdx_my_rs_matrix2x2_0 = 544; 19509 // ain1 = "rs_matrix2x2 in" 19510 public result_int reduce_my_rs_matrix2x2_0(Allocation ain1) { 19511 return reduce_my_rs_matrix2x2_0(ain1, null); 19512 } 19513 19514 // ain1 = "rs_matrix2x2 in" 19515 public result_int reduce_my_rs_matrix2x2_0(Allocation ain1, Script.LaunchOptions sc) { 19516 // check ain1 19517 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19518 aout.setAutoPadding(true); 19519 reduce(mExportReduceIdx_my_rs_matrix2x2_0, new Allocation[]{ain1}, aout, sc); 19520 return new result_int(aout); 19521 } 19522 19523 private final static int mExportReduceIdx_my_rs_matrix2x2_1 = 545; 19524 // ain1 = "rs_matrix2x2 in" 19525 public result_int reduce_my_rs_matrix2x2_1(Allocation ain1) { 19526 return reduce_my_rs_matrix2x2_1(ain1, null); 19527 } 19528 19529 // ain1 = "rs_matrix2x2 in" 19530 public result_int reduce_my_rs_matrix2x2_1(Allocation ain1, Script.LaunchOptions sc) { 19531 // check ain1 19532 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19533 aout.setAutoPadding(true); 19534 reduce(mExportReduceIdx_my_rs_matrix2x2_1, new Allocation[]{ain1}, aout, sc); 19535 return new result_int(aout); 19536 } 19537 19538 private final static int mExportReduceIdx_my_rs_matrix2x2_2 = 546; 19539 // ain1 = "rs_matrix2x2 in" 19540 public result_int reduce_my_rs_matrix2x2_2(Allocation ain1) { 19541 return reduce_my_rs_matrix2x2_2(ain1, null); 19542 } 19543 19544 // ain1 = "rs_matrix2x2 in" 19545 public result_int reduce_my_rs_matrix2x2_2(Allocation ain1, Script.LaunchOptions sc) { 19546 // check ain1 19547 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19548 aout.setAutoPadding(true); 19549 reduce(mExportReduceIdx_my_rs_matrix2x2_2, new Allocation[]{ain1}, aout, sc); 19550 return new result_int(aout); 19551 } 19552 19553 private final static int mExportReduceIdx_my_rs_matrix2x2_3 = 547; 19554 // ain1 = "rs_matrix2x2 in" 19555 public result_int reduce_my_rs_matrix2x2_3(Allocation ain1) { 19556 return reduce_my_rs_matrix2x2_3(ain1, null); 19557 } 19558 19559 // ain1 = "rs_matrix2x2 in" 19560 public result_int reduce_my_rs_matrix2x2_3(Allocation ain1, Script.LaunchOptions sc) { 19561 // check ain1 19562 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19563 aout.setAutoPadding(true); 19564 reduce(mExportReduceIdx_my_rs_matrix2x2_3, new Allocation[]{ain1}, aout, sc); 19565 return new result_int(aout); 19566 } 19567 19568 private final static int mExportReduceIdx_my_rs_matrix2x2_4 = 548; 19569 // ain1 = "rs_matrix2x2 in" 19570 public result_int reduce_my_rs_matrix2x2_4(Allocation ain1) { 19571 return reduce_my_rs_matrix2x2_4(ain1, null); 19572 } 19573 19574 // ain1 = "rs_matrix2x2 in" 19575 public result_int reduce_my_rs_matrix2x2_4(Allocation ain1, Script.LaunchOptions sc) { 19576 // check ain1 19577 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19578 aout.setAutoPadding(true); 19579 reduce(mExportReduceIdx_my_rs_matrix2x2_4, new Allocation[]{ain1}, aout, sc); 19580 return new result_int(aout); 19581 } 19582 19583 private final static int mExportReduceIdx_my_rs_matrix2x2_5 = 549; 19584 // ain1 = "rs_matrix2x2 in" 19585 public result_int reduce_my_rs_matrix2x2_5(Allocation ain1) { 19586 return reduce_my_rs_matrix2x2_5(ain1, null); 19587 } 19588 19589 // ain1 = "rs_matrix2x2 in" 19590 public result_int reduce_my_rs_matrix2x2_5(Allocation ain1, Script.LaunchOptions sc) { 19591 // check ain1 19592 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19593 aout.setAutoPadding(true); 19594 reduce(mExportReduceIdx_my_rs_matrix2x2_5, new Allocation[]{ain1}, aout, sc); 19595 return new result_int(aout); 19596 } 19597 19598 private final static int mExportReduceIdx_my_rs_matrix2x2_6 = 550; 19599 // ain1 = "rs_matrix2x2 in" 19600 public result_int reduce_my_rs_matrix2x2_6(Allocation ain1) { 19601 return reduce_my_rs_matrix2x2_6(ain1, null); 19602 } 19603 19604 // ain1 = "rs_matrix2x2 in" 19605 public result_int reduce_my_rs_matrix2x2_6(Allocation ain1, Script.LaunchOptions sc) { 19606 // check ain1 19607 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19608 aout.setAutoPadding(true); 19609 reduce(mExportReduceIdx_my_rs_matrix2x2_6, new Allocation[]{ain1}, aout, sc); 19610 return new result_int(aout); 19611 } 19612 19613 private final static int mExportReduceIdx_my_rs_matrix2x2_7 = 551; 19614 // ain1 = "rs_matrix2x2 in" 19615 public result_int reduce_my_rs_matrix2x2_7(Allocation ain1) { 19616 return reduce_my_rs_matrix2x2_7(ain1, null); 19617 } 19618 19619 // ain1 = "rs_matrix2x2 in" 19620 public result_int reduce_my_rs_matrix2x2_7(Allocation ain1, Script.LaunchOptions sc) { 19621 // check ain1 19622 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19623 aout.setAutoPadding(true); 19624 reduce(mExportReduceIdx_my_rs_matrix2x2_7, new Allocation[]{ain1}, aout, sc); 19625 return new result_int(aout); 19626 } 19627 19628 private final static int mExportReduceIdx_my_rs_matrix2x2_8 = 552; 19629 // ain1 = "rs_matrix2x2 in" 19630 public result_int reduce_my_rs_matrix2x2_8(Allocation ain1) { 19631 return reduce_my_rs_matrix2x2_8(ain1, null); 19632 } 19633 19634 // ain1 = "rs_matrix2x2 in" 19635 public result_int reduce_my_rs_matrix2x2_8(Allocation ain1, Script.LaunchOptions sc) { 19636 // check ain1 19637 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19638 aout.setAutoPadding(true); 19639 reduce(mExportReduceIdx_my_rs_matrix2x2_8, new Allocation[]{ain1}, aout, sc); 19640 return new result_int(aout); 19641 } 19642 19643 private final static int mExportReduceIdx_my_rs_matrix2x2_9 = 553; 19644 // ain1 = "rs_matrix2x2 in" 19645 public result_int reduce_my_rs_matrix2x2_9(Allocation ain1) { 19646 return reduce_my_rs_matrix2x2_9(ain1, null); 19647 } 19648 19649 // ain1 = "rs_matrix2x2 in" 19650 public result_int reduce_my_rs_matrix2x2_9(Allocation ain1, Script.LaunchOptions sc) { 19651 // check ain1 19652 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19653 aout.setAutoPadding(true); 19654 reduce(mExportReduceIdx_my_rs_matrix2x2_9, new Allocation[]{ain1}, aout, sc); 19655 return new result_int(aout); 19656 } 19657 19658 private final static int mExportReduceIdx_my_rs_matrix2x2_10 = 554; 19659 // ain1 = "rs_matrix2x2 in" 19660 public result_int reduce_my_rs_matrix2x2_10(Allocation ain1) { 19661 return reduce_my_rs_matrix2x2_10(ain1, null); 19662 } 19663 19664 // ain1 = "rs_matrix2x2 in" 19665 public result_int reduce_my_rs_matrix2x2_10(Allocation ain1, Script.LaunchOptions sc) { 19666 // check ain1 19667 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19668 aout.setAutoPadding(true); 19669 reduce(mExportReduceIdx_my_rs_matrix2x2_10, new Allocation[]{ain1}, aout, sc); 19670 return new result_int(aout); 19671 } 19672 19673 private final static int mExportReduceIdx_my_rs_matrix2x2_11 = 555; 19674 // ain1 = "rs_matrix2x2 in" 19675 public result_int reduce_my_rs_matrix2x2_11(Allocation ain1) { 19676 return reduce_my_rs_matrix2x2_11(ain1, null); 19677 } 19678 19679 // ain1 = "rs_matrix2x2 in" 19680 public result_int reduce_my_rs_matrix2x2_11(Allocation ain1, Script.LaunchOptions sc) { 19681 // check ain1 19682 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19683 aout.setAutoPadding(true); 19684 reduce(mExportReduceIdx_my_rs_matrix2x2_11, new Allocation[]{ain1}, aout, sc); 19685 return new result_int(aout); 19686 } 19687 19688 private final static int mExportReduceIdx_my_rs_matrix2x2_12 = 556; 19689 // ain1 = "rs_matrix2x2 in" 19690 public result_int reduce_my_rs_matrix2x2_12(Allocation ain1) { 19691 return reduce_my_rs_matrix2x2_12(ain1, null); 19692 } 19693 19694 // ain1 = "rs_matrix2x2 in" 19695 public result_int reduce_my_rs_matrix2x2_12(Allocation ain1, Script.LaunchOptions sc) { 19696 // check ain1 19697 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19698 aout.setAutoPadding(true); 19699 reduce(mExportReduceIdx_my_rs_matrix2x2_12, new Allocation[]{ain1}, aout, sc); 19700 return new result_int(aout); 19701 } 19702 19703 private final static int mExportReduceIdx_my_rs_matrix2x2_13 = 557; 19704 // ain1 = "rs_matrix2x2 in" 19705 public result_int reduce_my_rs_matrix2x2_13(Allocation ain1) { 19706 return reduce_my_rs_matrix2x2_13(ain1, null); 19707 } 19708 19709 // ain1 = "rs_matrix2x2 in" 19710 public result_int reduce_my_rs_matrix2x2_13(Allocation ain1, Script.LaunchOptions sc) { 19711 // check ain1 19712 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19713 aout.setAutoPadding(true); 19714 reduce(mExportReduceIdx_my_rs_matrix2x2_13, new Allocation[]{ain1}, aout, sc); 19715 return new result_int(aout); 19716 } 19717 19718 private final static int mExportReduceIdx_my_rs_matrix2x2_14 = 558; 19719 // ain1 = "rs_matrix2x2 in" 19720 public result_int reduce_my_rs_matrix2x2_14(Allocation ain1) { 19721 return reduce_my_rs_matrix2x2_14(ain1, null); 19722 } 19723 19724 // ain1 = "rs_matrix2x2 in" 19725 public result_int reduce_my_rs_matrix2x2_14(Allocation ain1, Script.LaunchOptions sc) { 19726 // check ain1 19727 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19728 aout.setAutoPadding(true); 19729 reduce(mExportReduceIdx_my_rs_matrix2x2_14, new Allocation[]{ain1}, aout, sc); 19730 return new result_int(aout); 19731 } 19732 19733 private final static int mExportReduceIdx_my_rs_matrix2x2_15 = 559; 19734 // ain1 = "rs_matrix2x2 in" 19735 public result_int reduce_my_rs_matrix2x2_15(Allocation ain1) { 19736 return reduce_my_rs_matrix2x2_15(ain1, null); 19737 } 19738 19739 // ain1 = "rs_matrix2x2 in" 19740 public result_int reduce_my_rs_matrix2x2_15(Allocation ain1, Script.LaunchOptions sc) { 19741 // check ain1 19742 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19743 aout.setAutoPadding(true); 19744 reduce(mExportReduceIdx_my_rs_matrix2x2_15, new Allocation[]{ain1}, aout, sc); 19745 return new result_int(aout); 19746 } 19747 19748 private final static int mExportReduceIdx_my_rs_matrix3x3_0 = 560; 19749 // ain1 = "rs_matrix3x3 in" 19750 public result_int reduce_my_rs_matrix3x3_0(Allocation ain1) { 19751 return reduce_my_rs_matrix3x3_0(ain1, null); 19752 } 19753 19754 // ain1 = "rs_matrix3x3 in" 19755 public result_int reduce_my_rs_matrix3x3_0(Allocation ain1, Script.LaunchOptions sc) { 19756 // check ain1 19757 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19758 aout.setAutoPadding(true); 19759 reduce(mExportReduceIdx_my_rs_matrix3x3_0, new Allocation[]{ain1}, aout, sc); 19760 return new result_int(aout); 19761 } 19762 19763 private final static int mExportReduceIdx_my_rs_matrix3x3_1 = 561; 19764 // ain1 = "rs_matrix3x3 in" 19765 public result_int reduce_my_rs_matrix3x3_1(Allocation ain1) { 19766 return reduce_my_rs_matrix3x3_1(ain1, null); 19767 } 19768 19769 // ain1 = "rs_matrix3x3 in" 19770 public result_int reduce_my_rs_matrix3x3_1(Allocation ain1, Script.LaunchOptions sc) { 19771 // check ain1 19772 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19773 aout.setAutoPadding(true); 19774 reduce(mExportReduceIdx_my_rs_matrix3x3_1, new Allocation[]{ain1}, aout, sc); 19775 return new result_int(aout); 19776 } 19777 19778 private final static int mExportReduceIdx_my_rs_matrix3x3_2 = 562; 19779 // ain1 = "rs_matrix3x3 in" 19780 public result_int reduce_my_rs_matrix3x3_2(Allocation ain1) { 19781 return reduce_my_rs_matrix3x3_2(ain1, null); 19782 } 19783 19784 // ain1 = "rs_matrix3x3 in" 19785 public result_int reduce_my_rs_matrix3x3_2(Allocation ain1, Script.LaunchOptions sc) { 19786 // check ain1 19787 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19788 aout.setAutoPadding(true); 19789 reduce(mExportReduceIdx_my_rs_matrix3x3_2, new Allocation[]{ain1}, aout, sc); 19790 return new result_int(aout); 19791 } 19792 19793 private final static int mExportReduceIdx_my_rs_matrix3x3_3 = 563; 19794 // ain1 = "rs_matrix3x3 in" 19795 public result_int reduce_my_rs_matrix3x3_3(Allocation ain1) { 19796 return reduce_my_rs_matrix3x3_3(ain1, null); 19797 } 19798 19799 // ain1 = "rs_matrix3x3 in" 19800 public result_int reduce_my_rs_matrix3x3_3(Allocation ain1, Script.LaunchOptions sc) { 19801 // check ain1 19802 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19803 aout.setAutoPadding(true); 19804 reduce(mExportReduceIdx_my_rs_matrix3x3_3, new Allocation[]{ain1}, aout, sc); 19805 return new result_int(aout); 19806 } 19807 19808 private final static int mExportReduceIdx_my_rs_matrix3x3_4 = 564; 19809 // ain1 = "rs_matrix3x3 in" 19810 public result_int reduce_my_rs_matrix3x3_4(Allocation ain1) { 19811 return reduce_my_rs_matrix3x3_4(ain1, null); 19812 } 19813 19814 // ain1 = "rs_matrix3x3 in" 19815 public result_int reduce_my_rs_matrix3x3_4(Allocation ain1, Script.LaunchOptions sc) { 19816 // check ain1 19817 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19818 aout.setAutoPadding(true); 19819 reduce(mExportReduceIdx_my_rs_matrix3x3_4, new Allocation[]{ain1}, aout, sc); 19820 return new result_int(aout); 19821 } 19822 19823 private final static int mExportReduceIdx_my_rs_matrix3x3_5 = 565; 19824 // ain1 = "rs_matrix3x3 in" 19825 public result_int reduce_my_rs_matrix3x3_5(Allocation ain1) { 19826 return reduce_my_rs_matrix3x3_5(ain1, null); 19827 } 19828 19829 // ain1 = "rs_matrix3x3 in" 19830 public result_int reduce_my_rs_matrix3x3_5(Allocation ain1, Script.LaunchOptions sc) { 19831 // check ain1 19832 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19833 aout.setAutoPadding(true); 19834 reduce(mExportReduceIdx_my_rs_matrix3x3_5, new Allocation[]{ain1}, aout, sc); 19835 return new result_int(aout); 19836 } 19837 19838 private final static int mExportReduceIdx_my_rs_matrix3x3_6 = 566; 19839 // ain1 = "rs_matrix3x3 in" 19840 public result_int reduce_my_rs_matrix3x3_6(Allocation ain1) { 19841 return reduce_my_rs_matrix3x3_6(ain1, null); 19842 } 19843 19844 // ain1 = "rs_matrix3x3 in" 19845 public result_int reduce_my_rs_matrix3x3_6(Allocation ain1, Script.LaunchOptions sc) { 19846 // check ain1 19847 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19848 aout.setAutoPadding(true); 19849 reduce(mExportReduceIdx_my_rs_matrix3x3_6, new Allocation[]{ain1}, aout, sc); 19850 return new result_int(aout); 19851 } 19852 19853 private final static int mExportReduceIdx_my_rs_matrix3x3_7 = 567; 19854 // ain1 = "rs_matrix3x3 in" 19855 public result_int reduce_my_rs_matrix3x3_7(Allocation ain1) { 19856 return reduce_my_rs_matrix3x3_7(ain1, null); 19857 } 19858 19859 // ain1 = "rs_matrix3x3 in" 19860 public result_int reduce_my_rs_matrix3x3_7(Allocation ain1, Script.LaunchOptions sc) { 19861 // check ain1 19862 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19863 aout.setAutoPadding(true); 19864 reduce(mExportReduceIdx_my_rs_matrix3x3_7, new Allocation[]{ain1}, aout, sc); 19865 return new result_int(aout); 19866 } 19867 19868 private final static int mExportReduceIdx_my_rs_matrix3x3_8 = 568; 19869 // ain1 = "rs_matrix3x3 in" 19870 public result_int reduce_my_rs_matrix3x3_8(Allocation ain1) { 19871 return reduce_my_rs_matrix3x3_8(ain1, null); 19872 } 19873 19874 // ain1 = "rs_matrix3x3 in" 19875 public result_int reduce_my_rs_matrix3x3_8(Allocation ain1, Script.LaunchOptions sc) { 19876 // check ain1 19877 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19878 aout.setAutoPadding(true); 19879 reduce(mExportReduceIdx_my_rs_matrix3x3_8, new Allocation[]{ain1}, aout, sc); 19880 return new result_int(aout); 19881 } 19882 19883 private final static int mExportReduceIdx_my_rs_matrix3x3_9 = 569; 19884 // ain1 = "rs_matrix3x3 in" 19885 public result_int reduce_my_rs_matrix3x3_9(Allocation ain1) { 19886 return reduce_my_rs_matrix3x3_9(ain1, null); 19887 } 19888 19889 // ain1 = "rs_matrix3x3 in" 19890 public result_int reduce_my_rs_matrix3x3_9(Allocation ain1, Script.LaunchOptions sc) { 19891 // check ain1 19892 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19893 aout.setAutoPadding(true); 19894 reduce(mExportReduceIdx_my_rs_matrix3x3_9, new Allocation[]{ain1}, aout, sc); 19895 return new result_int(aout); 19896 } 19897 19898 private final static int mExportReduceIdx_my_rs_matrix3x3_10 = 570; 19899 // ain1 = "rs_matrix3x3 in" 19900 public result_int reduce_my_rs_matrix3x3_10(Allocation ain1) { 19901 return reduce_my_rs_matrix3x3_10(ain1, null); 19902 } 19903 19904 // ain1 = "rs_matrix3x3 in" 19905 public result_int reduce_my_rs_matrix3x3_10(Allocation ain1, Script.LaunchOptions sc) { 19906 // check ain1 19907 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19908 aout.setAutoPadding(true); 19909 reduce(mExportReduceIdx_my_rs_matrix3x3_10, new Allocation[]{ain1}, aout, sc); 19910 return new result_int(aout); 19911 } 19912 19913 private final static int mExportReduceIdx_my_rs_matrix3x3_11 = 571; 19914 // ain1 = "rs_matrix3x3 in" 19915 public result_int reduce_my_rs_matrix3x3_11(Allocation ain1) { 19916 return reduce_my_rs_matrix3x3_11(ain1, null); 19917 } 19918 19919 // ain1 = "rs_matrix3x3 in" 19920 public result_int reduce_my_rs_matrix3x3_11(Allocation ain1, Script.LaunchOptions sc) { 19921 // check ain1 19922 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19923 aout.setAutoPadding(true); 19924 reduce(mExportReduceIdx_my_rs_matrix3x3_11, new Allocation[]{ain1}, aout, sc); 19925 return new result_int(aout); 19926 } 19927 19928 private final static int mExportReduceIdx_my_rs_matrix3x3_12 = 572; 19929 // ain1 = "rs_matrix3x3 in" 19930 public result_int reduce_my_rs_matrix3x3_12(Allocation ain1) { 19931 return reduce_my_rs_matrix3x3_12(ain1, null); 19932 } 19933 19934 // ain1 = "rs_matrix3x3 in" 19935 public result_int reduce_my_rs_matrix3x3_12(Allocation ain1, Script.LaunchOptions sc) { 19936 // check ain1 19937 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19938 aout.setAutoPadding(true); 19939 reduce(mExportReduceIdx_my_rs_matrix3x3_12, new Allocation[]{ain1}, aout, sc); 19940 return new result_int(aout); 19941 } 19942 19943 private final static int mExportReduceIdx_my_rs_matrix3x3_13 = 573; 19944 // ain1 = "rs_matrix3x3 in" 19945 public result_int reduce_my_rs_matrix3x3_13(Allocation ain1) { 19946 return reduce_my_rs_matrix3x3_13(ain1, null); 19947 } 19948 19949 // ain1 = "rs_matrix3x3 in" 19950 public result_int reduce_my_rs_matrix3x3_13(Allocation ain1, Script.LaunchOptions sc) { 19951 // check ain1 19952 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19953 aout.setAutoPadding(true); 19954 reduce(mExportReduceIdx_my_rs_matrix3x3_13, new Allocation[]{ain1}, aout, sc); 19955 return new result_int(aout); 19956 } 19957 19958 private final static int mExportReduceIdx_my_rs_matrix3x3_14 = 574; 19959 // ain1 = "rs_matrix3x3 in" 19960 public result_int reduce_my_rs_matrix3x3_14(Allocation ain1) { 19961 return reduce_my_rs_matrix3x3_14(ain1, null); 19962 } 19963 19964 // ain1 = "rs_matrix3x3 in" 19965 public result_int reduce_my_rs_matrix3x3_14(Allocation ain1, Script.LaunchOptions sc) { 19966 // check ain1 19967 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19968 aout.setAutoPadding(true); 19969 reduce(mExportReduceIdx_my_rs_matrix3x3_14, new Allocation[]{ain1}, aout, sc); 19970 return new result_int(aout); 19971 } 19972 19973 private final static int mExportReduceIdx_my_rs_matrix3x3_15 = 575; 19974 // ain1 = "rs_matrix3x3 in" 19975 public result_int reduce_my_rs_matrix3x3_15(Allocation ain1) { 19976 return reduce_my_rs_matrix3x3_15(ain1, null); 19977 } 19978 19979 // ain1 = "rs_matrix3x3 in" 19980 public result_int reduce_my_rs_matrix3x3_15(Allocation ain1, Script.LaunchOptions sc) { 19981 // check ain1 19982 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19983 aout.setAutoPadding(true); 19984 reduce(mExportReduceIdx_my_rs_matrix3x3_15, new Allocation[]{ain1}, aout, sc); 19985 return new result_int(aout); 19986 } 19987 19988 private final static int mExportReduceIdx_my_rs_matrix4x4_0 = 576; 19989 // ain1 = "rs_matrix4x4 in" 19990 public result_int reduce_my_rs_matrix4x4_0(Allocation ain1) { 19991 return reduce_my_rs_matrix4x4_0(ain1, null); 19992 } 19993 19994 // ain1 = "rs_matrix4x4 in" 19995 public result_int reduce_my_rs_matrix4x4_0(Allocation ain1, Script.LaunchOptions sc) { 19996 // check ain1 19997 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19998 aout.setAutoPadding(true); 19999 reduce(mExportReduceIdx_my_rs_matrix4x4_0, new Allocation[]{ain1}, aout, sc); 20000 return new result_int(aout); 20001 } 20002 20003 private final static int mExportReduceIdx_my_rs_matrix4x4_1 = 577; 20004 // ain1 = "rs_matrix4x4 in" 20005 public result_int reduce_my_rs_matrix4x4_1(Allocation ain1) { 20006 return reduce_my_rs_matrix4x4_1(ain1, null); 20007 } 20008 20009 // ain1 = "rs_matrix4x4 in" 20010 public result_int reduce_my_rs_matrix4x4_1(Allocation ain1, Script.LaunchOptions sc) { 20011 // check ain1 20012 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20013 aout.setAutoPadding(true); 20014 reduce(mExportReduceIdx_my_rs_matrix4x4_1, new Allocation[]{ain1}, aout, sc); 20015 return new result_int(aout); 20016 } 20017 20018 private final static int mExportReduceIdx_my_rs_matrix4x4_2 = 578; 20019 // ain1 = "rs_matrix4x4 in" 20020 public result_int reduce_my_rs_matrix4x4_2(Allocation ain1) { 20021 return reduce_my_rs_matrix4x4_2(ain1, null); 20022 } 20023 20024 // ain1 = "rs_matrix4x4 in" 20025 public result_int reduce_my_rs_matrix4x4_2(Allocation ain1, Script.LaunchOptions sc) { 20026 // check ain1 20027 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20028 aout.setAutoPadding(true); 20029 reduce(mExportReduceIdx_my_rs_matrix4x4_2, new Allocation[]{ain1}, aout, sc); 20030 return new result_int(aout); 20031 } 20032 20033 private final static int mExportReduceIdx_my_rs_matrix4x4_3 = 579; 20034 // ain1 = "rs_matrix4x4 in" 20035 public result_int reduce_my_rs_matrix4x4_3(Allocation ain1) { 20036 return reduce_my_rs_matrix4x4_3(ain1, null); 20037 } 20038 20039 // ain1 = "rs_matrix4x4 in" 20040 public result_int reduce_my_rs_matrix4x4_3(Allocation ain1, Script.LaunchOptions sc) { 20041 // check ain1 20042 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20043 aout.setAutoPadding(true); 20044 reduce(mExportReduceIdx_my_rs_matrix4x4_3, new Allocation[]{ain1}, aout, sc); 20045 return new result_int(aout); 20046 } 20047 20048 private final static int mExportReduceIdx_my_rs_matrix4x4_4 = 580; 20049 // ain1 = "rs_matrix4x4 in" 20050 public result_int reduce_my_rs_matrix4x4_4(Allocation ain1) { 20051 return reduce_my_rs_matrix4x4_4(ain1, null); 20052 } 20053 20054 // ain1 = "rs_matrix4x4 in" 20055 public result_int reduce_my_rs_matrix4x4_4(Allocation ain1, Script.LaunchOptions sc) { 20056 // check ain1 20057 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20058 aout.setAutoPadding(true); 20059 reduce(mExportReduceIdx_my_rs_matrix4x4_4, new Allocation[]{ain1}, aout, sc); 20060 return new result_int(aout); 20061 } 20062 20063 private final static int mExportReduceIdx_my_rs_matrix4x4_5 = 581; 20064 // ain1 = "rs_matrix4x4 in" 20065 public result_int reduce_my_rs_matrix4x4_5(Allocation ain1) { 20066 return reduce_my_rs_matrix4x4_5(ain1, null); 20067 } 20068 20069 // ain1 = "rs_matrix4x4 in" 20070 public result_int reduce_my_rs_matrix4x4_5(Allocation ain1, Script.LaunchOptions sc) { 20071 // check ain1 20072 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20073 aout.setAutoPadding(true); 20074 reduce(mExportReduceIdx_my_rs_matrix4x4_5, new Allocation[]{ain1}, aout, sc); 20075 return new result_int(aout); 20076 } 20077 20078 private final static int mExportReduceIdx_my_rs_matrix4x4_6 = 582; 20079 // ain1 = "rs_matrix4x4 in" 20080 public result_int reduce_my_rs_matrix4x4_6(Allocation ain1) { 20081 return reduce_my_rs_matrix4x4_6(ain1, null); 20082 } 20083 20084 // ain1 = "rs_matrix4x4 in" 20085 public result_int reduce_my_rs_matrix4x4_6(Allocation ain1, Script.LaunchOptions sc) { 20086 // check ain1 20087 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20088 aout.setAutoPadding(true); 20089 reduce(mExportReduceIdx_my_rs_matrix4x4_6, new Allocation[]{ain1}, aout, sc); 20090 return new result_int(aout); 20091 } 20092 20093 private final static int mExportReduceIdx_my_rs_matrix4x4_7 = 583; 20094 // ain1 = "rs_matrix4x4 in" 20095 public result_int reduce_my_rs_matrix4x4_7(Allocation ain1) { 20096 return reduce_my_rs_matrix4x4_7(ain1, null); 20097 } 20098 20099 // ain1 = "rs_matrix4x4 in" 20100 public result_int reduce_my_rs_matrix4x4_7(Allocation ain1, Script.LaunchOptions sc) { 20101 // check ain1 20102 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20103 aout.setAutoPadding(true); 20104 reduce(mExportReduceIdx_my_rs_matrix4x4_7, new Allocation[]{ain1}, aout, sc); 20105 return new result_int(aout); 20106 } 20107 20108 private final static int mExportReduceIdx_my_rs_matrix4x4_8 = 584; 20109 // ain1 = "rs_matrix4x4 in" 20110 public result_int reduce_my_rs_matrix4x4_8(Allocation ain1) { 20111 return reduce_my_rs_matrix4x4_8(ain1, null); 20112 } 20113 20114 // ain1 = "rs_matrix4x4 in" 20115 public result_int reduce_my_rs_matrix4x4_8(Allocation ain1, Script.LaunchOptions sc) { 20116 // check ain1 20117 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20118 aout.setAutoPadding(true); 20119 reduce(mExportReduceIdx_my_rs_matrix4x4_8, new Allocation[]{ain1}, aout, sc); 20120 return new result_int(aout); 20121 } 20122 20123 private final static int mExportReduceIdx_my_rs_matrix4x4_9 = 585; 20124 // ain1 = "rs_matrix4x4 in" 20125 public result_int reduce_my_rs_matrix4x4_9(Allocation ain1) { 20126 return reduce_my_rs_matrix4x4_9(ain1, null); 20127 } 20128 20129 // ain1 = "rs_matrix4x4 in" 20130 public result_int reduce_my_rs_matrix4x4_9(Allocation ain1, Script.LaunchOptions sc) { 20131 // check ain1 20132 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20133 aout.setAutoPadding(true); 20134 reduce(mExportReduceIdx_my_rs_matrix4x4_9, new Allocation[]{ain1}, aout, sc); 20135 return new result_int(aout); 20136 } 20137 20138 private final static int mExportReduceIdx_my_rs_matrix4x4_10 = 586; 20139 // ain1 = "rs_matrix4x4 in" 20140 public result_int reduce_my_rs_matrix4x4_10(Allocation ain1) { 20141 return reduce_my_rs_matrix4x4_10(ain1, null); 20142 } 20143 20144 // ain1 = "rs_matrix4x4 in" 20145 public result_int reduce_my_rs_matrix4x4_10(Allocation ain1, Script.LaunchOptions sc) { 20146 // check ain1 20147 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20148 aout.setAutoPadding(true); 20149 reduce(mExportReduceIdx_my_rs_matrix4x4_10, new Allocation[]{ain1}, aout, sc); 20150 return new result_int(aout); 20151 } 20152 20153 private final static int mExportReduceIdx_my_rs_matrix4x4_11 = 587; 20154 // ain1 = "rs_matrix4x4 in" 20155 public result_int reduce_my_rs_matrix4x4_11(Allocation ain1) { 20156 return reduce_my_rs_matrix4x4_11(ain1, null); 20157 } 20158 20159 // ain1 = "rs_matrix4x4 in" 20160 public result_int reduce_my_rs_matrix4x4_11(Allocation ain1, Script.LaunchOptions sc) { 20161 // check ain1 20162 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20163 aout.setAutoPadding(true); 20164 reduce(mExportReduceIdx_my_rs_matrix4x4_11, new Allocation[]{ain1}, aout, sc); 20165 return new result_int(aout); 20166 } 20167 20168 private final static int mExportReduceIdx_my_rs_matrix4x4_12 = 588; 20169 // ain1 = "rs_matrix4x4 in" 20170 public result_int reduce_my_rs_matrix4x4_12(Allocation ain1) { 20171 return reduce_my_rs_matrix4x4_12(ain1, null); 20172 } 20173 20174 // ain1 = "rs_matrix4x4 in" 20175 public result_int reduce_my_rs_matrix4x4_12(Allocation ain1, Script.LaunchOptions sc) { 20176 // check ain1 20177 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20178 aout.setAutoPadding(true); 20179 reduce(mExportReduceIdx_my_rs_matrix4x4_12, new Allocation[]{ain1}, aout, sc); 20180 return new result_int(aout); 20181 } 20182 20183 private final static int mExportReduceIdx_my_rs_matrix4x4_13 = 589; 20184 // ain1 = "rs_matrix4x4 in" 20185 public result_int reduce_my_rs_matrix4x4_13(Allocation ain1) { 20186 return reduce_my_rs_matrix4x4_13(ain1, null); 20187 } 20188 20189 // ain1 = "rs_matrix4x4 in" 20190 public result_int reduce_my_rs_matrix4x4_13(Allocation ain1, Script.LaunchOptions sc) { 20191 // check ain1 20192 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20193 aout.setAutoPadding(true); 20194 reduce(mExportReduceIdx_my_rs_matrix4x4_13, new Allocation[]{ain1}, aout, sc); 20195 return new result_int(aout); 20196 } 20197 20198 private final static int mExportReduceIdx_my_rs_matrix4x4_14 = 590; 20199 // ain1 = "rs_matrix4x4 in" 20200 public result_int reduce_my_rs_matrix4x4_14(Allocation ain1) { 20201 return reduce_my_rs_matrix4x4_14(ain1, null); 20202 } 20203 20204 // ain1 = "rs_matrix4x4 in" 20205 public result_int reduce_my_rs_matrix4x4_14(Allocation ain1, Script.LaunchOptions sc) { 20206 // check ain1 20207 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20208 aout.setAutoPadding(true); 20209 reduce(mExportReduceIdx_my_rs_matrix4x4_14, new Allocation[]{ain1}, aout, sc); 20210 return new result_int(aout); 20211 } 20212 20213 private final static int mExportReduceIdx_my_rs_matrix4x4_15 = 591; 20214 // ain1 = "rs_matrix4x4 in" 20215 public result_int reduce_my_rs_matrix4x4_15(Allocation ain1) { 20216 return reduce_my_rs_matrix4x4_15(ain1, null); 20217 } 20218 20219 // ain1 = "rs_matrix4x4 in" 20220 public result_int reduce_my_rs_matrix4x4_15(Allocation ain1, Script.LaunchOptions sc) { 20221 // check ain1 20222 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20223 aout.setAutoPadding(true); 20224 reduce(mExportReduceIdx_my_rs_matrix4x4_15, new Allocation[]{ain1}, aout, sc); 20225 return new result_int(aout); 20226 } 20227 20228 private final static int mExportReduceIdx_my_MyStruct_0 = 592; 20229 // ain1 = "/* struct <> */ in" 20230 public result_int reduce_my_MyStruct_0(Allocation ain1) { 20231 return reduce_my_MyStruct_0(ain1, null); 20232 } 20233 20234 // ain1 = "/* struct <> */ in" 20235 public result_int reduce_my_MyStruct_0(Allocation ain1, Script.LaunchOptions sc) { 20236 // check ain1 20237 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20238 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20239 } 20240 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20241 aout.setAutoPadding(true); 20242 reduce(mExportReduceIdx_my_MyStruct_0, new Allocation[]{ain1}, aout, sc); 20243 return new result_int(aout); 20244 } 20245 20246 private final static int mExportReduceIdx_my_MyStruct_1 = 593; 20247 // ain1 = "/* struct <> */ in" 20248 public result_int reduce_my_MyStruct_1(Allocation ain1) { 20249 return reduce_my_MyStruct_1(ain1, null); 20250 } 20251 20252 // ain1 = "/* struct <> */ in" 20253 public result_int reduce_my_MyStruct_1(Allocation ain1, Script.LaunchOptions sc) { 20254 // check ain1 20255 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20256 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20257 } 20258 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20259 aout.setAutoPadding(true); 20260 reduce(mExportReduceIdx_my_MyStruct_1, new Allocation[]{ain1}, aout, sc); 20261 return new result_int(aout); 20262 } 20263 20264 private final static int mExportReduceIdx_my_MyStruct_2 = 594; 20265 // ain1 = "/* struct <> */ in" 20266 public result_int reduce_my_MyStruct_2(Allocation ain1) { 20267 return reduce_my_MyStruct_2(ain1, null); 20268 } 20269 20270 // ain1 = "/* struct <> */ in" 20271 public result_int reduce_my_MyStruct_2(Allocation ain1, Script.LaunchOptions sc) { 20272 // check ain1 20273 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20274 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20275 } 20276 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20277 aout.setAutoPadding(true); 20278 reduce(mExportReduceIdx_my_MyStruct_2, new Allocation[]{ain1}, aout, sc); 20279 return new result_int(aout); 20280 } 20281 20282 private final static int mExportReduceIdx_my_MyStruct_3 = 595; 20283 // ain1 = "/* struct <> */ in" 20284 public result_int reduce_my_MyStruct_3(Allocation ain1) { 20285 return reduce_my_MyStruct_3(ain1, null); 20286 } 20287 20288 // ain1 = "/* struct <> */ in" 20289 public result_int reduce_my_MyStruct_3(Allocation ain1, Script.LaunchOptions sc) { 20290 // check ain1 20291 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20292 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20293 } 20294 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20295 aout.setAutoPadding(true); 20296 reduce(mExportReduceIdx_my_MyStruct_3, new Allocation[]{ain1}, aout, sc); 20297 return new result_int(aout); 20298 } 20299 20300 private final static int mExportReduceIdx_my_MyStruct_4 = 596; 20301 // ain1 = "/* struct <> */ in" 20302 public result_int reduce_my_MyStruct_4(Allocation ain1) { 20303 return reduce_my_MyStruct_4(ain1, null); 20304 } 20305 20306 // ain1 = "/* struct <> */ in" 20307 public result_int reduce_my_MyStruct_4(Allocation ain1, Script.LaunchOptions sc) { 20308 // check ain1 20309 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20310 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20311 } 20312 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20313 aout.setAutoPadding(true); 20314 reduce(mExportReduceIdx_my_MyStruct_4, new Allocation[]{ain1}, aout, sc); 20315 return new result_int(aout); 20316 } 20317 20318 private final static int mExportReduceIdx_my_MyStruct_5 = 597; 20319 // ain1 = "/* struct <> */ in" 20320 public result_int reduce_my_MyStruct_5(Allocation ain1) { 20321 return reduce_my_MyStruct_5(ain1, null); 20322 } 20323 20324 // ain1 = "/* struct <> */ in" 20325 public result_int reduce_my_MyStruct_5(Allocation ain1, Script.LaunchOptions sc) { 20326 // check ain1 20327 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20328 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20329 } 20330 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20331 aout.setAutoPadding(true); 20332 reduce(mExportReduceIdx_my_MyStruct_5, new Allocation[]{ain1}, aout, sc); 20333 return new result_int(aout); 20334 } 20335 20336 private final static int mExportReduceIdx_my_MyStruct_6 = 598; 20337 // ain1 = "/* struct <> */ in" 20338 public result_int reduce_my_MyStruct_6(Allocation ain1) { 20339 return reduce_my_MyStruct_6(ain1, null); 20340 } 20341 20342 // ain1 = "/* struct <> */ in" 20343 public result_int reduce_my_MyStruct_6(Allocation ain1, Script.LaunchOptions sc) { 20344 // check ain1 20345 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20346 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20347 } 20348 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20349 aout.setAutoPadding(true); 20350 reduce(mExportReduceIdx_my_MyStruct_6, new Allocation[]{ain1}, aout, sc); 20351 return new result_int(aout); 20352 } 20353 20354 private final static int mExportReduceIdx_my_MyStruct_7 = 599; 20355 // ain1 = "/* struct <> */ in" 20356 public result_int reduce_my_MyStruct_7(Allocation ain1) { 20357 return reduce_my_MyStruct_7(ain1, null); 20358 } 20359 20360 // ain1 = "/* struct <> */ in" 20361 public result_int reduce_my_MyStruct_7(Allocation ain1, Script.LaunchOptions sc) { 20362 // check ain1 20363 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20364 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20365 } 20366 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20367 aout.setAutoPadding(true); 20368 reduce(mExportReduceIdx_my_MyStruct_7, new Allocation[]{ain1}, aout, sc); 20369 return new result_int(aout); 20370 } 20371 20372 private final static int mExportReduceIdx_my_MyStruct_8 = 600; 20373 // ain1 = "/* struct <> */ in" 20374 public result_int reduce_my_MyStruct_8(Allocation ain1) { 20375 return reduce_my_MyStruct_8(ain1, null); 20376 } 20377 20378 // ain1 = "/* struct <> */ in" 20379 public result_int reduce_my_MyStruct_8(Allocation ain1, Script.LaunchOptions sc) { 20380 // check ain1 20381 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20382 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20383 } 20384 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20385 aout.setAutoPadding(true); 20386 reduce(mExportReduceIdx_my_MyStruct_8, new Allocation[]{ain1}, aout, sc); 20387 return new result_int(aout); 20388 } 20389 20390 private final static int mExportReduceIdx_my_MyStruct_9 = 601; 20391 // ain1 = "/* struct <> */ in" 20392 public result_int reduce_my_MyStruct_9(Allocation ain1) { 20393 return reduce_my_MyStruct_9(ain1, null); 20394 } 20395 20396 // ain1 = "/* struct <> */ in" 20397 public result_int reduce_my_MyStruct_9(Allocation ain1, Script.LaunchOptions sc) { 20398 // check ain1 20399 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20400 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20401 } 20402 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20403 aout.setAutoPadding(true); 20404 reduce(mExportReduceIdx_my_MyStruct_9, new Allocation[]{ain1}, aout, sc); 20405 return new result_int(aout); 20406 } 20407 20408 private final static int mExportReduceIdx_my_MyStruct_10 = 602; 20409 // ain1 = "/* struct <> */ in" 20410 public result_int reduce_my_MyStruct_10(Allocation ain1) { 20411 return reduce_my_MyStruct_10(ain1, null); 20412 } 20413 20414 // ain1 = "/* struct <> */ in" 20415 public result_int reduce_my_MyStruct_10(Allocation ain1, Script.LaunchOptions sc) { 20416 // check ain1 20417 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20418 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20419 } 20420 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20421 aout.setAutoPadding(true); 20422 reduce(mExportReduceIdx_my_MyStruct_10, new Allocation[]{ain1}, aout, sc); 20423 return new result_int(aout); 20424 } 20425 20426 private final static int mExportReduceIdx_my_MyStruct_11 = 603; 20427 // ain1 = "/* struct <> */ in" 20428 public result_int reduce_my_MyStruct_11(Allocation ain1) { 20429 return reduce_my_MyStruct_11(ain1, null); 20430 } 20431 20432 // ain1 = "/* struct <> */ in" 20433 public result_int reduce_my_MyStruct_11(Allocation ain1, Script.LaunchOptions sc) { 20434 // check ain1 20435 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20436 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20437 } 20438 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20439 aout.setAutoPadding(true); 20440 reduce(mExportReduceIdx_my_MyStruct_11, new Allocation[]{ain1}, aout, sc); 20441 return new result_int(aout); 20442 } 20443 20444 private final static int mExportReduceIdx_my_MyStruct_12 = 604; 20445 // ain1 = "/* struct <> */ in" 20446 public result_int reduce_my_MyStruct_12(Allocation ain1) { 20447 return reduce_my_MyStruct_12(ain1, null); 20448 } 20449 20450 // ain1 = "/* struct <> */ in" 20451 public result_int reduce_my_MyStruct_12(Allocation ain1, Script.LaunchOptions sc) { 20452 // check ain1 20453 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20454 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20455 } 20456 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20457 aout.setAutoPadding(true); 20458 reduce(mExportReduceIdx_my_MyStruct_12, new Allocation[]{ain1}, aout, sc); 20459 return new result_int(aout); 20460 } 20461 20462 private final static int mExportReduceIdx_my_MyStruct_13 = 605; 20463 // ain1 = "/* struct <> */ in" 20464 public result_int reduce_my_MyStruct_13(Allocation ain1) { 20465 return reduce_my_MyStruct_13(ain1, null); 20466 } 20467 20468 // ain1 = "/* struct <> */ in" 20469 public result_int reduce_my_MyStruct_13(Allocation ain1, Script.LaunchOptions sc) { 20470 // check ain1 20471 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20472 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20473 } 20474 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20475 aout.setAutoPadding(true); 20476 reduce(mExportReduceIdx_my_MyStruct_13, new Allocation[]{ain1}, aout, sc); 20477 return new result_int(aout); 20478 } 20479 20480 private final static int mExportReduceIdx_my_MyStruct_14 = 606; 20481 // ain1 = "/* struct <> */ in" 20482 public result_int reduce_my_MyStruct_14(Allocation ain1) { 20483 return reduce_my_MyStruct_14(ain1, null); 20484 } 20485 20486 // ain1 = "/* struct <> */ in" 20487 public result_int reduce_my_MyStruct_14(Allocation ain1, Script.LaunchOptions sc) { 20488 // check ain1 20489 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20490 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20491 } 20492 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20493 aout.setAutoPadding(true); 20494 reduce(mExportReduceIdx_my_MyStruct_14, new Allocation[]{ain1}, aout, sc); 20495 return new result_int(aout); 20496 } 20497 20498 private final static int mExportReduceIdx_my_MyStruct_15 = 607; 20499 // ain1 = "/* struct <> */ in" 20500 public result_int reduce_my_MyStruct_15(Allocation ain1) { 20501 return reduce_my_MyStruct_15(ain1, null); 20502 } 20503 20504 // ain1 = "/* struct <> */ in" 20505 public result_int reduce_my_MyStruct_15(Allocation ain1, Script.LaunchOptions sc) { 20506 // check ain1 20507 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20508 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20509 } 20510 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20511 aout.setAutoPadding(true); 20512 reduce(mExportReduceIdx_my_MyStruct_15, new Allocation[]{ain1}, aout, sc); 20513 return new result_int(aout); 20514 } 20515 20516 } 20517 20518