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.os.Build; 25 import android.os.Process; 26 import java.lang.reflect.Field; 27 import android.renderscript.*; 28 import input.reduce_general_inputBitCode; 29 30 /** 31 * @hide 32 */ 33 public class ScriptC_reduce_general_input extends ScriptC { 34 private static final String __rs_resource_name = "reduce_general_input"; 35 // Constructor 36 public ScriptC_reduce_general_input(RenderScript rs) { 37 super(rs, 38 __rs_resource_name, 39 reduce_general_inputBitCode.getBitCode32(), 40 reduce_general_inputBitCode.getBitCode64()); 41 mRSLocal = rs; 42 __I32 = Element.I32(rs); 43 __F16 = Element.F16(rs); 44 __F16_2 = Element.F16_2(rs); 45 __F16_4 = Element.F16_4(rs); 46 __F32 = Element.F32(rs); 47 __F32_2 = Element.F32_2(rs); 48 __F32_4 = Element.F32_4(rs); 49 __F64 = Element.F64(rs); 50 __F64_2 = Element.F64_2(rs); 51 __F64_4 = Element.F64_4(rs); 52 __I8 = Element.I8(rs); 53 __I8_2 = Element.I8_2(rs); 54 __I8_4 = Element.I8_4(rs); 55 __I16 = Element.I16(rs); 56 __I16_2 = Element.I16_2(rs); 57 __I16_4 = Element.I16_4(rs); 58 __I32_2 = Element.I32_2(rs); 59 __I32_4 = Element.I32_4(rs); 60 __I64 = Element.I64(rs); 61 __I64_2 = Element.I64_2(rs); 62 __I64_4 = Element.I64_4(rs); 63 __U8 = Element.U8(rs); 64 __U8_2 = Element.U8_2(rs); 65 __U8_4 = Element.U8_4(rs); 66 __U16 = Element.U16(rs); 67 __U16_2 = Element.U16_2(rs); 68 __U16_4 = Element.U16_4(rs); 69 __U32 = Element.U32(rs); 70 __U32_2 = Element.U32_2(rs); 71 __U32_4 = Element.U32_4(rs); 72 __U64 = Element.U64(rs); 73 __U64_2 = Element.U64_2(rs); 74 __U64_4 = Element.U64_4(rs); 75 __BOOLEAN = Element.BOOLEAN(rs); 76 __ScriptField_MyStruct = ScriptField_MyStruct.createElement(rs); 77 } 78 79 private Element __BOOLEAN; 80 private Element __F16; 81 private Element __F16_2; 82 private Element __F16_4; 83 private Element __F32; 84 private Element __F32_2; 85 private Element __F32_4; 86 private Element __F64; 87 private Element __F64_2; 88 private Element __F64_4; 89 private Element __I16; 90 private Element __I16_2; 91 private Element __I16_4; 92 private Element __I32; 93 private Element __I32_2; 94 private Element __I32_4; 95 private Element __I64; 96 private Element __I64_2; 97 private Element __I64_4; 98 private Element __I8; 99 private Element __I8_2; 100 private Element __I8_4; 101 private Element __ScriptField_MyStruct; 102 private Element __U16; 103 private Element __U16_2; 104 private Element __U16_4; 105 private Element __U32; 106 private Element __U32_2; 107 private Element __U32_4; 108 private Element __U64; 109 private Element __U64_2; 110 private Element __U64_4; 111 private Element __U8; 112 private Element __U8_2; 113 private Element __U8_4; 114 private RenderScript mRSLocal; 115 // To obtain the result, invoke get(), which blocks 116 // until the asynchronously-launched operation has completed. 117 public static class result_int { 118 public int get() { 119 if (!mGotResult) { 120 int[] outArray = new int[1]; 121 mOut.copyTo(outArray); 122 mResult = outArray[0]; 123 mOut.destroy(); 124 mOut = null; // make Java object eligible for garbage collection 125 if (mTempIns != null) { 126 for (Allocation tempIn : mTempIns) { 127 tempIn.destroy(); 128 } 129 130 mTempIns = null; // make Java objects eligible for garbage collection 131 } 132 133 mGotResult = true; 134 } 135 136 return mResult; 137 } 138 139 private result_int(Allocation out) { 140 mTempIns = null; 141 mOut = out; 142 mGotResult = false; 143 } 144 145 private Allocation[] mTempIns; 146 private Allocation mOut; 147 private boolean mGotResult; 148 private int mResult; 149 } 150 151 private final static int mExportReduceIdx_my_half_0 = 0; 152 // in1 = "in" 153 public result_int reduce_my_half_0(short[] in1) { 154 // Verify that "in1" is non-null. 155 if (in1 == null) { 156 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 157 } 158 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 159 ain1.setAutoPadding(true); 160 ain1.copyFrom(in1); 161 162 result_int result = reduce_my_half_0(ain1, null); 163 result.mTempIns = new Allocation[]{ain1}; 164 return result; 165 } 166 167 // ain1 = "half in" 168 public result_int reduce_my_half_0(Allocation ain1) { 169 return reduce_my_half_0(ain1, null); 170 } 171 172 // ain1 = "half in" 173 public result_int reduce_my_half_0(Allocation ain1, Script.LaunchOptions sc) { 174 // check ain1 175 if (!ain1.getType().getElement().isCompatible(__F16)) { 176 throw new RSRuntimeException("Type mismatch with F16!"); 177 } 178 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 179 aout.setAutoPadding(true); 180 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc); 181 return new result_int(aout); 182 } 183 184 private final static int mExportReduceIdx_my_half_1 = 1; 185 // in1 = "in" 186 public result_int reduce_my_half_1(short[] in1) { 187 // Verify that "in1" is non-null. 188 if (in1 == null) { 189 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 190 } 191 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 192 ain1.setAutoPadding(true); 193 ain1.copyFrom(in1); 194 195 result_int result = reduce_my_half_1(ain1, null); 196 result.mTempIns = new Allocation[]{ain1}; 197 return result; 198 } 199 200 // ain1 = "half in" 201 public result_int reduce_my_half_1(Allocation ain1) { 202 return reduce_my_half_1(ain1, null); 203 } 204 205 // ain1 = "half in" 206 public result_int reduce_my_half_1(Allocation ain1, Script.LaunchOptions sc) { 207 // check ain1 208 if (!ain1.getType().getElement().isCompatible(__F16)) { 209 throw new RSRuntimeException("Type mismatch with F16!"); 210 } 211 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 212 aout.setAutoPadding(true); 213 reduce(mExportReduceIdx_my_half_1, new Allocation[]{ain1}, aout, sc); 214 return new result_int(aout); 215 } 216 217 private final static int mExportReduceIdx_my_half_2 = 2; 218 // in1 = "in" 219 public result_int reduce_my_half_2(short[] in1) { 220 // Verify that "in1" is non-null. 221 if (in1 == null) { 222 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 223 } 224 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 225 ain1.setAutoPadding(true); 226 ain1.copyFrom(in1); 227 228 result_int result = reduce_my_half_2(ain1, null); 229 result.mTempIns = new Allocation[]{ain1}; 230 return result; 231 } 232 233 // ain1 = "half in" 234 public result_int reduce_my_half_2(Allocation ain1) { 235 return reduce_my_half_2(ain1, null); 236 } 237 238 // ain1 = "half in" 239 public result_int reduce_my_half_2(Allocation ain1, Script.LaunchOptions sc) { 240 // check ain1 241 if (!ain1.getType().getElement().isCompatible(__F16)) { 242 throw new RSRuntimeException("Type mismatch with F16!"); 243 } 244 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 245 aout.setAutoPadding(true); 246 reduce(mExportReduceIdx_my_half_2, new Allocation[]{ain1}, aout, sc); 247 return new result_int(aout); 248 } 249 250 private final static int mExportReduceIdx_my_half_3 = 3; 251 // in1 = "in" 252 public result_int reduce_my_half_3(short[] in1) { 253 // Verify that "in1" is non-null. 254 if (in1 == null) { 255 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 256 } 257 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 258 ain1.setAutoPadding(true); 259 ain1.copyFrom(in1); 260 261 result_int result = reduce_my_half_3(ain1, null); 262 result.mTempIns = new Allocation[]{ain1}; 263 return result; 264 } 265 266 // ain1 = "half in" 267 public result_int reduce_my_half_3(Allocation ain1) { 268 return reduce_my_half_3(ain1, null); 269 } 270 271 // ain1 = "half in" 272 public result_int reduce_my_half_3(Allocation ain1, Script.LaunchOptions sc) { 273 // check ain1 274 if (!ain1.getType().getElement().isCompatible(__F16)) { 275 throw new RSRuntimeException("Type mismatch with F16!"); 276 } 277 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 278 aout.setAutoPadding(true); 279 reduce(mExportReduceIdx_my_half_3, new Allocation[]{ain1}, aout, sc); 280 return new result_int(aout); 281 } 282 283 private final static int mExportReduceIdx_my_half_4 = 4; 284 // in1 = "in" 285 public result_int reduce_my_half_4(short[] in1) { 286 // Verify that "in1" is non-null. 287 if (in1 == null) { 288 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 289 } 290 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 291 ain1.setAutoPadding(true); 292 ain1.copyFrom(in1); 293 294 result_int result = reduce_my_half_4(ain1, null); 295 result.mTempIns = new Allocation[]{ain1}; 296 return result; 297 } 298 299 // ain1 = "half in" 300 public result_int reduce_my_half_4(Allocation ain1) { 301 return reduce_my_half_4(ain1, null); 302 } 303 304 // ain1 = "half in" 305 public result_int reduce_my_half_4(Allocation ain1, Script.LaunchOptions sc) { 306 // check ain1 307 if (!ain1.getType().getElement().isCompatible(__F16)) { 308 throw new RSRuntimeException("Type mismatch with F16!"); 309 } 310 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 311 aout.setAutoPadding(true); 312 reduce(mExportReduceIdx_my_half_4, new Allocation[]{ain1}, aout, sc); 313 return new result_int(aout); 314 } 315 316 private final static int mExportReduceIdx_my_half_5 = 5; 317 // in1 = "in" 318 public result_int reduce_my_half_5(short[] in1) { 319 // Verify that "in1" is non-null. 320 if (in1 == null) { 321 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 322 } 323 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 324 ain1.setAutoPadding(true); 325 ain1.copyFrom(in1); 326 327 result_int result = reduce_my_half_5(ain1, null); 328 result.mTempIns = new Allocation[]{ain1}; 329 return result; 330 } 331 332 // ain1 = "half in" 333 public result_int reduce_my_half_5(Allocation ain1) { 334 return reduce_my_half_5(ain1, null); 335 } 336 337 // ain1 = "half in" 338 public result_int reduce_my_half_5(Allocation ain1, Script.LaunchOptions sc) { 339 // check ain1 340 if (!ain1.getType().getElement().isCompatible(__F16)) { 341 throw new RSRuntimeException("Type mismatch with F16!"); 342 } 343 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 344 aout.setAutoPadding(true); 345 reduce(mExportReduceIdx_my_half_5, new Allocation[]{ain1}, aout, sc); 346 return new result_int(aout); 347 } 348 349 private final static int mExportReduceIdx_my_half_6 = 6; 350 // in1 = "in" 351 public result_int reduce_my_half_6(short[] in1) { 352 // Verify that "in1" is non-null. 353 if (in1 == null) { 354 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 355 } 356 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 357 ain1.setAutoPadding(true); 358 ain1.copyFrom(in1); 359 360 result_int result = reduce_my_half_6(ain1, null); 361 result.mTempIns = new Allocation[]{ain1}; 362 return result; 363 } 364 365 // ain1 = "half in" 366 public result_int reduce_my_half_6(Allocation ain1) { 367 return reduce_my_half_6(ain1, null); 368 } 369 370 // ain1 = "half in" 371 public result_int reduce_my_half_6(Allocation ain1, Script.LaunchOptions sc) { 372 // check ain1 373 if (!ain1.getType().getElement().isCompatible(__F16)) { 374 throw new RSRuntimeException("Type mismatch with F16!"); 375 } 376 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 377 aout.setAutoPadding(true); 378 reduce(mExportReduceIdx_my_half_6, new Allocation[]{ain1}, aout, sc); 379 return new result_int(aout); 380 } 381 382 private final static int mExportReduceIdx_my_half_7 = 7; 383 // in1 = "in" 384 public result_int reduce_my_half_7(short[] in1) { 385 // Verify that "in1" is non-null. 386 if (in1 == null) { 387 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 388 } 389 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 390 ain1.setAutoPadding(true); 391 ain1.copyFrom(in1); 392 393 result_int result = reduce_my_half_7(ain1, null); 394 result.mTempIns = new Allocation[]{ain1}; 395 return result; 396 } 397 398 // ain1 = "half in" 399 public result_int reduce_my_half_7(Allocation ain1) { 400 return reduce_my_half_7(ain1, null); 401 } 402 403 // ain1 = "half in" 404 public result_int reduce_my_half_7(Allocation ain1, Script.LaunchOptions sc) { 405 // check ain1 406 if (!ain1.getType().getElement().isCompatible(__F16)) { 407 throw new RSRuntimeException("Type mismatch with F16!"); 408 } 409 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 410 aout.setAutoPadding(true); 411 reduce(mExportReduceIdx_my_half_7, new Allocation[]{ain1}, aout, sc); 412 return new result_int(aout); 413 } 414 415 private final static int mExportReduceIdx_my_half_8 = 8; 416 // in1 = "in" 417 public result_int reduce_my_half_8(short[] in1) { 418 // Verify that "in1" is non-null. 419 if (in1 == null) { 420 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 421 } 422 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 423 ain1.setAutoPadding(true); 424 ain1.copyFrom(in1); 425 426 result_int result = reduce_my_half_8(ain1, null); 427 result.mTempIns = new Allocation[]{ain1}; 428 return result; 429 } 430 431 // ain1 = "half in" 432 public result_int reduce_my_half_8(Allocation ain1) { 433 return reduce_my_half_8(ain1, null); 434 } 435 436 // ain1 = "half in" 437 public result_int reduce_my_half_8(Allocation ain1, Script.LaunchOptions sc) { 438 // check ain1 439 if (!ain1.getType().getElement().isCompatible(__F16)) { 440 throw new RSRuntimeException("Type mismatch with F16!"); 441 } 442 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 443 aout.setAutoPadding(true); 444 reduce(mExportReduceIdx_my_half_8, new Allocation[]{ain1}, aout, sc); 445 return new result_int(aout); 446 } 447 448 private final static int mExportReduceIdx_my_half_9 = 9; 449 // in1 = "in" 450 public result_int reduce_my_half_9(short[] in1) { 451 // Verify that "in1" is non-null. 452 if (in1 == null) { 453 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 454 } 455 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 456 ain1.setAutoPadding(true); 457 ain1.copyFrom(in1); 458 459 result_int result = reduce_my_half_9(ain1, null); 460 result.mTempIns = new Allocation[]{ain1}; 461 return result; 462 } 463 464 // ain1 = "half in" 465 public result_int reduce_my_half_9(Allocation ain1) { 466 return reduce_my_half_9(ain1, null); 467 } 468 469 // ain1 = "half in" 470 public result_int reduce_my_half_9(Allocation ain1, Script.LaunchOptions sc) { 471 // check ain1 472 if (!ain1.getType().getElement().isCompatible(__F16)) { 473 throw new RSRuntimeException("Type mismatch with F16!"); 474 } 475 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 476 aout.setAutoPadding(true); 477 reduce(mExportReduceIdx_my_half_9, new Allocation[]{ain1}, aout, sc); 478 return new result_int(aout); 479 } 480 481 private final static int mExportReduceIdx_my_half_10 = 10; 482 // in1 = "in" 483 public result_int reduce_my_half_10(short[] in1) { 484 // Verify that "in1" is non-null. 485 if (in1 == null) { 486 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 487 } 488 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 489 ain1.setAutoPadding(true); 490 ain1.copyFrom(in1); 491 492 result_int result = reduce_my_half_10(ain1, null); 493 result.mTempIns = new Allocation[]{ain1}; 494 return result; 495 } 496 497 // ain1 = "half in" 498 public result_int reduce_my_half_10(Allocation ain1) { 499 return reduce_my_half_10(ain1, null); 500 } 501 502 // ain1 = "half in" 503 public result_int reduce_my_half_10(Allocation ain1, Script.LaunchOptions sc) { 504 // check ain1 505 if (!ain1.getType().getElement().isCompatible(__F16)) { 506 throw new RSRuntimeException("Type mismatch with F16!"); 507 } 508 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 509 aout.setAutoPadding(true); 510 reduce(mExportReduceIdx_my_half_10, new Allocation[]{ain1}, aout, sc); 511 return new result_int(aout); 512 } 513 514 private final static int mExportReduceIdx_my_half_11 = 11; 515 // in1 = "in" 516 public result_int reduce_my_half_11(short[] in1) { 517 // Verify that "in1" is non-null. 518 if (in1 == null) { 519 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 520 } 521 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 522 ain1.setAutoPadding(true); 523 ain1.copyFrom(in1); 524 525 result_int result = reduce_my_half_11(ain1, null); 526 result.mTempIns = new Allocation[]{ain1}; 527 return result; 528 } 529 530 // ain1 = "half in" 531 public result_int reduce_my_half_11(Allocation ain1) { 532 return reduce_my_half_11(ain1, null); 533 } 534 535 // ain1 = "half in" 536 public result_int reduce_my_half_11(Allocation ain1, Script.LaunchOptions sc) { 537 // check ain1 538 if (!ain1.getType().getElement().isCompatible(__F16)) { 539 throw new RSRuntimeException("Type mismatch with F16!"); 540 } 541 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 542 aout.setAutoPadding(true); 543 reduce(mExportReduceIdx_my_half_11, new Allocation[]{ain1}, aout, sc); 544 return new result_int(aout); 545 } 546 547 private final static int mExportReduceIdx_my_half_12 = 12; 548 // in1 = "in" 549 public result_int reduce_my_half_12(short[] in1) { 550 // Verify that "in1" is non-null. 551 if (in1 == null) { 552 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 553 } 554 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 555 ain1.setAutoPadding(true); 556 ain1.copyFrom(in1); 557 558 result_int result = reduce_my_half_12(ain1, null); 559 result.mTempIns = new Allocation[]{ain1}; 560 return result; 561 } 562 563 // ain1 = "half in" 564 public result_int reduce_my_half_12(Allocation ain1) { 565 return reduce_my_half_12(ain1, null); 566 } 567 568 // ain1 = "half in" 569 public result_int reduce_my_half_12(Allocation ain1, Script.LaunchOptions sc) { 570 // check ain1 571 if (!ain1.getType().getElement().isCompatible(__F16)) { 572 throw new RSRuntimeException("Type mismatch with F16!"); 573 } 574 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 575 aout.setAutoPadding(true); 576 reduce(mExportReduceIdx_my_half_12, new Allocation[]{ain1}, aout, sc); 577 return new result_int(aout); 578 } 579 580 private final static int mExportReduceIdx_my_half_13 = 13; 581 // in1 = "in" 582 public result_int reduce_my_half_13(short[] in1) { 583 // Verify that "in1" is non-null. 584 if (in1 == null) { 585 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 586 } 587 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 588 ain1.setAutoPadding(true); 589 ain1.copyFrom(in1); 590 591 result_int result = reduce_my_half_13(ain1, null); 592 result.mTempIns = new Allocation[]{ain1}; 593 return result; 594 } 595 596 // ain1 = "half in" 597 public result_int reduce_my_half_13(Allocation ain1) { 598 return reduce_my_half_13(ain1, null); 599 } 600 601 // ain1 = "half in" 602 public result_int reduce_my_half_13(Allocation ain1, Script.LaunchOptions sc) { 603 // check ain1 604 if (!ain1.getType().getElement().isCompatible(__F16)) { 605 throw new RSRuntimeException("Type mismatch with F16!"); 606 } 607 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 608 aout.setAutoPadding(true); 609 reduce(mExportReduceIdx_my_half_13, new Allocation[]{ain1}, aout, sc); 610 return new result_int(aout); 611 } 612 613 private final static int mExportReduceIdx_my_half_14 = 14; 614 // in1 = "in" 615 public result_int reduce_my_half_14(short[] in1) { 616 // Verify that "in1" is non-null. 617 if (in1 == null) { 618 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 619 } 620 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 621 ain1.setAutoPadding(true); 622 ain1.copyFrom(in1); 623 624 result_int result = reduce_my_half_14(ain1, null); 625 result.mTempIns = new Allocation[]{ain1}; 626 return result; 627 } 628 629 // ain1 = "half in" 630 public result_int reduce_my_half_14(Allocation ain1) { 631 return reduce_my_half_14(ain1, null); 632 } 633 634 // ain1 = "half in" 635 public result_int reduce_my_half_14(Allocation ain1, Script.LaunchOptions sc) { 636 // check ain1 637 if (!ain1.getType().getElement().isCompatible(__F16)) { 638 throw new RSRuntimeException("Type mismatch with F16!"); 639 } 640 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 641 aout.setAutoPadding(true); 642 reduce(mExportReduceIdx_my_half_14, new Allocation[]{ain1}, aout, sc); 643 return new result_int(aout); 644 } 645 646 private final static int mExportReduceIdx_my_half_15 = 15; 647 // in1 = "in" 648 public result_int reduce_my_half_15(short[] in1) { 649 // Verify that "in1" is non-null. 650 if (in1 == null) { 651 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 652 } 653 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length); 654 ain1.setAutoPadding(true); 655 ain1.copyFrom(in1); 656 657 result_int result = reduce_my_half_15(ain1, null); 658 result.mTempIns = new Allocation[]{ain1}; 659 return result; 660 } 661 662 // ain1 = "half in" 663 public result_int reduce_my_half_15(Allocation ain1) { 664 return reduce_my_half_15(ain1, null); 665 } 666 667 // ain1 = "half in" 668 public result_int reduce_my_half_15(Allocation ain1, Script.LaunchOptions sc) { 669 // check ain1 670 if (!ain1.getType().getElement().isCompatible(__F16)) { 671 throw new RSRuntimeException("Type mismatch with F16!"); 672 } 673 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 674 aout.setAutoPadding(true); 675 reduce(mExportReduceIdx_my_half_15, new Allocation[]{ain1}, aout, sc); 676 return new result_int(aout); 677 } 678 679 private final static int mExportReduceIdx_my_half2_0 = 16; 680 // in1 = "in", flattened 2-vectors 681 public result_int reduce_my_half2_0(short[] in1) { 682 // Verify that "in1" is non-null. 683 if (in1 == null) { 684 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 685 } 686 // Verify that the array length is a multiple of the vector size. 687 if (in1.length % 2 != 0) { 688 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 689 } 690 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 691 ain1.setAutoPadding(true); 692 ain1.copyFrom(in1); 693 694 result_int result = reduce_my_half2_0(ain1, null); 695 result.mTempIns = new Allocation[]{ain1}; 696 return result; 697 } 698 699 // ain1 = "half2 in" 700 public result_int reduce_my_half2_0(Allocation ain1) { 701 return reduce_my_half2_0(ain1, null); 702 } 703 704 // ain1 = "half2 in" 705 public result_int reduce_my_half2_0(Allocation ain1, Script.LaunchOptions sc) { 706 // check ain1 707 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 708 throw new RSRuntimeException("Type mismatch with F16_2!"); 709 } 710 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 711 aout.setAutoPadding(true); 712 reduce(mExportReduceIdx_my_half2_0, new Allocation[]{ain1}, aout, sc); 713 return new result_int(aout); 714 } 715 716 private final static int mExportReduceIdx_my_half2_1 = 17; 717 // in1 = "in", flattened 2-vectors 718 public result_int reduce_my_half2_1(short[] in1) { 719 // Verify that "in1" is non-null. 720 if (in1 == null) { 721 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 722 } 723 // Verify that the array length is a multiple of the vector size. 724 if (in1.length % 2 != 0) { 725 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 726 } 727 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 728 ain1.setAutoPadding(true); 729 ain1.copyFrom(in1); 730 731 result_int result = reduce_my_half2_1(ain1, null); 732 result.mTempIns = new Allocation[]{ain1}; 733 return result; 734 } 735 736 // ain1 = "half2 in" 737 public result_int reduce_my_half2_1(Allocation ain1) { 738 return reduce_my_half2_1(ain1, null); 739 } 740 741 // ain1 = "half2 in" 742 public result_int reduce_my_half2_1(Allocation ain1, Script.LaunchOptions sc) { 743 // check ain1 744 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 745 throw new RSRuntimeException("Type mismatch with F16_2!"); 746 } 747 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 748 aout.setAutoPadding(true); 749 reduce(mExportReduceIdx_my_half2_1, new Allocation[]{ain1}, aout, sc); 750 return new result_int(aout); 751 } 752 753 private final static int mExportReduceIdx_my_half2_2 = 18; 754 // in1 = "in", flattened 2-vectors 755 public result_int reduce_my_half2_2(short[] in1) { 756 // Verify that "in1" is non-null. 757 if (in1 == null) { 758 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 759 } 760 // Verify that the array length is a multiple of the vector size. 761 if (in1.length % 2 != 0) { 762 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 763 } 764 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 765 ain1.setAutoPadding(true); 766 ain1.copyFrom(in1); 767 768 result_int result = reduce_my_half2_2(ain1, null); 769 result.mTempIns = new Allocation[]{ain1}; 770 return result; 771 } 772 773 // ain1 = "half2 in" 774 public result_int reduce_my_half2_2(Allocation ain1) { 775 return reduce_my_half2_2(ain1, null); 776 } 777 778 // ain1 = "half2 in" 779 public result_int reduce_my_half2_2(Allocation ain1, Script.LaunchOptions sc) { 780 // check ain1 781 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 782 throw new RSRuntimeException("Type mismatch with F16_2!"); 783 } 784 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 785 aout.setAutoPadding(true); 786 reduce(mExportReduceIdx_my_half2_2, new Allocation[]{ain1}, aout, sc); 787 return new result_int(aout); 788 } 789 790 private final static int mExportReduceIdx_my_half2_3 = 19; 791 // in1 = "in", flattened 2-vectors 792 public result_int reduce_my_half2_3(short[] in1) { 793 // Verify that "in1" is non-null. 794 if (in1 == null) { 795 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 796 } 797 // Verify that the array length is a multiple of the vector size. 798 if (in1.length % 2 != 0) { 799 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 800 } 801 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 802 ain1.setAutoPadding(true); 803 ain1.copyFrom(in1); 804 805 result_int result = reduce_my_half2_3(ain1, null); 806 result.mTempIns = new Allocation[]{ain1}; 807 return result; 808 } 809 810 // ain1 = "half2 in" 811 public result_int reduce_my_half2_3(Allocation ain1) { 812 return reduce_my_half2_3(ain1, null); 813 } 814 815 // ain1 = "half2 in" 816 public result_int reduce_my_half2_3(Allocation ain1, Script.LaunchOptions sc) { 817 // check ain1 818 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 819 throw new RSRuntimeException("Type mismatch with F16_2!"); 820 } 821 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 822 aout.setAutoPadding(true); 823 reduce(mExportReduceIdx_my_half2_3, new Allocation[]{ain1}, aout, sc); 824 return new result_int(aout); 825 } 826 827 private final static int mExportReduceIdx_my_half2_4 = 20; 828 // in1 = "in", flattened 2-vectors 829 public result_int reduce_my_half2_4(short[] in1) { 830 // Verify that "in1" is non-null. 831 if (in1 == null) { 832 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 833 } 834 // Verify that the array length is a multiple of the vector size. 835 if (in1.length % 2 != 0) { 836 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 837 } 838 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 839 ain1.setAutoPadding(true); 840 ain1.copyFrom(in1); 841 842 result_int result = reduce_my_half2_4(ain1, null); 843 result.mTempIns = new Allocation[]{ain1}; 844 return result; 845 } 846 847 // ain1 = "half2 in" 848 public result_int reduce_my_half2_4(Allocation ain1) { 849 return reduce_my_half2_4(ain1, null); 850 } 851 852 // ain1 = "half2 in" 853 public result_int reduce_my_half2_4(Allocation ain1, Script.LaunchOptions sc) { 854 // check ain1 855 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 856 throw new RSRuntimeException("Type mismatch with F16_2!"); 857 } 858 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 859 aout.setAutoPadding(true); 860 reduce(mExportReduceIdx_my_half2_4, new Allocation[]{ain1}, aout, sc); 861 return new result_int(aout); 862 } 863 864 private final static int mExportReduceIdx_my_half2_5 = 21; 865 // in1 = "in", flattened 2-vectors 866 public result_int reduce_my_half2_5(short[] in1) { 867 // Verify that "in1" is non-null. 868 if (in1 == null) { 869 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 870 } 871 // Verify that the array length is a multiple of the vector size. 872 if (in1.length % 2 != 0) { 873 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 874 } 875 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 876 ain1.setAutoPadding(true); 877 ain1.copyFrom(in1); 878 879 result_int result = reduce_my_half2_5(ain1, null); 880 result.mTempIns = new Allocation[]{ain1}; 881 return result; 882 } 883 884 // ain1 = "half2 in" 885 public result_int reduce_my_half2_5(Allocation ain1) { 886 return reduce_my_half2_5(ain1, null); 887 } 888 889 // ain1 = "half2 in" 890 public result_int reduce_my_half2_5(Allocation ain1, Script.LaunchOptions sc) { 891 // check ain1 892 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 893 throw new RSRuntimeException("Type mismatch with F16_2!"); 894 } 895 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 896 aout.setAutoPadding(true); 897 reduce(mExportReduceIdx_my_half2_5, new Allocation[]{ain1}, aout, sc); 898 return new result_int(aout); 899 } 900 901 private final static int mExportReduceIdx_my_half2_6 = 22; 902 // in1 = "in", flattened 2-vectors 903 public result_int reduce_my_half2_6(short[] in1) { 904 // Verify that "in1" is non-null. 905 if (in1 == null) { 906 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 907 } 908 // Verify that the array length is a multiple of the vector size. 909 if (in1.length % 2 != 0) { 910 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 911 } 912 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 913 ain1.setAutoPadding(true); 914 ain1.copyFrom(in1); 915 916 result_int result = reduce_my_half2_6(ain1, null); 917 result.mTempIns = new Allocation[]{ain1}; 918 return result; 919 } 920 921 // ain1 = "half2 in" 922 public result_int reduce_my_half2_6(Allocation ain1) { 923 return reduce_my_half2_6(ain1, null); 924 } 925 926 // ain1 = "half2 in" 927 public result_int reduce_my_half2_6(Allocation ain1, Script.LaunchOptions sc) { 928 // check ain1 929 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 930 throw new RSRuntimeException("Type mismatch with F16_2!"); 931 } 932 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 933 aout.setAutoPadding(true); 934 reduce(mExportReduceIdx_my_half2_6, new Allocation[]{ain1}, aout, sc); 935 return new result_int(aout); 936 } 937 938 private final static int mExportReduceIdx_my_half2_7 = 23; 939 // in1 = "in", flattened 2-vectors 940 public result_int reduce_my_half2_7(short[] in1) { 941 // Verify that "in1" is non-null. 942 if (in1 == null) { 943 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 944 } 945 // Verify that the array length is a multiple of the vector size. 946 if (in1.length % 2 != 0) { 947 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 948 } 949 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 950 ain1.setAutoPadding(true); 951 ain1.copyFrom(in1); 952 953 result_int result = reduce_my_half2_7(ain1, null); 954 result.mTempIns = new Allocation[]{ain1}; 955 return result; 956 } 957 958 // ain1 = "half2 in" 959 public result_int reduce_my_half2_7(Allocation ain1) { 960 return reduce_my_half2_7(ain1, null); 961 } 962 963 // ain1 = "half2 in" 964 public result_int reduce_my_half2_7(Allocation ain1, Script.LaunchOptions sc) { 965 // check ain1 966 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 967 throw new RSRuntimeException("Type mismatch with F16_2!"); 968 } 969 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 970 aout.setAutoPadding(true); 971 reduce(mExportReduceIdx_my_half2_7, new Allocation[]{ain1}, aout, sc); 972 return new result_int(aout); 973 } 974 975 private final static int mExportReduceIdx_my_half2_8 = 24; 976 // in1 = "in", flattened 2-vectors 977 public result_int reduce_my_half2_8(short[] in1) { 978 // Verify that "in1" is non-null. 979 if (in1 == null) { 980 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 981 } 982 // Verify that the array length is a multiple of the vector size. 983 if (in1.length % 2 != 0) { 984 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 985 } 986 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 987 ain1.setAutoPadding(true); 988 ain1.copyFrom(in1); 989 990 result_int result = reduce_my_half2_8(ain1, null); 991 result.mTempIns = new Allocation[]{ain1}; 992 return result; 993 } 994 995 // ain1 = "half2 in" 996 public result_int reduce_my_half2_8(Allocation ain1) { 997 return reduce_my_half2_8(ain1, null); 998 } 999 1000 // ain1 = "half2 in" 1001 public result_int reduce_my_half2_8(Allocation ain1, Script.LaunchOptions sc) { 1002 // check ain1 1003 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1004 throw new RSRuntimeException("Type mismatch with F16_2!"); 1005 } 1006 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1007 aout.setAutoPadding(true); 1008 reduce(mExportReduceIdx_my_half2_8, new Allocation[]{ain1}, aout, sc); 1009 return new result_int(aout); 1010 } 1011 1012 private final static int mExportReduceIdx_my_half2_9 = 25; 1013 // in1 = "in", flattened 2-vectors 1014 public result_int reduce_my_half2_9(short[] in1) { 1015 // Verify that "in1" is non-null. 1016 if (in1 == null) { 1017 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1018 } 1019 // Verify that the array length is a multiple of the vector size. 1020 if (in1.length % 2 != 0) { 1021 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1022 } 1023 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1024 ain1.setAutoPadding(true); 1025 ain1.copyFrom(in1); 1026 1027 result_int result = reduce_my_half2_9(ain1, null); 1028 result.mTempIns = new Allocation[]{ain1}; 1029 return result; 1030 } 1031 1032 // ain1 = "half2 in" 1033 public result_int reduce_my_half2_9(Allocation ain1) { 1034 return reduce_my_half2_9(ain1, null); 1035 } 1036 1037 // ain1 = "half2 in" 1038 public result_int reduce_my_half2_9(Allocation ain1, Script.LaunchOptions sc) { 1039 // check ain1 1040 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1041 throw new RSRuntimeException("Type mismatch with F16_2!"); 1042 } 1043 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1044 aout.setAutoPadding(true); 1045 reduce(mExportReduceIdx_my_half2_9, new Allocation[]{ain1}, aout, sc); 1046 return new result_int(aout); 1047 } 1048 1049 private final static int mExportReduceIdx_my_half2_10 = 26; 1050 // in1 = "in", flattened 2-vectors 1051 public result_int reduce_my_half2_10(short[] in1) { 1052 // Verify that "in1" is non-null. 1053 if (in1 == null) { 1054 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1055 } 1056 // Verify that the array length is a multiple of the vector size. 1057 if (in1.length % 2 != 0) { 1058 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1059 } 1060 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1061 ain1.setAutoPadding(true); 1062 ain1.copyFrom(in1); 1063 1064 result_int result = reduce_my_half2_10(ain1, null); 1065 result.mTempIns = new Allocation[]{ain1}; 1066 return result; 1067 } 1068 1069 // ain1 = "half2 in" 1070 public result_int reduce_my_half2_10(Allocation ain1) { 1071 return reduce_my_half2_10(ain1, null); 1072 } 1073 1074 // ain1 = "half2 in" 1075 public result_int reduce_my_half2_10(Allocation ain1, Script.LaunchOptions sc) { 1076 // check ain1 1077 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1078 throw new RSRuntimeException("Type mismatch with F16_2!"); 1079 } 1080 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1081 aout.setAutoPadding(true); 1082 reduce(mExportReduceIdx_my_half2_10, new Allocation[]{ain1}, aout, sc); 1083 return new result_int(aout); 1084 } 1085 1086 private final static int mExportReduceIdx_my_half2_11 = 27; 1087 // in1 = "in", flattened 2-vectors 1088 public result_int reduce_my_half2_11(short[] in1) { 1089 // Verify that "in1" is non-null. 1090 if (in1 == null) { 1091 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1092 } 1093 // Verify that the array length is a multiple of the vector size. 1094 if (in1.length % 2 != 0) { 1095 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1096 } 1097 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1098 ain1.setAutoPadding(true); 1099 ain1.copyFrom(in1); 1100 1101 result_int result = reduce_my_half2_11(ain1, null); 1102 result.mTempIns = new Allocation[]{ain1}; 1103 return result; 1104 } 1105 1106 // ain1 = "half2 in" 1107 public result_int reduce_my_half2_11(Allocation ain1) { 1108 return reduce_my_half2_11(ain1, null); 1109 } 1110 1111 // ain1 = "half2 in" 1112 public result_int reduce_my_half2_11(Allocation ain1, Script.LaunchOptions sc) { 1113 // check ain1 1114 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1115 throw new RSRuntimeException("Type mismatch with F16_2!"); 1116 } 1117 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1118 aout.setAutoPadding(true); 1119 reduce(mExportReduceIdx_my_half2_11, new Allocation[]{ain1}, aout, sc); 1120 return new result_int(aout); 1121 } 1122 1123 private final static int mExportReduceIdx_my_half2_12 = 28; 1124 // in1 = "in", flattened 2-vectors 1125 public result_int reduce_my_half2_12(short[] in1) { 1126 // Verify that "in1" is non-null. 1127 if (in1 == null) { 1128 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1129 } 1130 // Verify that the array length is a multiple of the vector size. 1131 if (in1.length % 2 != 0) { 1132 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1133 } 1134 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1135 ain1.setAutoPadding(true); 1136 ain1.copyFrom(in1); 1137 1138 result_int result = reduce_my_half2_12(ain1, null); 1139 result.mTempIns = new Allocation[]{ain1}; 1140 return result; 1141 } 1142 1143 // ain1 = "half2 in" 1144 public result_int reduce_my_half2_12(Allocation ain1) { 1145 return reduce_my_half2_12(ain1, null); 1146 } 1147 1148 // ain1 = "half2 in" 1149 public result_int reduce_my_half2_12(Allocation ain1, Script.LaunchOptions sc) { 1150 // check ain1 1151 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1152 throw new RSRuntimeException("Type mismatch with F16_2!"); 1153 } 1154 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1155 aout.setAutoPadding(true); 1156 reduce(mExportReduceIdx_my_half2_12, new Allocation[]{ain1}, aout, sc); 1157 return new result_int(aout); 1158 } 1159 1160 private final static int mExportReduceIdx_my_half2_13 = 29; 1161 // in1 = "in", flattened 2-vectors 1162 public result_int reduce_my_half2_13(short[] in1) { 1163 // Verify that "in1" is non-null. 1164 if (in1 == null) { 1165 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1166 } 1167 // Verify that the array length is a multiple of the vector size. 1168 if (in1.length % 2 != 0) { 1169 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1170 } 1171 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1172 ain1.setAutoPadding(true); 1173 ain1.copyFrom(in1); 1174 1175 result_int result = reduce_my_half2_13(ain1, null); 1176 result.mTempIns = new Allocation[]{ain1}; 1177 return result; 1178 } 1179 1180 // ain1 = "half2 in" 1181 public result_int reduce_my_half2_13(Allocation ain1) { 1182 return reduce_my_half2_13(ain1, null); 1183 } 1184 1185 // ain1 = "half2 in" 1186 public result_int reduce_my_half2_13(Allocation ain1, Script.LaunchOptions sc) { 1187 // check ain1 1188 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1189 throw new RSRuntimeException("Type mismatch with F16_2!"); 1190 } 1191 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1192 aout.setAutoPadding(true); 1193 reduce(mExportReduceIdx_my_half2_13, new Allocation[]{ain1}, aout, sc); 1194 return new result_int(aout); 1195 } 1196 1197 private final static int mExportReduceIdx_my_half2_14 = 30; 1198 // in1 = "in", flattened 2-vectors 1199 public result_int reduce_my_half2_14(short[] in1) { 1200 // Verify that "in1" is non-null. 1201 if (in1 == null) { 1202 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1203 } 1204 // Verify that the array length is a multiple of the vector size. 1205 if (in1.length % 2 != 0) { 1206 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1207 } 1208 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1209 ain1.setAutoPadding(true); 1210 ain1.copyFrom(in1); 1211 1212 result_int result = reduce_my_half2_14(ain1, null); 1213 result.mTempIns = new Allocation[]{ain1}; 1214 return result; 1215 } 1216 1217 // ain1 = "half2 in" 1218 public result_int reduce_my_half2_14(Allocation ain1) { 1219 return reduce_my_half2_14(ain1, null); 1220 } 1221 1222 // ain1 = "half2 in" 1223 public result_int reduce_my_half2_14(Allocation ain1, Script.LaunchOptions sc) { 1224 // check ain1 1225 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1226 throw new RSRuntimeException("Type mismatch with F16_2!"); 1227 } 1228 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1229 aout.setAutoPadding(true); 1230 reduce(mExportReduceIdx_my_half2_14, new Allocation[]{ain1}, aout, sc); 1231 return new result_int(aout); 1232 } 1233 1234 private final static int mExportReduceIdx_my_half2_15 = 31; 1235 // in1 = "in", flattened 2-vectors 1236 public result_int reduce_my_half2_15(short[] in1) { 1237 // Verify that "in1" is non-null. 1238 if (in1 == null) { 1239 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1240 } 1241 // Verify that the array length is a multiple of the vector size. 1242 if (in1.length % 2 != 0) { 1243 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 1244 } 1245 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2); 1246 ain1.setAutoPadding(true); 1247 ain1.copyFrom(in1); 1248 1249 result_int result = reduce_my_half2_15(ain1, null); 1250 result.mTempIns = new Allocation[]{ain1}; 1251 return result; 1252 } 1253 1254 // ain1 = "half2 in" 1255 public result_int reduce_my_half2_15(Allocation ain1) { 1256 return reduce_my_half2_15(ain1, null); 1257 } 1258 1259 // ain1 = "half2 in" 1260 public result_int reduce_my_half2_15(Allocation ain1, Script.LaunchOptions sc) { 1261 // check ain1 1262 if (!ain1.getType().getElement().isCompatible(__F16_2)) { 1263 throw new RSRuntimeException("Type mismatch with F16_2!"); 1264 } 1265 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1266 aout.setAutoPadding(true); 1267 reduce(mExportReduceIdx_my_half2_15, new Allocation[]{ain1}, aout, sc); 1268 return new result_int(aout); 1269 } 1270 1271 private final static int mExportReduceIdx_my_half4_0 = 32; 1272 // in1 = "in", flattened 4-vectors 1273 public result_int reduce_my_half4_0(short[] in1) { 1274 // Verify that "in1" is non-null. 1275 if (in1 == null) { 1276 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1277 } 1278 // Verify that the array length is a multiple of the vector size. 1279 if (in1.length % 4 != 0) { 1280 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1281 } 1282 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1283 ain1.setAutoPadding(true); 1284 ain1.copyFrom(in1); 1285 1286 result_int result = reduce_my_half4_0(ain1, null); 1287 result.mTempIns = new Allocation[]{ain1}; 1288 return result; 1289 } 1290 1291 // ain1 = "half4 in" 1292 public result_int reduce_my_half4_0(Allocation ain1) { 1293 return reduce_my_half4_0(ain1, null); 1294 } 1295 1296 // ain1 = "half4 in" 1297 public result_int reduce_my_half4_0(Allocation ain1, Script.LaunchOptions sc) { 1298 // check ain1 1299 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1300 throw new RSRuntimeException("Type mismatch with F16_4!"); 1301 } 1302 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1303 aout.setAutoPadding(true); 1304 reduce(mExportReduceIdx_my_half4_0, new Allocation[]{ain1}, aout, sc); 1305 return new result_int(aout); 1306 } 1307 1308 private final static int mExportReduceIdx_my_half4_1 = 33; 1309 // in1 = "in", flattened 4-vectors 1310 public result_int reduce_my_half4_1(short[] in1) { 1311 // Verify that "in1" is non-null. 1312 if (in1 == null) { 1313 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1314 } 1315 // Verify that the array length is a multiple of the vector size. 1316 if (in1.length % 4 != 0) { 1317 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1318 } 1319 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1320 ain1.setAutoPadding(true); 1321 ain1.copyFrom(in1); 1322 1323 result_int result = reduce_my_half4_1(ain1, null); 1324 result.mTempIns = new Allocation[]{ain1}; 1325 return result; 1326 } 1327 1328 // ain1 = "half4 in" 1329 public result_int reduce_my_half4_1(Allocation ain1) { 1330 return reduce_my_half4_1(ain1, null); 1331 } 1332 1333 // ain1 = "half4 in" 1334 public result_int reduce_my_half4_1(Allocation ain1, Script.LaunchOptions sc) { 1335 // check ain1 1336 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1337 throw new RSRuntimeException("Type mismatch with F16_4!"); 1338 } 1339 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1340 aout.setAutoPadding(true); 1341 reduce(mExportReduceIdx_my_half4_1, new Allocation[]{ain1}, aout, sc); 1342 return new result_int(aout); 1343 } 1344 1345 private final static int mExportReduceIdx_my_half4_2 = 34; 1346 // in1 = "in", flattened 4-vectors 1347 public result_int reduce_my_half4_2(short[] in1) { 1348 // Verify that "in1" is non-null. 1349 if (in1 == null) { 1350 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1351 } 1352 // Verify that the array length is a multiple of the vector size. 1353 if (in1.length % 4 != 0) { 1354 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1355 } 1356 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1357 ain1.setAutoPadding(true); 1358 ain1.copyFrom(in1); 1359 1360 result_int result = reduce_my_half4_2(ain1, null); 1361 result.mTempIns = new Allocation[]{ain1}; 1362 return result; 1363 } 1364 1365 // ain1 = "half4 in" 1366 public result_int reduce_my_half4_2(Allocation ain1) { 1367 return reduce_my_half4_2(ain1, null); 1368 } 1369 1370 // ain1 = "half4 in" 1371 public result_int reduce_my_half4_2(Allocation ain1, Script.LaunchOptions sc) { 1372 // check ain1 1373 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1374 throw new RSRuntimeException("Type mismatch with F16_4!"); 1375 } 1376 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1377 aout.setAutoPadding(true); 1378 reduce(mExportReduceIdx_my_half4_2, new Allocation[]{ain1}, aout, sc); 1379 return new result_int(aout); 1380 } 1381 1382 private final static int mExportReduceIdx_my_half4_3 = 35; 1383 // in1 = "in", flattened 4-vectors 1384 public result_int reduce_my_half4_3(short[] in1) { 1385 // Verify that "in1" is non-null. 1386 if (in1 == null) { 1387 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1388 } 1389 // Verify that the array length is a multiple of the vector size. 1390 if (in1.length % 4 != 0) { 1391 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1392 } 1393 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1394 ain1.setAutoPadding(true); 1395 ain1.copyFrom(in1); 1396 1397 result_int result = reduce_my_half4_3(ain1, null); 1398 result.mTempIns = new Allocation[]{ain1}; 1399 return result; 1400 } 1401 1402 // ain1 = "half4 in" 1403 public result_int reduce_my_half4_3(Allocation ain1) { 1404 return reduce_my_half4_3(ain1, null); 1405 } 1406 1407 // ain1 = "half4 in" 1408 public result_int reduce_my_half4_3(Allocation ain1, Script.LaunchOptions sc) { 1409 // check ain1 1410 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1411 throw new RSRuntimeException("Type mismatch with F16_4!"); 1412 } 1413 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1414 aout.setAutoPadding(true); 1415 reduce(mExportReduceIdx_my_half4_3, new Allocation[]{ain1}, aout, sc); 1416 return new result_int(aout); 1417 } 1418 1419 private final static int mExportReduceIdx_my_half4_4 = 36; 1420 // in1 = "in", flattened 4-vectors 1421 public result_int reduce_my_half4_4(short[] in1) { 1422 // Verify that "in1" is non-null. 1423 if (in1 == null) { 1424 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1425 } 1426 // Verify that the array length is a multiple of the vector size. 1427 if (in1.length % 4 != 0) { 1428 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1429 } 1430 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1431 ain1.setAutoPadding(true); 1432 ain1.copyFrom(in1); 1433 1434 result_int result = reduce_my_half4_4(ain1, null); 1435 result.mTempIns = new Allocation[]{ain1}; 1436 return result; 1437 } 1438 1439 // ain1 = "half4 in" 1440 public result_int reduce_my_half4_4(Allocation ain1) { 1441 return reduce_my_half4_4(ain1, null); 1442 } 1443 1444 // ain1 = "half4 in" 1445 public result_int reduce_my_half4_4(Allocation ain1, Script.LaunchOptions sc) { 1446 // check ain1 1447 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1448 throw new RSRuntimeException("Type mismatch with F16_4!"); 1449 } 1450 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1451 aout.setAutoPadding(true); 1452 reduce(mExportReduceIdx_my_half4_4, new Allocation[]{ain1}, aout, sc); 1453 return new result_int(aout); 1454 } 1455 1456 private final static int mExportReduceIdx_my_half4_5 = 37; 1457 // in1 = "in", flattened 4-vectors 1458 public result_int reduce_my_half4_5(short[] in1) { 1459 // Verify that "in1" is non-null. 1460 if (in1 == null) { 1461 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1462 } 1463 // Verify that the array length is a multiple of the vector size. 1464 if (in1.length % 4 != 0) { 1465 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1466 } 1467 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1468 ain1.setAutoPadding(true); 1469 ain1.copyFrom(in1); 1470 1471 result_int result = reduce_my_half4_5(ain1, null); 1472 result.mTempIns = new Allocation[]{ain1}; 1473 return result; 1474 } 1475 1476 // ain1 = "half4 in" 1477 public result_int reduce_my_half4_5(Allocation ain1) { 1478 return reduce_my_half4_5(ain1, null); 1479 } 1480 1481 // ain1 = "half4 in" 1482 public result_int reduce_my_half4_5(Allocation ain1, Script.LaunchOptions sc) { 1483 // check ain1 1484 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1485 throw new RSRuntimeException("Type mismatch with F16_4!"); 1486 } 1487 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1488 aout.setAutoPadding(true); 1489 reduce(mExportReduceIdx_my_half4_5, new Allocation[]{ain1}, aout, sc); 1490 return new result_int(aout); 1491 } 1492 1493 private final static int mExportReduceIdx_my_half4_6 = 38; 1494 // in1 = "in", flattened 4-vectors 1495 public result_int reduce_my_half4_6(short[] in1) { 1496 // Verify that "in1" is non-null. 1497 if (in1 == null) { 1498 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1499 } 1500 // Verify that the array length is a multiple of the vector size. 1501 if (in1.length % 4 != 0) { 1502 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1503 } 1504 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1505 ain1.setAutoPadding(true); 1506 ain1.copyFrom(in1); 1507 1508 result_int result = reduce_my_half4_6(ain1, null); 1509 result.mTempIns = new Allocation[]{ain1}; 1510 return result; 1511 } 1512 1513 // ain1 = "half4 in" 1514 public result_int reduce_my_half4_6(Allocation ain1) { 1515 return reduce_my_half4_6(ain1, null); 1516 } 1517 1518 // ain1 = "half4 in" 1519 public result_int reduce_my_half4_6(Allocation ain1, Script.LaunchOptions sc) { 1520 // check ain1 1521 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1522 throw new RSRuntimeException("Type mismatch with F16_4!"); 1523 } 1524 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1525 aout.setAutoPadding(true); 1526 reduce(mExportReduceIdx_my_half4_6, new Allocation[]{ain1}, aout, sc); 1527 return new result_int(aout); 1528 } 1529 1530 private final static int mExportReduceIdx_my_half4_7 = 39; 1531 // in1 = "in", flattened 4-vectors 1532 public result_int reduce_my_half4_7(short[] in1) { 1533 // Verify that "in1" is non-null. 1534 if (in1 == null) { 1535 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1536 } 1537 // Verify that the array length is a multiple of the vector size. 1538 if (in1.length % 4 != 0) { 1539 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1540 } 1541 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1542 ain1.setAutoPadding(true); 1543 ain1.copyFrom(in1); 1544 1545 result_int result = reduce_my_half4_7(ain1, null); 1546 result.mTempIns = new Allocation[]{ain1}; 1547 return result; 1548 } 1549 1550 // ain1 = "half4 in" 1551 public result_int reduce_my_half4_7(Allocation ain1) { 1552 return reduce_my_half4_7(ain1, null); 1553 } 1554 1555 // ain1 = "half4 in" 1556 public result_int reduce_my_half4_7(Allocation ain1, Script.LaunchOptions sc) { 1557 // check ain1 1558 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1559 throw new RSRuntimeException("Type mismatch with F16_4!"); 1560 } 1561 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1562 aout.setAutoPadding(true); 1563 reduce(mExportReduceIdx_my_half4_7, new Allocation[]{ain1}, aout, sc); 1564 return new result_int(aout); 1565 } 1566 1567 private final static int mExportReduceIdx_my_half4_8 = 40; 1568 // in1 = "in", flattened 4-vectors 1569 public result_int reduce_my_half4_8(short[] in1) { 1570 // Verify that "in1" is non-null. 1571 if (in1 == null) { 1572 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1573 } 1574 // Verify that the array length is a multiple of the vector size. 1575 if (in1.length % 4 != 0) { 1576 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1577 } 1578 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1579 ain1.setAutoPadding(true); 1580 ain1.copyFrom(in1); 1581 1582 result_int result = reduce_my_half4_8(ain1, null); 1583 result.mTempIns = new Allocation[]{ain1}; 1584 return result; 1585 } 1586 1587 // ain1 = "half4 in" 1588 public result_int reduce_my_half4_8(Allocation ain1) { 1589 return reduce_my_half4_8(ain1, null); 1590 } 1591 1592 // ain1 = "half4 in" 1593 public result_int reduce_my_half4_8(Allocation ain1, Script.LaunchOptions sc) { 1594 // check ain1 1595 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1596 throw new RSRuntimeException("Type mismatch with F16_4!"); 1597 } 1598 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1599 aout.setAutoPadding(true); 1600 reduce(mExportReduceIdx_my_half4_8, new Allocation[]{ain1}, aout, sc); 1601 return new result_int(aout); 1602 } 1603 1604 private final static int mExportReduceIdx_my_half4_9 = 41; 1605 // in1 = "in", flattened 4-vectors 1606 public result_int reduce_my_half4_9(short[] in1) { 1607 // Verify that "in1" is non-null. 1608 if (in1 == null) { 1609 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1610 } 1611 // Verify that the array length is a multiple of the vector size. 1612 if (in1.length % 4 != 0) { 1613 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1614 } 1615 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1616 ain1.setAutoPadding(true); 1617 ain1.copyFrom(in1); 1618 1619 result_int result = reduce_my_half4_9(ain1, null); 1620 result.mTempIns = new Allocation[]{ain1}; 1621 return result; 1622 } 1623 1624 // ain1 = "half4 in" 1625 public result_int reduce_my_half4_9(Allocation ain1) { 1626 return reduce_my_half4_9(ain1, null); 1627 } 1628 1629 // ain1 = "half4 in" 1630 public result_int reduce_my_half4_9(Allocation ain1, Script.LaunchOptions sc) { 1631 // check ain1 1632 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1633 throw new RSRuntimeException("Type mismatch with F16_4!"); 1634 } 1635 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1636 aout.setAutoPadding(true); 1637 reduce(mExportReduceIdx_my_half4_9, new Allocation[]{ain1}, aout, sc); 1638 return new result_int(aout); 1639 } 1640 1641 private final static int mExportReduceIdx_my_half4_10 = 42; 1642 // in1 = "in", flattened 4-vectors 1643 public result_int reduce_my_half4_10(short[] in1) { 1644 // Verify that "in1" is non-null. 1645 if (in1 == null) { 1646 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1647 } 1648 // Verify that the array length is a multiple of the vector size. 1649 if (in1.length % 4 != 0) { 1650 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1651 } 1652 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1653 ain1.setAutoPadding(true); 1654 ain1.copyFrom(in1); 1655 1656 result_int result = reduce_my_half4_10(ain1, null); 1657 result.mTempIns = new Allocation[]{ain1}; 1658 return result; 1659 } 1660 1661 // ain1 = "half4 in" 1662 public result_int reduce_my_half4_10(Allocation ain1) { 1663 return reduce_my_half4_10(ain1, null); 1664 } 1665 1666 // ain1 = "half4 in" 1667 public result_int reduce_my_half4_10(Allocation ain1, Script.LaunchOptions sc) { 1668 // check ain1 1669 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1670 throw new RSRuntimeException("Type mismatch with F16_4!"); 1671 } 1672 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1673 aout.setAutoPadding(true); 1674 reduce(mExportReduceIdx_my_half4_10, new Allocation[]{ain1}, aout, sc); 1675 return new result_int(aout); 1676 } 1677 1678 private final static int mExportReduceIdx_my_half4_11 = 43; 1679 // in1 = "in", flattened 4-vectors 1680 public result_int reduce_my_half4_11(short[] in1) { 1681 // Verify that "in1" is non-null. 1682 if (in1 == null) { 1683 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1684 } 1685 // Verify that the array length is a multiple of the vector size. 1686 if (in1.length % 4 != 0) { 1687 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1688 } 1689 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1690 ain1.setAutoPadding(true); 1691 ain1.copyFrom(in1); 1692 1693 result_int result = reduce_my_half4_11(ain1, null); 1694 result.mTempIns = new Allocation[]{ain1}; 1695 return result; 1696 } 1697 1698 // ain1 = "half4 in" 1699 public result_int reduce_my_half4_11(Allocation ain1) { 1700 return reduce_my_half4_11(ain1, null); 1701 } 1702 1703 // ain1 = "half4 in" 1704 public result_int reduce_my_half4_11(Allocation ain1, Script.LaunchOptions sc) { 1705 // check ain1 1706 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1707 throw new RSRuntimeException("Type mismatch with F16_4!"); 1708 } 1709 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1710 aout.setAutoPadding(true); 1711 reduce(mExportReduceIdx_my_half4_11, new Allocation[]{ain1}, aout, sc); 1712 return new result_int(aout); 1713 } 1714 1715 private final static int mExportReduceIdx_my_half4_12 = 44; 1716 // in1 = "in", flattened 4-vectors 1717 public result_int reduce_my_half4_12(short[] in1) { 1718 // Verify that "in1" is non-null. 1719 if (in1 == null) { 1720 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1721 } 1722 // Verify that the array length is a multiple of the vector size. 1723 if (in1.length % 4 != 0) { 1724 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1725 } 1726 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1727 ain1.setAutoPadding(true); 1728 ain1.copyFrom(in1); 1729 1730 result_int result = reduce_my_half4_12(ain1, null); 1731 result.mTempIns = new Allocation[]{ain1}; 1732 return result; 1733 } 1734 1735 // ain1 = "half4 in" 1736 public result_int reduce_my_half4_12(Allocation ain1) { 1737 return reduce_my_half4_12(ain1, null); 1738 } 1739 1740 // ain1 = "half4 in" 1741 public result_int reduce_my_half4_12(Allocation ain1, Script.LaunchOptions sc) { 1742 // check ain1 1743 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1744 throw new RSRuntimeException("Type mismatch with F16_4!"); 1745 } 1746 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1747 aout.setAutoPadding(true); 1748 reduce(mExportReduceIdx_my_half4_12, new Allocation[]{ain1}, aout, sc); 1749 return new result_int(aout); 1750 } 1751 1752 private final static int mExportReduceIdx_my_half4_13 = 45; 1753 // in1 = "in", flattened 4-vectors 1754 public result_int reduce_my_half4_13(short[] in1) { 1755 // Verify that "in1" is non-null. 1756 if (in1 == null) { 1757 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1758 } 1759 // Verify that the array length is a multiple of the vector size. 1760 if (in1.length % 4 != 0) { 1761 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1762 } 1763 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1764 ain1.setAutoPadding(true); 1765 ain1.copyFrom(in1); 1766 1767 result_int result = reduce_my_half4_13(ain1, null); 1768 result.mTempIns = new Allocation[]{ain1}; 1769 return result; 1770 } 1771 1772 // ain1 = "half4 in" 1773 public result_int reduce_my_half4_13(Allocation ain1) { 1774 return reduce_my_half4_13(ain1, null); 1775 } 1776 1777 // ain1 = "half4 in" 1778 public result_int reduce_my_half4_13(Allocation ain1, Script.LaunchOptions sc) { 1779 // check ain1 1780 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1781 throw new RSRuntimeException("Type mismatch with F16_4!"); 1782 } 1783 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1784 aout.setAutoPadding(true); 1785 reduce(mExportReduceIdx_my_half4_13, new Allocation[]{ain1}, aout, sc); 1786 return new result_int(aout); 1787 } 1788 1789 private final static int mExportReduceIdx_my_half4_14 = 46; 1790 // in1 = "in", flattened 4-vectors 1791 public result_int reduce_my_half4_14(short[] in1) { 1792 // Verify that "in1" is non-null. 1793 if (in1 == null) { 1794 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1795 } 1796 // Verify that the array length is a multiple of the vector size. 1797 if (in1.length % 4 != 0) { 1798 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1799 } 1800 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1801 ain1.setAutoPadding(true); 1802 ain1.copyFrom(in1); 1803 1804 result_int result = reduce_my_half4_14(ain1, null); 1805 result.mTempIns = new Allocation[]{ain1}; 1806 return result; 1807 } 1808 1809 // ain1 = "half4 in" 1810 public result_int reduce_my_half4_14(Allocation ain1) { 1811 return reduce_my_half4_14(ain1, null); 1812 } 1813 1814 // ain1 = "half4 in" 1815 public result_int reduce_my_half4_14(Allocation ain1, Script.LaunchOptions sc) { 1816 // check ain1 1817 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1818 throw new RSRuntimeException("Type mismatch with F16_4!"); 1819 } 1820 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1821 aout.setAutoPadding(true); 1822 reduce(mExportReduceIdx_my_half4_14, new Allocation[]{ain1}, aout, sc); 1823 return new result_int(aout); 1824 } 1825 1826 private final static int mExportReduceIdx_my_half4_15 = 47; 1827 // in1 = "in", flattened 4-vectors 1828 public result_int reduce_my_half4_15(short[] in1) { 1829 // Verify that "in1" is non-null. 1830 if (in1 == null) { 1831 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1832 } 1833 // Verify that the array length is a multiple of the vector size. 1834 if (in1.length % 4 != 0) { 1835 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 1836 } 1837 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4); 1838 ain1.setAutoPadding(true); 1839 ain1.copyFrom(in1); 1840 1841 result_int result = reduce_my_half4_15(ain1, null); 1842 result.mTempIns = new Allocation[]{ain1}; 1843 return result; 1844 } 1845 1846 // ain1 = "half4 in" 1847 public result_int reduce_my_half4_15(Allocation ain1) { 1848 return reduce_my_half4_15(ain1, null); 1849 } 1850 1851 // ain1 = "half4 in" 1852 public result_int reduce_my_half4_15(Allocation ain1, Script.LaunchOptions sc) { 1853 // check ain1 1854 if (!ain1.getType().getElement().isCompatible(__F16_4)) { 1855 throw new RSRuntimeException("Type mismatch with F16_4!"); 1856 } 1857 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1858 aout.setAutoPadding(true); 1859 reduce(mExportReduceIdx_my_half4_15, new Allocation[]{ain1}, aout, sc); 1860 return new result_int(aout); 1861 } 1862 1863 private final static int mExportReduceIdx_my_float_0 = 48; 1864 // in1 = "in" 1865 public result_int reduce_my_float_0(float[] in1) { 1866 // Verify that "in1" is non-null. 1867 if (in1 == null) { 1868 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1869 } 1870 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 1871 ain1.setAutoPadding(true); 1872 ain1.copyFrom(in1); 1873 1874 result_int result = reduce_my_float_0(ain1, null); 1875 result.mTempIns = new Allocation[]{ain1}; 1876 return result; 1877 } 1878 1879 // ain1 = "float in" 1880 public result_int reduce_my_float_0(Allocation ain1) { 1881 return reduce_my_float_0(ain1, null); 1882 } 1883 1884 // ain1 = "float in" 1885 public result_int reduce_my_float_0(Allocation ain1, Script.LaunchOptions sc) { 1886 // check ain1 1887 if (!ain1.getType().getElement().isCompatible(__F32)) { 1888 throw new RSRuntimeException("Type mismatch with F32!"); 1889 } 1890 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1891 aout.setAutoPadding(true); 1892 reduce(mExportReduceIdx_my_float_0, new Allocation[]{ain1}, aout, sc); 1893 return new result_int(aout); 1894 } 1895 1896 private final static int mExportReduceIdx_my_float_1 = 49; 1897 // in1 = "in" 1898 public result_int reduce_my_float_1(float[] in1) { 1899 // Verify that "in1" is non-null. 1900 if (in1 == null) { 1901 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1902 } 1903 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 1904 ain1.setAutoPadding(true); 1905 ain1.copyFrom(in1); 1906 1907 result_int result = reduce_my_float_1(ain1, null); 1908 result.mTempIns = new Allocation[]{ain1}; 1909 return result; 1910 } 1911 1912 // ain1 = "float in" 1913 public result_int reduce_my_float_1(Allocation ain1) { 1914 return reduce_my_float_1(ain1, null); 1915 } 1916 1917 // ain1 = "float in" 1918 public result_int reduce_my_float_1(Allocation ain1, Script.LaunchOptions sc) { 1919 // check ain1 1920 if (!ain1.getType().getElement().isCompatible(__F32)) { 1921 throw new RSRuntimeException("Type mismatch with F32!"); 1922 } 1923 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1924 aout.setAutoPadding(true); 1925 reduce(mExportReduceIdx_my_float_1, new Allocation[]{ain1}, aout, sc); 1926 return new result_int(aout); 1927 } 1928 1929 private final static int mExportReduceIdx_my_float_2 = 50; 1930 // in1 = "in" 1931 public result_int reduce_my_float_2(float[] in1) { 1932 // Verify that "in1" is non-null. 1933 if (in1 == null) { 1934 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1935 } 1936 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 1937 ain1.setAutoPadding(true); 1938 ain1.copyFrom(in1); 1939 1940 result_int result = reduce_my_float_2(ain1, null); 1941 result.mTempIns = new Allocation[]{ain1}; 1942 return result; 1943 } 1944 1945 // ain1 = "float in" 1946 public result_int reduce_my_float_2(Allocation ain1) { 1947 return reduce_my_float_2(ain1, null); 1948 } 1949 1950 // ain1 = "float in" 1951 public result_int reduce_my_float_2(Allocation ain1, Script.LaunchOptions sc) { 1952 // check ain1 1953 if (!ain1.getType().getElement().isCompatible(__F32)) { 1954 throw new RSRuntimeException("Type mismatch with F32!"); 1955 } 1956 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1957 aout.setAutoPadding(true); 1958 reduce(mExportReduceIdx_my_float_2, new Allocation[]{ain1}, aout, sc); 1959 return new result_int(aout); 1960 } 1961 1962 private final static int mExportReduceIdx_my_float_3 = 51; 1963 // in1 = "in" 1964 public result_int reduce_my_float_3(float[] in1) { 1965 // Verify that "in1" is non-null. 1966 if (in1 == null) { 1967 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 1968 } 1969 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 1970 ain1.setAutoPadding(true); 1971 ain1.copyFrom(in1); 1972 1973 result_int result = reduce_my_float_3(ain1, null); 1974 result.mTempIns = new Allocation[]{ain1}; 1975 return result; 1976 } 1977 1978 // ain1 = "float in" 1979 public result_int reduce_my_float_3(Allocation ain1) { 1980 return reduce_my_float_3(ain1, null); 1981 } 1982 1983 // ain1 = "float in" 1984 public result_int reduce_my_float_3(Allocation ain1, Script.LaunchOptions sc) { 1985 // check ain1 1986 if (!ain1.getType().getElement().isCompatible(__F32)) { 1987 throw new RSRuntimeException("Type mismatch with F32!"); 1988 } 1989 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 1990 aout.setAutoPadding(true); 1991 reduce(mExportReduceIdx_my_float_3, new Allocation[]{ain1}, aout, sc); 1992 return new result_int(aout); 1993 } 1994 1995 private final static int mExportReduceIdx_my_float_4 = 52; 1996 // in1 = "in" 1997 public result_int reduce_my_float_4(float[] in1) { 1998 // Verify that "in1" is non-null. 1999 if (in1 == null) { 2000 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2001 } 2002 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2003 ain1.setAutoPadding(true); 2004 ain1.copyFrom(in1); 2005 2006 result_int result = reduce_my_float_4(ain1, null); 2007 result.mTempIns = new Allocation[]{ain1}; 2008 return result; 2009 } 2010 2011 // ain1 = "float in" 2012 public result_int reduce_my_float_4(Allocation ain1) { 2013 return reduce_my_float_4(ain1, null); 2014 } 2015 2016 // ain1 = "float in" 2017 public result_int reduce_my_float_4(Allocation ain1, Script.LaunchOptions sc) { 2018 // check ain1 2019 if (!ain1.getType().getElement().isCompatible(__F32)) { 2020 throw new RSRuntimeException("Type mismatch with F32!"); 2021 } 2022 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2023 aout.setAutoPadding(true); 2024 reduce(mExportReduceIdx_my_float_4, new Allocation[]{ain1}, aout, sc); 2025 return new result_int(aout); 2026 } 2027 2028 private final static int mExportReduceIdx_my_float_5 = 53; 2029 // in1 = "in" 2030 public result_int reduce_my_float_5(float[] in1) { 2031 // Verify that "in1" is non-null. 2032 if (in1 == null) { 2033 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2034 } 2035 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2036 ain1.setAutoPadding(true); 2037 ain1.copyFrom(in1); 2038 2039 result_int result = reduce_my_float_5(ain1, null); 2040 result.mTempIns = new Allocation[]{ain1}; 2041 return result; 2042 } 2043 2044 // ain1 = "float in" 2045 public result_int reduce_my_float_5(Allocation ain1) { 2046 return reduce_my_float_5(ain1, null); 2047 } 2048 2049 // ain1 = "float in" 2050 public result_int reduce_my_float_5(Allocation ain1, Script.LaunchOptions sc) { 2051 // check ain1 2052 if (!ain1.getType().getElement().isCompatible(__F32)) { 2053 throw new RSRuntimeException("Type mismatch with F32!"); 2054 } 2055 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2056 aout.setAutoPadding(true); 2057 reduce(mExportReduceIdx_my_float_5, new Allocation[]{ain1}, aout, sc); 2058 return new result_int(aout); 2059 } 2060 2061 private final static int mExportReduceIdx_my_float_6 = 54; 2062 // in1 = "in" 2063 public result_int reduce_my_float_6(float[] in1) { 2064 // Verify that "in1" is non-null. 2065 if (in1 == null) { 2066 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2067 } 2068 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2069 ain1.setAutoPadding(true); 2070 ain1.copyFrom(in1); 2071 2072 result_int result = reduce_my_float_6(ain1, null); 2073 result.mTempIns = new Allocation[]{ain1}; 2074 return result; 2075 } 2076 2077 // ain1 = "float in" 2078 public result_int reduce_my_float_6(Allocation ain1) { 2079 return reduce_my_float_6(ain1, null); 2080 } 2081 2082 // ain1 = "float in" 2083 public result_int reduce_my_float_6(Allocation ain1, Script.LaunchOptions sc) { 2084 // check ain1 2085 if (!ain1.getType().getElement().isCompatible(__F32)) { 2086 throw new RSRuntimeException("Type mismatch with F32!"); 2087 } 2088 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2089 aout.setAutoPadding(true); 2090 reduce(mExportReduceIdx_my_float_6, new Allocation[]{ain1}, aout, sc); 2091 return new result_int(aout); 2092 } 2093 2094 private final static int mExportReduceIdx_my_float_7 = 55; 2095 // in1 = "in" 2096 public result_int reduce_my_float_7(float[] in1) { 2097 // Verify that "in1" is non-null. 2098 if (in1 == null) { 2099 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2100 } 2101 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2102 ain1.setAutoPadding(true); 2103 ain1.copyFrom(in1); 2104 2105 result_int result = reduce_my_float_7(ain1, null); 2106 result.mTempIns = new Allocation[]{ain1}; 2107 return result; 2108 } 2109 2110 // ain1 = "float in" 2111 public result_int reduce_my_float_7(Allocation ain1) { 2112 return reduce_my_float_7(ain1, null); 2113 } 2114 2115 // ain1 = "float in" 2116 public result_int reduce_my_float_7(Allocation ain1, Script.LaunchOptions sc) { 2117 // check ain1 2118 if (!ain1.getType().getElement().isCompatible(__F32)) { 2119 throw new RSRuntimeException("Type mismatch with F32!"); 2120 } 2121 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2122 aout.setAutoPadding(true); 2123 reduce(mExportReduceIdx_my_float_7, new Allocation[]{ain1}, aout, sc); 2124 return new result_int(aout); 2125 } 2126 2127 private final static int mExportReduceIdx_my_float_8 = 56; 2128 // in1 = "in" 2129 public result_int reduce_my_float_8(float[] in1) { 2130 // Verify that "in1" is non-null. 2131 if (in1 == null) { 2132 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2133 } 2134 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2135 ain1.setAutoPadding(true); 2136 ain1.copyFrom(in1); 2137 2138 result_int result = reduce_my_float_8(ain1, null); 2139 result.mTempIns = new Allocation[]{ain1}; 2140 return result; 2141 } 2142 2143 // ain1 = "float in" 2144 public result_int reduce_my_float_8(Allocation ain1) { 2145 return reduce_my_float_8(ain1, null); 2146 } 2147 2148 // ain1 = "float in" 2149 public result_int reduce_my_float_8(Allocation ain1, Script.LaunchOptions sc) { 2150 // check ain1 2151 if (!ain1.getType().getElement().isCompatible(__F32)) { 2152 throw new RSRuntimeException("Type mismatch with F32!"); 2153 } 2154 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2155 aout.setAutoPadding(true); 2156 reduce(mExportReduceIdx_my_float_8, new Allocation[]{ain1}, aout, sc); 2157 return new result_int(aout); 2158 } 2159 2160 private final static int mExportReduceIdx_my_float_9 = 57; 2161 // in1 = "in" 2162 public result_int reduce_my_float_9(float[] in1) { 2163 // Verify that "in1" is non-null. 2164 if (in1 == null) { 2165 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2166 } 2167 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2168 ain1.setAutoPadding(true); 2169 ain1.copyFrom(in1); 2170 2171 result_int result = reduce_my_float_9(ain1, null); 2172 result.mTempIns = new Allocation[]{ain1}; 2173 return result; 2174 } 2175 2176 // ain1 = "float in" 2177 public result_int reduce_my_float_9(Allocation ain1) { 2178 return reduce_my_float_9(ain1, null); 2179 } 2180 2181 // ain1 = "float in" 2182 public result_int reduce_my_float_9(Allocation ain1, Script.LaunchOptions sc) { 2183 // check ain1 2184 if (!ain1.getType().getElement().isCompatible(__F32)) { 2185 throw new RSRuntimeException("Type mismatch with F32!"); 2186 } 2187 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2188 aout.setAutoPadding(true); 2189 reduce(mExportReduceIdx_my_float_9, new Allocation[]{ain1}, aout, sc); 2190 return new result_int(aout); 2191 } 2192 2193 private final static int mExportReduceIdx_my_float_10 = 58; 2194 // in1 = "in" 2195 public result_int reduce_my_float_10(float[] in1) { 2196 // Verify that "in1" is non-null. 2197 if (in1 == null) { 2198 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2199 } 2200 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2201 ain1.setAutoPadding(true); 2202 ain1.copyFrom(in1); 2203 2204 result_int result = reduce_my_float_10(ain1, null); 2205 result.mTempIns = new Allocation[]{ain1}; 2206 return result; 2207 } 2208 2209 // ain1 = "float in" 2210 public result_int reduce_my_float_10(Allocation ain1) { 2211 return reduce_my_float_10(ain1, null); 2212 } 2213 2214 // ain1 = "float in" 2215 public result_int reduce_my_float_10(Allocation ain1, Script.LaunchOptions sc) { 2216 // check ain1 2217 if (!ain1.getType().getElement().isCompatible(__F32)) { 2218 throw new RSRuntimeException("Type mismatch with F32!"); 2219 } 2220 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2221 aout.setAutoPadding(true); 2222 reduce(mExportReduceIdx_my_float_10, new Allocation[]{ain1}, aout, sc); 2223 return new result_int(aout); 2224 } 2225 2226 private final static int mExportReduceIdx_my_float_11 = 59; 2227 // in1 = "in" 2228 public result_int reduce_my_float_11(float[] in1) { 2229 // Verify that "in1" is non-null. 2230 if (in1 == null) { 2231 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2232 } 2233 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2234 ain1.setAutoPadding(true); 2235 ain1.copyFrom(in1); 2236 2237 result_int result = reduce_my_float_11(ain1, null); 2238 result.mTempIns = new Allocation[]{ain1}; 2239 return result; 2240 } 2241 2242 // ain1 = "float in" 2243 public result_int reduce_my_float_11(Allocation ain1) { 2244 return reduce_my_float_11(ain1, null); 2245 } 2246 2247 // ain1 = "float in" 2248 public result_int reduce_my_float_11(Allocation ain1, Script.LaunchOptions sc) { 2249 // check ain1 2250 if (!ain1.getType().getElement().isCompatible(__F32)) { 2251 throw new RSRuntimeException("Type mismatch with F32!"); 2252 } 2253 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2254 aout.setAutoPadding(true); 2255 reduce(mExportReduceIdx_my_float_11, new Allocation[]{ain1}, aout, sc); 2256 return new result_int(aout); 2257 } 2258 2259 private final static int mExportReduceIdx_my_float_12 = 60; 2260 // in1 = "in" 2261 public result_int reduce_my_float_12(float[] in1) { 2262 // Verify that "in1" is non-null. 2263 if (in1 == null) { 2264 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2265 } 2266 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2267 ain1.setAutoPadding(true); 2268 ain1.copyFrom(in1); 2269 2270 result_int result = reduce_my_float_12(ain1, null); 2271 result.mTempIns = new Allocation[]{ain1}; 2272 return result; 2273 } 2274 2275 // ain1 = "float in" 2276 public result_int reduce_my_float_12(Allocation ain1) { 2277 return reduce_my_float_12(ain1, null); 2278 } 2279 2280 // ain1 = "float in" 2281 public result_int reduce_my_float_12(Allocation ain1, Script.LaunchOptions sc) { 2282 // check ain1 2283 if (!ain1.getType().getElement().isCompatible(__F32)) { 2284 throw new RSRuntimeException("Type mismatch with F32!"); 2285 } 2286 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2287 aout.setAutoPadding(true); 2288 reduce(mExportReduceIdx_my_float_12, new Allocation[]{ain1}, aout, sc); 2289 return new result_int(aout); 2290 } 2291 2292 private final static int mExportReduceIdx_my_float_13 = 61; 2293 // in1 = "in" 2294 public result_int reduce_my_float_13(float[] in1) { 2295 // Verify that "in1" is non-null. 2296 if (in1 == null) { 2297 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2298 } 2299 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2300 ain1.setAutoPadding(true); 2301 ain1.copyFrom(in1); 2302 2303 result_int result = reduce_my_float_13(ain1, null); 2304 result.mTempIns = new Allocation[]{ain1}; 2305 return result; 2306 } 2307 2308 // ain1 = "float in" 2309 public result_int reduce_my_float_13(Allocation ain1) { 2310 return reduce_my_float_13(ain1, null); 2311 } 2312 2313 // ain1 = "float in" 2314 public result_int reduce_my_float_13(Allocation ain1, Script.LaunchOptions sc) { 2315 // check ain1 2316 if (!ain1.getType().getElement().isCompatible(__F32)) { 2317 throw new RSRuntimeException("Type mismatch with F32!"); 2318 } 2319 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2320 aout.setAutoPadding(true); 2321 reduce(mExportReduceIdx_my_float_13, new Allocation[]{ain1}, aout, sc); 2322 return new result_int(aout); 2323 } 2324 2325 private final static int mExportReduceIdx_my_float_14 = 62; 2326 // in1 = "in" 2327 public result_int reduce_my_float_14(float[] in1) { 2328 // Verify that "in1" is non-null. 2329 if (in1 == null) { 2330 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2331 } 2332 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2333 ain1.setAutoPadding(true); 2334 ain1.copyFrom(in1); 2335 2336 result_int result = reduce_my_float_14(ain1, null); 2337 result.mTempIns = new Allocation[]{ain1}; 2338 return result; 2339 } 2340 2341 // ain1 = "float in" 2342 public result_int reduce_my_float_14(Allocation ain1) { 2343 return reduce_my_float_14(ain1, null); 2344 } 2345 2346 // ain1 = "float in" 2347 public result_int reduce_my_float_14(Allocation ain1, Script.LaunchOptions sc) { 2348 // check ain1 2349 if (!ain1.getType().getElement().isCompatible(__F32)) { 2350 throw new RSRuntimeException("Type mismatch with F32!"); 2351 } 2352 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2353 aout.setAutoPadding(true); 2354 reduce(mExportReduceIdx_my_float_14, new Allocation[]{ain1}, aout, sc); 2355 return new result_int(aout); 2356 } 2357 2358 private final static int mExportReduceIdx_my_float_15 = 63; 2359 // in1 = "in" 2360 public result_int reduce_my_float_15(float[] in1) { 2361 // Verify that "in1" is non-null. 2362 if (in1 == null) { 2363 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2364 } 2365 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length); 2366 ain1.setAutoPadding(true); 2367 ain1.copyFrom(in1); 2368 2369 result_int result = reduce_my_float_15(ain1, null); 2370 result.mTempIns = new Allocation[]{ain1}; 2371 return result; 2372 } 2373 2374 // ain1 = "float in" 2375 public result_int reduce_my_float_15(Allocation ain1) { 2376 return reduce_my_float_15(ain1, null); 2377 } 2378 2379 // ain1 = "float in" 2380 public result_int reduce_my_float_15(Allocation ain1, Script.LaunchOptions sc) { 2381 // check ain1 2382 if (!ain1.getType().getElement().isCompatible(__F32)) { 2383 throw new RSRuntimeException("Type mismatch with F32!"); 2384 } 2385 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2386 aout.setAutoPadding(true); 2387 reduce(mExportReduceIdx_my_float_15, new Allocation[]{ain1}, aout, sc); 2388 return new result_int(aout); 2389 } 2390 2391 private final static int mExportReduceIdx_my_float2_0 = 64; 2392 // in1 = "in", flattened 2-vectors 2393 public result_int reduce_my_float2_0(float[] in1) { 2394 // Verify that "in1" is non-null. 2395 if (in1 == null) { 2396 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2397 } 2398 // Verify that the array length is a multiple of the vector size. 2399 if (in1.length % 2 != 0) { 2400 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2401 } 2402 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2403 ain1.setAutoPadding(true); 2404 ain1.copyFrom(in1); 2405 2406 result_int result = reduce_my_float2_0(ain1, null); 2407 result.mTempIns = new Allocation[]{ain1}; 2408 return result; 2409 } 2410 2411 // ain1 = "float2 in" 2412 public result_int reduce_my_float2_0(Allocation ain1) { 2413 return reduce_my_float2_0(ain1, null); 2414 } 2415 2416 // ain1 = "float2 in" 2417 public result_int reduce_my_float2_0(Allocation ain1, Script.LaunchOptions sc) { 2418 // check ain1 2419 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2420 throw new RSRuntimeException("Type mismatch with F32_2!"); 2421 } 2422 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2423 aout.setAutoPadding(true); 2424 reduce(mExportReduceIdx_my_float2_0, new Allocation[]{ain1}, aout, sc); 2425 return new result_int(aout); 2426 } 2427 2428 private final static int mExportReduceIdx_my_float2_1 = 65; 2429 // in1 = "in", flattened 2-vectors 2430 public result_int reduce_my_float2_1(float[] in1) { 2431 // Verify that "in1" is non-null. 2432 if (in1 == null) { 2433 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2434 } 2435 // Verify that the array length is a multiple of the vector size. 2436 if (in1.length % 2 != 0) { 2437 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2438 } 2439 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2440 ain1.setAutoPadding(true); 2441 ain1.copyFrom(in1); 2442 2443 result_int result = reduce_my_float2_1(ain1, null); 2444 result.mTempIns = new Allocation[]{ain1}; 2445 return result; 2446 } 2447 2448 // ain1 = "float2 in" 2449 public result_int reduce_my_float2_1(Allocation ain1) { 2450 return reduce_my_float2_1(ain1, null); 2451 } 2452 2453 // ain1 = "float2 in" 2454 public result_int reduce_my_float2_1(Allocation ain1, Script.LaunchOptions sc) { 2455 // check ain1 2456 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2457 throw new RSRuntimeException("Type mismatch with F32_2!"); 2458 } 2459 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2460 aout.setAutoPadding(true); 2461 reduce(mExportReduceIdx_my_float2_1, new Allocation[]{ain1}, aout, sc); 2462 return new result_int(aout); 2463 } 2464 2465 private final static int mExportReduceIdx_my_float2_2 = 66; 2466 // in1 = "in", flattened 2-vectors 2467 public result_int reduce_my_float2_2(float[] in1) { 2468 // Verify that "in1" is non-null. 2469 if (in1 == null) { 2470 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2471 } 2472 // Verify that the array length is a multiple of the vector size. 2473 if (in1.length % 2 != 0) { 2474 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2475 } 2476 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2477 ain1.setAutoPadding(true); 2478 ain1.copyFrom(in1); 2479 2480 result_int result = reduce_my_float2_2(ain1, null); 2481 result.mTempIns = new Allocation[]{ain1}; 2482 return result; 2483 } 2484 2485 // ain1 = "float2 in" 2486 public result_int reduce_my_float2_2(Allocation ain1) { 2487 return reduce_my_float2_2(ain1, null); 2488 } 2489 2490 // ain1 = "float2 in" 2491 public result_int reduce_my_float2_2(Allocation ain1, Script.LaunchOptions sc) { 2492 // check ain1 2493 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2494 throw new RSRuntimeException("Type mismatch with F32_2!"); 2495 } 2496 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2497 aout.setAutoPadding(true); 2498 reduce(mExportReduceIdx_my_float2_2, new Allocation[]{ain1}, aout, sc); 2499 return new result_int(aout); 2500 } 2501 2502 private final static int mExportReduceIdx_my_float2_3 = 67; 2503 // in1 = "in", flattened 2-vectors 2504 public result_int reduce_my_float2_3(float[] in1) { 2505 // Verify that "in1" is non-null. 2506 if (in1 == null) { 2507 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2508 } 2509 // Verify that the array length is a multiple of the vector size. 2510 if (in1.length % 2 != 0) { 2511 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2512 } 2513 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2514 ain1.setAutoPadding(true); 2515 ain1.copyFrom(in1); 2516 2517 result_int result = reduce_my_float2_3(ain1, null); 2518 result.mTempIns = new Allocation[]{ain1}; 2519 return result; 2520 } 2521 2522 // ain1 = "float2 in" 2523 public result_int reduce_my_float2_3(Allocation ain1) { 2524 return reduce_my_float2_3(ain1, null); 2525 } 2526 2527 // ain1 = "float2 in" 2528 public result_int reduce_my_float2_3(Allocation ain1, Script.LaunchOptions sc) { 2529 // check ain1 2530 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2531 throw new RSRuntimeException("Type mismatch with F32_2!"); 2532 } 2533 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2534 aout.setAutoPadding(true); 2535 reduce(mExportReduceIdx_my_float2_3, new Allocation[]{ain1}, aout, sc); 2536 return new result_int(aout); 2537 } 2538 2539 private final static int mExportReduceIdx_my_float2_4 = 68; 2540 // in1 = "in", flattened 2-vectors 2541 public result_int reduce_my_float2_4(float[] in1) { 2542 // Verify that "in1" is non-null. 2543 if (in1 == null) { 2544 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2545 } 2546 // Verify that the array length is a multiple of the vector size. 2547 if (in1.length % 2 != 0) { 2548 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2549 } 2550 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2551 ain1.setAutoPadding(true); 2552 ain1.copyFrom(in1); 2553 2554 result_int result = reduce_my_float2_4(ain1, null); 2555 result.mTempIns = new Allocation[]{ain1}; 2556 return result; 2557 } 2558 2559 // ain1 = "float2 in" 2560 public result_int reduce_my_float2_4(Allocation ain1) { 2561 return reduce_my_float2_4(ain1, null); 2562 } 2563 2564 // ain1 = "float2 in" 2565 public result_int reduce_my_float2_4(Allocation ain1, Script.LaunchOptions sc) { 2566 // check ain1 2567 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2568 throw new RSRuntimeException("Type mismatch with F32_2!"); 2569 } 2570 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2571 aout.setAutoPadding(true); 2572 reduce(mExportReduceIdx_my_float2_4, new Allocation[]{ain1}, aout, sc); 2573 return new result_int(aout); 2574 } 2575 2576 private final static int mExportReduceIdx_my_float2_5 = 69; 2577 // in1 = "in", flattened 2-vectors 2578 public result_int reduce_my_float2_5(float[] in1) { 2579 // Verify that "in1" is non-null. 2580 if (in1 == null) { 2581 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2582 } 2583 // Verify that the array length is a multiple of the vector size. 2584 if (in1.length % 2 != 0) { 2585 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2586 } 2587 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2588 ain1.setAutoPadding(true); 2589 ain1.copyFrom(in1); 2590 2591 result_int result = reduce_my_float2_5(ain1, null); 2592 result.mTempIns = new Allocation[]{ain1}; 2593 return result; 2594 } 2595 2596 // ain1 = "float2 in" 2597 public result_int reduce_my_float2_5(Allocation ain1) { 2598 return reduce_my_float2_5(ain1, null); 2599 } 2600 2601 // ain1 = "float2 in" 2602 public result_int reduce_my_float2_5(Allocation ain1, Script.LaunchOptions sc) { 2603 // check ain1 2604 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2605 throw new RSRuntimeException("Type mismatch with F32_2!"); 2606 } 2607 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2608 aout.setAutoPadding(true); 2609 reduce(mExportReduceIdx_my_float2_5, new Allocation[]{ain1}, aout, sc); 2610 return new result_int(aout); 2611 } 2612 2613 private final static int mExportReduceIdx_my_float2_6 = 70; 2614 // in1 = "in", flattened 2-vectors 2615 public result_int reduce_my_float2_6(float[] in1) { 2616 // Verify that "in1" is non-null. 2617 if (in1 == null) { 2618 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2619 } 2620 // Verify that the array length is a multiple of the vector size. 2621 if (in1.length % 2 != 0) { 2622 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2623 } 2624 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2625 ain1.setAutoPadding(true); 2626 ain1.copyFrom(in1); 2627 2628 result_int result = reduce_my_float2_6(ain1, null); 2629 result.mTempIns = new Allocation[]{ain1}; 2630 return result; 2631 } 2632 2633 // ain1 = "float2 in" 2634 public result_int reduce_my_float2_6(Allocation ain1) { 2635 return reduce_my_float2_6(ain1, null); 2636 } 2637 2638 // ain1 = "float2 in" 2639 public result_int reduce_my_float2_6(Allocation ain1, Script.LaunchOptions sc) { 2640 // check ain1 2641 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2642 throw new RSRuntimeException("Type mismatch with F32_2!"); 2643 } 2644 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2645 aout.setAutoPadding(true); 2646 reduce(mExportReduceIdx_my_float2_6, new Allocation[]{ain1}, aout, sc); 2647 return new result_int(aout); 2648 } 2649 2650 private final static int mExportReduceIdx_my_float2_7 = 71; 2651 // in1 = "in", flattened 2-vectors 2652 public result_int reduce_my_float2_7(float[] in1) { 2653 // Verify that "in1" is non-null. 2654 if (in1 == null) { 2655 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2656 } 2657 // Verify that the array length is a multiple of the vector size. 2658 if (in1.length % 2 != 0) { 2659 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2660 } 2661 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2662 ain1.setAutoPadding(true); 2663 ain1.copyFrom(in1); 2664 2665 result_int result = reduce_my_float2_7(ain1, null); 2666 result.mTempIns = new Allocation[]{ain1}; 2667 return result; 2668 } 2669 2670 // ain1 = "float2 in" 2671 public result_int reduce_my_float2_7(Allocation ain1) { 2672 return reduce_my_float2_7(ain1, null); 2673 } 2674 2675 // ain1 = "float2 in" 2676 public result_int reduce_my_float2_7(Allocation ain1, Script.LaunchOptions sc) { 2677 // check ain1 2678 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2679 throw new RSRuntimeException("Type mismatch with F32_2!"); 2680 } 2681 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2682 aout.setAutoPadding(true); 2683 reduce(mExportReduceIdx_my_float2_7, new Allocation[]{ain1}, aout, sc); 2684 return new result_int(aout); 2685 } 2686 2687 private final static int mExportReduceIdx_my_float2_8 = 72; 2688 // in1 = "in", flattened 2-vectors 2689 public result_int reduce_my_float2_8(float[] in1) { 2690 // Verify that "in1" is non-null. 2691 if (in1 == null) { 2692 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2693 } 2694 // Verify that the array length is a multiple of the vector size. 2695 if (in1.length % 2 != 0) { 2696 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2697 } 2698 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2699 ain1.setAutoPadding(true); 2700 ain1.copyFrom(in1); 2701 2702 result_int result = reduce_my_float2_8(ain1, null); 2703 result.mTempIns = new Allocation[]{ain1}; 2704 return result; 2705 } 2706 2707 // ain1 = "float2 in" 2708 public result_int reduce_my_float2_8(Allocation ain1) { 2709 return reduce_my_float2_8(ain1, null); 2710 } 2711 2712 // ain1 = "float2 in" 2713 public result_int reduce_my_float2_8(Allocation ain1, Script.LaunchOptions sc) { 2714 // check ain1 2715 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2716 throw new RSRuntimeException("Type mismatch with F32_2!"); 2717 } 2718 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2719 aout.setAutoPadding(true); 2720 reduce(mExportReduceIdx_my_float2_8, new Allocation[]{ain1}, aout, sc); 2721 return new result_int(aout); 2722 } 2723 2724 private final static int mExportReduceIdx_my_float2_9 = 73; 2725 // in1 = "in", flattened 2-vectors 2726 public result_int reduce_my_float2_9(float[] in1) { 2727 // Verify that "in1" is non-null. 2728 if (in1 == null) { 2729 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2730 } 2731 // Verify that the array length is a multiple of the vector size. 2732 if (in1.length % 2 != 0) { 2733 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2734 } 2735 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2736 ain1.setAutoPadding(true); 2737 ain1.copyFrom(in1); 2738 2739 result_int result = reduce_my_float2_9(ain1, null); 2740 result.mTempIns = new Allocation[]{ain1}; 2741 return result; 2742 } 2743 2744 // ain1 = "float2 in" 2745 public result_int reduce_my_float2_9(Allocation ain1) { 2746 return reduce_my_float2_9(ain1, null); 2747 } 2748 2749 // ain1 = "float2 in" 2750 public result_int reduce_my_float2_9(Allocation ain1, Script.LaunchOptions sc) { 2751 // check ain1 2752 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2753 throw new RSRuntimeException("Type mismatch with F32_2!"); 2754 } 2755 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2756 aout.setAutoPadding(true); 2757 reduce(mExportReduceIdx_my_float2_9, new Allocation[]{ain1}, aout, sc); 2758 return new result_int(aout); 2759 } 2760 2761 private final static int mExportReduceIdx_my_float2_10 = 74; 2762 // in1 = "in", flattened 2-vectors 2763 public result_int reduce_my_float2_10(float[] in1) { 2764 // Verify that "in1" is non-null. 2765 if (in1 == null) { 2766 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2767 } 2768 // Verify that the array length is a multiple of the vector size. 2769 if (in1.length % 2 != 0) { 2770 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2771 } 2772 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2773 ain1.setAutoPadding(true); 2774 ain1.copyFrom(in1); 2775 2776 result_int result = reduce_my_float2_10(ain1, null); 2777 result.mTempIns = new Allocation[]{ain1}; 2778 return result; 2779 } 2780 2781 // ain1 = "float2 in" 2782 public result_int reduce_my_float2_10(Allocation ain1) { 2783 return reduce_my_float2_10(ain1, null); 2784 } 2785 2786 // ain1 = "float2 in" 2787 public result_int reduce_my_float2_10(Allocation ain1, Script.LaunchOptions sc) { 2788 // check ain1 2789 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2790 throw new RSRuntimeException("Type mismatch with F32_2!"); 2791 } 2792 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2793 aout.setAutoPadding(true); 2794 reduce(mExportReduceIdx_my_float2_10, new Allocation[]{ain1}, aout, sc); 2795 return new result_int(aout); 2796 } 2797 2798 private final static int mExportReduceIdx_my_float2_11 = 75; 2799 // in1 = "in", flattened 2-vectors 2800 public result_int reduce_my_float2_11(float[] in1) { 2801 // Verify that "in1" is non-null. 2802 if (in1 == null) { 2803 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2804 } 2805 // Verify that the array length is a multiple of the vector size. 2806 if (in1.length % 2 != 0) { 2807 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2808 } 2809 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2810 ain1.setAutoPadding(true); 2811 ain1.copyFrom(in1); 2812 2813 result_int result = reduce_my_float2_11(ain1, null); 2814 result.mTempIns = new Allocation[]{ain1}; 2815 return result; 2816 } 2817 2818 // ain1 = "float2 in" 2819 public result_int reduce_my_float2_11(Allocation ain1) { 2820 return reduce_my_float2_11(ain1, null); 2821 } 2822 2823 // ain1 = "float2 in" 2824 public result_int reduce_my_float2_11(Allocation ain1, Script.LaunchOptions sc) { 2825 // check ain1 2826 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2827 throw new RSRuntimeException("Type mismatch with F32_2!"); 2828 } 2829 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2830 aout.setAutoPadding(true); 2831 reduce(mExportReduceIdx_my_float2_11, new Allocation[]{ain1}, aout, sc); 2832 return new result_int(aout); 2833 } 2834 2835 private final static int mExportReduceIdx_my_float2_12 = 76; 2836 // in1 = "in", flattened 2-vectors 2837 public result_int reduce_my_float2_12(float[] in1) { 2838 // Verify that "in1" is non-null. 2839 if (in1 == null) { 2840 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2841 } 2842 // Verify that the array length is a multiple of the vector size. 2843 if (in1.length % 2 != 0) { 2844 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2845 } 2846 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2847 ain1.setAutoPadding(true); 2848 ain1.copyFrom(in1); 2849 2850 result_int result = reduce_my_float2_12(ain1, null); 2851 result.mTempIns = new Allocation[]{ain1}; 2852 return result; 2853 } 2854 2855 // ain1 = "float2 in" 2856 public result_int reduce_my_float2_12(Allocation ain1) { 2857 return reduce_my_float2_12(ain1, null); 2858 } 2859 2860 // ain1 = "float2 in" 2861 public result_int reduce_my_float2_12(Allocation ain1, Script.LaunchOptions sc) { 2862 // check ain1 2863 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2864 throw new RSRuntimeException("Type mismatch with F32_2!"); 2865 } 2866 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2867 aout.setAutoPadding(true); 2868 reduce(mExportReduceIdx_my_float2_12, new Allocation[]{ain1}, aout, sc); 2869 return new result_int(aout); 2870 } 2871 2872 private final static int mExportReduceIdx_my_float2_13 = 77; 2873 // in1 = "in", flattened 2-vectors 2874 public result_int reduce_my_float2_13(float[] in1) { 2875 // Verify that "in1" is non-null. 2876 if (in1 == null) { 2877 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2878 } 2879 // Verify that the array length is a multiple of the vector size. 2880 if (in1.length % 2 != 0) { 2881 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2882 } 2883 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2884 ain1.setAutoPadding(true); 2885 ain1.copyFrom(in1); 2886 2887 result_int result = reduce_my_float2_13(ain1, null); 2888 result.mTempIns = new Allocation[]{ain1}; 2889 return result; 2890 } 2891 2892 // ain1 = "float2 in" 2893 public result_int reduce_my_float2_13(Allocation ain1) { 2894 return reduce_my_float2_13(ain1, null); 2895 } 2896 2897 // ain1 = "float2 in" 2898 public result_int reduce_my_float2_13(Allocation ain1, Script.LaunchOptions sc) { 2899 // check ain1 2900 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2901 throw new RSRuntimeException("Type mismatch with F32_2!"); 2902 } 2903 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2904 aout.setAutoPadding(true); 2905 reduce(mExportReduceIdx_my_float2_13, new Allocation[]{ain1}, aout, sc); 2906 return new result_int(aout); 2907 } 2908 2909 private final static int mExportReduceIdx_my_float2_14 = 78; 2910 // in1 = "in", flattened 2-vectors 2911 public result_int reduce_my_float2_14(float[] in1) { 2912 // Verify that "in1" is non-null. 2913 if (in1 == null) { 2914 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2915 } 2916 // Verify that the array length is a multiple of the vector size. 2917 if (in1.length % 2 != 0) { 2918 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2919 } 2920 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2921 ain1.setAutoPadding(true); 2922 ain1.copyFrom(in1); 2923 2924 result_int result = reduce_my_float2_14(ain1, null); 2925 result.mTempIns = new Allocation[]{ain1}; 2926 return result; 2927 } 2928 2929 // ain1 = "float2 in" 2930 public result_int reduce_my_float2_14(Allocation ain1) { 2931 return reduce_my_float2_14(ain1, null); 2932 } 2933 2934 // ain1 = "float2 in" 2935 public result_int reduce_my_float2_14(Allocation ain1, Script.LaunchOptions sc) { 2936 // check ain1 2937 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2938 throw new RSRuntimeException("Type mismatch with F32_2!"); 2939 } 2940 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2941 aout.setAutoPadding(true); 2942 reduce(mExportReduceIdx_my_float2_14, new Allocation[]{ain1}, aout, sc); 2943 return new result_int(aout); 2944 } 2945 2946 private final static int mExportReduceIdx_my_float2_15 = 79; 2947 // in1 = "in", flattened 2-vectors 2948 public result_int reduce_my_float2_15(float[] in1) { 2949 // Verify that "in1" is non-null. 2950 if (in1 == null) { 2951 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2952 } 2953 // Verify that the array length is a multiple of the vector size. 2954 if (in1.length % 2 != 0) { 2955 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 2956 } 2957 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_2, in1.length / 2); 2958 ain1.setAutoPadding(true); 2959 ain1.copyFrom(in1); 2960 2961 result_int result = reduce_my_float2_15(ain1, null); 2962 result.mTempIns = new Allocation[]{ain1}; 2963 return result; 2964 } 2965 2966 // ain1 = "float2 in" 2967 public result_int reduce_my_float2_15(Allocation ain1) { 2968 return reduce_my_float2_15(ain1, null); 2969 } 2970 2971 // ain1 = "float2 in" 2972 public result_int reduce_my_float2_15(Allocation ain1, Script.LaunchOptions sc) { 2973 // check ain1 2974 if (!ain1.getType().getElement().isCompatible(__F32_2)) { 2975 throw new RSRuntimeException("Type mismatch with F32_2!"); 2976 } 2977 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 2978 aout.setAutoPadding(true); 2979 reduce(mExportReduceIdx_my_float2_15, new Allocation[]{ain1}, aout, sc); 2980 return new result_int(aout); 2981 } 2982 2983 private final static int mExportReduceIdx_my_float4_0 = 80; 2984 // in1 = "in", flattened 4-vectors 2985 public result_int reduce_my_float4_0(float[] in1) { 2986 // Verify that "in1" is non-null. 2987 if (in1 == null) { 2988 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 2989 } 2990 // Verify that the array length is a multiple of the vector size. 2991 if (in1.length % 4 != 0) { 2992 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 2993 } 2994 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 2995 ain1.setAutoPadding(true); 2996 ain1.copyFrom(in1); 2997 2998 result_int result = reduce_my_float4_0(ain1, null); 2999 result.mTempIns = new Allocation[]{ain1}; 3000 return result; 3001 } 3002 3003 // ain1 = "float4 in" 3004 public result_int reduce_my_float4_0(Allocation ain1) { 3005 return reduce_my_float4_0(ain1, null); 3006 } 3007 3008 // ain1 = "float4 in" 3009 public result_int reduce_my_float4_0(Allocation ain1, Script.LaunchOptions sc) { 3010 // check ain1 3011 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3012 throw new RSRuntimeException("Type mismatch with F32_4!"); 3013 } 3014 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3015 aout.setAutoPadding(true); 3016 reduce(mExportReduceIdx_my_float4_0, new Allocation[]{ain1}, aout, sc); 3017 return new result_int(aout); 3018 } 3019 3020 private final static int mExportReduceIdx_my_float4_1 = 81; 3021 // in1 = "in", flattened 4-vectors 3022 public result_int reduce_my_float4_1(float[] in1) { 3023 // Verify that "in1" is non-null. 3024 if (in1 == null) { 3025 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3026 } 3027 // Verify that the array length is a multiple of the vector size. 3028 if (in1.length % 4 != 0) { 3029 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3030 } 3031 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3032 ain1.setAutoPadding(true); 3033 ain1.copyFrom(in1); 3034 3035 result_int result = reduce_my_float4_1(ain1, null); 3036 result.mTempIns = new Allocation[]{ain1}; 3037 return result; 3038 } 3039 3040 // ain1 = "float4 in" 3041 public result_int reduce_my_float4_1(Allocation ain1) { 3042 return reduce_my_float4_1(ain1, null); 3043 } 3044 3045 // ain1 = "float4 in" 3046 public result_int reduce_my_float4_1(Allocation ain1, Script.LaunchOptions sc) { 3047 // check ain1 3048 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3049 throw new RSRuntimeException("Type mismatch with F32_4!"); 3050 } 3051 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3052 aout.setAutoPadding(true); 3053 reduce(mExportReduceIdx_my_float4_1, new Allocation[]{ain1}, aout, sc); 3054 return new result_int(aout); 3055 } 3056 3057 private final static int mExportReduceIdx_my_float4_2 = 82; 3058 // in1 = "in", flattened 4-vectors 3059 public result_int reduce_my_float4_2(float[] in1) { 3060 // Verify that "in1" is non-null. 3061 if (in1 == null) { 3062 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3063 } 3064 // Verify that the array length is a multiple of the vector size. 3065 if (in1.length % 4 != 0) { 3066 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3067 } 3068 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3069 ain1.setAutoPadding(true); 3070 ain1.copyFrom(in1); 3071 3072 result_int result = reduce_my_float4_2(ain1, null); 3073 result.mTempIns = new Allocation[]{ain1}; 3074 return result; 3075 } 3076 3077 // ain1 = "float4 in" 3078 public result_int reduce_my_float4_2(Allocation ain1) { 3079 return reduce_my_float4_2(ain1, null); 3080 } 3081 3082 // ain1 = "float4 in" 3083 public result_int reduce_my_float4_2(Allocation ain1, Script.LaunchOptions sc) { 3084 // check ain1 3085 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3086 throw new RSRuntimeException("Type mismatch with F32_4!"); 3087 } 3088 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3089 aout.setAutoPadding(true); 3090 reduce(mExportReduceIdx_my_float4_2, new Allocation[]{ain1}, aout, sc); 3091 return new result_int(aout); 3092 } 3093 3094 private final static int mExportReduceIdx_my_float4_3 = 83; 3095 // in1 = "in", flattened 4-vectors 3096 public result_int reduce_my_float4_3(float[] in1) { 3097 // Verify that "in1" is non-null. 3098 if (in1 == null) { 3099 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3100 } 3101 // Verify that the array length is a multiple of the vector size. 3102 if (in1.length % 4 != 0) { 3103 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3104 } 3105 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3106 ain1.setAutoPadding(true); 3107 ain1.copyFrom(in1); 3108 3109 result_int result = reduce_my_float4_3(ain1, null); 3110 result.mTempIns = new Allocation[]{ain1}; 3111 return result; 3112 } 3113 3114 // ain1 = "float4 in" 3115 public result_int reduce_my_float4_3(Allocation ain1) { 3116 return reduce_my_float4_3(ain1, null); 3117 } 3118 3119 // ain1 = "float4 in" 3120 public result_int reduce_my_float4_3(Allocation ain1, Script.LaunchOptions sc) { 3121 // check ain1 3122 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3123 throw new RSRuntimeException("Type mismatch with F32_4!"); 3124 } 3125 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3126 aout.setAutoPadding(true); 3127 reduce(mExportReduceIdx_my_float4_3, new Allocation[]{ain1}, aout, sc); 3128 return new result_int(aout); 3129 } 3130 3131 private final static int mExportReduceIdx_my_float4_4 = 84; 3132 // in1 = "in", flattened 4-vectors 3133 public result_int reduce_my_float4_4(float[] in1) { 3134 // Verify that "in1" is non-null. 3135 if (in1 == null) { 3136 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3137 } 3138 // Verify that the array length is a multiple of the vector size. 3139 if (in1.length % 4 != 0) { 3140 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3141 } 3142 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3143 ain1.setAutoPadding(true); 3144 ain1.copyFrom(in1); 3145 3146 result_int result = reduce_my_float4_4(ain1, null); 3147 result.mTempIns = new Allocation[]{ain1}; 3148 return result; 3149 } 3150 3151 // ain1 = "float4 in" 3152 public result_int reduce_my_float4_4(Allocation ain1) { 3153 return reduce_my_float4_4(ain1, null); 3154 } 3155 3156 // ain1 = "float4 in" 3157 public result_int reduce_my_float4_4(Allocation ain1, Script.LaunchOptions sc) { 3158 // check ain1 3159 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3160 throw new RSRuntimeException("Type mismatch with F32_4!"); 3161 } 3162 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3163 aout.setAutoPadding(true); 3164 reduce(mExportReduceIdx_my_float4_4, new Allocation[]{ain1}, aout, sc); 3165 return new result_int(aout); 3166 } 3167 3168 private final static int mExportReduceIdx_my_float4_5 = 85; 3169 // in1 = "in", flattened 4-vectors 3170 public result_int reduce_my_float4_5(float[] in1) { 3171 // Verify that "in1" is non-null. 3172 if (in1 == null) { 3173 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3174 } 3175 // Verify that the array length is a multiple of the vector size. 3176 if (in1.length % 4 != 0) { 3177 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3178 } 3179 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3180 ain1.setAutoPadding(true); 3181 ain1.copyFrom(in1); 3182 3183 result_int result = reduce_my_float4_5(ain1, null); 3184 result.mTempIns = new Allocation[]{ain1}; 3185 return result; 3186 } 3187 3188 // ain1 = "float4 in" 3189 public result_int reduce_my_float4_5(Allocation ain1) { 3190 return reduce_my_float4_5(ain1, null); 3191 } 3192 3193 // ain1 = "float4 in" 3194 public result_int reduce_my_float4_5(Allocation ain1, Script.LaunchOptions sc) { 3195 // check ain1 3196 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3197 throw new RSRuntimeException("Type mismatch with F32_4!"); 3198 } 3199 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3200 aout.setAutoPadding(true); 3201 reduce(mExportReduceIdx_my_float4_5, new Allocation[]{ain1}, aout, sc); 3202 return new result_int(aout); 3203 } 3204 3205 private final static int mExportReduceIdx_my_float4_6 = 86; 3206 // in1 = "in", flattened 4-vectors 3207 public result_int reduce_my_float4_6(float[] in1) { 3208 // Verify that "in1" is non-null. 3209 if (in1 == null) { 3210 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3211 } 3212 // Verify that the array length is a multiple of the vector size. 3213 if (in1.length % 4 != 0) { 3214 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3215 } 3216 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3217 ain1.setAutoPadding(true); 3218 ain1.copyFrom(in1); 3219 3220 result_int result = reduce_my_float4_6(ain1, null); 3221 result.mTempIns = new Allocation[]{ain1}; 3222 return result; 3223 } 3224 3225 // ain1 = "float4 in" 3226 public result_int reduce_my_float4_6(Allocation ain1) { 3227 return reduce_my_float4_6(ain1, null); 3228 } 3229 3230 // ain1 = "float4 in" 3231 public result_int reduce_my_float4_6(Allocation ain1, Script.LaunchOptions sc) { 3232 // check ain1 3233 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3234 throw new RSRuntimeException("Type mismatch with F32_4!"); 3235 } 3236 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3237 aout.setAutoPadding(true); 3238 reduce(mExportReduceIdx_my_float4_6, new Allocation[]{ain1}, aout, sc); 3239 return new result_int(aout); 3240 } 3241 3242 private final static int mExportReduceIdx_my_float4_7 = 87; 3243 // in1 = "in", flattened 4-vectors 3244 public result_int reduce_my_float4_7(float[] in1) { 3245 // Verify that "in1" is non-null. 3246 if (in1 == null) { 3247 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3248 } 3249 // Verify that the array length is a multiple of the vector size. 3250 if (in1.length % 4 != 0) { 3251 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3252 } 3253 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3254 ain1.setAutoPadding(true); 3255 ain1.copyFrom(in1); 3256 3257 result_int result = reduce_my_float4_7(ain1, null); 3258 result.mTempIns = new Allocation[]{ain1}; 3259 return result; 3260 } 3261 3262 // ain1 = "float4 in" 3263 public result_int reduce_my_float4_7(Allocation ain1) { 3264 return reduce_my_float4_7(ain1, null); 3265 } 3266 3267 // ain1 = "float4 in" 3268 public result_int reduce_my_float4_7(Allocation ain1, Script.LaunchOptions sc) { 3269 // check ain1 3270 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3271 throw new RSRuntimeException("Type mismatch with F32_4!"); 3272 } 3273 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3274 aout.setAutoPadding(true); 3275 reduce(mExportReduceIdx_my_float4_7, new Allocation[]{ain1}, aout, sc); 3276 return new result_int(aout); 3277 } 3278 3279 private final static int mExportReduceIdx_my_float4_8 = 88; 3280 // in1 = "in", flattened 4-vectors 3281 public result_int reduce_my_float4_8(float[] in1) { 3282 // Verify that "in1" is non-null. 3283 if (in1 == null) { 3284 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3285 } 3286 // Verify that the array length is a multiple of the vector size. 3287 if (in1.length % 4 != 0) { 3288 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3289 } 3290 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3291 ain1.setAutoPadding(true); 3292 ain1.copyFrom(in1); 3293 3294 result_int result = reduce_my_float4_8(ain1, null); 3295 result.mTempIns = new Allocation[]{ain1}; 3296 return result; 3297 } 3298 3299 // ain1 = "float4 in" 3300 public result_int reduce_my_float4_8(Allocation ain1) { 3301 return reduce_my_float4_8(ain1, null); 3302 } 3303 3304 // ain1 = "float4 in" 3305 public result_int reduce_my_float4_8(Allocation ain1, Script.LaunchOptions sc) { 3306 // check ain1 3307 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3308 throw new RSRuntimeException("Type mismatch with F32_4!"); 3309 } 3310 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3311 aout.setAutoPadding(true); 3312 reduce(mExportReduceIdx_my_float4_8, new Allocation[]{ain1}, aout, sc); 3313 return new result_int(aout); 3314 } 3315 3316 private final static int mExportReduceIdx_my_float4_9 = 89; 3317 // in1 = "in", flattened 4-vectors 3318 public result_int reduce_my_float4_9(float[] in1) { 3319 // Verify that "in1" is non-null. 3320 if (in1 == null) { 3321 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3322 } 3323 // Verify that the array length is a multiple of the vector size. 3324 if (in1.length % 4 != 0) { 3325 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3326 } 3327 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3328 ain1.setAutoPadding(true); 3329 ain1.copyFrom(in1); 3330 3331 result_int result = reduce_my_float4_9(ain1, null); 3332 result.mTempIns = new Allocation[]{ain1}; 3333 return result; 3334 } 3335 3336 // ain1 = "float4 in" 3337 public result_int reduce_my_float4_9(Allocation ain1) { 3338 return reduce_my_float4_9(ain1, null); 3339 } 3340 3341 // ain1 = "float4 in" 3342 public result_int reduce_my_float4_9(Allocation ain1, Script.LaunchOptions sc) { 3343 // check ain1 3344 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3345 throw new RSRuntimeException("Type mismatch with F32_4!"); 3346 } 3347 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3348 aout.setAutoPadding(true); 3349 reduce(mExportReduceIdx_my_float4_9, new Allocation[]{ain1}, aout, sc); 3350 return new result_int(aout); 3351 } 3352 3353 private final static int mExportReduceIdx_my_float4_10 = 90; 3354 // in1 = "in", flattened 4-vectors 3355 public result_int reduce_my_float4_10(float[] in1) { 3356 // Verify that "in1" is non-null. 3357 if (in1 == null) { 3358 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3359 } 3360 // Verify that the array length is a multiple of the vector size. 3361 if (in1.length % 4 != 0) { 3362 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3363 } 3364 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3365 ain1.setAutoPadding(true); 3366 ain1.copyFrom(in1); 3367 3368 result_int result = reduce_my_float4_10(ain1, null); 3369 result.mTempIns = new Allocation[]{ain1}; 3370 return result; 3371 } 3372 3373 // ain1 = "float4 in" 3374 public result_int reduce_my_float4_10(Allocation ain1) { 3375 return reduce_my_float4_10(ain1, null); 3376 } 3377 3378 // ain1 = "float4 in" 3379 public result_int reduce_my_float4_10(Allocation ain1, Script.LaunchOptions sc) { 3380 // check ain1 3381 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3382 throw new RSRuntimeException("Type mismatch with F32_4!"); 3383 } 3384 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3385 aout.setAutoPadding(true); 3386 reduce(mExportReduceIdx_my_float4_10, new Allocation[]{ain1}, aout, sc); 3387 return new result_int(aout); 3388 } 3389 3390 private final static int mExportReduceIdx_my_float4_11 = 91; 3391 // in1 = "in", flattened 4-vectors 3392 public result_int reduce_my_float4_11(float[] in1) { 3393 // Verify that "in1" is non-null. 3394 if (in1 == null) { 3395 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3396 } 3397 // Verify that the array length is a multiple of the vector size. 3398 if (in1.length % 4 != 0) { 3399 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3400 } 3401 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3402 ain1.setAutoPadding(true); 3403 ain1.copyFrom(in1); 3404 3405 result_int result = reduce_my_float4_11(ain1, null); 3406 result.mTempIns = new Allocation[]{ain1}; 3407 return result; 3408 } 3409 3410 // ain1 = "float4 in" 3411 public result_int reduce_my_float4_11(Allocation ain1) { 3412 return reduce_my_float4_11(ain1, null); 3413 } 3414 3415 // ain1 = "float4 in" 3416 public result_int reduce_my_float4_11(Allocation ain1, Script.LaunchOptions sc) { 3417 // check ain1 3418 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3419 throw new RSRuntimeException("Type mismatch with F32_4!"); 3420 } 3421 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3422 aout.setAutoPadding(true); 3423 reduce(mExportReduceIdx_my_float4_11, new Allocation[]{ain1}, aout, sc); 3424 return new result_int(aout); 3425 } 3426 3427 private final static int mExportReduceIdx_my_float4_12 = 92; 3428 // in1 = "in", flattened 4-vectors 3429 public result_int reduce_my_float4_12(float[] in1) { 3430 // Verify that "in1" is non-null. 3431 if (in1 == null) { 3432 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3433 } 3434 // Verify that the array length is a multiple of the vector size. 3435 if (in1.length % 4 != 0) { 3436 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3437 } 3438 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3439 ain1.setAutoPadding(true); 3440 ain1.copyFrom(in1); 3441 3442 result_int result = reduce_my_float4_12(ain1, null); 3443 result.mTempIns = new Allocation[]{ain1}; 3444 return result; 3445 } 3446 3447 // ain1 = "float4 in" 3448 public result_int reduce_my_float4_12(Allocation ain1) { 3449 return reduce_my_float4_12(ain1, null); 3450 } 3451 3452 // ain1 = "float4 in" 3453 public result_int reduce_my_float4_12(Allocation ain1, Script.LaunchOptions sc) { 3454 // check ain1 3455 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3456 throw new RSRuntimeException("Type mismatch with F32_4!"); 3457 } 3458 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3459 aout.setAutoPadding(true); 3460 reduce(mExportReduceIdx_my_float4_12, new Allocation[]{ain1}, aout, sc); 3461 return new result_int(aout); 3462 } 3463 3464 private final static int mExportReduceIdx_my_float4_13 = 93; 3465 // in1 = "in", flattened 4-vectors 3466 public result_int reduce_my_float4_13(float[] in1) { 3467 // Verify that "in1" is non-null. 3468 if (in1 == null) { 3469 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3470 } 3471 // Verify that the array length is a multiple of the vector size. 3472 if (in1.length % 4 != 0) { 3473 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3474 } 3475 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3476 ain1.setAutoPadding(true); 3477 ain1.copyFrom(in1); 3478 3479 result_int result = reduce_my_float4_13(ain1, null); 3480 result.mTempIns = new Allocation[]{ain1}; 3481 return result; 3482 } 3483 3484 // ain1 = "float4 in" 3485 public result_int reduce_my_float4_13(Allocation ain1) { 3486 return reduce_my_float4_13(ain1, null); 3487 } 3488 3489 // ain1 = "float4 in" 3490 public result_int reduce_my_float4_13(Allocation ain1, Script.LaunchOptions sc) { 3491 // check ain1 3492 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3493 throw new RSRuntimeException("Type mismatch with F32_4!"); 3494 } 3495 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3496 aout.setAutoPadding(true); 3497 reduce(mExportReduceIdx_my_float4_13, new Allocation[]{ain1}, aout, sc); 3498 return new result_int(aout); 3499 } 3500 3501 private final static int mExportReduceIdx_my_float4_14 = 94; 3502 // in1 = "in", flattened 4-vectors 3503 public result_int reduce_my_float4_14(float[] in1) { 3504 // Verify that "in1" is non-null. 3505 if (in1 == null) { 3506 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3507 } 3508 // Verify that the array length is a multiple of the vector size. 3509 if (in1.length % 4 != 0) { 3510 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3511 } 3512 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3513 ain1.setAutoPadding(true); 3514 ain1.copyFrom(in1); 3515 3516 result_int result = reduce_my_float4_14(ain1, null); 3517 result.mTempIns = new Allocation[]{ain1}; 3518 return result; 3519 } 3520 3521 // ain1 = "float4 in" 3522 public result_int reduce_my_float4_14(Allocation ain1) { 3523 return reduce_my_float4_14(ain1, null); 3524 } 3525 3526 // ain1 = "float4 in" 3527 public result_int reduce_my_float4_14(Allocation ain1, Script.LaunchOptions sc) { 3528 // check ain1 3529 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3530 throw new RSRuntimeException("Type mismatch with F32_4!"); 3531 } 3532 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3533 aout.setAutoPadding(true); 3534 reduce(mExportReduceIdx_my_float4_14, new Allocation[]{ain1}, aout, sc); 3535 return new result_int(aout); 3536 } 3537 3538 private final static int mExportReduceIdx_my_float4_15 = 95; 3539 // in1 = "in", flattened 4-vectors 3540 public result_int reduce_my_float4_15(float[] in1) { 3541 // Verify that "in1" is non-null. 3542 if (in1 == null) { 3543 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3544 } 3545 // Verify that the array length is a multiple of the vector size. 3546 if (in1.length % 4 != 0) { 3547 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 3548 } 3549 Allocation ain1 = Allocation.createSized(mRSLocal, __F32_4, in1.length / 4); 3550 ain1.setAutoPadding(true); 3551 ain1.copyFrom(in1); 3552 3553 result_int result = reduce_my_float4_15(ain1, null); 3554 result.mTempIns = new Allocation[]{ain1}; 3555 return result; 3556 } 3557 3558 // ain1 = "float4 in" 3559 public result_int reduce_my_float4_15(Allocation ain1) { 3560 return reduce_my_float4_15(ain1, null); 3561 } 3562 3563 // ain1 = "float4 in" 3564 public result_int reduce_my_float4_15(Allocation ain1, Script.LaunchOptions sc) { 3565 // check ain1 3566 if (!ain1.getType().getElement().isCompatible(__F32_4)) { 3567 throw new RSRuntimeException("Type mismatch with F32_4!"); 3568 } 3569 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3570 aout.setAutoPadding(true); 3571 reduce(mExportReduceIdx_my_float4_15, new Allocation[]{ain1}, aout, sc); 3572 return new result_int(aout); 3573 } 3574 3575 private final static int mExportReduceIdx_my_double_0 = 96; 3576 // in1 = "in" 3577 public result_int reduce_my_double_0(double[] in1) { 3578 // Verify that "in1" is non-null. 3579 if (in1 == null) { 3580 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3581 } 3582 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3583 ain1.setAutoPadding(true); 3584 ain1.copyFrom(in1); 3585 3586 result_int result = reduce_my_double_0(ain1, null); 3587 result.mTempIns = new Allocation[]{ain1}; 3588 return result; 3589 } 3590 3591 // ain1 = "double in" 3592 public result_int reduce_my_double_0(Allocation ain1) { 3593 return reduce_my_double_0(ain1, null); 3594 } 3595 3596 // ain1 = "double in" 3597 public result_int reduce_my_double_0(Allocation ain1, Script.LaunchOptions sc) { 3598 // check ain1 3599 if (!ain1.getType().getElement().isCompatible(__F64)) { 3600 throw new RSRuntimeException("Type mismatch with F64!"); 3601 } 3602 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3603 aout.setAutoPadding(true); 3604 reduce(mExportReduceIdx_my_double_0, new Allocation[]{ain1}, aout, sc); 3605 return new result_int(aout); 3606 } 3607 3608 private final static int mExportReduceIdx_my_double_1 = 97; 3609 // in1 = "in" 3610 public result_int reduce_my_double_1(double[] in1) { 3611 // Verify that "in1" is non-null. 3612 if (in1 == null) { 3613 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3614 } 3615 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3616 ain1.setAutoPadding(true); 3617 ain1.copyFrom(in1); 3618 3619 result_int result = reduce_my_double_1(ain1, null); 3620 result.mTempIns = new Allocation[]{ain1}; 3621 return result; 3622 } 3623 3624 // ain1 = "double in" 3625 public result_int reduce_my_double_1(Allocation ain1) { 3626 return reduce_my_double_1(ain1, null); 3627 } 3628 3629 // ain1 = "double in" 3630 public result_int reduce_my_double_1(Allocation ain1, Script.LaunchOptions sc) { 3631 // check ain1 3632 if (!ain1.getType().getElement().isCompatible(__F64)) { 3633 throw new RSRuntimeException("Type mismatch with F64!"); 3634 } 3635 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3636 aout.setAutoPadding(true); 3637 reduce(mExportReduceIdx_my_double_1, new Allocation[]{ain1}, aout, sc); 3638 return new result_int(aout); 3639 } 3640 3641 private final static int mExportReduceIdx_my_double_2 = 98; 3642 // in1 = "in" 3643 public result_int reduce_my_double_2(double[] in1) { 3644 // Verify that "in1" is non-null. 3645 if (in1 == null) { 3646 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3647 } 3648 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3649 ain1.setAutoPadding(true); 3650 ain1.copyFrom(in1); 3651 3652 result_int result = reduce_my_double_2(ain1, null); 3653 result.mTempIns = new Allocation[]{ain1}; 3654 return result; 3655 } 3656 3657 // ain1 = "double in" 3658 public result_int reduce_my_double_2(Allocation ain1) { 3659 return reduce_my_double_2(ain1, null); 3660 } 3661 3662 // ain1 = "double in" 3663 public result_int reduce_my_double_2(Allocation ain1, Script.LaunchOptions sc) { 3664 // check ain1 3665 if (!ain1.getType().getElement().isCompatible(__F64)) { 3666 throw new RSRuntimeException("Type mismatch with F64!"); 3667 } 3668 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3669 aout.setAutoPadding(true); 3670 reduce(mExportReduceIdx_my_double_2, new Allocation[]{ain1}, aout, sc); 3671 return new result_int(aout); 3672 } 3673 3674 private final static int mExportReduceIdx_my_double_3 = 99; 3675 // in1 = "in" 3676 public result_int reduce_my_double_3(double[] in1) { 3677 // Verify that "in1" is non-null. 3678 if (in1 == null) { 3679 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3680 } 3681 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3682 ain1.setAutoPadding(true); 3683 ain1.copyFrom(in1); 3684 3685 result_int result = reduce_my_double_3(ain1, null); 3686 result.mTempIns = new Allocation[]{ain1}; 3687 return result; 3688 } 3689 3690 // ain1 = "double in" 3691 public result_int reduce_my_double_3(Allocation ain1) { 3692 return reduce_my_double_3(ain1, null); 3693 } 3694 3695 // ain1 = "double in" 3696 public result_int reduce_my_double_3(Allocation ain1, Script.LaunchOptions sc) { 3697 // check ain1 3698 if (!ain1.getType().getElement().isCompatible(__F64)) { 3699 throw new RSRuntimeException("Type mismatch with F64!"); 3700 } 3701 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3702 aout.setAutoPadding(true); 3703 reduce(mExportReduceIdx_my_double_3, new Allocation[]{ain1}, aout, sc); 3704 return new result_int(aout); 3705 } 3706 3707 private final static int mExportReduceIdx_my_double_4 = 100; 3708 // in1 = "in" 3709 public result_int reduce_my_double_4(double[] in1) { 3710 // Verify that "in1" is non-null. 3711 if (in1 == null) { 3712 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3713 } 3714 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3715 ain1.setAutoPadding(true); 3716 ain1.copyFrom(in1); 3717 3718 result_int result = reduce_my_double_4(ain1, null); 3719 result.mTempIns = new Allocation[]{ain1}; 3720 return result; 3721 } 3722 3723 // ain1 = "double in" 3724 public result_int reduce_my_double_4(Allocation ain1) { 3725 return reduce_my_double_4(ain1, null); 3726 } 3727 3728 // ain1 = "double in" 3729 public result_int reduce_my_double_4(Allocation ain1, Script.LaunchOptions sc) { 3730 // check ain1 3731 if (!ain1.getType().getElement().isCompatible(__F64)) { 3732 throw new RSRuntimeException("Type mismatch with F64!"); 3733 } 3734 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3735 aout.setAutoPadding(true); 3736 reduce(mExportReduceIdx_my_double_4, new Allocation[]{ain1}, aout, sc); 3737 return new result_int(aout); 3738 } 3739 3740 private final static int mExportReduceIdx_my_double_5 = 101; 3741 // in1 = "in" 3742 public result_int reduce_my_double_5(double[] in1) { 3743 // Verify that "in1" is non-null. 3744 if (in1 == null) { 3745 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3746 } 3747 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3748 ain1.setAutoPadding(true); 3749 ain1.copyFrom(in1); 3750 3751 result_int result = reduce_my_double_5(ain1, null); 3752 result.mTempIns = new Allocation[]{ain1}; 3753 return result; 3754 } 3755 3756 // ain1 = "double in" 3757 public result_int reduce_my_double_5(Allocation ain1) { 3758 return reduce_my_double_5(ain1, null); 3759 } 3760 3761 // ain1 = "double in" 3762 public result_int reduce_my_double_5(Allocation ain1, Script.LaunchOptions sc) { 3763 // check ain1 3764 if (!ain1.getType().getElement().isCompatible(__F64)) { 3765 throw new RSRuntimeException("Type mismatch with F64!"); 3766 } 3767 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3768 aout.setAutoPadding(true); 3769 reduce(mExportReduceIdx_my_double_5, new Allocation[]{ain1}, aout, sc); 3770 return new result_int(aout); 3771 } 3772 3773 private final static int mExportReduceIdx_my_double_6 = 102; 3774 // in1 = "in" 3775 public result_int reduce_my_double_6(double[] in1) { 3776 // Verify that "in1" is non-null. 3777 if (in1 == null) { 3778 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3779 } 3780 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3781 ain1.setAutoPadding(true); 3782 ain1.copyFrom(in1); 3783 3784 result_int result = reduce_my_double_6(ain1, null); 3785 result.mTempIns = new Allocation[]{ain1}; 3786 return result; 3787 } 3788 3789 // ain1 = "double in" 3790 public result_int reduce_my_double_6(Allocation ain1) { 3791 return reduce_my_double_6(ain1, null); 3792 } 3793 3794 // ain1 = "double in" 3795 public result_int reduce_my_double_6(Allocation ain1, Script.LaunchOptions sc) { 3796 // check ain1 3797 if (!ain1.getType().getElement().isCompatible(__F64)) { 3798 throw new RSRuntimeException("Type mismatch with F64!"); 3799 } 3800 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3801 aout.setAutoPadding(true); 3802 reduce(mExportReduceIdx_my_double_6, new Allocation[]{ain1}, aout, sc); 3803 return new result_int(aout); 3804 } 3805 3806 private final static int mExportReduceIdx_my_double_7 = 103; 3807 // in1 = "in" 3808 public result_int reduce_my_double_7(double[] in1) { 3809 // Verify that "in1" is non-null. 3810 if (in1 == null) { 3811 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3812 } 3813 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3814 ain1.setAutoPadding(true); 3815 ain1.copyFrom(in1); 3816 3817 result_int result = reduce_my_double_7(ain1, null); 3818 result.mTempIns = new Allocation[]{ain1}; 3819 return result; 3820 } 3821 3822 // ain1 = "double in" 3823 public result_int reduce_my_double_7(Allocation ain1) { 3824 return reduce_my_double_7(ain1, null); 3825 } 3826 3827 // ain1 = "double in" 3828 public result_int reduce_my_double_7(Allocation ain1, Script.LaunchOptions sc) { 3829 // check ain1 3830 if (!ain1.getType().getElement().isCompatible(__F64)) { 3831 throw new RSRuntimeException("Type mismatch with F64!"); 3832 } 3833 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3834 aout.setAutoPadding(true); 3835 reduce(mExportReduceIdx_my_double_7, new Allocation[]{ain1}, aout, sc); 3836 return new result_int(aout); 3837 } 3838 3839 private final static int mExportReduceIdx_my_double_8 = 104; 3840 // in1 = "in" 3841 public result_int reduce_my_double_8(double[] in1) { 3842 // Verify that "in1" is non-null. 3843 if (in1 == null) { 3844 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3845 } 3846 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3847 ain1.setAutoPadding(true); 3848 ain1.copyFrom(in1); 3849 3850 result_int result = reduce_my_double_8(ain1, null); 3851 result.mTempIns = new Allocation[]{ain1}; 3852 return result; 3853 } 3854 3855 // ain1 = "double in" 3856 public result_int reduce_my_double_8(Allocation ain1) { 3857 return reduce_my_double_8(ain1, null); 3858 } 3859 3860 // ain1 = "double in" 3861 public result_int reduce_my_double_8(Allocation ain1, Script.LaunchOptions sc) { 3862 // check ain1 3863 if (!ain1.getType().getElement().isCompatible(__F64)) { 3864 throw new RSRuntimeException("Type mismatch with F64!"); 3865 } 3866 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3867 aout.setAutoPadding(true); 3868 reduce(mExportReduceIdx_my_double_8, new Allocation[]{ain1}, aout, sc); 3869 return new result_int(aout); 3870 } 3871 3872 private final static int mExportReduceIdx_my_double_9 = 105; 3873 // in1 = "in" 3874 public result_int reduce_my_double_9(double[] in1) { 3875 // Verify that "in1" is non-null. 3876 if (in1 == null) { 3877 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3878 } 3879 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3880 ain1.setAutoPadding(true); 3881 ain1.copyFrom(in1); 3882 3883 result_int result = reduce_my_double_9(ain1, null); 3884 result.mTempIns = new Allocation[]{ain1}; 3885 return result; 3886 } 3887 3888 // ain1 = "double in" 3889 public result_int reduce_my_double_9(Allocation ain1) { 3890 return reduce_my_double_9(ain1, null); 3891 } 3892 3893 // ain1 = "double in" 3894 public result_int reduce_my_double_9(Allocation ain1, Script.LaunchOptions sc) { 3895 // check ain1 3896 if (!ain1.getType().getElement().isCompatible(__F64)) { 3897 throw new RSRuntimeException("Type mismatch with F64!"); 3898 } 3899 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3900 aout.setAutoPadding(true); 3901 reduce(mExportReduceIdx_my_double_9, new Allocation[]{ain1}, aout, sc); 3902 return new result_int(aout); 3903 } 3904 3905 private final static int mExportReduceIdx_my_double_10 = 106; 3906 // in1 = "in" 3907 public result_int reduce_my_double_10(double[] in1) { 3908 // Verify that "in1" is non-null. 3909 if (in1 == null) { 3910 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3911 } 3912 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3913 ain1.setAutoPadding(true); 3914 ain1.copyFrom(in1); 3915 3916 result_int result = reduce_my_double_10(ain1, null); 3917 result.mTempIns = new Allocation[]{ain1}; 3918 return result; 3919 } 3920 3921 // ain1 = "double in" 3922 public result_int reduce_my_double_10(Allocation ain1) { 3923 return reduce_my_double_10(ain1, null); 3924 } 3925 3926 // ain1 = "double in" 3927 public result_int reduce_my_double_10(Allocation ain1, Script.LaunchOptions sc) { 3928 // check ain1 3929 if (!ain1.getType().getElement().isCompatible(__F64)) { 3930 throw new RSRuntimeException("Type mismatch with F64!"); 3931 } 3932 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3933 aout.setAutoPadding(true); 3934 reduce(mExportReduceIdx_my_double_10, new Allocation[]{ain1}, aout, sc); 3935 return new result_int(aout); 3936 } 3937 3938 private final static int mExportReduceIdx_my_double_11 = 107; 3939 // in1 = "in" 3940 public result_int reduce_my_double_11(double[] in1) { 3941 // Verify that "in1" is non-null. 3942 if (in1 == null) { 3943 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3944 } 3945 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3946 ain1.setAutoPadding(true); 3947 ain1.copyFrom(in1); 3948 3949 result_int result = reduce_my_double_11(ain1, null); 3950 result.mTempIns = new Allocation[]{ain1}; 3951 return result; 3952 } 3953 3954 // ain1 = "double in" 3955 public result_int reduce_my_double_11(Allocation ain1) { 3956 return reduce_my_double_11(ain1, null); 3957 } 3958 3959 // ain1 = "double in" 3960 public result_int reduce_my_double_11(Allocation ain1, Script.LaunchOptions sc) { 3961 // check ain1 3962 if (!ain1.getType().getElement().isCompatible(__F64)) { 3963 throw new RSRuntimeException("Type mismatch with F64!"); 3964 } 3965 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3966 aout.setAutoPadding(true); 3967 reduce(mExportReduceIdx_my_double_11, new Allocation[]{ain1}, aout, sc); 3968 return new result_int(aout); 3969 } 3970 3971 private final static int mExportReduceIdx_my_double_12 = 108; 3972 // in1 = "in" 3973 public result_int reduce_my_double_12(double[] in1) { 3974 // Verify that "in1" is non-null. 3975 if (in1 == null) { 3976 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 3977 } 3978 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 3979 ain1.setAutoPadding(true); 3980 ain1.copyFrom(in1); 3981 3982 result_int result = reduce_my_double_12(ain1, null); 3983 result.mTempIns = new Allocation[]{ain1}; 3984 return result; 3985 } 3986 3987 // ain1 = "double in" 3988 public result_int reduce_my_double_12(Allocation ain1) { 3989 return reduce_my_double_12(ain1, null); 3990 } 3991 3992 // ain1 = "double in" 3993 public result_int reduce_my_double_12(Allocation ain1, Script.LaunchOptions sc) { 3994 // check ain1 3995 if (!ain1.getType().getElement().isCompatible(__F64)) { 3996 throw new RSRuntimeException("Type mismatch with F64!"); 3997 } 3998 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 3999 aout.setAutoPadding(true); 4000 reduce(mExportReduceIdx_my_double_12, new Allocation[]{ain1}, aout, sc); 4001 return new result_int(aout); 4002 } 4003 4004 private final static int mExportReduceIdx_my_double_13 = 109; 4005 // in1 = "in" 4006 public result_int reduce_my_double_13(double[] in1) { 4007 // Verify that "in1" is non-null. 4008 if (in1 == null) { 4009 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4010 } 4011 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 4012 ain1.setAutoPadding(true); 4013 ain1.copyFrom(in1); 4014 4015 result_int result = reduce_my_double_13(ain1, null); 4016 result.mTempIns = new Allocation[]{ain1}; 4017 return result; 4018 } 4019 4020 // ain1 = "double in" 4021 public result_int reduce_my_double_13(Allocation ain1) { 4022 return reduce_my_double_13(ain1, null); 4023 } 4024 4025 // ain1 = "double in" 4026 public result_int reduce_my_double_13(Allocation ain1, Script.LaunchOptions sc) { 4027 // check ain1 4028 if (!ain1.getType().getElement().isCompatible(__F64)) { 4029 throw new RSRuntimeException("Type mismatch with F64!"); 4030 } 4031 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4032 aout.setAutoPadding(true); 4033 reduce(mExportReduceIdx_my_double_13, new Allocation[]{ain1}, aout, sc); 4034 return new result_int(aout); 4035 } 4036 4037 private final static int mExportReduceIdx_my_double_14 = 110; 4038 // in1 = "in" 4039 public result_int reduce_my_double_14(double[] in1) { 4040 // Verify that "in1" is non-null. 4041 if (in1 == null) { 4042 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4043 } 4044 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 4045 ain1.setAutoPadding(true); 4046 ain1.copyFrom(in1); 4047 4048 result_int result = reduce_my_double_14(ain1, null); 4049 result.mTempIns = new Allocation[]{ain1}; 4050 return result; 4051 } 4052 4053 // ain1 = "double in" 4054 public result_int reduce_my_double_14(Allocation ain1) { 4055 return reduce_my_double_14(ain1, null); 4056 } 4057 4058 // ain1 = "double in" 4059 public result_int reduce_my_double_14(Allocation ain1, Script.LaunchOptions sc) { 4060 // check ain1 4061 if (!ain1.getType().getElement().isCompatible(__F64)) { 4062 throw new RSRuntimeException("Type mismatch with F64!"); 4063 } 4064 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4065 aout.setAutoPadding(true); 4066 reduce(mExportReduceIdx_my_double_14, new Allocation[]{ain1}, aout, sc); 4067 return new result_int(aout); 4068 } 4069 4070 private final static int mExportReduceIdx_my_double_15 = 111; 4071 // in1 = "in" 4072 public result_int reduce_my_double_15(double[] in1) { 4073 // Verify that "in1" is non-null. 4074 if (in1 == null) { 4075 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4076 } 4077 Allocation ain1 = Allocation.createSized(mRSLocal, __F64, in1.length); 4078 ain1.setAutoPadding(true); 4079 ain1.copyFrom(in1); 4080 4081 result_int result = reduce_my_double_15(ain1, null); 4082 result.mTempIns = new Allocation[]{ain1}; 4083 return result; 4084 } 4085 4086 // ain1 = "double in" 4087 public result_int reduce_my_double_15(Allocation ain1) { 4088 return reduce_my_double_15(ain1, null); 4089 } 4090 4091 // ain1 = "double in" 4092 public result_int reduce_my_double_15(Allocation ain1, Script.LaunchOptions sc) { 4093 // check ain1 4094 if (!ain1.getType().getElement().isCompatible(__F64)) { 4095 throw new RSRuntimeException("Type mismatch with F64!"); 4096 } 4097 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4098 aout.setAutoPadding(true); 4099 reduce(mExportReduceIdx_my_double_15, new Allocation[]{ain1}, aout, sc); 4100 return new result_int(aout); 4101 } 4102 4103 private final static int mExportReduceIdx_my_double2_0 = 112; 4104 // in1 = "in", flattened 2-vectors 4105 public result_int reduce_my_double2_0(double[] in1) { 4106 // Verify that "in1" is non-null. 4107 if (in1 == null) { 4108 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4109 } 4110 // Verify that the array length is a multiple of the vector size. 4111 if (in1.length % 2 != 0) { 4112 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4113 } 4114 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4115 ain1.setAutoPadding(true); 4116 ain1.copyFrom(in1); 4117 4118 result_int result = reduce_my_double2_0(ain1, null); 4119 result.mTempIns = new Allocation[]{ain1}; 4120 return result; 4121 } 4122 4123 // ain1 = "double2 in" 4124 public result_int reduce_my_double2_0(Allocation ain1) { 4125 return reduce_my_double2_0(ain1, null); 4126 } 4127 4128 // ain1 = "double2 in" 4129 public result_int reduce_my_double2_0(Allocation ain1, Script.LaunchOptions sc) { 4130 // check ain1 4131 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4132 throw new RSRuntimeException("Type mismatch with F64_2!"); 4133 } 4134 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4135 aout.setAutoPadding(true); 4136 reduce(mExportReduceIdx_my_double2_0, new Allocation[]{ain1}, aout, sc); 4137 return new result_int(aout); 4138 } 4139 4140 private final static int mExportReduceIdx_my_double2_1 = 113; 4141 // in1 = "in", flattened 2-vectors 4142 public result_int reduce_my_double2_1(double[] in1) { 4143 // Verify that "in1" is non-null. 4144 if (in1 == null) { 4145 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4146 } 4147 // Verify that the array length is a multiple of the vector size. 4148 if (in1.length % 2 != 0) { 4149 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4150 } 4151 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4152 ain1.setAutoPadding(true); 4153 ain1.copyFrom(in1); 4154 4155 result_int result = reduce_my_double2_1(ain1, null); 4156 result.mTempIns = new Allocation[]{ain1}; 4157 return result; 4158 } 4159 4160 // ain1 = "double2 in" 4161 public result_int reduce_my_double2_1(Allocation ain1) { 4162 return reduce_my_double2_1(ain1, null); 4163 } 4164 4165 // ain1 = "double2 in" 4166 public result_int reduce_my_double2_1(Allocation ain1, Script.LaunchOptions sc) { 4167 // check ain1 4168 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4169 throw new RSRuntimeException("Type mismatch with F64_2!"); 4170 } 4171 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4172 aout.setAutoPadding(true); 4173 reduce(mExportReduceIdx_my_double2_1, new Allocation[]{ain1}, aout, sc); 4174 return new result_int(aout); 4175 } 4176 4177 private final static int mExportReduceIdx_my_double2_2 = 114; 4178 // in1 = "in", flattened 2-vectors 4179 public result_int reduce_my_double2_2(double[] in1) { 4180 // Verify that "in1" is non-null. 4181 if (in1 == null) { 4182 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4183 } 4184 // Verify that the array length is a multiple of the vector size. 4185 if (in1.length % 2 != 0) { 4186 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4187 } 4188 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4189 ain1.setAutoPadding(true); 4190 ain1.copyFrom(in1); 4191 4192 result_int result = reduce_my_double2_2(ain1, null); 4193 result.mTempIns = new Allocation[]{ain1}; 4194 return result; 4195 } 4196 4197 // ain1 = "double2 in" 4198 public result_int reduce_my_double2_2(Allocation ain1) { 4199 return reduce_my_double2_2(ain1, null); 4200 } 4201 4202 // ain1 = "double2 in" 4203 public result_int reduce_my_double2_2(Allocation ain1, Script.LaunchOptions sc) { 4204 // check ain1 4205 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4206 throw new RSRuntimeException("Type mismatch with F64_2!"); 4207 } 4208 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4209 aout.setAutoPadding(true); 4210 reduce(mExportReduceIdx_my_double2_2, new Allocation[]{ain1}, aout, sc); 4211 return new result_int(aout); 4212 } 4213 4214 private final static int mExportReduceIdx_my_double2_3 = 115; 4215 // in1 = "in", flattened 2-vectors 4216 public result_int reduce_my_double2_3(double[] in1) { 4217 // Verify that "in1" is non-null. 4218 if (in1 == null) { 4219 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4220 } 4221 // Verify that the array length is a multiple of the vector size. 4222 if (in1.length % 2 != 0) { 4223 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4224 } 4225 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4226 ain1.setAutoPadding(true); 4227 ain1.copyFrom(in1); 4228 4229 result_int result = reduce_my_double2_3(ain1, null); 4230 result.mTempIns = new Allocation[]{ain1}; 4231 return result; 4232 } 4233 4234 // ain1 = "double2 in" 4235 public result_int reduce_my_double2_3(Allocation ain1) { 4236 return reduce_my_double2_3(ain1, null); 4237 } 4238 4239 // ain1 = "double2 in" 4240 public result_int reduce_my_double2_3(Allocation ain1, Script.LaunchOptions sc) { 4241 // check ain1 4242 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4243 throw new RSRuntimeException("Type mismatch with F64_2!"); 4244 } 4245 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4246 aout.setAutoPadding(true); 4247 reduce(mExportReduceIdx_my_double2_3, new Allocation[]{ain1}, aout, sc); 4248 return new result_int(aout); 4249 } 4250 4251 private final static int mExportReduceIdx_my_double2_4 = 116; 4252 // in1 = "in", flattened 2-vectors 4253 public result_int reduce_my_double2_4(double[] in1) { 4254 // Verify that "in1" is non-null. 4255 if (in1 == null) { 4256 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4257 } 4258 // Verify that the array length is a multiple of the vector size. 4259 if (in1.length % 2 != 0) { 4260 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4261 } 4262 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4263 ain1.setAutoPadding(true); 4264 ain1.copyFrom(in1); 4265 4266 result_int result = reduce_my_double2_4(ain1, null); 4267 result.mTempIns = new Allocation[]{ain1}; 4268 return result; 4269 } 4270 4271 // ain1 = "double2 in" 4272 public result_int reduce_my_double2_4(Allocation ain1) { 4273 return reduce_my_double2_4(ain1, null); 4274 } 4275 4276 // ain1 = "double2 in" 4277 public result_int reduce_my_double2_4(Allocation ain1, Script.LaunchOptions sc) { 4278 // check ain1 4279 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4280 throw new RSRuntimeException("Type mismatch with F64_2!"); 4281 } 4282 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4283 aout.setAutoPadding(true); 4284 reduce(mExportReduceIdx_my_double2_4, new Allocation[]{ain1}, aout, sc); 4285 return new result_int(aout); 4286 } 4287 4288 private final static int mExportReduceIdx_my_double2_5 = 117; 4289 // in1 = "in", flattened 2-vectors 4290 public result_int reduce_my_double2_5(double[] in1) { 4291 // Verify that "in1" is non-null. 4292 if (in1 == null) { 4293 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4294 } 4295 // Verify that the array length is a multiple of the vector size. 4296 if (in1.length % 2 != 0) { 4297 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4298 } 4299 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4300 ain1.setAutoPadding(true); 4301 ain1.copyFrom(in1); 4302 4303 result_int result = reduce_my_double2_5(ain1, null); 4304 result.mTempIns = new Allocation[]{ain1}; 4305 return result; 4306 } 4307 4308 // ain1 = "double2 in" 4309 public result_int reduce_my_double2_5(Allocation ain1) { 4310 return reduce_my_double2_5(ain1, null); 4311 } 4312 4313 // ain1 = "double2 in" 4314 public result_int reduce_my_double2_5(Allocation ain1, Script.LaunchOptions sc) { 4315 // check ain1 4316 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4317 throw new RSRuntimeException("Type mismatch with F64_2!"); 4318 } 4319 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4320 aout.setAutoPadding(true); 4321 reduce(mExportReduceIdx_my_double2_5, new Allocation[]{ain1}, aout, sc); 4322 return new result_int(aout); 4323 } 4324 4325 private final static int mExportReduceIdx_my_double2_6 = 118; 4326 // in1 = "in", flattened 2-vectors 4327 public result_int reduce_my_double2_6(double[] in1) { 4328 // Verify that "in1" is non-null. 4329 if (in1 == null) { 4330 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4331 } 4332 // Verify that the array length is a multiple of the vector size. 4333 if (in1.length % 2 != 0) { 4334 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4335 } 4336 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4337 ain1.setAutoPadding(true); 4338 ain1.copyFrom(in1); 4339 4340 result_int result = reduce_my_double2_6(ain1, null); 4341 result.mTempIns = new Allocation[]{ain1}; 4342 return result; 4343 } 4344 4345 // ain1 = "double2 in" 4346 public result_int reduce_my_double2_6(Allocation ain1) { 4347 return reduce_my_double2_6(ain1, null); 4348 } 4349 4350 // ain1 = "double2 in" 4351 public result_int reduce_my_double2_6(Allocation ain1, Script.LaunchOptions sc) { 4352 // check ain1 4353 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4354 throw new RSRuntimeException("Type mismatch with F64_2!"); 4355 } 4356 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4357 aout.setAutoPadding(true); 4358 reduce(mExportReduceIdx_my_double2_6, new Allocation[]{ain1}, aout, sc); 4359 return new result_int(aout); 4360 } 4361 4362 private final static int mExportReduceIdx_my_double2_7 = 119; 4363 // in1 = "in", flattened 2-vectors 4364 public result_int reduce_my_double2_7(double[] in1) { 4365 // Verify that "in1" is non-null. 4366 if (in1 == null) { 4367 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4368 } 4369 // Verify that the array length is a multiple of the vector size. 4370 if (in1.length % 2 != 0) { 4371 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4372 } 4373 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4374 ain1.setAutoPadding(true); 4375 ain1.copyFrom(in1); 4376 4377 result_int result = reduce_my_double2_7(ain1, null); 4378 result.mTempIns = new Allocation[]{ain1}; 4379 return result; 4380 } 4381 4382 // ain1 = "double2 in" 4383 public result_int reduce_my_double2_7(Allocation ain1) { 4384 return reduce_my_double2_7(ain1, null); 4385 } 4386 4387 // ain1 = "double2 in" 4388 public result_int reduce_my_double2_7(Allocation ain1, Script.LaunchOptions sc) { 4389 // check ain1 4390 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4391 throw new RSRuntimeException("Type mismatch with F64_2!"); 4392 } 4393 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4394 aout.setAutoPadding(true); 4395 reduce(mExportReduceIdx_my_double2_7, new Allocation[]{ain1}, aout, sc); 4396 return new result_int(aout); 4397 } 4398 4399 private final static int mExportReduceIdx_my_double2_8 = 120; 4400 // in1 = "in", flattened 2-vectors 4401 public result_int reduce_my_double2_8(double[] in1) { 4402 // Verify that "in1" is non-null. 4403 if (in1 == null) { 4404 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4405 } 4406 // Verify that the array length is a multiple of the vector size. 4407 if (in1.length % 2 != 0) { 4408 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4409 } 4410 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4411 ain1.setAutoPadding(true); 4412 ain1.copyFrom(in1); 4413 4414 result_int result = reduce_my_double2_8(ain1, null); 4415 result.mTempIns = new Allocation[]{ain1}; 4416 return result; 4417 } 4418 4419 // ain1 = "double2 in" 4420 public result_int reduce_my_double2_8(Allocation ain1) { 4421 return reduce_my_double2_8(ain1, null); 4422 } 4423 4424 // ain1 = "double2 in" 4425 public result_int reduce_my_double2_8(Allocation ain1, Script.LaunchOptions sc) { 4426 // check ain1 4427 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4428 throw new RSRuntimeException("Type mismatch with F64_2!"); 4429 } 4430 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4431 aout.setAutoPadding(true); 4432 reduce(mExportReduceIdx_my_double2_8, new Allocation[]{ain1}, aout, sc); 4433 return new result_int(aout); 4434 } 4435 4436 private final static int mExportReduceIdx_my_double2_9 = 121; 4437 // in1 = "in", flattened 2-vectors 4438 public result_int reduce_my_double2_9(double[] in1) { 4439 // Verify that "in1" is non-null. 4440 if (in1 == null) { 4441 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4442 } 4443 // Verify that the array length is a multiple of the vector size. 4444 if (in1.length % 2 != 0) { 4445 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4446 } 4447 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4448 ain1.setAutoPadding(true); 4449 ain1.copyFrom(in1); 4450 4451 result_int result = reduce_my_double2_9(ain1, null); 4452 result.mTempIns = new Allocation[]{ain1}; 4453 return result; 4454 } 4455 4456 // ain1 = "double2 in" 4457 public result_int reduce_my_double2_9(Allocation ain1) { 4458 return reduce_my_double2_9(ain1, null); 4459 } 4460 4461 // ain1 = "double2 in" 4462 public result_int reduce_my_double2_9(Allocation ain1, Script.LaunchOptions sc) { 4463 // check ain1 4464 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4465 throw new RSRuntimeException("Type mismatch with F64_2!"); 4466 } 4467 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4468 aout.setAutoPadding(true); 4469 reduce(mExportReduceIdx_my_double2_9, new Allocation[]{ain1}, aout, sc); 4470 return new result_int(aout); 4471 } 4472 4473 private final static int mExportReduceIdx_my_double2_10 = 122; 4474 // in1 = "in", flattened 2-vectors 4475 public result_int reduce_my_double2_10(double[] in1) { 4476 // Verify that "in1" is non-null. 4477 if (in1 == null) { 4478 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4479 } 4480 // Verify that the array length is a multiple of the vector size. 4481 if (in1.length % 2 != 0) { 4482 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4483 } 4484 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4485 ain1.setAutoPadding(true); 4486 ain1.copyFrom(in1); 4487 4488 result_int result = reduce_my_double2_10(ain1, null); 4489 result.mTempIns = new Allocation[]{ain1}; 4490 return result; 4491 } 4492 4493 // ain1 = "double2 in" 4494 public result_int reduce_my_double2_10(Allocation ain1) { 4495 return reduce_my_double2_10(ain1, null); 4496 } 4497 4498 // ain1 = "double2 in" 4499 public result_int reduce_my_double2_10(Allocation ain1, Script.LaunchOptions sc) { 4500 // check ain1 4501 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4502 throw new RSRuntimeException("Type mismatch with F64_2!"); 4503 } 4504 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4505 aout.setAutoPadding(true); 4506 reduce(mExportReduceIdx_my_double2_10, new Allocation[]{ain1}, aout, sc); 4507 return new result_int(aout); 4508 } 4509 4510 private final static int mExportReduceIdx_my_double2_11 = 123; 4511 // in1 = "in", flattened 2-vectors 4512 public result_int reduce_my_double2_11(double[] in1) { 4513 // Verify that "in1" is non-null. 4514 if (in1 == null) { 4515 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4516 } 4517 // Verify that the array length is a multiple of the vector size. 4518 if (in1.length % 2 != 0) { 4519 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4520 } 4521 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4522 ain1.setAutoPadding(true); 4523 ain1.copyFrom(in1); 4524 4525 result_int result = reduce_my_double2_11(ain1, null); 4526 result.mTempIns = new Allocation[]{ain1}; 4527 return result; 4528 } 4529 4530 // ain1 = "double2 in" 4531 public result_int reduce_my_double2_11(Allocation ain1) { 4532 return reduce_my_double2_11(ain1, null); 4533 } 4534 4535 // ain1 = "double2 in" 4536 public result_int reduce_my_double2_11(Allocation ain1, Script.LaunchOptions sc) { 4537 // check ain1 4538 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4539 throw new RSRuntimeException("Type mismatch with F64_2!"); 4540 } 4541 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4542 aout.setAutoPadding(true); 4543 reduce(mExportReduceIdx_my_double2_11, new Allocation[]{ain1}, aout, sc); 4544 return new result_int(aout); 4545 } 4546 4547 private final static int mExportReduceIdx_my_double2_12 = 124; 4548 // in1 = "in", flattened 2-vectors 4549 public result_int reduce_my_double2_12(double[] in1) { 4550 // Verify that "in1" is non-null. 4551 if (in1 == null) { 4552 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4553 } 4554 // Verify that the array length is a multiple of the vector size. 4555 if (in1.length % 2 != 0) { 4556 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4557 } 4558 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4559 ain1.setAutoPadding(true); 4560 ain1.copyFrom(in1); 4561 4562 result_int result = reduce_my_double2_12(ain1, null); 4563 result.mTempIns = new Allocation[]{ain1}; 4564 return result; 4565 } 4566 4567 // ain1 = "double2 in" 4568 public result_int reduce_my_double2_12(Allocation ain1) { 4569 return reduce_my_double2_12(ain1, null); 4570 } 4571 4572 // ain1 = "double2 in" 4573 public result_int reduce_my_double2_12(Allocation ain1, Script.LaunchOptions sc) { 4574 // check ain1 4575 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4576 throw new RSRuntimeException("Type mismatch with F64_2!"); 4577 } 4578 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4579 aout.setAutoPadding(true); 4580 reduce(mExportReduceIdx_my_double2_12, new Allocation[]{ain1}, aout, sc); 4581 return new result_int(aout); 4582 } 4583 4584 private final static int mExportReduceIdx_my_double2_13 = 125; 4585 // in1 = "in", flattened 2-vectors 4586 public result_int reduce_my_double2_13(double[] in1) { 4587 // Verify that "in1" is non-null. 4588 if (in1 == null) { 4589 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4590 } 4591 // Verify that the array length is a multiple of the vector size. 4592 if (in1.length % 2 != 0) { 4593 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4594 } 4595 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4596 ain1.setAutoPadding(true); 4597 ain1.copyFrom(in1); 4598 4599 result_int result = reduce_my_double2_13(ain1, null); 4600 result.mTempIns = new Allocation[]{ain1}; 4601 return result; 4602 } 4603 4604 // ain1 = "double2 in" 4605 public result_int reduce_my_double2_13(Allocation ain1) { 4606 return reduce_my_double2_13(ain1, null); 4607 } 4608 4609 // ain1 = "double2 in" 4610 public result_int reduce_my_double2_13(Allocation ain1, Script.LaunchOptions sc) { 4611 // check ain1 4612 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4613 throw new RSRuntimeException("Type mismatch with F64_2!"); 4614 } 4615 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4616 aout.setAutoPadding(true); 4617 reduce(mExportReduceIdx_my_double2_13, new Allocation[]{ain1}, aout, sc); 4618 return new result_int(aout); 4619 } 4620 4621 private final static int mExportReduceIdx_my_double2_14 = 126; 4622 // in1 = "in", flattened 2-vectors 4623 public result_int reduce_my_double2_14(double[] in1) { 4624 // Verify that "in1" is non-null. 4625 if (in1 == null) { 4626 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4627 } 4628 // Verify that the array length is a multiple of the vector size. 4629 if (in1.length % 2 != 0) { 4630 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4631 } 4632 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4633 ain1.setAutoPadding(true); 4634 ain1.copyFrom(in1); 4635 4636 result_int result = reduce_my_double2_14(ain1, null); 4637 result.mTempIns = new Allocation[]{ain1}; 4638 return result; 4639 } 4640 4641 // ain1 = "double2 in" 4642 public result_int reduce_my_double2_14(Allocation ain1) { 4643 return reduce_my_double2_14(ain1, null); 4644 } 4645 4646 // ain1 = "double2 in" 4647 public result_int reduce_my_double2_14(Allocation ain1, Script.LaunchOptions sc) { 4648 // check ain1 4649 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4650 throw new RSRuntimeException("Type mismatch with F64_2!"); 4651 } 4652 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4653 aout.setAutoPadding(true); 4654 reduce(mExportReduceIdx_my_double2_14, new Allocation[]{ain1}, aout, sc); 4655 return new result_int(aout); 4656 } 4657 4658 private final static int mExportReduceIdx_my_double2_15 = 127; 4659 // in1 = "in", flattened 2-vectors 4660 public result_int reduce_my_double2_15(double[] in1) { 4661 // Verify that "in1" is non-null. 4662 if (in1 == null) { 4663 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4664 } 4665 // Verify that the array length is a multiple of the vector size. 4666 if (in1.length % 2 != 0) { 4667 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 4668 } 4669 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_2, in1.length / 2); 4670 ain1.setAutoPadding(true); 4671 ain1.copyFrom(in1); 4672 4673 result_int result = reduce_my_double2_15(ain1, null); 4674 result.mTempIns = new Allocation[]{ain1}; 4675 return result; 4676 } 4677 4678 // ain1 = "double2 in" 4679 public result_int reduce_my_double2_15(Allocation ain1) { 4680 return reduce_my_double2_15(ain1, null); 4681 } 4682 4683 // ain1 = "double2 in" 4684 public result_int reduce_my_double2_15(Allocation ain1, Script.LaunchOptions sc) { 4685 // check ain1 4686 if (!ain1.getType().getElement().isCompatible(__F64_2)) { 4687 throw new RSRuntimeException("Type mismatch with F64_2!"); 4688 } 4689 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4690 aout.setAutoPadding(true); 4691 reduce(mExportReduceIdx_my_double2_15, new Allocation[]{ain1}, aout, sc); 4692 return new result_int(aout); 4693 } 4694 4695 private final static int mExportReduceIdx_my_double4_0 = 128; 4696 // in1 = "in", flattened 4-vectors 4697 public result_int reduce_my_double4_0(double[] in1) { 4698 // Verify that "in1" is non-null. 4699 if (in1 == null) { 4700 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4701 } 4702 // Verify that the array length is a multiple of the vector size. 4703 if (in1.length % 4 != 0) { 4704 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4705 } 4706 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4707 ain1.setAutoPadding(true); 4708 ain1.copyFrom(in1); 4709 4710 result_int result = reduce_my_double4_0(ain1, null); 4711 result.mTempIns = new Allocation[]{ain1}; 4712 return result; 4713 } 4714 4715 // ain1 = "double4 in" 4716 public result_int reduce_my_double4_0(Allocation ain1) { 4717 return reduce_my_double4_0(ain1, null); 4718 } 4719 4720 // ain1 = "double4 in" 4721 public result_int reduce_my_double4_0(Allocation ain1, Script.LaunchOptions sc) { 4722 // check ain1 4723 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4724 throw new RSRuntimeException("Type mismatch with F64_4!"); 4725 } 4726 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4727 aout.setAutoPadding(true); 4728 reduce(mExportReduceIdx_my_double4_0, new Allocation[]{ain1}, aout, sc); 4729 return new result_int(aout); 4730 } 4731 4732 private final static int mExportReduceIdx_my_double4_1 = 129; 4733 // in1 = "in", flattened 4-vectors 4734 public result_int reduce_my_double4_1(double[] in1) { 4735 // Verify that "in1" is non-null. 4736 if (in1 == null) { 4737 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4738 } 4739 // Verify that the array length is a multiple of the vector size. 4740 if (in1.length % 4 != 0) { 4741 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4742 } 4743 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4744 ain1.setAutoPadding(true); 4745 ain1.copyFrom(in1); 4746 4747 result_int result = reduce_my_double4_1(ain1, null); 4748 result.mTempIns = new Allocation[]{ain1}; 4749 return result; 4750 } 4751 4752 // ain1 = "double4 in" 4753 public result_int reduce_my_double4_1(Allocation ain1) { 4754 return reduce_my_double4_1(ain1, null); 4755 } 4756 4757 // ain1 = "double4 in" 4758 public result_int reduce_my_double4_1(Allocation ain1, Script.LaunchOptions sc) { 4759 // check ain1 4760 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4761 throw new RSRuntimeException("Type mismatch with F64_4!"); 4762 } 4763 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4764 aout.setAutoPadding(true); 4765 reduce(mExportReduceIdx_my_double4_1, new Allocation[]{ain1}, aout, sc); 4766 return new result_int(aout); 4767 } 4768 4769 private final static int mExportReduceIdx_my_double4_2 = 130; 4770 // in1 = "in", flattened 4-vectors 4771 public result_int reduce_my_double4_2(double[] in1) { 4772 // Verify that "in1" is non-null. 4773 if (in1 == null) { 4774 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4775 } 4776 // Verify that the array length is a multiple of the vector size. 4777 if (in1.length % 4 != 0) { 4778 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4779 } 4780 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4781 ain1.setAutoPadding(true); 4782 ain1.copyFrom(in1); 4783 4784 result_int result = reduce_my_double4_2(ain1, null); 4785 result.mTempIns = new Allocation[]{ain1}; 4786 return result; 4787 } 4788 4789 // ain1 = "double4 in" 4790 public result_int reduce_my_double4_2(Allocation ain1) { 4791 return reduce_my_double4_2(ain1, null); 4792 } 4793 4794 // ain1 = "double4 in" 4795 public result_int reduce_my_double4_2(Allocation ain1, Script.LaunchOptions sc) { 4796 // check ain1 4797 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4798 throw new RSRuntimeException("Type mismatch with F64_4!"); 4799 } 4800 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4801 aout.setAutoPadding(true); 4802 reduce(mExportReduceIdx_my_double4_2, new Allocation[]{ain1}, aout, sc); 4803 return new result_int(aout); 4804 } 4805 4806 private final static int mExportReduceIdx_my_double4_3 = 131; 4807 // in1 = "in", flattened 4-vectors 4808 public result_int reduce_my_double4_3(double[] in1) { 4809 // Verify that "in1" is non-null. 4810 if (in1 == null) { 4811 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4812 } 4813 // Verify that the array length is a multiple of the vector size. 4814 if (in1.length % 4 != 0) { 4815 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4816 } 4817 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4818 ain1.setAutoPadding(true); 4819 ain1.copyFrom(in1); 4820 4821 result_int result = reduce_my_double4_3(ain1, null); 4822 result.mTempIns = new Allocation[]{ain1}; 4823 return result; 4824 } 4825 4826 // ain1 = "double4 in" 4827 public result_int reduce_my_double4_3(Allocation ain1) { 4828 return reduce_my_double4_3(ain1, null); 4829 } 4830 4831 // ain1 = "double4 in" 4832 public result_int reduce_my_double4_3(Allocation ain1, Script.LaunchOptions sc) { 4833 // check ain1 4834 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4835 throw new RSRuntimeException("Type mismatch with F64_4!"); 4836 } 4837 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4838 aout.setAutoPadding(true); 4839 reduce(mExportReduceIdx_my_double4_3, new Allocation[]{ain1}, aout, sc); 4840 return new result_int(aout); 4841 } 4842 4843 private final static int mExportReduceIdx_my_double4_4 = 132; 4844 // in1 = "in", flattened 4-vectors 4845 public result_int reduce_my_double4_4(double[] in1) { 4846 // Verify that "in1" is non-null. 4847 if (in1 == null) { 4848 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4849 } 4850 // Verify that the array length is a multiple of the vector size. 4851 if (in1.length % 4 != 0) { 4852 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4853 } 4854 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4855 ain1.setAutoPadding(true); 4856 ain1.copyFrom(in1); 4857 4858 result_int result = reduce_my_double4_4(ain1, null); 4859 result.mTempIns = new Allocation[]{ain1}; 4860 return result; 4861 } 4862 4863 // ain1 = "double4 in" 4864 public result_int reduce_my_double4_4(Allocation ain1) { 4865 return reduce_my_double4_4(ain1, null); 4866 } 4867 4868 // ain1 = "double4 in" 4869 public result_int reduce_my_double4_4(Allocation ain1, Script.LaunchOptions sc) { 4870 // check ain1 4871 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4872 throw new RSRuntimeException("Type mismatch with F64_4!"); 4873 } 4874 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4875 aout.setAutoPadding(true); 4876 reduce(mExportReduceIdx_my_double4_4, new Allocation[]{ain1}, aout, sc); 4877 return new result_int(aout); 4878 } 4879 4880 private final static int mExportReduceIdx_my_double4_5 = 133; 4881 // in1 = "in", flattened 4-vectors 4882 public result_int reduce_my_double4_5(double[] in1) { 4883 // Verify that "in1" is non-null. 4884 if (in1 == null) { 4885 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4886 } 4887 // Verify that the array length is a multiple of the vector size. 4888 if (in1.length % 4 != 0) { 4889 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4890 } 4891 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4892 ain1.setAutoPadding(true); 4893 ain1.copyFrom(in1); 4894 4895 result_int result = reduce_my_double4_5(ain1, null); 4896 result.mTempIns = new Allocation[]{ain1}; 4897 return result; 4898 } 4899 4900 // ain1 = "double4 in" 4901 public result_int reduce_my_double4_5(Allocation ain1) { 4902 return reduce_my_double4_5(ain1, null); 4903 } 4904 4905 // ain1 = "double4 in" 4906 public result_int reduce_my_double4_5(Allocation ain1, Script.LaunchOptions sc) { 4907 // check ain1 4908 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4909 throw new RSRuntimeException("Type mismatch with F64_4!"); 4910 } 4911 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4912 aout.setAutoPadding(true); 4913 reduce(mExportReduceIdx_my_double4_5, new Allocation[]{ain1}, aout, sc); 4914 return new result_int(aout); 4915 } 4916 4917 private final static int mExportReduceIdx_my_double4_6 = 134; 4918 // in1 = "in", flattened 4-vectors 4919 public result_int reduce_my_double4_6(double[] in1) { 4920 // Verify that "in1" is non-null. 4921 if (in1 == null) { 4922 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4923 } 4924 // Verify that the array length is a multiple of the vector size. 4925 if (in1.length % 4 != 0) { 4926 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4927 } 4928 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4929 ain1.setAutoPadding(true); 4930 ain1.copyFrom(in1); 4931 4932 result_int result = reduce_my_double4_6(ain1, null); 4933 result.mTempIns = new Allocation[]{ain1}; 4934 return result; 4935 } 4936 4937 // ain1 = "double4 in" 4938 public result_int reduce_my_double4_6(Allocation ain1) { 4939 return reduce_my_double4_6(ain1, null); 4940 } 4941 4942 // ain1 = "double4 in" 4943 public result_int reduce_my_double4_6(Allocation ain1, Script.LaunchOptions sc) { 4944 // check ain1 4945 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4946 throw new RSRuntimeException("Type mismatch with F64_4!"); 4947 } 4948 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4949 aout.setAutoPadding(true); 4950 reduce(mExportReduceIdx_my_double4_6, new Allocation[]{ain1}, aout, sc); 4951 return new result_int(aout); 4952 } 4953 4954 private final static int mExportReduceIdx_my_double4_7 = 135; 4955 // in1 = "in", flattened 4-vectors 4956 public result_int reduce_my_double4_7(double[] in1) { 4957 // Verify that "in1" is non-null. 4958 if (in1 == null) { 4959 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4960 } 4961 // Verify that the array length is a multiple of the vector size. 4962 if (in1.length % 4 != 0) { 4963 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 4964 } 4965 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 4966 ain1.setAutoPadding(true); 4967 ain1.copyFrom(in1); 4968 4969 result_int result = reduce_my_double4_7(ain1, null); 4970 result.mTempIns = new Allocation[]{ain1}; 4971 return result; 4972 } 4973 4974 // ain1 = "double4 in" 4975 public result_int reduce_my_double4_7(Allocation ain1) { 4976 return reduce_my_double4_7(ain1, null); 4977 } 4978 4979 // ain1 = "double4 in" 4980 public result_int reduce_my_double4_7(Allocation ain1, Script.LaunchOptions sc) { 4981 // check ain1 4982 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 4983 throw new RSRuntimeException("Type mismatch with F64_4!"); 4984 } 4985 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 4986 aout.setAutoPadding(true); 4987 reduce(mExportReduceIdx_my_double4_7, new Allocation[]{ain1}, aout, sc); 4988 return new result_int(aout); 4989 } 4990 4991 private final static int mExportReduceIdx_my_double4_8 = 136; 4992 // in1 = "in", flattened 4-vectors 4993 public result_int reduce_my_double4_8(double[] in1) { 4994 // Verify that "in1" is non-null. 4995 if (in1 == null) { 4996 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 4997 } 4998 // Verify that the array length is a multiple of the vector size. 4999 if (in1.length % 4 != 0) { 5000 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5001 } 5002 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5003 ain1.setAutoPadding(true); 5004 ain1.copyFrom(in1); 5005 5006 result_int result = reduce_my_double4_8(ain1, null); 5007 result.mTempIns = new Allocation[]{ain1}; 5008 return result; 5009 } 5010 5011 // ain1 = "double4 in" 5012 public result_int reduce_my_double4_8(Allocation ain1) { 5013 return reduce_my_double4_8(ain1, null); 5014 } 5015 5016 // ain1 = "double4 in" 5017 public result_int reduce_my_double4_8(Allocation ain1, Script.LaunchOptions sc) { 5018 // check ain1 5019 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5020 throw new RSRuntimeException("Type mismatch with F64_4!"); 5021 } 5022 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5023 aout.setAutoPadding(true); 5024 reduce(mExportReduceIdx_my_double4_8, new Allocation[]{ain1}, aout, sc); 5025 return new result_int(aout); 5026 } 5027 5028 private final static int mExportReduceIdx_my_double4_9 = 137; 5029 // in1 = "in", flattened 4-vectors 5030 public result_int reduce_my_double4_9(double[] in1) { 5031 // Verify that "in1" is non-null. 5032 if (in1 == null) { 5033 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5034 } 5035 // Verify that the array length is a multiple of the vector size. 5036 if (in1.length % 4 != 0) { 5037 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5038 } 5039 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5040 ain1.setAutoPadding(true); 5041 ain1.copyFrom(in1); 5042 5043 result_int result = reduce_my_double4_9(ain1, null); 5044 result.mTempIns = new Allocation[]{ain1}; 5045 return result; 5046 } 5047 5048 // ain1 = "double4 in" 5049 public result_int reduce_my_double4_9(Allocation ain1) { 5050 return reduce_my_double4_9(ain1, null); 5051 } 5052 5053 // ain1 = "double4 in" 5054 public result_int reduce_my_double4_9(Allocation ain1, Script.LaunchOptions sc) { 5055 // check ain1 5056 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5057 throw new RSRuntimeException("Type mismatch with F64_4!"); 5058 } 5059 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5060 aout.setAutoPadding(true); 5061 reduce(mExportReduceIdx_my_double4_9, new Allocation[]{ain1}, aout, sc); 5062 return new result_int(aout); 5063 } 5064 5065 private final static int mExportReduceIdx_my_double4_10 = 138; 5066 // in1 = "in", flattened 4-vectors 5067 public result_int reduce_my_double4_10(double[] in1) { 5068 // Verify that "in1" is non-null. 5069 if (in1 == null) { 5070 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5071 } 5072 // Verify that the array length is a multiple of the vector size. 5073 if (in1.length % 4 != 0) { 5074 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5075 } 5076 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5077 ain1.setAutoPadding(true); 5078 ain1.copyFrom(in1); 5079 5080 result_int result = reduce_my_double4_10(ain1, null); 5081 result.mTempIns = new Allocation[]{ain1}; 5082 return result; 5083 } 5084 5085 // ain1 = "double4 in" 5086 public result_int reduce_my_double4_10(Allocation ain1) { 5087 return reduce_my_double4_10(ain1, null); 5088 } 5089 5090 // ain1 = "double4 in" 5091 public result_int reduce_my_double4_10(Allocation ain1, Script.LaunchOptions sc) { 5092 // check ain1 5093 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5094 throw new RSRuntimeException("Type mismatch with F64_4!"); 5095 } 5096 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5097 aout.setAutoPadding(true); 5098 reduce(mExportReduceIdx_my_double4_10, new Allocation[]{ain1}, aout, sc); 5099 return new result_int(aout); 5100 } 5101 5102 private final static int mExportReduceIdx_my_double4_11 = 139; 5103 // in1 = "in", flattened 4-vectors 5104 public result_int reduce_my_double4_11(double[] in1) { 5105 // Verify that "in1" is non-null. 5106 if (in1 == null) { 5107 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5108 } 5109 // Verify that the array length is a multiple of the vector size. 5110 if (in1.length % 4 != 0) { 5111 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5112 } 5113 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5114 ain1.setAutoPadding(true); 5115 ain1.copyFrom(in1); 5116 5117 result_int result = reduce_my_double4_11(ain1, null); 5118 result.mTempIns = new Allocation[]{ain1}; 5119 return result; 5120 } 5121 5122 // ain1 = "double4 in" 5123 public result_int reduce_my_double4_11(Allocation ain1) { 5124 return reduce_my_double4_11(ain1, null); 5125 } 5126 5127 // ain1 = "double4 in" 5128 public result_int reduce_my_double4_11(Allocation ain1, Script.LaunchOptions sc) { 5129 // check ain1 5130 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5131 throw new RSRuntimeException("Type mismatch with F64_4!"); 5132 } 5133 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5134 aout.setAutoPadding(true); 5135 reduce(mExportReduceIdx_my_double4_11, new Allocation[]{ain1}, aout, sc); 5136 return new result_int(aout); 5137 } 5138 5139 private final static int mExportReduceIdx_my_double4_12 = 140; 5140 // in1 = "in", flattened 4-vectors 5141 public result_int reduce_my_double4_12(double[] in1) { 5142 // Verify that "in1" is non-null. 5143 if (in1 == null) { 5144 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5145 } 5146 // Verify that the array length is a multiple of the vector size. 5147 if (in1.length % 4 != 0) { 5148 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5149 } 5150 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5151 ain1.setAutoPadding(true); 5152 ain1.copyFrom(in1); 5153 5154 result_int result = reduce_my_double4_12(ain1, null); 5155 result.mTempIns = new Allocation[]{ain1}; 5156 return result; 5157 } 5158 5159 // ain1 = "double4 in" 5160 public result_int reduce_my_double4_12(Allocation ain1) { 5161 return reduce_my_double4_12(ain1, null); 5162 } 5163 5164 // ain1 = "double4 in" 5165 public result_int reduce_my_double4_12(Allocation ain1, Script.LaunchOptions sc) { 5166 // check ain1 5167 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5168 throw new RSRuntimeException("Type mismatch with F64_4!"); 5169 } 5170 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5171 aout.setAutoPadding(true); 5172 reduce(mExportReduceIdx_my_double4_12, new Allocation[]{ain1}, aout, sc); 5173 return new result_int(aout); 5174 } 5175 5176 private final static int mExportReduceIdx_my_double4_13 = 141; 5177 // in1 = "in", flattened 4-vectors 5178 public result_int reduce_my_double4_13(double[] in1) { 5179 // Verify that "in1" is non-null. 5180 if (in1 == null) { 5181 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5182 } 5183 // Verify that the array length is a multiple of the vector size. 5184 if (in1.length % 4 != 0) { 5185 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5186 } 5187 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5188 ain1.setAutoPadding(true); 5189 ain1.copyFrom(in1); 5190 5191 result_int result = reduce_my_double4_13(ain1, null); 5192 result.mTempIns = new Allocation[]{ain1}; 5193 return result; 5194 } 5195 5196 // ain1 = "double4 in" 5197 public result_int reduce_my_double4_13(Allocation ain1) { 5198 return reduce_my_double4_13(ain1, null); 5199 } 5200 5201 // ain1 = "double4 in" 5202 public result_int reduce_my_double4_13(Allocation ain1, Script.LaunchOptions sc) { 5203 // check ain1 5204 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5205 throw new RSRuntimeException("Type mismatch with F64_4!"); 5206 } 5207 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5208 aout.setAutoPadding(true); 5209 reduce(mExportReduceIdx_my_double4_13, new Allocation[]{ain1}, aout, sc); 5210 return new result_int(aout); 5211 } 5212 5213 private final static int mExportReduceIdx_my_double4_14 = 142; 5214 // in1 = "in", flattened 4-vectors 5215 public result_int reduce_my_double4_14(double[] in1) { 5216 // Verify that "in1" is non-null. 5217 if (in1 == null) { 5218 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5219 } 5220 // Verify that the array length is a multiple of the vector size. 5221 if (in1.length % 4 != 0) { 5222 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5223 } 5224 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5225 ain1.setAutoPadding(true); 5226 ain1.copyFrom(in1); 5227 5228 result_int result = reduce_my_double4_14(ain1, null); 5229 result.mTempIns = new Allocation[]{ain1}; 5230 return result; 5231 } 5232 5233 // ain1 = "double4 in" 5234 public result_int reduce_my_double4_14(Allocation ain1) { 5235 return reduce_my_double4_14(ain1, null); 5236 } 5237 5238 // ain1 = "double4 in" 5239 public result_int reduce_my_double4_14(Allocation ain1, Script.LaunchOptions sc) { 5240 // check ain1 5241 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5242 throw new RSRuntimeException("Type mismatch with F64_4!"); 5243 } 5244 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5245 aout.setAutoPadding(true); 5246 reduce(mExportReduceIdx_my_double4_14, new Allocation[]{ain1}, aout, sc); 5247 return new result_int(aout); 5248 } 5249 5250 private final static int mExportReduceIdx_my_double4_15 = 143; 5251 // in1 = "in", flattened 4-vectors 5252 public result_int reduce_my_double4_15(double[] in1) { 5253 // Verify that "in1" is non-null. 5254 if (in1 == null) { 5255 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5256 } 5257 // Verify that the array length is a multiple of the vector size. 5258 if (in1.length % 4 != 0) { 5259 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 5260 } 5261 Allocation ain1 = Allocation.createSized(mRSLocal, __F64_4, in1.length / 4); 5262 ain1.setAutoPadding(true); 5263 ain1.copyFrom(in1); 5264 5265 result_int result = reduce_my_double4_15(ain1, null); 5266 result.mTempIns = new Allocation[]{ain1}; 5267 return result; 5268 } 5269 5270 // ain1 = "double4 in" 5271 public result_int reduce_my_double4_15(Allocation ain1) { 5272 return reduce_my_double4_15(ain1, null); 5273 } 5274 5275 // ain1 = "double4 in" 5276 public result_int reduce_my_double4_15(Allocation ain1, Script.LaunchOptions sc) { 5277 // check ain1 5278 if (!ain1.getType().getElement().isCompatible(__F64_4)) { 5279 throw new RSRuntimeException("Type mismatch with F64_4!"); 5280 } 5281 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5282 aout.setAutoPadding(true); 5283 reduce(mExportReduceIdx_my_double4_15, new Allocation[]{ain1}, aout, sc); 5284 return new result_int(aout); 5285 } 5286 5287 private final static int mExportReduceIdx_my_char_0 = 144; 5288 // in1 = "in" 5289 public result_int reduce_my_char_0(byte[] in1) { 5290 // Verify that "in1" is non-null. 5291 if (in1 == null) { 5292 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5293 } 5294 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5295 ain1.setAutoPadding(true); 5296 ain1.copyFrom(in1); 5297 5298 result_int result = reduce_my_char_0(ain1, null); 5299 result.mTempIns = new Allocation[]{ain1}; 5300 return result; 5301 } 5302 5303 // ain1 = "char in" 5304 public result_int reduce_my_char_0(Allocation ain1) { 5305 return reduce_my_char_0(ain1, null); 5306 } 5307 5308 // ain1 = "char in" 5309 public result_int reduce_my_char_0(Allocation ain1, Script.LaunchOptions sc) { 5310 // check ain1 5311 if (!ain1.getType().getElement().isCompatible(__I8)) { 5312 throw new RSRuntimeException("Type mismatch with I8!"); 5313 } 5314 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5315 aout.setAutoPadding(true); 5316 reduce(mExportReduceIdx_my_char_0, new Allocation[]{ain1}, aout, sc); 5317 return new result_int(aout); 5318 } 5319 5320 private final static int mExportReduceIdx_my_char_1 = 145; 5321 // in1 = "in" 5322 public result_int reduce_my_char_1(byte[] in1) { 5323 // Verify that "in1" is non-null. 5324 if (in1 == null) { 5325 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5326 } 5327 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5328 ain1.setAutoPadding(true); 5329 ain1.copyFrom(in1); 5330 5331 result_int result = reduce_my_char_1(ain1, null); 5332 result.mTempIns = new Allocation[]{ain1}; 5333 return result; 5334 } 5335 5336 // ain1 = "char in" 5337 public result_int reduce_my_char_1(Allocation ain1) { 5338 return reduce_my_char_1(ain1, null); 5339 } 5340 5341 // ain1 = "char in" 5342 public result_int reduce_my_char_1(Allocation ain1, Script.LaunchOptions sc) { 5343 // check ain1 5344 if (!ain1.getType().getElement().isCompatible(__I8)) { 5345 throw new RSRuntimeException("Type mismatch with I8!"); 5346 } 5347 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5348 aout.setAutoPadding(true); 5349 reduce(mExportReduceIdx_my_char_1, new Allocation[]{ain1}, aout, sc); 5350 return new result_int(aout); 5351 } 5352 5353 private final static int mExportReduceIdx_my_char_2 = 146; 5354 // in1 = "in" 5355 public result_int reduce_my_char_2(byte[] in1) { 5356 // Verify that "in1" is non-null. 5357 if (in1 == null) { 5358 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5359 } 5360 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5361 ain1.setAutoPadding(true); 5362 ain1.copyFrom(in1); 5363 5364 result_int result = reduce_my_char_2(ain1, null); 5365 result.mTempIns = new Allocation[]{ain1}; 5366 return result; 5367 } 5368 5369 // ain1 = "char in" 5370 public result_int reduce_my_char_2(Allocation ain1) { 5371 return reduce_my_char_2(ain1, null); 5372 } 5373 5374 // ain1 = "char in" 5375 public result_int reduce_my_char_2(Allocation ain1, Script.LaunchOptions sc) { 5376 // check ain1 5377 if (!ain1.getType().getElement().isCompatible(__I8)) { 5378 throw new RSRuntimeException("Type mismatch with I8!"); 5379 } 5380 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5381 aout.setAutoPadding(true); 5382 reduce(mExportReduceIdx_my_char_2, new Allocation[]{ain1}, aout, sc); 5383 return new result_int(aout); 5384 } 5385 5386 private final static int mExportReduceIdx_my_char_3 = 147; 5387 // in1 = "in" 5388 public result_int reduce_my_char_3(byte[] in1) { 5389 // Verify that "in1" is non-null. 5390 if (in1 == null) { 5391 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5392 } 5393 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5394 ain1.setAutoPadding(true); 5395 ain1.copyFrom(in1); 5396 5397 result_int result = reduce_my_char_3(ain1, null); 5398 result.mTempIns = new Allocation[]{ain1}; 5399 return result; 5400 } 5401 5402 // ain1 = "char in" 5403 public result_int reduce_my_char_3(Allocation ain1) { 5404 return reduce_my_char_3(ain1, null); 5405 } 5406 5407 // ain1 = "char in" 5408 public result_int reduce_my_char_3(Allocation ain1, Script.LaunchOptions sc) { 5409 // check ain1 5410 if (!ain1.getType().getElement().isCompatible(__I8)) { 5411 throw new RSRuntimeException("Type mismatch with I8!"); 5412 } 5413 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5414 aout.setAutoPadding(true); 5415 reduce(mExportReduceIdx_my_char_3, new Allocation[]{ain1}, aout, sc); 5416 return new result_int(aout); 5417 } 5418 5419 private final static int mExportReduceIdx_my_char_4 = 148; 5420 // in1 = "in" 5421 public result_int reduce_my_char_4(byte[] in1) { 5422 // Verify that "in1" is non-null. 5423 if (in1 == null) { 5424 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5425 } 5426 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5427 ain1.setAutoPadding(true); 5428 ain1.copyFrom(in1); 5429 5430 result_int result = reduce_my_char_4(ain1, null); 5431 result.mTempIns = new Allocation[]{ain1}; 5432 return result; 5433 } 5434 5435 // ain1 = "char in" 5436 public result_int reduce_my_char_4(Allocation ain1) { 5437 return reduce_my_char_4(ain1, null); 5438 } 5439 5440 // ain1 = "char in" 5441 public result_int reduce_my_char_4(Allocation ain1, Script.LaunchOptions sc) { 5442 // check ain1 5443 if (!ain1.getType().getElement().isCompatible(__I8)) { 5444 throw new RSRuntimeException("Type mismatch with I8!"); 5445 } 5446 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5447 aout.setAutoPadding(true); 5448 reduce(mExportReduceIdx_my_char_4, new Allocation[]{ain1}, aout, sc); 5449 return new result_int(aout); 5450 } 5451 5452 private final static int mExportReduceIdx_my_char_5 = 149; 5453 // in1 = "in" 5454 public result_int reduce_my_char_5(byte[] in1) { 5455 // Verify that "in1" is non-null. 5456 if (in1 == null) { 5457 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5458 } 5459 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5460 ain1.setAutoPadding(true); 5461 ain1.copyFrom(in1); 5462 5463 result_int result = reduce_my_char_5(ain1, null); 5464 result.mTempIns = new Allocation[]{ain1}; 5465 return result; 5466 } 5467 5468 // ain1 = "char in" 5469 public result_int reduce_my_char_5(Allocation ain1) { 5470 return reduce_my_char_5(ain1, null); 5471 } 5472 5473 // ain1 = "char in" 5474 public result_int reduce_my_char_5(Allocation ain1, Script.LaunchOptions sc) { 5475 // check ain1 5476 if (!ain1.getType().getElement().isCompatible(__I8)) { 5477 throw new RSRuntimeException("Type mismatch with I8!"); 5478 } 5479 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5480 aout.setAutoPadding(true); 5481 reduce(mExportReduceIdx_my_char_5, new Allocation[]{ain1}, aout, sc); 5482 return new result_int(aout); 5483 } 5484 5485 private final static int mExportReduceIdx_my_char_6 = 150; 5486 // in1 = "in" 5487 public result_int reduce_my_char_6(byte[] in1) { 5488 // Verify that "in1" is non-null. 5489 if (in1 == null) { 5490 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5491 } 5492 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5493 ain1.setAutoPadding(true); 5494 ain1.copyFrom(in1); 5495 5496 result_int result = reduce_my_char_6(ain1, null); 5497 result.mTempIns = new Allocation[]{ain1}; 5498 return result; 5499 } 5500 5501 // ain1 = "char in" 5502 public result_int reduce_my_char_6(Allocation ain1) { 5503 return reduce_my_char_6(ain1, null); 5504 } 5505 5506 // ain1 = "char in" 5507 public result_int reduce_my_char_6(Allocation ain1, Script.LaunchOptions sc) { 5508 // check ain1 5509 if (!ain1.getType().getElement().isCompatible(__I8)) { 5510 throw new RSRuntimeException("Type mismatch with I8!"); 5511 } 5512 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5513 aout.setAutoPadding(true); 5514 reduce(mExportReduceIdx_my_char_6, new Allocation[]{ain1}, aout, sc); 5515 return new result_int(aout); 5516 } 5517 5518 private final static int mExportReduceIdx_my_char_7 = 151; 5519 // in1 = "in" 5520 public result_int reduce_my_char_7(byte[] in1) { 5521 // Verify that "in1" is non-null. 5522 if (in1 == null) { 5523 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5524 } 5525 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5526 ain1.setAutoPadding(true); 5527 ain1.copyFrom(in1); 5528 5529 result_int result = reduce_my_char_7(ain1, null); 5530 result.mTempIns = new Allocation[]{ain1}; 5531 return result; 5532 } 5533 5534 // ain1 = "char in" 5535 public result_int reduce_my_char_7(Allocation ain1) { 5536 return reduce_my_char_7(ain1, null); 5537 } 5538 5539 // ain1 = "char in" 5540 public result_int reduce_my_char_7(Allocation ain1, Script.LaunchOptions sc) { 5541 // check ain1 5542 if (!ain1.getType().getElement().isCompatible(__I8)) { 5543 throw new RSRuntimeException("Type mismatch with I8!"); 5544 } 5545 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5546 aout.setAutoPadding(true); 5547 reduce(mExportReduceIdx_my_char_7, new Allocation[]{ain1}, aout, sc); 5548 return new result_int(aout); 5549 } 5550 5551 private final static int mExportReduceIdx_my_char_8 = 152; 5552 // in1 = "in" 5553 public result_int reduce_my_char_8(byte[] in1) { 5554 // Verify that "in1" is non-null. 5555 if (in1 == null) { 5556 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5557 } 5558 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5559 ain1.setAutoPadding(true); 5560 ain1.copyFrom(in1); 5561 5562 result_int result = reduce_my_char_8(ain1, null); 5563 result.mTempIns = new Allocation[]{ain1}; 5564 return result; 5565 } 5566 5567 // ain1 = "char in" 5568 public result_int reduce_my_char_8(Allocation ain1) { 5569 return reduce_my_char_8(ain1, null); 5570 } 5571 5572 // ain1 = "char in" 5573 public result_int reduce_my_char_8(Allocation ain1, Script.LaunchOptions sc) { 5574 // check ain1 5575 if (!ain1.getType().getElement().isCompatible(__I8)) { 5576 throw new RSRuntimeException("Type mismatch with I8!"); 5577 } 5578 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5579 aout.setAutoPadding(true); 5580 reduce(mExportReduceIdx_my_char_8, new Allocation[]{ain1}, aout, sc); 5581 return new result_int(aout); 5582 } 5583 5584 private final static int mExportReduceIdx_my_char_9 = 153; 5585 // in1 = "in" 5586 public result_int reduce_my_char_9(byte[] in1) { 5587 // Verify that "in1" is non-null. 5588 if (in1 == null) { 5589 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5590 } 5591 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5592 ain1.setAutoPadding(true); 5593 ain1.copyFrom(in1); 5594 5595 result_int result = reduce_my_char_9(ain1, null); 5596 result.mTempIns = new Allocation[]{ain1}; 5597 return result; 5598 } 5599 5600 // ain1 = "char in" 5601 public result_int reduce_my_char_9(Allocation ain1) { 5602 return reduce_my_char_9(ain1, null); 5603 } 5604 5605 // ain1 = "char in" 5606 public result_int reduce_my_char_9(Allocation ain1, Script.LaunchOptions sc) { 5607 // check ain1 5608 if (!ain1.getType().getElement().isCompatible(__I8)) { 5609 throw new RSRuntimeException("Type mismatch with I8!"); 5610 } 5611 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5612 aout.setAutoPadding(true); 5613 reduce(mExportReduceIdx_my_char_9, new Allocation[]{ain1}, aout, sc); 5614 return new result_int(aout); 5615 } 5616 5617 private final static int mExportReduceIdx_my_char_10 = 154; 5618 // in1 = "in" 5619 public result_int reduce_my_char_10(byte[] in1) { 5620 // Verify that "in1" is non-null. 5621 if (in1 == null) { 5622 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5623 } 5624 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5625 ain1.setAutoPadding(true); 5626 ain1.copyFrom(in1); 5627 5628 result_int result = reduce_my_char_10(ain1, null); 5629 result.mTempIns = new Allocation[]{ain1}; 5630 return result; 5631 } 5632 5633 // ain1 = "char in" 5634 public result_int reduce_my_char_10(Allocation ain1) { 5635 return reduce_my_char_10(ain1, null); 5636 } 5637 5638 // ain1 = "char in" 5639 public result_int reduce_my_char_10(Allocation ain1, Script.LaunchOptions sc) { 5640 // check ain1 5641 if (!ain1.getType().getElement().isCompatible(__I8)) { 5642 throw new RSRuntimeException("Type mismatch with I8!"); 5643 } 5644 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5645 aout.setAutoPadding(true); 5646 reduce(mExportReduceIdx_my_char_10, new Allocation[]{ain1}, aout, sc); 5647 return new result_int(aout); 5648 } 5649 5650 private final static int mExportReduceIdx_my_char_11 = 155; 5651 // in1 = "in" 5652 public result_int reduce_my_char_11(byte[] in1) { 5653 // Verify that "in1" is non-null. 5654 if (in1 == null) { 5655 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5656 } 5657 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5658 ain1.setAutoPadding(true); 5659 ain1.copyFrom(in1); 5660 5661 result_int result = reduce_my_char_11(ain1, null); 5662 result.mTempIns = new Allocation[]{ain1}; 5663 return result; 5664 } 5665 5666 // ain1 = "char in" 5667 public result_int reduce_my_char_11(Allocation ain1) { 5668 return reduce_my_char_11(ain1, null); 5669 } 5670 5671 // ain1 = "char in" 5672 public result_int reduce_my_char_11(Allocation ain1, Script.LaunchOptions sc) { 5673 // check ain1 5674 if (!ain1.getType().getElement().isCompatible(__I8)) { 5675 throw new RSRuntimeException("Type mismatch with I8!"); 5676 } 5677 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5678 aout.setAutoPadding(true); 5679 reduce(mExportReduceIdx_my_char_11, new Allocation[]{ain1}, aout, sc); 5680 return new result_int(aout); 5681 } 5682 5683 private final static int mExportReduceIdx_my_char_12 = 156; 5684 // in1 = "in" 5685 public result_int reduce_my_char_12(byte[] in1) { 5686 // Verify that "in1" is non-null. 5687 if (in1 == null) { 5688 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5689 } 5690 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5691 ain1.setAutoPadding(true); 5692 ain1.copyFrom(in1); 5693 5694 result_int result = reduce_my_char_12(ain1, null); 5695 result.mTempIns = new Allocation[]{ain1}; 5696 return result; 5697 } 5698 5699 // ain1 = "char in" 5700 public result_int reduce_my_char_12(Allocation ain1) { 5701 return reduce_my_char_12(ain1, null); 5702 } 5703 5704 // ain1 = "char in" 5705 public result_int reduce_my_char_12(Allocation ain1, Script.LaunchOptions sc) { 5706 // check ain1 5707 if (!ain1.getType().getElement().isCompatible(__I8)) { 5708 throw new RSRuntimeException("Type mismatch with I8!"); 5709 } 5710 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5711 aout.setAutoPadding(true); 5712 reduce(mExportReduceIdx_my_char_12, new Allocation[]{ain1}, aout, sc); 5713 return new result_int(aout); 5714 } 5715 5716 private final static int mExportReduceIdx_my_char_13 = 157; 5717 // in1 = "in" 5718 public result_int reduce_my_char_13(byte[] in1) { 5719 // Verify that "in1" is non-null. 5720 if (in1 == null) { 5721 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5722 } 5723 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5724 ain1.setAutoPadding(true); 5725 ain1.copyFrom(in1); 5726 5727 result_int result = reduce_my_char_13(ain1, null); 5728 result.mTempIns = new Allocation[]{ain1}; 5729 return result; 5730 } 5731 5732 // ain1 = "char in" 5733 public result_int reduce_my_char_13(Allocation ain1) { 5734 return reduce_my_char_13(ain1, null); 5735 } 5736 5737 // ain1 = "char in" 5738 public result_int reduce_my_char_13(Allocation ain1, Script.LaunchOptions sc) { 5739 // check ain1 5740 if (!ain1.getType().getElement().isCompatible(__I8)) { 5741 throw new RSRuntimeException("Type mismatch with I8!"); 5742 } 5743 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5744 aout.setAutoPadding(true); 5745 reduce(mExportReduceIdx_my_char_13, new Allocation[]{ain1}, aout, sc); 5746 return new result_int(aout); 5747 } 5748 5749 private final static int mExportReduceIdx_my_char_14 = 158; 5750 // in1 = "in" 5751 public result_int reduce_my_char_14(byte[] in1) { 5752 // Verify that "in1" is non-null. 5753 if (in1 == null) { 5754 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5755 } 5756 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5757 ain1.setAutoPadding(true); 5758 ain1.copyFrom(in1); 5759 5760 result_int result = reduce_my_char_14(ain1, null); 5761 result.mTempIns = new Allocation[]{ain1}; 5762 return result; 5763 } 5764 5765 // ain1 = "char in" 5766 public result_int reduce_my_char_14(Allocation ain1) { 5767 return reduce_my_char_14(ain1, null); 5768 } 5769 5770 // ain1 = "char in" 5771 public result_int reduce_my_char_14(Allocation ain1, Script.LaunchOptions sc) { 5772 // check ain1 5773 if (!ain1.getType().getElement().isCompatible(__I8)) { 5774 throw new RSRuntimeException("Type mismatch with I8!"); 5775 } 5776 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5777 aout.setAutoPadding(true); 5778 reduce(mExportReduceIdx_my_char_14, new Allocation[]{ain1}, aout, sc); 5779 return new result_int(aout); 5780 } 5781 5782 private final static int mExportReduceIdx_my_char_15 = 159; 5783 // in1 = "in" 5784 public result_int reduce_my_char_15(byte[] in1) { 5785 // Verify that "in1" is non-null. 5786 if (in1 == null) { 5787 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5788 } 5789 Allocation ain1 = Allocation.createSized(mRSLocal, __I8, in1.length); 5790 ain1.setAutoPadding(true); 5791 ain1.copyFrom(in1); 5792 5793 result_int result = reduce_my_char_15(ain1, null); 5794 result.mTempIns = new Allocation[]{ain1}; 5795 return result; 5796 } 5797 5798 // ain1 = "char in" 5799 public result_int reduce_my_char_15(Allocation ain1) { 5800 return reduce_my_char_15(ain1, null); 5801 } 5802 5803 // ain1 = "char in" 5804 public result_int reduce_my_char_15(Allocation ain1, Script.LaunchOptions sc) { 5805 // check ain1 5806 if (!ain1.getType().getElement().isCompatible(__I8)) { 5807 throw new RSRuntimeException("Type mismatch with I8!"); 5808 } 5809 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5810 aout.setAutoPadding(true); 5811 reduce(mExportReduceIdx_my_char_15, new Allocation[]{ain1}, aout, sc); 5812 return new result_int(aout); 5813 } 5814 5815 private final static int mExportReduceIdx_my_char2_0 = 160; 5816 // in1 = "in", flattened 2-vectors 5817 public result_int reduce_my_char2_0(byte[] in1) { 5818 // Verify that "in1" is non-null. 5819 if (in1 == null) { 5820 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5821 } 5822 // Verify that the array length is a multiple of the vector size. 5823 if (in1.length % 2 != 0) { 5824 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5825 } 5826 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5827 ain1.setAutoPadding(true); 5828 ain1.copyFrom(in1); 5829 5830 result_int result = reduce_my_char2_0(ain1, null); 5831 result.mTempIns = new Allocation[]{ain1}; 5832 return result; 5833 } 5834 5835 // ain1 = "char2 in" 5836 public result_int reduce_my_char2_0(Allocation ain1) { 5837 return reduce_my_char2_0(ain1, null); 5838 } 5839 5840 // ain1 = "char2 in" 5841 public result_int reduce_my_char2_0(Allocation ain1, Script.LaunchOptions sc) { 5842 // check ain1 5843 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5844 throw new RSRuntimeException("Type mismatch with I8_2!"); 5845 } 5846 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5847 aout.setAutoPadding(true); 5848 reduce(mExportReduceIdx_my_char2_0, new Allocation[]{ain1}, aout, sc); 5849 return new result_int(aout); 5850 } 5851 5852 private final static int mExportReduceIdx_my_char2_1 = 161; 5853 // in1 = "in", flattened 2-vectors 5854 public result_int reduce_my_char2_1(byte[] in1) { 5855 // Verify that "in1" is non-null. 5856 if (in1 == null) { 5857 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5858 } 5859 // Verify that the array length is a multiple of the vector size. 5860 if (in1.length % 2 != 0) { 5861 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5862 } 5863 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5864 ain1.setAutoPadding(true); 5865 ain1.copyFrom(in1); 5866 5867 result_int result = reduce_my_char2_1(ain1, null); 5868 result.mTempIns = new Allocation[]{ain1}; 5869 return result; 5870 } 5871 5872 // ain1 = "char2 in" 5873 public result_int reduce_my_char2_1(Allocation ain1) { 5874 return reduce_my_char2_1(ain1, null); 5875 } 5876 5877 // ain1 = "char2 in" 5878 public result_int reduce_my_char2_1(Allocation ain1, Script.LaunchOptions sc) { 5879 // check ain1 5880 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5881 throw new RSRuntimeException("Type mismatch with I8_2!"); 5882 } 5883 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5884 aout.setAutoPadding(true); 5885 reduce(mExportReduceIdx_my_char2_1, new Allocation[]{ain1}, aout, sc); 5886 return new result_int(aout); 5887 } 5888 5889 private final static int mExportReduceIdx_my_char2_2 = 162; 5890 // in1 = "in", flattened 2-vectors 5891 public result_int reduce_my_char2_2(byte[] in1) { 5892 // Verify that "in1" is non-null. 5893 if (in1 == null) { 5894 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5895 } 5896 // Verify that the array length is a multiple of the vector size. 5897 if (in1.length % 2 != 0) { 5898 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5899 } 5900 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5901 ain1.setAutoPadding(true); 5902 ain1.copyFrom(in1); 5903 5904 result_int result = reduce_my_char2_2(ain1, null); 5905 result.mTempIns = new Allocation[]{ain1}; 5906 return result; 5907 } 5908 5909 // ain1 = "char2 in" 5910 public result_int reduce_my_char2_2(Allocation ain1) { 5911 return reduce_my_char2_2(ain1, null); 5912 } 5913 5914 // ain1 = "char2 in" 5915 public result_int reduce_my_char2_2(Allocation ain1, Script.LaunchOptions sc) { 5916 // check ain1 5917 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5918 throw new RSRuntimeException("Type mismatch with I8_2!"); 5919 } 5920 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5921 aout.setAutoPadding(true); 5922 reduce(mExportReduceIdx_my_char2_2, new Allocation[]{ain1}, aout, sc); 5923 return new result_int(aout); 5924 } 5925 5926 private final static int mExportReduceIdx_my_char2_3 = 163; 5927 // in1 = "in", flattened 2-vectors 5928 public result_int reduce_my_char2_3(byte[] in1) { 5929 // Verify that "in1" is non-null. 5930 if (in1 == null) { 5931 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5932 } 5933 // Verify that the array length is a multiple of the vector size. 5934 if (in1.length % 2 != 0) { 5935 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5936 } 5937 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5938 ain1.setAutoPadding(true); 5939 ain1.copyFrom(in1); 5940 5941 result_int result = reduce_my_char2_3(ain1, null); 5942 result.mTempIns = new Allocation[]{ain1}; 5943 return result; 5944 } 5945 5946 // ain1 = "char2 in" 5947 public result_int reduce_my_char2_3(Allocation ain1) { 5948 return reduce_my_char2_3(ain1, null); 5949 } 5950 5951 // ain1 = "char2 in" 5952 public result_int reduce_my_char2_3(Allocation ain1, Script.LaunchOptions sc) { 5953 // check ain1 5954 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5955 throw new RSRuntimeException("Type mismatch with I8_2!"); 5956 } 5957 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5958 aout.setAutoPadding(true); 5959 reduce(mExportReduceIdx_my_char2_3, new Allocation[]{ain1}, aout, sc); 5960 return new result_int(aout); 5961 } 5962 5963 private final static int mExportReduceIdx_my_char2_4 = 164; 5964 // in1 = "in", flattened 2-vectors 5965 public result_int reduce_my_char2_4(byte[] in1) { 5966 // Verify that "in1" is non-null. 5967 if (in1 == null) { 5968 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 5969 } 5970 // Verify that the array length is a multiple of the vector size. 5971 if (in1.length % 2 != 0) { 5972 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 5973 } 5974 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 5975 ain1.setAutoPadding(true); 5976 ain1.copyFrom(in1); 5977 5978 result_int result = reduce_my_char2_4(ain1, null); 5979 result.mTempIns = new Allocation[]{ain1}; 5980 return result; 5981 } 5982 5983 // ain1 = "char2 in" 5984 public result_int reduce_my_char2_4(Allocation ain1) { 5985 return reduce_my_char2_4(ain1, null); 5986 } 5987 5988 // ain1 = "char2 in" 5989 public result_int reduce_my_char2_4(Allocation ain1, Script.LaunchOptions sc) { 5990 // check ain1 5991 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 5992 throw new RSRuntimeException("Type mismatch with I8_2!"); 5993 } 5994 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 5995 aout.setAutoPadding(true); 5996 reduce(mExportReduceIdx_my_char2_4, new Allocation[]{ain1}, aout, sc); 5997 return new result_int(aout); 5998 } 5999 6000 private final static int mExportReduceIdx_my_char2_5 = 165; 6001 // in1 = "in", flattened 2-vectors 6002 public result_int reduce_my_char2_5(byte[] in1) { 6003 // Verify that "in1" is non-null. 6004 if (in1 == null) { 6005 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6006 } 6007 // Verify that the array length is a multiple of the vector size. 6008 if (in1.length % 2 != 0) { 6009 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6010 } 6011 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6012 ain1.setAutoPadding(true); 6013 ain1.copyFrom(in1); 6014 6015 result_int result = reduce_my_char2_5(ain1, null); 6016 result.mTempIns = new Allocation[]{ain1}; 6017 return result; 6018 } 6019 6020 // ain1 = "char2 in" 6021 public result_int reduce_my_char2_5(Allocation ain1) { 6022 return reduce_my_char2_5(ain1, null); 6023 } 6024 6025 // ain1 = "char2 in" 6026 public result_int reduce_my_char2_5(Allocation ain1, Script.LaunchOptions sc) { 6027 // check ain1 6028 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6029 throw new RSRuntimeException("Type mismatch with I8_2!"); 6030 } 6031 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6032 aout.setAutoPadding(true); 6033 reduce(mExportReduceIdx_my_char2_5, new Allocation[]{ain1}, aout, sc); 6034 return new result_int(aout); 6035 } 6036 6037 private final static int mExportReduceIdx_my_char2_6 = 166; 6038 // in1 = "in", flattened 2-vectors 6039 public result_int reduce_my_char2_6(byte[] in1) { 6040 // Verify that "in1" is non-null. 6041 if (in1 == null) { 6042 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6043 } 6044 // Verify that the array length is a multiple of the vector size. 6045 if (in1.length % 2 != 0) { 6046 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6047 } 6048 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6049 ain1.setAutoPadding(true); 6050 ain1.copyFrom(in1); 6051 6052 result_int result = reduce_my_char2_6(ain1, null); 6053 result.mTempIns = new Allocation[]{ain1}; 6054 return result; 6055 } 6056 6057 // ain1 = "char2 in" 6058 public result_int reduce_my_char2_6(Allocation ain1) { 6059 return reduce_my_char2_6(ain1, null); 6060 } 6061 6062 // ain1 = "char2 in" 6063 public result_int reduce_my_char2_6(Allocation ain1, Script.LaunchOptions sc) { 6064 // check ain1 6065 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6066 throw new RSRuntimeException("Type mismatch with I8_2!"); 6067 } 6068 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6069 aout.setAutoPadding(true); 6070 reduce(mExportReduceIdx_my_char2_6, new Allocation[]{ain1}, aout, sc); 6071 return new result_int(aout); 6072 } 6073 6074 private final static int mExportReduceIdx_my_char2_7 = 167; 6075 // in1 = "in", flattened 2-vectors 6076 public result_int reduce_my_char2_7(byte[] in1) { 6077 // Verify that "in1" is non-null. 6078 if (in1 == null) { 6079 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6080 } 6081 // Verify that the array length is a multiple of the vector size. 6082 if (in1.length % 2 != 0) { 6083 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6084 } 6085 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6086 ain1.setAutoPadding(true); 6087 ain1.copyFrom(in1); 6088 6089 result_int result = reduce_my_char2_7(ain1, null); 6090 result.mTempIns = new Allocation[]{ain1}; 6091 return result; 6092 } 6093 6094 // ain1 = "char2 in" 6095 public result_int reduce_my_char2_7(Allocation ain1) { 6096 return reduce_my_char2_7(ain1, null); 6097 } 6098 6099 // ain1 = "char2 in" 6100 public result_int reduce_my_char2_7(Allocation ain1, Script.LaunchOptions sc) { 6101 // check ain1 6102 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6103 throw new RSRuntimeException("Type mismatch with I8_2!"); 6104 } 6105 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6106 aout.setAutoPadding(true); 6107 reduce(mExportReduceIdx_my_char2_7, new Allocation[]{ain1}, aout, sc); 6108 return new result_int(aout); 6109 } 6110 6111 private final static int mExportReduceIdx_my_char2_8 = 168; 6112 // in1 = "in", flattened 2-vectors 6113 public result_int reduce_my_char2_8(byte[] in1) { 6114 // Verify that "in1" is non-null. 6115 if (in1 == null) { 6116 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6117 } 6118 // Verify that the array length is a multiple of the vector size. 6119 if (in1.length % 2 != 0) { 6120 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6121 } 6122 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6123 ain1.setAutoPadding(true); 6124 ain1.copyFrom(in1); 6125 6126 result_int result = reduce_my_char2_8(ain1, null); 6127 result.mTempIns = new Allocation[]{ain1}; 6128 return result; 6129 } 6130 6131 // ain1 = "char2 in" 6132 public result_int reduce_my_char2_8(Allocation ain1) { 6133 return reduce_my_char2_8(ain1, null); 6134 } 6135 6136 // ain1 = "char2 in" 6137 public result_int reduce_my_char2_8(Allocation ain1, Script.LaunchOptions sc) { 6138 // check ain1 6139 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6140 throw new RSRuntimeException("Type mismatch with I8_2!"); 6141 } 6142 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6143 aout.setAutoPadding(true); 6144 reduce(mExportReduceIdx_my_char2_8, new Allocation[]{ain1}, aout, sc); 6145 return new result_int(aout); 6146 } 6147 6148 private final static int mExportReduceIdx_my_char2_9 = 169; 6149 // in1 = "in", flattened 2-vectors 6150 public result_int reduce_my_char2_9(byte[] in1) { 6151 // Verify that "in1" is non-null. 6152 if (in1 == null) { 6153 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6154 } 6155 // Verify that the array length is a multiple of the vector size. 6156 if (in1.length % 2 != 0) { 6157 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6158 } 6159 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6160 ain1.setAutoPadding(true); 6161 ain1.copyFrom(in1); 6162 6163 result_int result = reduce_my_char2_9(ain1, null); 6164 result.mTempIns = new Allocation[]{ain1}; 6165 return result; 6166 } 6167 6168 // ain1 = "char2 in" 6169 public result_int reduce_my_char2_9(Allocation ain1) { 6170 return reduce_my_char2_9(ain1, null); 6171 } 6172 6173 // ain1 = "char2 in" 6174 public result_int reduce_my_char2_9(Allocation ain1, Script.LaunchOptions sc) { 6175 // check ain1 6176 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6177 throw new RSRuntimeException("Type mismatch with I8_2!"); 6178 } 6179 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6180 aout.setAutoPadding(true); 6181 reduce(mExportReduceIdx_my_char2_9, new Allocation[]{ain1}, aout, sc); 6182 return new result_int(aout); 6183 } 6184 6185 private final static int mExportReduceIdx_my_char2_10 = 170; 6186 // in1 = "in", flattened 2-vectors 6187 public result_int reduce_my_char2_10(byte[] in1) { 6188 // Verify that "in1" is non-null. 6189 if (in1 == null) { 6190 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6191 } 6192 // Verify that the array length is a multiple of the vector size. 6193 if (in1.length % 2 != 0) { 6194 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6195 } 6196 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6197 ain1.setAutoPadding(true); 6198 ain1.copyFrom(in1); 6199 6200 result_int result = reduce_my_char2_10(ain1, null); 6201 result.mTempIns = new Allocation[]{ain1}; 6202 return result; 6203 } 6204 6205 // ain1 = "char2 in" 6206 public result_int reduce_my_char2_10(Allocation ain1) { 6207 return reduce_my_char2_10(ain1, null); 6208 } 6209 6210 // ain1 = "char2 in" 6211 public result_int reduce_my_char2_10(Allocation ain1, Script.LaunchOptions sc) { 6212 // check ain1 6213 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6214 throw new RSRuntimeException("Type mismatch with I8_2!"); 6215 } 6216 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6217 aout.setAutoPadding(true); 6218 reduce(mExportReduceIdx_my_char2_10, new Allocation[]{ain1}, aout, sc); 6219 return new result_int(aout); 6220 } 6221 6222 private final static int mExportReduceIdx_my_char2_11 = 171; 6223 // in1 = "in", flattened 2-vectors 6224 public result_int reduce_my_char2_11(byte[] in1) { 6225 // Verify that "in1" is non-null. 6226 if (in1 == null) { 6227 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6228 } 6229 // Verify that the array length is a multiple of the vector size. 6230 if (in1.length % 2 != 0) { 6231 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6232 } 6233 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6234 ain1.setAutoPadding(true); 6235 ain1.copyFrom(in1); 6236 6237 result_int result = reduce_my_char2_11(ain1, null); 6238 result.mTempIns = new Allocation[]{ain1}; 6239 return result; 6240 } 6241 6242 // ain1 = "char2 in" 6243 public result_int reduce_my_char2_11(Allocation ain1) { 6244 return reduce_my_char2_11(ain1, null); 6245 } 6246 6247 // ain1 = "char2 in" 6248 public result_int reduce_my_char2_11(Allocation ain1, Script.LaunchOptions sc) { 6249 // check ain1 6250 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6251 throw new RSRuntimeException("Type mismatch with I8_2!"); 6252 } 6253 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6254 aout.setAutoPadding(true); 6255 reduce(mExportReduceIdx_my_char2_11, new Allocation[]{ain1}, aout, sc); 6256 return new result_int(aout); 6257 } 6258 6259 private final static int mExportReduceIdx_my_char2_12 = 172; 6260 // in1 = "in", flattened 2-vectors 6261 public result_int reduce_my_char2_12(byte[] in1) { 6262 // Verify that "in1" is non-null. 6263 if (in1 == null) { 6264 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6265 } 6266 // Verify that the array length is a multiple of the vector size. 6267 if (in1.length % 2 != 0) { 6268 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6269 } 6270 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6271 ain1.setAutoPadding(true); 6272 ain1.copyFrom(in1); 6273 6274 result_int result = reduce_my_char2_12(ain1, null); 6275 result.mTempIns = new Allocation[]{ain1}; 6276 return result; 6277 } 6278 6279 // ain1 = "char2 in" 6280 public result_int reduce_my_char2_12(Allocation ain1) { 6281 return reduce_my_char2_12(ain1, null); 6282 } 6283 6284 // ain1 = "char2 in" 6285 public result_int reduce_my_char2_12(Allocation ain1, Script.LaunchOptions sc) { 6286 // check ain1 6287 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6288 throw new RSRuntimeException("Type mismatch with I8_2!"); 6289 } 6290 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6291 aout.setAutoPadding(true); 6292 reduce(mExportReduceIdx_my_char2_12, new Allocation[]{ain1}, aout, sc); 6293 return new result_int(aout); 6294 } 6295 6296 private final static int mExportReduceIdx_my_char2_13 = 173; 6297 // in1 = "in", flattened 2-vectors 6298 public result_int reduce_my_char2_13(byte[] in1) { 6299 // Verify that "in1" is non-null. 6300 if (in1 == null) { 6301 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6302 } 6303 // Verify that the array length is a multiple of the vector size. 6304 if (in1.length % 2 != 0) { 6305 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6306 } 6307 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6308 ain1.setAutoPadding(true); 6309 ain1.copyFrom(in1); 6310 6311 result_int result = reduce_my_char2_13(ain1, null); 6312 result.mTempIns = new Allocation[]{ain1}; 6313 return result; 6314 } 6315 6316 // ain1 = "char2 in" 6317 public result_int reduce_my_char2_13(Allocation ain1) { 6318 return reduce_my_char2_13(ain1, null); 6319 } 6320 6321 // ain1 = "char2 in" 6322 public result_int reduce_my_char2_13(Allocation ain1, Script.LaunchOptions sc) { 6323 // check ain1 6324 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6325 throw new RSRuntimeException("Type mismatch with I8_2!"); 6326 } 6327 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6328 aout.setAutoPadding(true); 6329 reduce(mExportReduceIdx_my_char2_13, new Allocation[]{ain1}, aout, sc); 6330 return new result_int(aout); 6331 } 6332 6333 private final static int mExportReduceIdx_my_char2_14 = 174; 6334 // in1 = "in", flattened 2-vectors 6335 public result_int reduce_my_char2_14(byte[] in1) { 6336 // Verify that "in1" is non-null. 6337 if (in1 == null) { 6338 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6339 } 6340 // Verify that the array length is a multiple of the vector size. 6341 if (in1.length % 2 != 0) { 6342 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6343 } 6344 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6345 ain1.setAutoPadding(true); 6346 ain1.copyFrom(in1); 6347 6348 result_int result = reduce_my_char2_14(ain1, null); 6349 result.mTempIns = new Allocation[]{ain1}; 6350 return result; 6351 } 6352 6353 // ain1 = "char2 in" 6354 public result_int reduce_my_char2_14(Allocation ain1) { 6355 return reduce_my_char2_14(ain1, null); 6356 } 6357 6358 // ain1 = "char2 in" 6359 public result_int reduce_my_char2_14(Allocation ain1, Script.LaunchOptions sc) { 6360 // check ain1 6361 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6362 throw new RSRuntimeException("Type mismatch with I8_2!"); 6363 } 6364 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6365 aout.setAutoPadding(true); 6366 reduce(mExportReduceIdx_my_char2_14, new Allocation[]{ain1}, aout, sc); 6367 return new result_int(aout); 6368 } 6369 6370 private final static int mExportReduceIdx_my_char2_15 = 175; 6371 // in1 = "in", flattened 2-vectors 6372 public result_int reduce_my_char2_15(byte[] in1) { 6373 // Verify that "in1" is non-null. 6374 if (in1 == null) { 6375 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6376 } 6377 // Verify that the array length is a multiple of the vector size. 6378 if (in1.length % 2 != 0) { 6379 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 6380 } 6381 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_2, in1.length / 2); 6382 ain1.setAutoPadding(true); 6383 ain1.copyFrom(in1); 6384 6385 result_int result = reduce_my_char2_15(ain1, null); 6386 result.mTempIns = new Allocation[]{ain1}; 6387 return result; 6388 } 6389 6390 // ain1 = "char2 in" 6391 public result_int reduce_my_char2_15(Allocation ain1) { 6392 return reduce_my_char2_15(ain1, null); 6393 } 6394 6395 // ain1 = "char2 in" 6396 public result_int reduce_my_char2_15(Allocation ain1, Script.LaunchOptions sc) { 6397 // check ain1 6398 if (!ain1.getType().getElement().isCompatible(__I8_2)) { 6399 throw new RSRuntimeException("Type mismatch with I8_2!"); 6400 } 6401 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6402 aout.setAutoPadding(true); 6403 reduce(mExportReduceIdx_my_char2_15, new Allocation[]{ain1}, aout, sc); 6404 return new result_int(aout); 6405 } 6406 6407 private final static int mExportReduceIdx_my_char4_0 = 176; 6408 // in1 = "in", flattened 4-vectors 6409 public result_int reduce_my_char4_0(byte[] in1) { 6410 // Verify that "in1" is non-null. 6411 if (in1 == null) { 6412 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6413 } 6414 // Verify that the array length is a multiple of the vector size. 6415 if (in1.length % 4 != 0) { 6416 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6417 } 6418 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6419 ain1.setAutoPadding(true); 6420 ain1.copyFrom(in1); 6421 6422 result_int result = reduce_my_char4_0(ain1, null); 6423 result.mTempIns = new Allocation[]{ain1}; 6424 return result; 6425 } 6426 6427 // ain1 = "char4 in" 6428 public result_int reduce_my_char4_0(Allocation ain1) { 6429 return reduce_my_char4_0(ain1, null); 6430 } 6431 6432 // ain1 = "char4 in" 6433 public result_int reduce_my_char4_0(Allocation ain1, Script.LaunchOptions sc) { 6434 // check ain1 6435 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6436 throw new RSRuntimeException("Type mismatch with I8_4!"); 6437 } 6438 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6439 aout.setAutoPadding(true); 6440 reduce(mExportReduceIdx_my_char4_0, new Allocation[]{ain1}, aout, sc); 6441 return new result_int(aout); 6442 } 6443 6444 private final static int mExportReduceIdx_my_char4_1 = 177; 6445 // in1 = "in", flattened 4-vectors 6446 public result_int reduce_my_char4_1(byte[] in1) { 6447 // Verify that "in1" is non-null. 6448 if (in1 == null) { 6449 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6450 } 6451 // Verify that the array length is a multiple of the vector size. 6452 if (in1.length % 4 != 0) { 6453 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6454 } 6455 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6456 ain1.setAutoPadding(true); 6457 ain1.copyFrom(in1); 6458 6459 result_int result = reduce_my_char4_1(ain1, null); 6460 result.mTempIns = new Allocation[]{ain1}; 6461 return result; 6462 } 6463 6464 // ain1 = "char4 in" 6465 public result_int reduce_my_char4_1(Allocation ain1) { 6466 return reduce_my_char4_1(ain1, null); 6467 } 6468 6469 // ain1 = "char4 in" 6470 public result_int reduce_my_char4_1(Allocation ain1, Script.LaunchOptions sc) { 6471 // check ain1 6472 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6473 throw new RSRuntimeException("Type mismatch with I8_4!"); 6474 } 6475 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6476 aout.setAutoPadding(true); 6477 reduce(mExportReduceIdx_my_char4_1, new Allocation[]{ain1}, aout, sc); 6478 return new result_int(aout); 6479 } 6480 6481 private final static int mExportReduceIdx_my_char4_2 = 178; 6482 // in1 = "in", flattened 4-vectors 6483 public result_int reduce_my_char4_2(byte[] in1) { 6484 // Verify that "in1" is non-null. 6485 if (in1 == null) { 6486 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6487 } 6488 // Verify that the array length is a multiple of the vector size. 6489 if (in1.length % 4 != 0) { 6490 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6491 } 6492 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6493 ain1.setAutoPadding(true); 6494 ain1.copyFrom(in1); 6495 6496 result_int result = reduce_my_char4_2(ain1, null); 6497 result.mTempIns = new Allocation[]{ain1}; 6498 return result; 6499 } 6500 6501 // ain1 = "char4 in" 6502 public result_int reduce_my_char4_2(Allocation ain1) { 6503 return reduce_my_char4_2(ain1, null); 6504 } 6505 6506 // ain1 = "char4 in" 6507 public result_int reduce_my_char4_2(Allocation ain1, Script.LaunchOptions sc) { 6508 // check ain1 6509 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6510 throw new RSRuntimeException("Type mismatch with I8_4!"); 6511 } 6512 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6513 aout.setAutoPadding(true); 6514 reduce(mExportReduceIdx_my_char4_2, new Allocation[]{ain1}, aout, sc); 6515 return new result_int(aout); 6516 } 6517 6518 private final static int mExportReduceIdx_my_char4_3 = 179; 6519 // in1 = "in", flattened 4-vectors 6520 public result_int reduce_my_char4_3(byte[] in1) { 6521 // Verify that "in1" is non-null. 6522 if (in1 == null) { 6523 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6524 } 6525 // Verify that the array length is a multiple of the vector size. 6526 if (in1.length % 4 != 0) { 6527 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6528 } 6529 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6530 ain1.setAutoPadding(true); 6531 ain1.copyFrom(in1); 6532 6533 result_int result = reduce_my_char4_3(ain1, null); 6534 result.mTempIns = new Allocation[]{ain1}; 6535 return result; 6536 } 6537 6538 // ain1 = "char4 in" 6539 public result_int reduce_my_char4_3(Allocation ain1) { 6540 return reduce_my_char4_3(ain1, null); 6541 } 6542 6543 // ain1 = "char4 in" 6544 public result_int reduce_my_char4_3(Allocation ain1, Script.LaunchOptions sc) { 6545 // check ain1 6546 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6547 throw new RSRuntimeException("Type mismatch with I8_4!"); 6548 } 6549 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6550 aout.setAutoPadding(true); 6551 reduce(mExportReduceIdx_my_char4_3, new Allocation[]{ain1}, aout, sc); 6552 return new result_int(aout); 6553 } 6554 6555 private final static int mExportReduceIdx_my_char4_4 = 180; 6556 // in1 = "in", flattened 4-vectors 6557 public result_int reduce_my_char4_4(byte[] in1) { 6558 // Verify that "in1" is non-null. 6559 if (in1 == null) { 6560 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6561 } 6562 // Verify that the array length is a multiple of the vector size. 6563 if (in1.length % 4 != 0) { 6564 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6565 } 6566 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6567 ain1.setAutoPadding(true); 6568 ain1.copyFrom(in1); 6569 6570 result_int result = reduce_my_char4_4(ain1, null); 6571 result.mTempIns = new Allocation[]{ain1}; 6572 return result; 6573 } 6574 6575 // ain1 = "char4 in" 6576 public result_int reduce_my_char4_4(Allocation ain1) { 6577 return reduce_my_char4_4(ain1, null); 6578 } 6579 6580 // ain1 = "char4 in" 6581 public result_int reduce_my_char4_4(Allocation ain1, Script.LaunchOptions sc) { 6582 // check ain1 6583 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6584 throw new RSRuntimeException("Type mismatch with I8_4!"); 6585 } 6586 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6587 aout.setAutoPadding(true); 6588 reduce(mExportReduceIdx_my_char4_4, new Allocation[]{ain1}, aout, sc); 6589 return new result_int(aout); 6590 } 6591 6592 private final static int mExportReduceIdx_my_char4_5 = 181; 6593 // in1 = "in", flattened 4-vectors 6594 public result_int reduce_my_char4_5(byte[] in1) { 6595 // Verify that "in1" is non-null. 6596 if (in1 == null) { 6597 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6598 } 6599 // Verify that the array length is a multiple of the vector size. 6600 if (in1.length % 4 != 0) { 6601 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6602 } 6603 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6604 ain1.setAutoPadding(true); 6605 ain1.copyFrom(in1); 6606 6607 result_int result = reduce_my_char4_5(ain1, null); 6608 result.mTempIns = new Allocation[]{ain1}; 6609 return result; 6610 } 6611 6612 // ain1 = "char4 in" 6613 public result_int reduce_my_char4_5(Allocation ain1) { 6614 return reduce_my_char4_5(ain1, null); 6615 } 6616 6617 // ain1 = "char4 in" 6618 public result_int reduce_my_char4_5(Allocation ain1, Script.LaunchOptions sc) { 6619 // check ain1 6620 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6621 throw new RSRuntimeException("Type mismatch with I8_4!"); 6622 } 6623 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6624 aout.setAutoPadding(true); 6625 reduce(mExportReduceIdx_my_char4_5, new Allocation[]{ain1}, aout, sc); 6626 return new result_int(aout); 6627 } 6628 6629 private final static int mExportReduceIdx_my_char4_6 = 182; 6630 // in1 = "in", flattened 4-vectors 6631 public result_int reduce_my_char4_6(byte[] in1) { 6632 // Verify that "in1" is non-null. 6633 if (in1 == null) { 6634 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6635 } 6636 // Verify that the array length is a multiple of the vector size. 6637 if (in1.length % 4 != 0) { 6638 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6639 } 6640 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6641 ain1.setAutoPadding(true); 6642 ain1.copyFrom(in1); 6643 6644 result_int result = reduce_my_char4_6(ain1, null); 6645 result.mTempIns = new Allocation[]{ain1}; 6646 return result; 6647 } 6648 6649 // ain1 = "char4 in" 6650 public result_int reduce_my_char4_6(Allocation ain1) { 6651 return reduce_my_char4_6(ain1, null); 6652 } 6653 6654 // ain1 = "char4 in" 6655 public result_int reduce_my_char4_6(Allocation ain1, Script.LaunchOptions sc) { 6656 // check ain1 6657 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6658 throw new RSRuntimeException("Type mismatch with I8_4!"); 6659 } 6660 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6661 aout.setAutoPadding(true); 6662 reduce(mExportReduceIdx_my_char4_6, new Allocation[]{ain1}, aout, sc); 6663 return new result_int(aout); 6664 } 6665 6666 private final static int mExportReduceIdx_my_char4_7 = 183; 6667 // in1 = "in", flattened 4-vectors 6668 public result_int reduce_my_char4_7(byte[] in1) { 6669 // Verify that "in1" is non-null. 6670 if (in1 == null) { 6671 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6672 } 6673 // Verify that the array length is a multiple of the vector size. 6674 if (in1.length % 4 != 0) { 6675 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6676 } 6677 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6678 ain1.setAutoPadding(true); 6679 ain1.copyFrom(in1); 6680 6681 result_int result = reduce_my_char4_7(ain1, null); 6682 result.mTempIns = new Allocation[]{ain1}; 6683 return result; 6684 } 6685 6686 // ain1 = "char4 in" 6687 public result_int reduce_my_char4_7(Allocation ain1) { 6688 return reduce_my_char4_7(ain1, null); 6689 } 6690 6691 // ain1 = "char4 in" 6692 public result_int reduce_my_char4_7(Allocation ain1, Script.LaunchOptions sc) { 6693 // check ain1 6694 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6695 throw new RSRuntimeException("Type mismatch with I8_4!"); 6696 } 6697 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6698 aout.setAutoPadding(true); 6699 reduce(mExportReduceIdx_my_char4_7, new Allocation[]{ain1}, aout, sc); 6700 return new result_int(aout); 6701 } 6702 6703 private final static int mExportReduceIdx_my_char4_8 = 184; 6704 // in1 = "in", flattened 4-vectors 6705 public result_int reduce_my_char4_8(byte[] in1) { 6706 // Verify that "in1" is non-null. 6707 if (in1 == null) { 6708 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6709 } 6710 // Verify that the array length is a multiple of the vector size. 6711 if (in1.length % 4 != 0) { 6712 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6713 } 6714 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6715 ain1.setAutoPadding(true); 6716 ain1.copyFrom(in1); 6717 6718 result_int result = reduce_my_char4_8(ain1, null); 6719 result.mTempIns = new Allocation[]{ain1}; 6720 return result; 6721 } 6722 6723 // ain1 = "char4 in" 6724 public result_int reduce_my_char4_8(Allocation ain1) { 6725 return reduce_my_char4_8(ain1, null); 6726 } 6727 6728 // ain1 = "char4 in" 6729 public result_int reduce_my_char4_8(Allocation ain1, Script.LaunchOptions sc) { 6730 // check ain1 6731 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6732 throw new RSRuntimeException("Type mismatch with I8_4!"); 6733 } 6734 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6735 aout.setAutoPadding(true); 6736 reduce(mExportReduceIdx_my_char4_8, new Allocation[]{ain1}, aout, sc); 6737 return new result_int(aout); 6738 } 6739 6740 private final static int mExportReduceIdx_my_char4_9 = 185; 6741 // in1 = "in", flattened 4-vectors 6742 public result_int reduce_my_char4_9(byte[] in1) { 6743 // Verify that "in1" is non-null. 6744 if (in1 == null) { 6745 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6746 } 6747 // Verify that the array length is a multiple of the vector size. 6748 if (in1.length % 4 != 0) { 6749 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6750 } 6751 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6752 ain1.setAutoPadding(true); 6753 ain1.copyFrom(in1); 6754 6755 result_int result = reduce_my_char4_9(ain1, null); 6756 result.mTempIns = new Allocation[]{ain1}; 6757 return result; 6758 } 6759 6760 // ain1 = "char4 in" 6761 public result_int reduce_my_char4_9(Allocation ain1) { 6762 return reduce_my_char4_9(ain1, null); 6763 } 6764 6765 // ain1 = "char4 in" 6766 public result_int reduce_my_char4_9(Allocation ain1, Script.LaunchOptions sc) { 6767 // check ain1 6768 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6769 throw new RSRuntimeException("Type mismatch with I8_4!"); 6770 } 6771 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6772 aout.setAutoPadding(true); 6773 reduce(mExportReduceIdx_my_char4_9, new Allocation[]{ain1}, aout, sc); 6774 return new result_int(aout); 6775 } 6776 6777 private final static int mExportReduceIdx_my_char4_10 = 186; 6778 // in1 = "in", flattened 4-vectors 6779 public result_int reduce_my_char4_10(byte[] in1) { 6780 // Verify that "in1" is non-null. 6781 if (in1 == null) { 6782 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6783 } 6784 // Verify that the array length is a multiple of the vector size. 6785 if (in1.length % 4 != 0) { 6786 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6787 } 6788 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6789 ain1.setAutoPadding(true); 6790 ain1.copyFrom(in1); 6791 6792 result_int result = reduce_my_char4_10(ain1, null); 6793 result.mTempIns = new Allocation[]{ain1}; 6794 return result; 6795 } 6796 6797 // ain1 = "char4 in" 6798 public result_int reduce_my_char4_10(Allocation ain1) { 6799 return reduce_my_char4_10(ain1, null); 6800 } 6801 6802 // ain1 = "char4 in" 6803 public result_int reduce_my_char4_10(Allocation ain1, Script.LaunchOptions sc) { 6804 // check ain1 6805 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6806 throw new RSRuntimeException("Type mismatch with I8_4!"); 6807 } 6808 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6809 aout.setAutoPadding(true); 6810 reduce(mExportReduceIdx_my_char4_10, new Allocation[]{ain1}, aout, sc); 6811 return new result_int(aout); 6812 } 6813 6814 private final static int mExportReduceIdx_my_char4_11 = 187; 6815 // in1 = "in", flattened 4-vectors 6816 public result_int reduce_my_char4_11(byte[] in1) { 6817 // Verify that "in1" is non-null. 6818 if (in1 == null) { 6819 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6820 } 6821 // Verify that the array length is a multiple of the vector size. 6822 if (in1.length % 4 != 0) { 6823 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6824 } 6825 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6826 ain1.setAutoPadding(true); 6827 ain1.copyFrom(in1); 6828 6829 result_int result = reduce_my_char4_11(ain1, null); 6830 result.mTempIns = new Allocation[]{ain1}; 6831 return result; 6832 } 6833 6834 // ain1 = "char4 in" 6835 public result_int reduce_my_char4_11(Allocation ain1) { 6836 return reduce_my_char4_11(ain1, null); 6837 } 6838 6839 // ain1 = "char4 in" 6840 public result_int reduce_my_char4_11(Allocation ain1, Script.LaunchOptions sc) { 6841 // check ain1 6842 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6843 throw new RSRuntimeException("Type mismatch with I8_4!"); 6844 } 6845 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6846 aout.setAutoPadding(true); 6847 reduce(mExportReduceIdx_my_char4_11, new Allocation[]{ain1}, aout, sc); 6848 return new result_int(aout); 6849 } 6850 6851 private final static int mExportReduceIdx_my_char4_12 = 188; 6852 // in1 = "in", flattened 4-vectors 6853 public result_int reduce_my_char4_12(byte[] in1) { 6854 // Verify that "in1" is non-null. 6855 if (in1 == null) { 6856 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6857 } 6858 // Verify that the array length is a multiple of the vector size. 6859 if (in1.length % 4 != 0) { 6860 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6861 } 6862 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6863 ain1.setAutoPadding(true); 6864 ain1.copyFrom(in1); 6865 6866 result_int result = reduce_my_char4_12(ain1, null); 6867 result.mTempIns = new Allocation[]{ain1}; 6868 return result; 6869 } 6870 6871 // ain1 = "char4 in" 6872 public result_int reduce_my_char4_12(Allocation ain1) { 6873 return reduce_my_char4_12(ain1, null); 6874 } 6875 6876 // ain1 = "char4 in" 6877 public result_int reduce_my_char4_12(Allocation ain1, Script.LaunchOptions sc) { 6878 // check ain1 6879 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6880 throw new RSRuntimeException("Type mismatch with I8_4!"); 6881 } 6882 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6883 aout.setAutoPadding(true); 6884 reduce(mExportReduceIdx_my_char4_12, new Allocation[]{ain1}, aout, sc); 6885 return new result_int(aout); 6886 } 6887 6888 private final static int mExportReduceIdx_my_char4_13 = 189; 6889 // in1 = "in", flattened 4-vectors 6890 public result_int reduce_my_char4_13(byte[] in1) { 6891 // Verify that "in1" is non-null. 6892 if (in1 == null) { 6893 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6894 } 6895 // Verify that the array length is a multiple of the vector size. 6896 if (in1.length % 4 != 0) { 6897 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6898 } 6899 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6900 ain1.setAutoPadding(true); 6901 ain1.copyFrom(in1); 6902 6903 result_int result = reduce_my_char4_13(ain1, null); 6904 result.mTempIns = new Allocation[]{ain1}; 6905 return result; 6906 } 6907 6908 // ain1 = "char4 in" 6909 public result_int reduce_my_char4_13(Allocation ain1) { 6910 return reduce_my_char4_13(ain1, null); 6911 } 6912 6913 // ain1 = "char4 in" 6914 public result_int reduce_my_char4_13(Allocation ain1, Script.LaunchOptions sc) { 6915 // check ain1 6916 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6917 throw new RSRuntimeException("Type mismatch with I8_4!"); 6918 } 6919 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6920 aout.setAutoPadding(true); 6921 reduce(mExportReduceIdx_my_char4_13, new Allocation[]{ain1}, aout, sc); 6922 return new result_int(aout); 6923 } 6924 6925 private final static int mExportReduceIdx_my_char4_14 = 190; 6926 // in1 = "in", flattened 4-vectors 6927 public result_int reduce_my_char4_14(byte[] in1) { 6928 // Verify that "in1" is non-null. 6929 if (in1 == null) { 6930 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6931 } 6932 // Verify that the array length is a multiple of the vector size. 6933 if (in1.length % 4 != 0) { 6934 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6935 } 6936 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6937 ain1.setAutoPadding(true); 6938 ain1.copyFrom(in1); 6939 6940 result_int result = reduce_my_char4_14(ain1, null); 6941 result.mTempIns = new Allocation[]{ain1}; 6942 return result; 6943 } 6944 6945 // ain1 = "char4 in" 6946 public result_int reduce_my_char4_14(Allocation ain1) { 6947 return reduce_my_char4_14(ain1, null); 6948 } 6949 6950 // ain1 = "char4 in" 6951 public result_int reduce_my_char4_14(Allocation ain1, Script.LaunchOptions sc) { 6952 // check ain1 6953 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6954 throw new RSRuntimeException("Type mismatch with I8_4!"); 6955 } 6956 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6957 aout.setAutoPadding(true); 6958 reduce(mExportReduceIdx_my_char4_14, new Allocation[]{ain1}, aout, sc); 6959 return new result_int(aout); 6960 } 6961 6962 private final static int mExportReduceIdx_my_char4_15 = 191; 6963 // in1 = "in", flattened 4-vectors 6964 public result_int reduce_my_char4_15(byte[] in1) { 6965 // Verify that "in1" is non-null. 6966 if (in1 == null) { 6967 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 6968 } 6969 // Verify that the array length is a multiple of the vector size. 6970 if (in1.length % 4 != 0) { 6971 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 6972 } 6973 Allocation ain1 = Allocation.createSized(mRSLocal, __I8_4, in1.length / 4); 6974 ain1.setAutoPadding(true); 6975 ain1.copyFrom(in1); 6976 6977 result_int result = reduce_my_char4_15(ain1, null); 6978 result.mTempIns = new Allocation[]{ain1}; 6979 return result; 6980 } 6981 6982 // ain1 = "char4 in" 6983 public result_int reduce_my_char4_15(Allocation ain1) { 6984 return reduce_my_char4_15(ain1, null); 6985 } 6986 6987 // ain1 = "char4 in" 6988 public result_int reduce_my_char4_15(Allocation ain1, Script.LaunchOptions sc) { 6989 // check ain1 6990 if (!ain1.getType().getElement().isCompatible(__I8_4)) { 6991 throw new RSRuntimeException("Type mismatch with I8_4!"); 6992 } 6993 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 6994 aout.setAutoPadding(true); 6995 reduce(mExportReduceIdx_my_char4_15, new Allocation[]{ain1}, aout, sc); 6996 return new result_int(aout); 6997 } 6998 6999 private final static int mExportReduceIdx_my_short_0 = 192; 7000 // in1 = "in" 7001 public result_int reduce_my_short_0(short[] in1) { 7002 // Verify that "in1" is non-null. 7003 if (in1 == null) { 7004 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7005 } 7006 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7007 ain1.setAutoPadding(true); 7008 ain1.copyFrom(in1); 7009 7010 result_int result = reduce_my_short_0(ain1, null); 7011 result.mTempIns = new Allocation[]{ain1}; 7012 return result; 7013 } 7014 7015 // ain1 = "short in" 7016 public result_int reduce_my_short_0(Allocation ain1) { 7017 return reduce_my_short_0(ain1, null); 7018 } 7019 7020 // ain1 = "short in" 7021 public result_int reduce_my_short_0(Allocation ain1, Script.LaunchOptions sc) { 7022 // check ain1 7023 if (!ain1.getType().getElement().isCompatible(__I16)) { 7024 throw new RSRuntimeException("Type mismatch with I16!"); 7025 } 7026 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7027 aout.setAutoPadding(true); 7028 reduce(mExportReduceIdx_my_short_0, new Allocation[]{ain1}, aout, sc); 7029 return new result_int(aout); 7030 } 7031 7032 private final static int mExportReduceIdx_my_short_1 = 193; 7033 // in1 = "in" 7034 public result_int reduce_my_short_1(short[] in1) { 7035 // Verify that "in1" is non-null. 7036 if (in1 == null) { 7037 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7038 } 7039 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7040 ain1.setAutoPadding(true); 7041 ain1.copyFrom(in1); 7042 7043 result_int result = reduce_my_short_1(ain1, null); 7044 result.mTempIns = new Allocation[]{ain1}; 7045 return result; 7046 } 7047 7048 // ain1 = "short in" 7049 public result_int reduce_my_short_1(Allocation ain1) { 7050 return reduce_my_short_1(ain1, null); 7051 } 7052 7053 // ain1 = "short in" 7054 public result_int reduce_my_short_1(Allocation ain1, Script.LaunchOptions sc) { 7055 // check ain1 7056 if (!ain1.getType().getElement().isCompatible(__I16)) { 7057 throw new RSRuntimeException("Type mismatch with I16!"); 7058 } 7059 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7060 aout.setAutoPadding(true); 7061 reduce(mExportReduceIdx_my_short_1, new Allocation[]{ain1}, aout, sc); 7062 return new result_int(aout); 7063 } 7064 7065 private final static int mExportReduceIdx_my_short_2 = 194; 7066 // in1 = "in" 7067 public result_int reduce_my_short_2(short[] in1) { 7068 // Verify that "in1" is non-null. 7069 if (in1 == null) { 7070 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7071 } 7072 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7073 ain1.setAutoPadding(true); 7074 ain1.copyFrom(in1); 7075 7076 result_int result = reduce_my_short_2(ain1, null); 7077 result.mTempIns = new Allocation[]{ain1}; 7078 return result; 7079 } 7080 7081 // ain1 = "short in" 7082 public result_int reduce_my_short_2(Allocation ain1) { 7083 return reduce_my_short_2(ain1, null); 7084 } 7085 7086 // ain1 = "short in" 7087 public result_int reduce_my_short_2(Allocation ain1, Script.LaunchOptions sc) { 7088 // check ain1 7089 if (!ain1.getType().getElement().isCompatible(__I16)) { 7090 throw new RSRuntimeException("Type mismatch with I16!"); 7091 } 7092 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7093 aout.setAutoPadding(true); 7094 reduce(mExportReduceIdx_my_short_2, new Allocation[]{ain1}, aout, sc); 7095 return new result_int(aout); 7096 } 7097 7098 private final static int mExportReduceIdx_my_short_3 = 195; 7099 // in1 = "in" 7100 public result_int reduce_my_short_3(short[] in1) { 7101 // Verify that "in1" is non-null. 7102 if (in1 == null) { 7103 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7104 } 7105 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7106 ain1.setAutoPadding(true); 7107 ain1.copyFrom(in1); 7108 7109 result_int result = reduce_my_short_3(ain1, null); 7110 result.mTempIns = new Allocation[]{ain1}; 7111 return result; 7112 } 7113 7114 // ain1 = "short in" 7115 public result_int reduce_my_short_3(Allocation ain1) { 7116 return reduce_my_short_3(ain1, null); 7117 } 7118 7119 // ain1 = "short in" 7120 public result_int reduce_my_short_3(Allocation ain1, Script.LaunchOptions sc) { 7121 // check ain1 7122 if (!ain1.getType().getElement().isCompatible(__I16)) { 7123 throw new RSRuntimeException("Type mismatch with I16!"); 7124 } 7125 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7126 aout.setAutoPadding(true); 7127 reduce(mExportReduceIdx_my_short_3, new Allocation[]{ain1}, aout, sc); 7128 return new result_int(aout); 7129 } 7130 7131 private final static int mExportReduceIdx_my_short_4 = 196; 7132 // in1 = "in" 7133 public result_int reduce_my_short_4(short[] in1) { 7134 // Verify that "in1" is non-null. 7135 if (in1 == null) { 7136 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7137 } 7138 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7139 ain1.setAutoPadding(true); 7140 ain1.copyFrom(in1); 7141 7142 result_int result = reduce_my_short_4(ain1, null); 7143 result.mTempIns = new Allocation[]{ain1}; 7144 return result; 7145 } 7146 7147 // ain1 = "short in" 7148 public result_int reduce_my_short_4(Allocation ain1) { 7149 return reduce_my_short_4(ain1, null); 7150 } 7151 7152 // ain1 = "short in" 7153 public result_int reduce_my_short_4(Allocation ain1, Script.LaunchOptions sc) { 7154 // check ain1 7155 if (!ain1.getType().getElement().isCompatible(__I16)) { 7156 throw new RSRuntimeException("Type mismatch with I16!"); 7157 } 7158 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7159 aout.setAutoPadding(true); 7160 reduce(mExportReduceIdx_my_short_4, new Allocation[]{ain1}, aout, sc); 7161 return new result_int(aout); 7162 } 7163 7164 private final static int mExportReduceIdx_my_short_5 = 197; 7165 // in1 = "in" 7166 public result_int reduce_my_short_5(short[] in1) { 7167 // Verify that "in1" is non-null. 7168 if (in1 == null) { 7169 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7170 } 7171 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7172 ain1.setAutoPadding(true); 7173 ain1.copyFrom(in1); 7174 7175 result_int result = reduce_my_short_5(ain1, null); 7176 result.mTempIns = new Allocation[]{ain1}; 7177 return result; 7178 } 7179 7180 // ain1 = "short in" 7181 public result_int reduce_my_short_5(Allocation ain1) { 7182 return reduce_my_short_5(ain1, null); 7183 } 7184 7185 // ain1 = "short in" 7186 public result_int reduce_my_short_5(Allocation ain1, Script.LaunchOptions sc) { 7187 // check ain1 7188 if (!ain1.getType().getElement().isCompatible(__I16)) { 7189 throw new RSRuntimeException("Type mismatch with I16!"); 7190 } 7191 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7192 aout.setAutoPadding(true); 7193 reduce(mExportReduceIdx_my_short_5, new Allocation[]{ain1}, aout, sc); 7194 return new result_int(aout); 7195 } 7196 7197 private final static int mExportReduceIdx_my_short_6 = 198; 7198 // in1 = "in" 7199 public result_int reduce_my_short_6(short[] in1) { 7200 // Verify that "in1" is non-null. 7201 if (in1 == null) { 7202 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7203 } 7204 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7205 ain1.setAutoPadding(true); 7206 ain1.copyFrom(in1); 7207 7208 result_int result = reduce_my_short_6(ain1, null); 7209 result.mTempIns = new Allocation[]{ain1}; 7210 return result; 7211 } 7212 7213 // ain1 = "short in" 7214 public result_int reduce_my_short_6(Allocation ain1) { 7215 return reduce_my_short_6(ain1, null); 7216 } 7217 7218 // ain1 = "short in" 7219 public result_int reduce_my_short_6(Allocation ain1, Script.LaunchOptions sc) { 7220 // check ain1 7221 if (!ain1.getType().getElement().isCompatible(__I16)) { 7222 throw new RSRuntimeException("Type mismatch with I16!"); 7223 } 7224 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7225 aout.setAutoPadding(true); 7226 reduce(mExportReduceIdx_my_short_6, new Allocation[]{ain1}, aout, sc); 7227 return new result_int(aout); 7228 } 7229 7230 private final static int mExportReduceIdx_my_short_7 = 199; 7231 // in1 = "in" 7232 public result_int reduce_my_short_7(short[] in1) { 7233 // Verify that "in1" is non-null. 7234 if (in1 == null) { 7235 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7236 } 7237 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7238 ain1.setAutoPadding(true); 7239 ain1.copyFrom(in1); 7240 7241 result_int result = reduce_my_short_7(ain1, null); 7242 result.mTempIns = new Allocation[]{ain1}; 7243 return result; 7244 } 7245 7246 // ain1 = "short in" 7247 public result_int reduce_my_short_7(Allocation ain1) { 7248 return reduce_my_short_7(ain1, null); 7249 } 7250 7251 // ain1 = "short in" 7252 public result_int reduce_my_short_7(Allocation ain1, Script.LaunchOptions sc) { 7253 // check ain1 7254 if (!ain1.getType().getElement().isCompatible(__I16)) { 7255 throw new RSRuntimeException("Type mismatch with I16!"); 7256 } 7257 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7258 aout.setAutoPadding(true); 7259 reduce(mExportReduceIdx_my_short_7, new Allocation[]{ain1}, aout, sc); 7260 return new result_int(aout); 7261 } 7262 7263 private final static int mExportReduceIdx_my_short_8 = 200; 7264 // in1 = "in" 7265 public result_int reduce_my_short_8(short[] in1) { 7266 // Verify that "in1" is non-null. 7267 if (in1 == null) { 7268 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7269 } 7270 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7271 ain1.setAutoPadding(true); 7272 ain1.copyFrom(in1); 7273 7274 result_int result = reduce_my_short_8(ain1, null); 7275 result.mTempIns = new Allocation[]{ain1}; 7276 return result; 7277 } 7278 7279 // ain1 = "short in" 7280 public result_int reduce_my_short_8(Allocation ain1) { 7281 return reduce_my_short_8(ain1, null); 7282 } 7283 7284 // ain1 = "short in" 7285 public result_int reduce_my_short_8(Allocation ain1, Script.LaunchOptions sc) { 7286 // check ain1 7287 if (!ain1.getType().getElement().isCompatible(__I16)) { 7288 throw new RSRuntimeException("Type mismatch with I16!"); 7289 } 7290 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7291 aout.setAutoPadding(true); 7292 reduce(mExportReduceIdx_my_short_8, new Allocation[]{ain1}, aout, sc); 7293 return new result_int(aout); 7294 } 7295 7296 private final static int mExportReduceIdx_my_short_9 = 201; 7297 // in1 = "in" 7298 public result_int reduce_my_short_9(short[] in1) { 7299 // Verify that "in1" is non-null. 7300 if (in1 == null) { 7301 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7302 } 7303 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7304 ain1.setAutoPadding(true); 7305 ain1.copyFrom(in1); 7306 7307 result_int result = reduce_my_short_9(ain1, null); 7308 result.mTempIns = new Allocation[]{ain1}; 7309 return result; 7310 } 7311 7312 // ain1 = "short in" 7313 public result_int reduce_my_short_9(Allocation ain1) { 7314 return reduce_my_short_9(ain1, null); 7315 } 7316 7317 // ain1 = "short in" 7318 public result_int reduce_my_short_9(Allocation ain1, Script.LaunchOptions sc) { 7319 // check ain1 7320 if (!ain1.getType().getElement().isCompatible(__I16)) { 7321 throw new RSRuntimeException("Type mismatch with I16!"); 7322 } 7323 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7324 aout.setAutoPadding(true); 7325 reduce(mExportReduceIdx_my_short_9, new Allocation[]{ain1}, aout, sc); 7326 return new result_int(aout); 7327 } 7328 7329 private final static int mExportReduceIdx_my_short_10 = 202; 7330 // in1 = "in" 7331 public result_int reduce_my_short_10(short[] in1) { 7332 // Verify that "in1" is non-null. 7333 if (in1 == null) { 7334 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7335 } 7336 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7337 ain1.setAutoPadding(true); 7338 ain1.copyFrom(in1); 7339 7340 result_int result = reduce_my_short_10(ain1, null); 7341 result.mTempIns = new Allocation[]{ain1}; 7342 return result; 7343 } 7344 7345 // ain1 = "short in" 7346 public result_int reduce_my_short_10(Allocation ain1) { 7347 return reduce_my_short_10(ain1, null); 7348 } 7349 7350 // ain1 = "short in" 7351 public result_int reduce_my_short_10(Allocation ain1, Script.LaunchOptions sc) { 7352 // check ain1 7353 if (!ain1.getType().getElement().isCompatible(__I16)) { 7354 throw new RSRuntimeException("Type mismatch with I16!"); 7355 } 7356 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7357 aout.setAutoPadding(true); 7358 reduce(mExportReduceIdx_my_short_10, new Allocation[]{ain1}, aout, sc); 7359 return new result_int(aout); 7360 } 7361 7362 private final static int mExportReduceIdx_my_short_11 = 203; 7363 // in1 = "in" 7364 public result_int reduce_my_short_11(short[] in1) { 7365 // Verify that "in1" is non-null. 7366 if (in1 == null) { 7367 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7368 } 7369 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7370 ain1.setAutoPadding(true); 7371 ain1.copyFrom(in1); 7372 7373 result_int result = reduce_my_short_11(ain1, null); 7374 result.mTempIns = new Allocation[]{ain1}; 7375 return result; 7376 } 7377 7378 // ain1 = "short in" 7379 public result_int reduce_my_short_11(Allocation ain1) { 7380 return reduce_my_short_11(ain1, null); 7381 } 7382 7383 // ain1 = "short in" 7384 public result_int reduce_my_short_11(Allocation ain1, Script.LaunchOptions sc) { 7385 // check ain1 7386 if (!ain1.getType().getElement().isCompatible(__I16)) { 7387 throw new RSRuntimeException("Type mismatch with I16!"); 7388 } 7389 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7390 aout.setAutoPadding(true); 7391 reduce(mExportReduceIdx_my_short_11, new Allocation[]{ain1}, aout, sc); 7392 return new result_int(aout); 7393 } 7394 7395 private final static int mExportReduceIdx_my_short_12 = 204; 7396 // in1 = "in" 7397 public result_int reduce_my_short_12(short[] in1) { 7398 // Verify that "in1" is non-null. 7399 if (in1 == null) { 7400 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7401 } 7402 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7403 ain1.setAutoPadding(true); 7404 ain1.copyFrom(in1); 7405 7406 result_int result = reduce_my_short_12(ain1, null); 7407 result.mTempIns = new Allocation[]{ain1}; 7408 return result; 7409 } 7410 7411 // ain1 = "short in" 7412 public result_int reduce_my_short_12(Allocation ain1) { 7413 return reduce_my_short_12(ain1, null); 7414 } 7415 7416 // ain1 = "short in" 7417 public result_int reduce_my_short_12(Allocation ain1, Script.LaunchOptions sc) { 7418 // check ain1 7419 if (!ain1.getType().getElement().isCompatible(__I16)) { 7420 throw new RSRuntimeException("Type mismatch with I16!"); 7421 } 7422 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7423 aout.setAutoPadding(true); 7424 reduce(mExportReduceIdx_my_short_12, new Allocation[]{ain1}, aout, sc); 7425 return new result_int(aout); 7426 } 7427 7428 private final static int mExportReduceIdx_my_short_13 = 205; 7429 // in1 = "in" 7430 public result_int reduce_my_short_13(short[] in1) { 7431 // Verify that "in1" is non-null. 7432 if (in1 == null) { 7433 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7434 } 7435 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7436 ain1.setAutoPadding(true); 7437 ain1.copyFrom(in1); 7438 7439 result_int result = reduce_my_short_13(ain1, null); 7440 result.mTempIns = new Allocation[]{ain1}; 7441 return result; 7442 } 7443 7444 // ain1 = "short in" 7445 public result_int reduce_my_short_13(Allocation ain1) { 7446 return reduce_my_short_13(ain1, null); 7447 } 7448 7449 // ain1 = "short in" 7450 public result_int reduce_my_short_13(Allocation ain1, Script.LaunchOptions sc) { 7451 // check ain1 7452 if (!ain1.getType().getElement().isCompatible(__I16)) { 7453 throw new RSRuntimeException("Type mismatch with I16!"); 7454 } 7455 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7456 aout.setAutoPadding(true); 7457 reduce(mExportReduceIdx_my_short_13, new Allocation[]{ain1}, aout, sc); 7458 return new result_int(aout); 7459 } 7460 7461 private final static int mExportReduceIdx_my_short_14 = 206; 7462 // in1 = "in" 7463 public result_int reduce_my_short_14(short[] in1) { 7464 // Verify that "in1" is non-null. 7465 if (in1 == null) { 7466 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7467 } 7468 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7469 ain1.setAutoPadding(true); 7470 ain1.copyFrom(in1); 7471 7472 result_int result = reduce_my_short_14(ain1, null); 7473 result.mTempIns = new Allocation[]{ain1}; 7474 return result; 7475 } 7476 7477 // ain1 = "short in" 7478 public result_int reduce_my_short_14(Allocation ain1) { 7479 return reduce_my_short_14(ain1, null); 7480 } 7481 7482 // ain1 = "short in" 7483 public result_int reduce_my_short_14(Allocation ain1, Script.LaunchOptions sc) { 7484 // check ain1 7485 if (!ain1.getType().getElement().isCompatible(__I16)) { 7486 throw new RSRuntimeException("Type mismatch with I16!"); 7487 } 7488 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7489 aout.setAutoPadding(true); 7490 reduce(mExportReduceIdx_my_short_14, new Allocation[]{ain1}, aout, sc); 7491 return new result_int(aout); 7492 } 7493 7494 private final static int mExportReduceIdx_my_short_15 = 207; 7495 // in1 = "in" 7496 public result_int reduce_my_short_15(short[] in1) { 7497 // Verify that "in1" is non-null. 7498 if (in1 == null) { 7499 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7500 } 7501 Allocation ain1 = Allocation.createSized(mRSLocal, __I16, in1.length); 7502 ain1.setAutoPadding(true); 7503 ain1.copyFrom(in1); 7504 7505 result_int result = reduce_my_short_15(ain1, null); 7506 result.mTempIns = new Allocation[]{ain1}; 7507 return result; 7508 } 7509 7510 // ain1 = "short in" 7511 public result_int reduce_my_short_15(Allocation ain1) { 7512 return reduce_my_short_15(ain1, null); 7513 } 7514 7515 // ain1 = "short in" 7516 public result_int reduce_my_short_15(Allocation ain1, Script.LaunchOptions sc) { 7517 // check ain1 7518 if (!ain1.getType().getElement().isCompatible(__I16)) { 7519 throw new RSRuntimeException("Type mismatch with I16!"); 7520 } 7521 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7522 aout.setAutoPadding(true); 7523 reduce(mExportReduceIdx_my_short_15, new Allocation[]{ain1}, aout, sc); 7524 return new result_int(aout); 7525 } 7526 7527 private final static int mExportReduceIdx_my_short2_0 = 208; 7528 // in1 = "in", flattened 2-vectors 7529 public result_int reduce_my_short2_0(short[] in1) { 7530 // Verify that "in1" is non-null. 7531 if (in1 == null) { 7532 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7533 } 7534 // Verify that the array length is a multiple of the vector size. 7535 if (in1.length % 2 != 0) { 7536 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7537 } 7538 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7539 ain1.setAutoPadding(true); 7540 ain1.copyFrom(in1); 7541 7542 result_int result = reduce_my_short2_0(ain1, null); 7543 result.mTempIns = new Allocation[]{ain1}; 7544 return result; 7545 } 7546 7547 // ain1 = "short2 in" 7548 public result_int reduce_my_short2_0(Allocation ain1) { 7549 return reduce_my_short2_0(ain1, null); 7550 } 7551 7552 // ain1 = "short2 in" 7553 public result_int reduce_my_short2_0(Allocation ain1, Script.LaunchOptions sc) { 7554 // check ain1 7555 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7556 throw new RSRuntimeException("Type mismatch with I16_2!"); 7557 } 7558 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7559 aout.setAutoPadding(true); 7560 reduce(mExportReduceIdx_my_short2_0, new Allocation[]{ain1}, aout, sc); 7561 return new result_int(aout); 7562 } 7563 7564 private final static int mExportReduceIdx_my_short2_1 = 209; 7565 // in1 = "in", flattened 2-vectors 7566 public result_int reduce_my_short2_1(short[] in1) { 7567 // Verify that "in1" is non-null. 7568 if (in1 == null) { 7569 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7570 } 7571 // Verify that the array length is a multiple of the vector size. 7572 if (in1.length % 2 != 0) { 7573 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7574 } 7575 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7576 ain1.setAutoPadding(true); 7577 ain1.copyFrom(in1); 7578 7579 result_int result = reduce_my_short2_1(ain1, null); 7580 result.mTempIns = new Allocation[]{ain1}; 7581 return result; 7582 } 7583 7584 // ain1 = "short2 in" 7585 public result_int reduce_my_short2_1(Allocation ain1) { 7586 return reduce_my_short2_1(ain1, null); 7587 } 7588 7589 // ain1 = "short2 in" 7590 public result_int reduce_my_short2_1(Allocation ain1, Script.LaunchOptions sc) { 7591 // check ain1 7592 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7593 throw new RSRuntimeException("Type mismatch with I16_2!"); 7594 } 7595 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7596 aout.setAutoPadding(true); 7597 reduce(mExportReduceIdx_my_short2_1, new Allocation[]{ain1}, aout, sc); 7598 return new result_int(aout); 7599 } 7600 7601 private final static int mExportReduceIdx_my_short2_2 = 210; 7602 // in1 = "in", flattened 2-vectors 7603 public result_int reduce_my_short2_2(short[] in1) { 7604 // Verify that "in1" is non-null. 7605 if (in1 == null) { 7606 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7607 } 7608 // Verify that the array length is a multiple of the vector size. 7609 if (in1.length % 2 != 0) { 7610 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7611 } 7612 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7613 ain1.setAutoPadding(true); 7614 ain1.copyFrom(in1); 7615 7616 result_int result = reduce_my_short2_2(ain1, null); 7617 result.mTempIns = new Allocation[]{ain1}; 7618 return result; 7619 } 7620 7621 // ain1 = "short2 in" 7622 public result_int reduce_my_short2_2(Allocation ain1) { 7623 return reduce_my_short2_2(ain1, null); 7624 } 7625 7626 // ain1 = "short2 in" 7627 public result_int reduce_my_short2_2(Allocation ain1, Script.LaunchOptions sc) { 7628 // check ain1 7629 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7630 throw new RSRuntimeException("Type mismatch with I16_2!"); 7631 } 7632 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7633 aout.setAutoPadding(true); 7634 reduce(mExportReduceIdx_my_short2_2, new Allocation[]{ain1}, aout, sc); 7635 return new result_int(aout); 7636 } 7637 7638 private final static int mExportReduceIdx_my_short2_3 = 211; 7639 // in1 = "in", flattened 2-vectors 7640 public result_int reduce_my_short2_3(short[] in1) { 7641 // Verify that "in1" is non-null. 7642 if (in1 == null) { 7643 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7644 } 7645 // Verify that the array length is a multiple of the vector size. 7646 if (in1.length % 2 != 0) { 7647 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7648 } 7649 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7650 ain1.setAutoPadding(true); 7651 ain1.copyFrom(in1); 7652 7653 result_int result = reduce_my_short2_3(ain1, null); 7654 result.mTempIns = new Allocation[]{ain1}; 7655 return result; 7656 } 7657 7658 // ain1 = "short2 in" 7659 public result_int reduce_my_short2_3(Allocation ain1) { 7660 return reduce_my_short2_3(ain1, null); 7661 } 7662 7663 // ain1 = "short2 in" 7664 public result_int reduce_my_short2_3(Allocation ain1, Script.LaunchOptions sc) { 7665 // check ain1 7666 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7667 throw new RSRuntimeException("Type mismatch with I16_2!"); 7668 } 7669 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7670 aout.setAutoPadding(true); 7671 reduce(mExportReduceIdx_my_short2_3, new Allocation[]{ain1}, aout, sc); 7672 return new result_int(aout); 7673 } 7674 7675 private final static int mExportReduceIdx_my_short2_4 = 212; 7676 // in1 = "in", flattened 2-vectors 7677 public result_int reduce_my_short2_4(short[] in1) { 7678 // Verify that "in1" is non-null. 7679 if (in1 == null) { 7680 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7681 } 7682 // Verify that the array length is a multiple of the vector size. 7683 if (in1.length % 2 != 0) { 7684 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7685 } 7686 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7687 ain1.setAutoPadding(true); 7688 ain1.copyFrom(in1); 7689 7690 result_int result = reduce_my_short2_4(ain1, null); 7691 result.mTempIns = new Allocation[]{ain1}; 7692 return result; 7693 } 7694 7695 // ain1 = "short2 in" 7696 public result_int reduce_my_short2_4(Allocation ain1) { 7697 return reduce_my_short2_4(ain1, null); 7698 } 7699 7700 // ain1 = "short2 in" 7701 public result_int reduce_my_short2_4(Allocation ain1, Script.LaunchOptions sc) { 7702 // check ain1 7703 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7704 throw new RSRuntimeException("Type mismatch with I16_2!"); 7705 } 7706 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7707 aout.setAutoPadding(true); 7708 reduce(mExportReduceIdx_my_short2_4, new Allocation[]{ain1}, aout, sc); 7709 return new result_int(aout); 7710 } 7711 7712 private final static int mExportReduceIdx_my_short2_5 = 213; 7713 // in1 = "in", flattened 2-vectors 7714 public result_int reduce_my_short2_5(short[] in1) { 7715 // Verify that "in1" is non-null. 7716 if (in1 == null) { 7717 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7718 } 7719 // Verify that the array length is a multiple of the vector size. 7720 if (in1.length % 2 != 0) { 7721 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7722 } 7723 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7724 ain1.setAutoPadding(true); 7725 ain1.copyFrom(in1); 7726 7727 result_int result = reduce_my_short2_5(ain1, null); 7728 result.mTempIns = new Allocation[]{ain1}; 7729 return result; 7730 } 7731 7732 // ain1 = "short2 in" 7733 public result_int reduce_my_short2_5(Allocation ain1) { 7734 return reduce_my_short2_5(ain1, null); 7735 } 7736 7737 // ain1 = "short2 in" 7738 public result_int reduce_my_short2_5(Allocation ain1, Script.LaunchOptions sc) { 7739 // check ain1 7740 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7741 throw new RSRuntimeException("Type mismatch with I16_2!"); 7742 } 7743 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7744 aout.setAutoPadding(true); 7745 reduce(mExportReduceIdx_my_short2_5, new Allocation[]{ain1}, aout, sc); 7746 return new result_int(aout); 7747 } 7748 7749 private final static int mExportReduceIdx_my_short2_6 = 214; 7750 // in1 = "in", flattened 2-vectors 7751 public result_int reduce_my_short2_6(short[] in1) { 7752 // Verify that "in1" is non-null. 7753 if (in1 == null) { 7754 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7755 } 7756 // Verify that the array length is a multiple of the vector size. 7757 if (in1.length % 2 != 0) { 7758 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7759 } 7760 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7761 ain1.setAutoPadding(true); 7762 ain1.copyFrom(in1); 7763 7764 result_int result = reduce_my_short2_6(ain1, null); 7765 result.mTempIns = new Allocation[]{ain1}; 7766 return result; 7767 } 7768 7769 // ain1 = "short2 in" 7770 public result_int reduce_my_short2_6(Allocation ain1) { 7771 return reduce_my_short2_6(ain1, null); 7772 } 7773 7774 // ain1 = "short2 in" 7775 public result_int reduce_my_short2_6(Allocation ain1, Script.LaunchOptions sc) { 7776 // check ain1 7777 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7778 throw new RSRuntimeException("Type mismatch with I16_2!"); 7779 } 7780 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7781 aout.setAutoPadding(true); 7782 reduce(mExportReduceIdx_my_short2_6, new Allocation[]{ain1}, aout, sc); 7783 return new result_int(aout); 7784 } 7785 7786 private final static int mExportReduceIdx_my_short2_7 = 215; 7787 // in1 = "in", flattened 2-vectors 7788 public result_int reduce_my_short2_7(short[] in1) { 7789 // Verify that "in1" is non-null. 7790 if (in1 == null) { 7791 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7792 } 7793 // Verify that the array length is a multiple of the vector size. 7794 if (in1.length % 2 != 0) { 7795 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7796 } 7797 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7798 ain1.setAutoPadding(true); 7799 ain1.copyFrom(in1); 7800 7801 result_int result = reduce_my_short2_7(ain1, null); 7802 result.mTempIns = new Allocation[]{ain1}; 7803 return result; 7804 } 7805 7806 // ain1 = "short2 in" 7807 public result_int reduce_my_short2_7(Allocation ain1) { 7808 return reduce_my_short2_7(ain1, null); 7809 } 7810 7811 // ain1 = "short2 in" 7812 public result_int reduce_my_short2_7(Allocation ain1, Script.LaunchOptions sc) { 7813 // check ain1 7814 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7815 throw new RSRuntimeException("Type mismatch with I16_2!"); 7816 } 7817 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7818 aout.setAutoPadding(true); 7819 reduce(mExportReduceIdx_my_short2_7, new Allocation[]{ain1}, aout, sc); 7820 return new result_int(aout); 7821 } 7822 7823 private final static int mExportReduceIdx_my_short2_8 = 216; 7824 // in1 = "in", flattened 2-vectors 7825 public result_int reduce_my_short2_8(short[] in1) { 7826 // Verify that "in1" is non-null. 7827 if (in1 == null) { 7828 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7829 } 7830 // Verify that the array length is a multiple of the vector size. 7831 if (in1.length % 2 != 0) { 7832 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7833 } 7834 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7835 ain1.setAutoPadding(true); 7836 ain1.copyFrom(in1); 7837 7838 result_int result = reduce_my_short2_8(ain1, null); 7839 result.mTempIns = new Allocation[]{ain1}; 7840 return result; 7841 } 7842 7843 // ain1 = "short2 in" 7844 public result_int reduce_my_short2_8(Allocation ain1) { 7845 return reduce_my_short2_8(ain1, null); 7846 } 7847 7848 // ain1 = "short2 in" 7849 public result_int reduce_my_short2_8(Allocation ain1, Script.LaunchOptions sc) { 7850 // check ain1 7851 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7852 throw new RSRuntimeException("Type mismatch with I16_2!"); 7853 } 7854 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7855 aout.setAutoPadding(true); 7856 reduce(mExportReduceIdx_my_short2_8, new Allocation[]{ain1}, aout, sc); 7857 return new result_int(aout); 7858 } 7859 7860 private final static int mExportReduceIdx_my_short2_9 = 217; 7861 // in1 = "in", flattened 2-vectors 7862 public result_int reduce_my_short2_9(short[] in1) { 7863 // Verify that "in1" is non-null. 7864 if (in1 == null) { 7865 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7866 } 7867 // Verify that the array length is a multiple of the vector size. 7868 if (in1.length % 2 != 0) { 7869 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7870 } 7871 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7872 ain1.setAutoPadding(true); 7873 ain1.copyFrom(in1); 7874 7875 result_int result = reduce_my_short2_9(ain1, null); 7876 result.mTempIns = new Allocation[]{ain1}; 7877 return result; 7878 } 7879 7880 // ain1 = "short2 in" 7881 public result_int reduce_my_short2_9(Allocation ain1) { 7882 return reduce_my_short2_9(ain1, null); 7883 } 7884 7885 // ain1 = "short2 in" 7886 public result_int reduce_my_short2_9(Allocation ain1, Script.LaunchOptions sc) { 7887 // check ain1 7888 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7889 throw new RSRuntimeException("Type mismatch with I16_2!"); 7890 } 7891 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7892 aout.setAutoPadding(true); 7893 reduce(mExportReduceIdx_my_short2_9, new Allocation[]{ain1}, aout, sc); 7894 return new result_int(aout); 7895 } 7896 7897 private final static int mExportReduceIdx_my_short2_10 = 218; 7898 // in1 = "in", flattened 2-vectors 7899 public result_int reduce_my_short2_10(short[] in1) { 7900 // Verify that "in1" is non-null. 7901 if (in1 == null) { 7902 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7903 } 7904 // Verify that the array length is a multiple of the vector size. 7905 if (in1.length % 2 != 0) { 7906 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7907 } 7908 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7909 ain1.setAutoPadding(true); 7910 ain1.copyFrom(in1); 7911 7912 result_int result = reduce_my_short2_10(ain1, null); 7913 result.mTempIns = new Allocation[]{ain1}; 7914 return result; 7915 } 7916 7917 // ain1 = "short2 in" 7918 public result_int reduce_my_short2_10(Allocation ain1) { 7919 return reduce_my_short2_10(ain1, null); 7920 } 7921 7922 // ain1 = "short2 in" 7923 public result_int reduce_my_short2_10(Allocation ain1, Script.LaunchOptions sc) { 7924 // check ain1 7925 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7926 throw new RSRuntimeException("Type mismatch with I16_2!"); 7927 } 7928 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7929 aout.setAutoPadding(true); 7930 reduce(mExportReduceIdx_my_short2_10, new Allocation[]{ain1}, aout, sc); 7931 return new result_int(aout); 7932 } 7933 7934 private final static int mExportReduceIdx_my_short2_11 = 219; 7935 // in1 = "in", flattened 2-vectors 7936 public result_int reduce_my_short2_11(short[] in1) { 7937 // Verify that "in1" is non-null. 7938 if (in1 == null) { 7939 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7940 } 7941 // Verify that the array length is a multiple of the vector size. 7942 if (in1.length % 2 != 0) { 7943 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7944 } 7945 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7946 ain1.setAutoPadding(true); 7947 ain1.copyFrom(in1); 7948 7949 result_int result = reduce_my_short2_11(ain1, null); 7950 result.mTempIns = new Allocation[]{ain1}; 7951 return result; 7952 } 7953 7954 // ain1 = "short2 in" 7955 public result_int reduce_my_short2_11(Allocation ain1) { 7956 return reduce_my_short2_11(ain1, null); 7957 } 7958 7959 // ain1 = "short2 in" 7960 public result_int reduce_my_short2_11(Allocation ain1, Script.LaunchOptions sc) { 7961 // check ain1 7962 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 7963 throw new RSRuntimeException("Type mismatch with I16_2!"); 7964 } 7965 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 7966 aout.setAutoPadding(true); 7967 reduce(mExportReduceIdx_my_short2_11, new Allocation[]{ain1}, aout, sc); 7968 return new result_int(aout); 7969 } 7970 7971 private final static int mExportReduceIdx_my_short2_12 = 220; 7972 // in1 = "in", flattened 2-vectors 7973 public result_int reduce_my_short2_12(short[] in1) { 7974 // Verify that "in1" is non-null. 7975 if (in1 == null) { 7976 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 7977 } 7978 // Verify that the array length is a multiple of the vector size. 7979 if (in1.length % 2 != 0) { 7980 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 7981 } 7982 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 7983 ain1.setAutoPadding(true); 7984 ain1.copyFrom(in1); 7985 7986 result_int result = reduce_my_short2_12(ain1, null); 7987 result.mTempIns = new Allocation[]{ain1}; 7988 return result; 7989 } 7990 7991 // ain1 = "short2 in" 7992 public result_int reduce_my_short2_12(Allocation ain1) { 7993 return reduce_my_short2_12(ain1, null); 7994 } 7995 7996 // ain1 = "short2 in" 7997 public result_int reduce_my_short2_12(Allocation ain1, Script.LaunchOptions sc) { 7998 // check ain1 7999 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 8000 throw new RSRuntimeException("Type mismatch with I16_2!"); 8001 } 8002 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8003 aout.setAutoPadding(true); 8004 reduce(mExportReduceIdx_my_short2_12, new Allocation[]{ain1}, aout, sc); 8005 return new result_int(aout); 8006 } 8007 8008 private final static int mExportReduceIdx_my_short2_13 = 221; 8009 // in1 = "in", flattened 2-vectors 8010 public result_int reduce_my_short2_13(short[] in1) { 8011 // Verify that "in1" is non-null. 8012 if (in1 == null) { 8013 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8014 } 8015 // Verify that the array length is a multiple of the vector size. 8016 if (in1.length % 2 != 0) { 8017 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 8018 } 8019 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 8020 ain1.setAutoPadding(true); 8021 ain1.copyFrom(in1); 8022 8023 result_int result = reduce_my_short2_13(ain1, null); 8024 result.mTempIns = new Allocation[]{ain1}; 8025 return result; 8026 } 8027 8028 // ain1 = "short2 in" 8029 public result_int reduce_my_short2_13(Allocation ain1) { 8030 return reduce_my_short2_13(ain1, null); 8031 } 8032 8033 // ain1 = "short2 in" 8034 public result_int reduce_my_short2_13(Allocation ain1, Script.LaunchOptions sc) { 8035 // check ain1 8036 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 8037 throw new RSRuntimeException("Type mismatch with I16_2!"); 8038 } 8039 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8040 aout.setAutoPadding(true); 8041 reduce(mExportReduceIdx_my_short2_13, new Allocation[]{ain1}, aout, sc); 8042 return new result_int(aout); 8043 } 8044 8045 private final static int mExportReduceIdx_my_short2_14 = 222; 8046 // in1 = "in", flattened 2-vectors 8047 public result_int reduce_my_short2_14(short[] in1) { 8048 // Verify that "in1" is non-null. 8049 if (in1 == null) { 8050 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8051 } 8052 // Verify that the array length is a multiple of the vector size. 8053 if (in1.length % 2 != 0) { 8054 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 8055 } 8056 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 8057 ain1.setAutoPadding(true); 8058 ain1.copyFrom(in1); 8059 8060 result_int result = reduce_my_short2_14(ain1, null); 8061 result.mTempIns = new Allocation[]{ain1}; 8062 return result; 8063 } 8064 8065 // ain1 = "short2 in" 8066 public result_int reduce_my_short2_14(Allocation ain1) { 8067 return reduce_my_short2_14(ain1, null); 8068 } 8069 8070 // ain1 = "short2 in" 8071 public result_int reduce_my_short2_14(Allocation ain1, Script.LaunchOptions sc) { 8072 // check ain1 8073 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 8074 throw new RSRuntimeException("Type mismatch with I16_2!"); 8075 } 8076 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8077 aout.setAutoPadding(true); 8078 reduce(mExportReduceIdx_my_short2_14, new Allocation[]{ain1}, aout, sc); 8079 return new result_int(aout); 8080 } 8081 8082 private final static int mExportReduceIdx_my_short2_15 = 223; 8083 // in1 = "in", flattened 2-vectors 8084 public result_int reduce_my_short2_15(short[] in1) { 8085 // Verify that "in1" is non-null. 8086 if (in1 == null) { 8087 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8088 } 8089 // Verify that the array length is a multiple of the vector size. 8090 if (in1.length % 2 != 0) { 8091 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 8092 } 8093 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_2, in1.length / 2); 8094 ain1.setAutoPadding(true); 8095 ain1.copyFrom(in1); 8096 8097 result_int result = reduce_my_short2_15(ain1, null); 8098 result.mTempIns = new Allocation[]{ain1}; 8099 return result; 8100 } 8101 8102 // ain1 = "short2 in" 8103 public result_int reduce_my_short2_15(Allocation ain1) { 8104 return reduce_my_short2_15(ain1, null); 8105 } 8106 8107 // ain1 = "short2 in" 8108 public result_int reduce_my_short2_15(Allocation ain1, Script.LaunchOptions sc) { 8109 // check ain1 8110 if (!ain1.getType().getElement().isCompatible(__I16_2)) { 8111 throw new RSRuntimeException("Type mismatch with I16_2!"); 8112 } 8113 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8114 aout.setAutoPadding(true); 8115 reduce(mExportReduceIdx_my_short2_15, new Allocation[]{ain1}, aout, sc); 8116 return new result_int(aout); 8117 } 8118 8119 private final static int mExportReduceIdx_my_short4_0 = 224; 8120 // in1 = "in", flattened 4-vectors 8121 public result_int reduce_my_short4_0(short[] in1) { 8122 // Verify that "in1" is non-null. 8123 if (in1 == null) { 8124 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8125 } 8126 // Verify that the array length is a multiple of the vector size. 8127 if (in1.length % 4 != 0) { 8128 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8129 } 8130 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8131 ain1.setAutoPadding(true); 8132 ain1.copyFrom(in1); 8133 8134 result_int result = reduce_my_short4_0(ain1, null); 8135 result.mTempIns = new Allocation[]{ain1}; 8136 return result; 8137 } 8138 8139 // ain1 = "short4 in" 8140 public result_int reduce_my_short4_0(Allocation ain1) { 8141 return reduce_my_short4_0(ain1, null); 8142 } 8143 8144 // ain1 = "short4 in" 8145 public result_int reduce_my_short4_0(Allocation ain1, Script.LaunchOptions sc) { 8146 // check ain1 8147 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8148 throw new RSRuntimeException("Type mismatch with I16_4!"); 8149 } 8150 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8151 aout.setAutoPadding(true); 8152 reduce(mExportReduceIdx_my_short4_0, new Allocation[]{ain1}, aout, sc); 8153 return new result_int(aout); 8154 } 8155 8156 private final static int mExportReduceIdx_my_short4_1 = 225; 8157 // in1 = "in", flattened 4-vectors 8158 public result_int reduce_my_short4_1(short[] in1) { 8159 // Verify that "in1" is non-null. 8160 if (in1 == null) { 8161 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8162 } 8163 // Verify that the array length is a multiple of the vector size. 8164 if (in1.length % 4 != 0) { 8165 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8166 } 8167 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8168 ain1.setAutoPadding(true); 8169 ain1.copyFrom(in1); 8170 8171 result_int result = reduce_my_short4_1(ain1, null); 8172 result.mTempIns = new Allocation[]{ain1}; 8173 return result; 8174 } 8175 8176 // ain1 = "short4 in" 8177 public result_int reduce_my_short4_1(Allocation ain1) { 8178 return reduce_my_short4_1(ain1, null); 8179 } 8180 8181 // ain1 = "short4 in" 8182 public result_int reduce_my_short4_1(Allocation ain1, Script.LaunchOptions sc) { 8183 // check ain1 8184 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8185 throw new RSRuntimeException("Type mismatch with I16_4!"); 8186 } 8187 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8188 aout.setAutoPadding(true); 8189 reduce(mExportReduceIdx_my_short4_1, new Allocation[]{ain1}, aout, sc); 8190 return new result_int(aout); 8191 } 8192 8193 private final static int mExportReduceIdx_my_short4_2 = 226; 8194 // in1 = "in", flattened 4-vectors 8195 public result_int reduce_my_short4_2(short[] in1) { 8196 // Verify that "in1" is non-null. 8197 if (in1 == null) { 8198 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8199 } 8200 // Verify that the array length is a multiple of the vector size. 8201 if (in1.length % 4 != 0) { 8202 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8203 } 8204 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8205 ain1.setAutoPadding(true); 8206 ain1.copyFrom(in1); 8207 8208 result_int result = reduce_my_short4_2(ain1, null); 8209 result.mTempIns = new Allocation[]{ain1}; 8210 return result; 8211 } 8212 8213 // ain1 = "short4 in" 8214 public result_int reduce_my_short4_2(Allocation ain1) { 8215 return reduce_my_short4_2(ain1, null); 8216 } 8217 8218 // ain1 = "short4 in" 8219 public result_int reduce_my_short4_2(Allocation ain1, Script.LaunchOptions sc) { 8220 // check ain1 8221 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8222 throw new RSRuntimeException("Type mismatch with I16_4!"); 8223 } 8224 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8225 aout.setAutoPadding(true); 8226 reduce(mExportReduceIdx_my_short4_2, new Allocation[]{ain1}, aout, sc); 8227 return new result_int(aout); 8228 } 8229 8230 private final static int mExportReduceIdx_my_short4_3 = 227; 8231 // in1 = "in", flattened 4-vectors 8232 public result_int reduce_my_short4_3(short[] in1) { 8233 // Verify that "in1" is non-null. 8234 if (in1 == null) { 8235 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8236 } 8237 // Verify that the array length is a multiple of the vector size. 8238 if (in1.length % 4 != 0) { 8239 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8240 } 8241 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8242 ain1.setAutoPadding(true); 8243 ain1.copyFrom(in1); 8244 8245 result_int result = reduce_my_short4_3(ain1, null); 8246 result.mTempIns = new Allocation[]{ain1}; 8247 return result; 8248 } 8249 8250 // ain1 = "short4 in" 8251 public result_int reduce_my_short4_3(Allocation ain1) { 8252 return reduce_my_short4_3(ain1, null); 8253 } 8254 8255 // ain1 = "short4 in" 8256 public result_int reduce_my_short4_3(Allocation ain1, Script.LaunchOptions sc) { 8257 // check ain1 8258 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8259 throw new RSRuntimeException("Type mismatch with I16_4!"); 8260 } 8261 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8262 aout.setAutoPadding(true); 8263 reduce(mExportReduceIdx_my_short4_3, new Allocation[]{ain1}, aout, sc); 8264 return new result_int(aout); 8265 } 8266 8267 private final static int mExportReduceIdx_my_short4_4 = 228; 8268 // in1 = "in", flattened 4-vectors 8269 public result_int reduce_my_short4_4(short[] in1) { 8270 // Verify that "in1" is non-null. 8271 if (in1 == null) { 8272 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8273 } 8274 // Verify that the array length is a multiple of the vector size. 8275 if (in1.length % 4 != 0) { 8276 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8277 } 8278 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8279 ain1.setAutoPadding(true); 8280 ain1.copyFrom(in1); 8281 8282 result_int result = reduce_my_short4_4(ain1, null); 8283 result.mTempIns = new Allocation[]{ain1}; 8284 return result; 8285 } 8286 8287 // ain1 = "short4 in" 8288 public result_int reduce_my_short4_4(Allocation ain1) { 8289 return reduce_my_short4_4(ain1, null); 8290 } 8291 8292 // ain1 = "short4 in" 8293 public result_int reduce_my_short4_4(Allocation ain1, Script.LaunchOptions sc) { 8294 // check ain1 8295 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8296 throw new RSRuntimeException("Type mismatch with I16_4!"); 8297 } 8298 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8299 aout.setAutoPadding(true); 8300 reduce(mExportReduceIdx_my_short4_4, new Allocation[]{ain1}, aout, sc); 8301 return new result_int(aout); 8302 } 8303 8304 private final static int mExportReduceIdx_my_short4_5 = 229; 8305 // in1 = "in", flattened 4-vectors 8306 public result_int reduce_my_short4_5(short[] in1) { 8307 // Verify that "in1" is non-null. 8308 if (in1 == null) { 8309 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8310 } 8311 // Verify that the array length is a multiple of the vector size. 8312 if (in1.length % 4 != 0) { 8313 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8314 } 8315 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8316 ain1.setAutoPadding(true); 8317 ain1.copyFrom(in1); 8318 8319 result_int result = reduce_my_short4_5(ain1, null); 8320 result.mTempIns = new Allocation[]{ain1}; 8321 return result; 8322 } 8323 8324 // ain1 = "short4 in" 8325 public result_int reduce_my_short4_5(Allocation ain1) { 8326 return reduce_my_short4_5(ain1, null); 8327 } 8328 8329 // ain1 = "short4 in" 8330 public result_int reduce_my_short4_5(Allocation ain1, Script.LaunchOptions sc) { 8331 // check ain1 8332 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8333 throw new RSRuntimeException("Type mismatch with I16_4!"); 8334 } 8335 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8336 aout.setAutoPadding(true); 8337 reduce(mExportReduceIdx_my_short4_5, new Allocation[]{ain1}, aout, sc); 8338 return new result_int(aout); 8339 } 8340 8341 private final static int mExportReduceIdx_my_short4_6 = 230; 8342 // in1 = "in", flattened 4-vectors 8343 public result_int reduce_my_short4_6(short[] in1) { 8344 // Verify that "in1" is non-null. 8345 if (in1 == null) { 8346 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8347 } 8348 // Verify that the array length is a multiple of the vector size. 8349 if (in1.length % 4 != 0) { 8350 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8351 } 8352 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8353 ain1.setAutoPadding(true); 8354 ain1.copyFrom(in1); 8355 8356 result_int result = reduce_my_short4_6(ain1, null); 8357 result.mTempIns = new Allocation[]{ain1}; 8358 return result; 8359 } 8360 8361 // ain1 = "short4 in" 8362 public result_int reduce_my_short4_6(Allocation ain1) { 8363 return reduce_my_short4_6(ain1, null); 8364 } 8365 8366 // ain1 = "short4 in" 8367 public result_int reduce_my_short4_6(Allocation ain1, Script.LaunchOptions sc) { 8368 // check ain1 8369 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8370 throw new RSRuntimeException("Type mismatch with I16_4!"); 8371 } 8372 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8373 aout.setAutoPadding(true); 8374 reduce(mExportReduceIdx_my_short4_6, new Allocation[]{ain1}, aout, sc); 8375 return new result_int(aout); 8376 } 8377 8378 private final static int mExportReduceIdx_my_short4_7 = 231; 8379 // in1 = "in", flattened 4-vectors 8380 public result_int reduce_my_short4_7(short[] in1) { 8381 // Verify that "in1" is non-null. 8382 if (in1 == null) { 8383 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8384 } 8385 // Verify that the array length is a multiple of the vector size. 8386 if (in1.length % 4 != 0) { 8387 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8388 } 8389 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8390 ain1.setAutoPadding(true); 8391 ain1.copyFrom(in1); 8392 8393 result_int result = reduce_my_short4_7(ain1, null); 8394 result.mTempIns = new Allocation[]{ain1}; 8395 return result; 8396 } 8397 8398 // ain1 = "short4 in" 8399 public result_int reduce_my_short4_7(Allocation ain1) { 8400 return reduce_my_short4_7(ain1, null); 8401 } 8402 8403 // ain1 = "short4 in" 8404 public result_int reduce_my_short4_7(Allocation ain1, Script.LaunchOptions sc) { 8405 // check ain1 8406 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8407 throw new RSRuntimeException("Type mismatch with I16_4!"); 8408 } 8409 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8410 aout.setAutoPadding(true); 8411 reduce(mExportReduceIdx_my_short4_7, new Allocation[]{ain1}, aout, sc); 8412 return new result_int(aout); 8413 } 8414 8415 private final static int mExportReduceIdx_my_short4_8 = 232; 8416 // in1 = "in", flattened 4-vectors 8417 public result_int reduce_my_short4_8(short[] in1) { 8418 // Verify that "in1" is non-null. 8419 if (in1 == null) { 8420 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8421 } 8422 // Verify that the array length is a multiple of the vector size. 8423 if (in1.length % 4 != 0) { 8424 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8425 } 8426 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8427 ain1.setAutoPadding(true); 8428 ain1.copyFrom(in1); 8429 8430 result_int result = reduce_my_short4_8(ain1, null); 8431 result.mTempIns = new Allocation[]{ain1}; 8432 return result; 8433 } 8434 8435 // ain1 = "short4 in" 8436 public result_int reduce_my_short4_8(Allocation ain1) { 8437 return reduce_my_short4_8(ain1, null); 8438 } 8439 8440 // ain1 = "short4 in" 8441 public result_int reduce_my_short4_8(Allocation ain1, Script.LaunchOptions sc) { 8442 // check ain1 8443 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8444 throw new RSRuntimeException("Type mismatch with I16_4!"); 8445 } 8446 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8447 aout.setAutoPadding(true); 8448 reduce(mExportReduceIdx_my_short4_8, new Allocation[]{ain1}, aout, sc); 8449 return new result_int(aout); 8450 } 8451 8452 private final static int mExportReduceIdx_my_short4_9 = 233; 8453 // in1 = "in", flattened 4-vectors 8454 public result_int reduce_my_short4_9(short[] in1) { 8455 // Verify that "in1" is non-null. 8456 if (in1 == null) { 8457 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8458 } 8459 // Verify that the array length is a multiple of the vector size. 8460 if (in1.length % 4 != 0) { 8461 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8462 } 8463 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8464 ain1.setAutoPadding(true); 8465 ain1.copyFrom(in1); 8466 8467 result_int result = reduce_my_short4_9(ain1, null); 8468 result.mTempIns = new Allocation[]{ain1}; 8469 return result; 8470 } 8471 8472 // ain1 = "short4 in" 8473 public result_int reduce_my_short4_9(Allocation ain1) { 8474 return reduce_my_short4_9(ain1, null); 8475 } 8476 8477 // ain1 = "short4 in" 8478 public result_int reduce_my_short4_9(Allocation ain1, Script.LaunchOptions sc) { 8479 // check ain1 8480 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8481 throw new RSRuntimeException("Type mismatch with I16_4!"); 8482 } 8483 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8484 aout.setAutoPadding(true); 8485 reduce(mExportReduceIdx_my_short4_9, new Allocation[]{ain1}, aout, sc); 8486 return new result_int(aout); 8487 } 8488 8489 private final static int mExportReduceIdx_my_short4_10 = 234; 8490 // in1 = "in", flattened 4-vectors 8491 public result_int reduce_my_short4_10(short[] in1) { 8492 // Verify that "in1" is non-null. 8493 if (in1 == null) { 8494 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8495 } 8496 // Verify that the array length is a multiple of the vector size. 8497 if (in1.length % 4 != 0) { 8498 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8499 } 8500 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8501 ain1.setAutoPadding(true); 8502 ain1.copyFrom(in1); 8503 8504 result_int result = reduce_my_short4_10(ain1, null); 8505 result.mTempIns = new Allocation[]{ain1}; 8506 return result; 8507 } 8508 8509 // ain1 = "short4 in" 8510 public result_int reduce_my_short4_10(Allocation ain1) { 8511 return reduce_my_short4_10(ain1, null); 8512 } 8513 8514 // ain1 = "short4 in" 8515 public result_int reduce_my_short4_10(Allocation ain1, Script.LaunchOptions sc) { 8516 // check ain1 8517 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8518 throw new RSRuntimeException("Type mismatch with I16_4!"); 8519 } 8520 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8521 aout.setAutoPadding(true); 8522 reduce(mExportReduceIdx_my_short4_10, new Allocation[]{ain1}, aout, sc); 8523 return new result_int(aout); 8524 } 8525 8526 private final static int mExportReduceIdx_my_short4_11 = 235; 8527 // in1 = "in", flattened 4-vectors 8528 public result_int reduce_my_short4_11(short[] in1) { 8529 // Verify that "in1" is non-null. 8530 if (in1 == null) { 8531 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8532 } 8533 // Verify that the array length is a multiple of the vector size. 8534 if (in1.length % 4 != 0) { 8535 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8536 } 8537 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8538 ain1.setAutoPadding(true); 8539 ain1.copyFrom(in1); 8540 8541 result_int result = reduce_my_short4_11(ain1, null); 8542 result.mTempIns = new Allocation[]{ain1}; 8543 return result; 8544 } 8545 8546 // ain1 = "short4 in" 8547 public result_int reduce_my_short4_11(Allocation ain1) { 8548 return reduce_my_short4_11(ain1, null); 8549 } 8550 8551 // ain1 = "short4 in" 8552 public result_int reduce_my_short4_11(Allocation ain1, Script.LaunchOptions sc) { 8553 // check ain1 8554 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8555 throw new RSRuntimeException("Type mismatch with I16_4!"); 8556 } 8557 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8558 aout.setAutoPadding(true); 8559 reduce(mExportReduceIdx_my_short4_11, new Allocation[]{ain1}, aout, sc); 8560 return new result_int(aout); 8561 } 8562 8563 private final static int mExportReduceIdx_my_short4_12 = 236; 8564 // in1 = "in", flattened 4-vectors 8565 public result_int reduce_my_short4_12(short[] in1) { 8566 // Verify that "in1" is non-null. 8567 if (in1 == null) { 8568 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8569 } 8570 // Verify that the array length is a multiple of the vector size. 8571 if (in1.length % 4 != 0) { 8572 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8573 } 8574 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8575 ain1.setAutoPadding(true); 8576 ain1.copyFrom(in1); 8577 8578 result_int result = reduce_my_short4_12(ain1, null); 8579 result.mTempIns = new Allocation[]{ain1}; 8580 return result; 8581 } 8582 8583 // ain1 = "short4 in" 8584 public result_int reduce_my_short4_12(Allocation ain1) { 8585 return reduce_my_short4_12(ain1, null); 8586 } 8587 8588 // ain1 = "short4 in" 8589 public result_int reduce_my_short4_12(Allocation ain1, Script.LaunchOptions sc) { 8590 // check ain1 8591 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8592 throw new RSRuntimeException("Type mismatch with I16_4!"); 8593 } 8594 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8595 aout.setAutoPadding(true); 8596 reduce(mExportReduceIdx_my_short4_12, new Allocation[]{ain1}, aout, sc); 8597 return new result_int(aout); 8598 } 8599 8600 private final static int mExportReduceIdx_my_short4_13 = 237; 8601 // in1 = "in", flattened 4-vectors 8602 public result_int reduce_my_short4_13(short[] in1) { 8603 // Verify that "in1" is non-null. 8604 if (in1 == null) { 8605 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8606 } 8607 // Verify that the array length is a multiple of the vector size. 8608 if (in1.length % 4 != 0) { 8609 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8610 } 8611 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8612 ain1.setAutoPadding(true); 8613 ain1.copyFrom(in1); 8614 8615 result_int result = reduce_my_short4_13(ain1, null); 8616 result.mTempIns = new Allocation[]{ain1}; 8617 return result; 8618 } 8619 8620 // ain1 = "short4 in" 8621 public result_int reduce_my_short4_13(Allocation ain1) { 8622 return reduce_my_short4_13(ain1, null); 8623 } 8624 8625 // ain1 = "short4 in" 8626 public result_int reduce_my_short4_13(Allocation ain1, Script.LaunchOptions sc) { 8627 // check ain1 8628 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8629 throw new RSRuntimeException("Type mismatch with I16_4!"); 8630 } 8631 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8632 aout.setAutoPadding(true); 8633 reduce(mExportReduceIdx_my_short4_13, new Allocation[]{ain1}, aout, sc); 8634 return new result_int(aout); 8635 } 8636 8637 private final static int mExportReduceIdx_my_short4_14 = 238; 8638 // in1 = "in", flattened 4-vectors 8639 public result_int reduce_my_short4_14(short[] in1) { 8640 // Verify that "in1" is non-null. 8641 if (in1 == null) { 8642 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8643 } 8644 // Verify that the array length is a multiple of the vector size. 8645 if (in1.length % 4 != 0) { 8646 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8647 } 8648 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8649 ain1.setAutoPadding(true); 8650 ain1.copyFrom(in1); 8651 8652 result_int result = reduce_my_short4_14(ain1, null); 8653 result.mTempIns = new Allocation[]{ain1}; 8654 return result; 8655 } 8656 8657 // ain1 = "short4 in" 8658 public result_int reduce_my_short4_14(Allocation ain1) { 8659 return reduce_my_short4_14(ain1, null); 8660 } 8661 8662 // ain1 = "short4 in" 8663 public result_int reduce_my_short4_14(Allocation ain1, Script.LaunchOptions sc) { 8664 // check ain1 8665 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8666 throw new RSRuntimeException("Type mismatch with I16_4!"); 8667 } 8668 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8669 aout.setAutoPadding(true); 8670 reduce(mExportReduceIdx_my_short4_14, new Allocation[]{ain1}, aout, sc); 8671 return new result_int(aout); 8672 } 8673 8674 private final static int mExportReduceIdx_my_short4_15 = 239; 8675 // in1 = "in", flattened 4-vectors 8676 public result_int reduce_my_short4_15(short[] in1) { 8677 // Verify that "in1" is non-null. 8678 if (in1 == null) { 8679 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8680 } 8681 // Verify that the array length is a multiple of the vector size. 8682 if (in1.length % 4 != 0) { 8683 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 8684 } 8685 Allocation ain1 = Allocation.createSized(mRSLocal, __I16_4, in1.length / 4); 8686 ain1.setAutoPadding(true); 8687 ain1.copyFrom(in1); 8688 8689 result_int result = reduce_my_short4_15(ain1, null); 8690 result.mTempIns = new Allocation[]{ain1}; 8691 return result; 8692 } 8693 8694 // ain1 = "short4 in" 8695 public result_int reduce_my_short4_15(Allocation ain1) { 8696 return reduce_my_short4_15(ain1, null); 8697 } 8698 8699 // ain1 = "short4 in" 8700 public result_int reduce_my_short4_15(Allocation ain1, Script.LaunchOptions sc) { 8701 // check ain1 8702 if (!ain1.getType().getElement().isCompatible(__I16_4)) { 8703 throw new RSRuntimeException("Type mismatch with I16_4!"); 8704 } 8705 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8706 aout.setAutoPadding(true); 8707 reduce(mExportReduceIdx_my_short4_15, new Allocation[]{ain1}, aout, sc); 8708 return new result_int(aout); 8709 } 8710 8711 private final static int mExportReduceIdx_my_int_0 = 240; 8712 // in1 = "in" 8713 public result_int reduce_my_int_0(int[] in1) { 8714 // Verify that "in1" is non-null. 8715 if (in1 == null) { 8716 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8717 } 8718 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8719 ain1.setAutoPadding(true); 8720 ain1.copyFrom(in1); 8721 8722 result_int result = reduce_my_int_0(ain1, null); 8723 result.mTempIns = new Allocation[]{ain1}; 8724 return result; 8725 } 8726 8727 // ain1 = "int in" 8728 public result_int reduce_my_int_0(Allocation ain1) { 8729 return reduce_my_int_0(ain1, null); 8730 } 8731 8732 // ain1 = "int in" 8733 public result_int reduce_my_int_0(Allocation ain1, Script.LaunchOptions sc) { 8734 // check ain1 8735 if (!ain1.getType().getElement().isCompatible(__I32)) { 8736 throw new RSRuntimeException("Type mismatch with I32!"); 8737 } 8738 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8739 aout.setAutoPadding(true); 8740 reduce(mExportReduceIdx_my_int_0, new Allocation[]{ain1}, aout, sc); 8741 return new result_int(aout); 8742 } 8743 8744 private final static int mExportReduceIdx_my_int_1 = 241; 8745 // in1 = "in" 8746 public result_int reduce_my_int_1(int[] in1) { 8747 // Verify that "in1" is non-null. 8748 if (in1 == null) { 8749 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8750 } 8751 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8752 ain1.setAutoPadding(true); 8753 ain1.copyFrom(in1); 8754 8755 result_int result = reduce_my_int_1(ain1, null); 8756 result.mTempIns = new Allocation[]{ain1}; 8757 return result; 8758 } 8759 8760 // ain1 = "int in" 8761 public result_int reduce_my_int_1(Allocation ain1) { 8762 return reduce_my_int_1(ain1, null); 8763 } 8764 8765 // ain1 = "int in" 8766 public result_int reduce_my_int_1(Allocation ain1, Script.LaunchOptions sc) { 8767 // check ain1 8768 if (!ain1.getType().getElement().isCompatible(__I32)) { 8769 throw new RSRuntimeException("Type mismatch with I32!"); 8770 } 8771 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8772 aout.setAutoPadding(true); 8773 reduce(mExportReduceIdx_my_int_1, new Allocation[]{ain1}, aout, sc); 8774 return new result_int(aout); 8775 } 8776 8777 private final static int mExportReduceIdx_my_int_2 = 242; 8778 // in1 = "in" 8779 public result_int reduce_my_int_2(int[] in1) { 8780 // Verify that "in1" is non-null. 8781 if (in1 == null) { 8782 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8783 } 8784 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8785 ain1.setAutoPadding(true); 8786 ain1.copyFrom(in1); 8787 8788 result_int result = reduce_my_int_2(ain1, null); 8789 result.mTempIns = new Allocation[]{ain1}; 8790 return result; 8791 } 8792 8793 // ain1 = "int in" 8794 public result_int reduce_my_int_2(Allocation ain1) { 8795 return reduce_my_int_2(ain1, null); 8796 } 8797 8798 // ain1 = "int in" 8799 public result_int reduce_my_int_2(Allocation ain1, Script.LaunchOptions sc) { 8800 // check ain1 8801 if (!ain1.getType().getElement().isCompatible(__I32)) { 8802 throw new RSRuntimeException("Type mismatch with I32!"); 8803 } 8804 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8805 aout.setAutoPadding(true); 8806 reduce(mExportReduceIdx_my_int_2, new Allocation[]{ain1}, aout, sc); 8807 return new result_int(aout); 8808 } 8809 8810 private final static int mExportReduceIdx_my_int_3 = 243; 8811 // in1 = "in" 8812 public result_int reduce_my_int_3(int[] in1) { 8813 // Verify that "in1" is non-null. 8814 if (in1 == null) { 8815 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8816 } 8817 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8818 ain1.setAutoPadding(true); 8819 ain1.copyFrom(in1); 8820 8821 result_int result = reduce_my_int_3(ain1, null); 8822 result.mTempIns = new Allocation[]{ain1}; 8823 return result; 8824 } 8825 8826 // ain1 = "int in" 8827 public result_int reduce_my_int_3(Allocation ain1) { 8828 return reduce_my_int_3(ain1, null); 8829 } 8830 8831 // ain1 = "int in" 8832 public result_int reduce_my_int_3(Allocation ain1, Script.LaunchOptions sc) { 8833 // check ain1 8834 if (!ain1.getType().getElement().isCompatible(__I32)) { 8835 throw new RSRuntimeException("Type mismatch with I32!"); 8836 } 8837 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8838 aout.setAutoPadding(true); 8839 reduce(mExportReduceIdx_my_int_3, new Allocation[]{ain1}, aout, sc); 8840 return new result_int(aout); 8841 } 8842 8843 private final static int mExportReduceIdx_my_int_4 = 244; 8844 // in1 = "in" 8845 public result_int reduce_my_int_4(int[] in1) { 8846 // Verify that "in1" is non-null. 8847 if (in1 == null) { 8848 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8849 } 8850 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8851 ain1.setAutoPadding(true); 8852 ain1.copyFrom(in1); 8853 8854 result_int result = reduce_my_int_4(ain1, null); 8855 result.mTempIns = new Allocation[]{ain1}; 8856 return result; 8857 } 8858 8859 // ain1 = "int in" 8860 public result_int reduce_my_int_4(Allocation ain1) { 8861 return reduce_my_int_4(ain1, null); 8862 } 8863 8864 // ain1 = "int in" 8865 public result_int reduce_my_int_4(Allocation ain1, Script.LaunchOptions sc) { 8866 // check ain1 8867 if (!ain1.getType().getElement().isCompatible(__I32)) { 8868 throw new RSRuntimeException("Type mismatch with I32!"); 8869 } 8870 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8871 aout.setAutoPadding(true); 8872 reduce(mExportReduceIdx_my_int_4, new Allocation[]{ain1}, aout, sc); 8873 return new result_int(aout); 8874 } 8875 8876 private final static int mExportReduceIdx_my_int_5 = 245; 8877 // in1 = "in" 8878 public result_int reduce_my_int_5(int[] in1) { 8879 // Verify that "in1" is non-null. 8880 if (in1 == null) { 8881 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8882 } 8883 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8884 ain1.setAutoPadding(true); 8885 ain1.copyFrom(in1); 8886 8887 result_int result = reduce_my_int_5(ain1, null); 8888 result.mTempIns = new Allocation[]{ain1}; 8889 return result; 8890 } 8891 8892 // ain1 = "int in" 8893 public result_int reduce_my_int_5(Allocation ain1) { 8894 return reduce_my_int_5(ain1, null); 8895 } 8896 8897 // ain1 = "int in" 8898 public result_int reduce_my_int_5(Allocation ain1, Script.LaunchOptions sc) { 8899 // check ain1 8900 if (!ain1.getType().getElement().isCompatible(__I32)) { 8901 throw new RSRuntimeException("Type mismatch with I32!"); 8902 } 8903 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8904 aout.setAutoPadding(true); 8905 reduce(mExportReduceIdx_my_int_5, new Allocation[]{ain1}, aout, sc); 8906 return new result_int(aout); 8907 } 8908 8909 private final static int mExportReduceIdx_my_int_6 = 246; 8910 // in1 = "in" 8911 public result_int reduce_my_int_6(int[] in1) { 8912 // Verify that "in1" is non-null. 8913 if (in1 == null) { 8914 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8915 } 8916 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8917 ain1.setAutoPadding(true); 8918 ain1.copyFrom(in1); 8919 8920 result_int result = reduce_my_int_6(ain1, null); 8921 result.mTempIns = new Allocation[]{ain1}; 8922 return result; 8923 } 8924 8925 // ain1 = "int in" 8926 public result_int reduce_my_int_6(Allocation ain1) { 8927 return reduce_my_int_6(ain1, null); 8928 } 8929 8930 // ain1 = "int in" 8931 public result_int reduce_my_int_6(Allocation ain1, Script.LaunchOptions sc) { 8932 // check ain1 8933 if (!ain1.getType().getElement().isCompatible(__I32)) { 8934 throw new RSRuntimeException("Type mismatch with I32!"); 8935 } 8936 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8937 aout.setAutoPadding(true); 8938 reduce(mExportReduceIdx_my_int_6, new Allocation[]{ain1}, aout, sc); 8939 return new result_int(aout); 8940 } 8941 8942 private final static int mExportReduceIdx_my_int_7 = 247; 8943 // in1 = "in" 8944 public result_int reduce_my_int_7(int[] in1) { 8945 // Verify that "in1" is non-null. 8946 if (in1 == null) { 8947 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8948 } 8949 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8950 ain1.setAutoPadding(true); 8951 ain1.copyFrom(in1); 8952 8953 result_int result = reduce_my_int_7(ain1, null); 8954 result.mTempIns = new Allocation[]{ain1}; 8955 return result; 8956 } 8957 8958 // ain1 = "int in" 8959 public result_int reduce_my_int_7(Allocation ain1) { 8960 return reduce_my_int_7(ain1, null); 8961 } 8962 8963 // ain1 = "int in" 8964 public result_int reduce_my_int_7(Allocation ain1, Script.LaunchOptions sc) { 8965 // check ain1 8966 if (!ain1.getType().getElement().isCompatible(__I32)) { 8967 throw new RSRuntimeException("Type mismatch with I32!"); 8968 } 8969 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 8970 aout.setAutoPadding(true); 8971 reduce(mExportReduceIdx_my_int_7, new Allocation[]{ain1}, aout, sc); 8972 return new result_int(aout); 8973 } 8974 8975 private final static int mExportReduceIdx_my_int_8 = 248; 8976 // in1 = "in" 8977 public result_int reduce_my_int_8(int[] in1) { 8978 // Verify that "in1" is non-null. 8979 if (in1 == null) { 8980 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 8981 } 8982 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 8983 ain1.setAutoPadding(true); 8984 ain1.copyFrom(in1); 8985 8986 result_int result = reduce_my_int_8(ain1, null); 8987 result.mTempIns = new Allocation[]{ain1}; 8988 return result; 8989 } 8990 8991 // ain1 = "int in" 8992 public result_int reduce_my_int_8(Allocation ain1) { 8993 return reduce_my_int_8(ain1, null); 8994 } 8995 8996 // ain1 = "int in" 8997 public result_int reduce_my_int_8(Allocation ain1, Script.LaunchOptions sc) { 8998 // check ain1 8999 if (!ain1.getType().getElement().isCompatible(__I32)) { 9000 throw new RSRuntimeException("Type mismatch with I32!"); 9001 } 9002 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9003 aout.setAutoPadding(true); 9004 reduce(mExportReduceIdx_my_int_8, new Allocation[]{ain1}, aout, sc); 9005 return new result_int(aout); 9006 } 9007 9008 private final static int mExportReduceIdx_my_int_9 = 249; 9009 // in1 = "in" 9010 public result_int reduce_my_int_9(int[] in1) { 9011 // Verify that "in1" is non-null. 9012 if (in1 == null) { 9013 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9014 } 9015 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9016 ain1.setAutoPadding(true); 9017 ain1.copyFrom(in1); 9018 9019 result_int result = reduce_my_int_9(ain1, null); 9020 result.mTempIns = new Allocation[]{ain1}; 9021 return result; 9022 } 9023 9024 // ain1 = "int in" 9025 public result_int reduce_my_int_9(Allocation ain1) { 9026 return reduce_my_int_9(ain1, null); 9027 } 9028 9029 // ain1 = "int in" 9030 public result_int reduce_my_int_9(Allocation ain1, Script.LaunchOptions sc) { 9031 // check ain1 9032 if (!ain1.getType().getElement().isCompatible(__I32)) { 9033 throw new RSRuntimeException("Type mismatch with I32!"); 9034 } 9035 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9036 aout.setAutoPadding(true); 9037 reduce(mExportReduceIdx_my_int_9, new Allocation[]{ain1}, aout, sc); 9038 return new result_int(aout); 9039 } 9040 9041 private final static int mExportReduceIdx_my_int_10 = 250; 9042 // in1 = "in" 9043 public result_int reduce_my_int_10(int[] in1) { 9044 // Verify that "in1" is non-null. 9045 if (in1 == null) { 9046 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9047 } 9048 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9049 ain1.setAutoPadding(true); 9050 ain1.copyFrom(in1); 9051 9052 result_int result = reduce_my_int_10(ain1, null); 9053 result.mTempIns = new Allocation[]{ain1}; 9054 return result; 9055 } 9056 9057 // ain1 = "int in" 9058 public result_int reduce_my_int_10(Allocation ain1) { 9059 return reduce_my_int_10(ain1, null); 9060 } 9061 9062 // ain1 = "int in" 9063 public result_int reduce_my_int_10(Allocation ain1, Script.LaunchOptions sc) { 9064 // check ain1 9065 if (!ain1.getType().getElement().isCompatible(__I32)) { 9066 throw new RSRuntimeException("Type mismatch with I32!"); 9067 } 9068 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9069 aout.setAutoPadding(true); 9070 reduce(mExportReduceIdx_my_int_10, new Allocation[]{ain1}, aout, sc); 9071 return new result_int(aout); 9072 } 9073 9074 private final static int mExportReduceIdx_my_int_11 = 251; 9075 // in1 = "in" 9076 public result_int reduce_my_int_11(int[] in1) { 9077 // Verify that "in1" is non-null. 9078 if (in1 == null) { 9079 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9080 } 9081 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9082 ain1.setAutoPadding(true); 9083 ain1.copyFrom(in1); 9084 9085 result_int result = reduce_my_int_11(ain1, null); 9086 result.mTempIns = new Allocation[]{ain1}; 9087 return result; 9088 } 9089 9090 // ain1 = "int in" 9091 public result_int reduce_my_int_11(Allocation ain1) { 9092 return reduce_my_int_11(ain1, null); 9093 } 9094 9095 // ain1 = "int in" 9096 public result_int reduce_my_int_11(Allocation ain1, Script.LaunchOptions sc) { 9097 // check ain1 9098 if (!ain1.getType().getElement().isCompatible(__I32)) { 9099 throw new RSRuntimeException("Type mismatch with I32!"); 9100 } 9101 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9102 aout.setAutoPadding(true); 9103 reduce(mExportReduceIdx_my_int_11, new Allocation[]{ain1}, aout, sc); 9104 return new result_int(aout); 9105 } 9106 9107 private final static int mExportReduceIdx_my_int_12 = 252; 9108 // in1 = "in" 9109 public result_int reduce_my_int_12(int[] in1) { 9110 // Verify that "in1" is non-null. 9111 if (in1 == null) { 9112 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9113 } 9114 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9115 ain1.setAutoPadding(true); 9116 ain1.copyFrom(in1); 9117 9118 result_int result = reduce_my_int_12(ain1, null); 9119 result.mTempIns = new Allocation[]{ain1}; 9120 return result; 9121 } 9122 9123 // ain1 = "int in" 9124 public result_int reduce_my_int_12(Allocation ain1) { 9125 return reduce_my_int_12(ain1, null); 9126 } 9127 9128 // ain1 = "int in" 9129 public result_int reduce_my_int_12(Allocation ain1, Script.LaunchOptions sc) { 9130 // check ain1 9131 if (!ain1.getType().getElement().isCompatible(__I32)) { 9132 throw new RSRuntimeException("Type mismatch with I32!"); 9133 } 9134 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9135 aout.setAutoPadding(true); 9136 reduce(mExportReduceIdx_my_int_12, new Allocation[]{ain1}, aout, sc); 9137 return new result_int(aout); 9138 } 9139 9140 private final static int mExportReduceIdx_my_int_13 = 253; 9141 // in1 = "in" 9142 public result_int reduce_my_int_13(int[] in1) { 9143 // Verify that "in1" is non-null. 9144 if (in1 == null) { 9145 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9146 } 9147 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9148 ain1.setAutoPadding(true); 9149 ain1.copyFrom(in1); 9150 9151 result_int result = reduce_my_int_13(ain1, null); 9152 result.mTempIns = new Allocation[]{ain1}; 9153 return result; 9154 } 9155 9156 // ain1 = "int in" 9157 public result_int reduce_my_int_13(Allocation ain1) { 9158 return reduce_my_int_13(ain1, null); 9159 } 9160 9161 // ain1 = "int in" 9162 public result_int reduce_my_int_13(Allocation ain1, Script.LaunchOptions sc) { 9163 // check ain1 9164 if (!ain1.getType().getElement().isCompatible(__I32)) { 9165 throw new RSRuntimeException("Type mismatch with I32!"); 9166 } 9167 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9168 aout.setAutoPadding(true); 9169 reduce(mExportReduceIdx_my_int_13, new Allocation[]{ain1}, aout, sc); 9170 return new result_int(aout); 9171 } 9172 9173 private final static int mExportReduceIdx_my_int_14 = 254; 9174 // in1 = "in" 9175 public result_int reduce_my_int_14(int[] in1) { 9176 // Verify that "in1" is non-null. 9177 if (in1 == null) { 9178 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9179 } 9180 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9181 ain1.setAutoPadding(true); 9182 ain1.copyFrom(in1); 9183 9184 result_int result = reduce_my_int_14(ain1, null); 9185 result.mTempIns = new Allocation[]{ain1}; 9186 return result; 9187 } 9188 9189 // ain1 = "int in" 9190 public result_int reduce_my_int_14(Allocation ain1) { 9191 return reduce_my_int_14(ain1, null); 9192 } 9193 9194 // ain1 = "int in" 9195 public result_int reduce_my_int_14(Allocation ain1, Script.LaunchOptions sc) { 9196 // check ain1 9197 if (!ain1.getType().getElement().isCompatible(__I32)) { 9198 throw new RSRuntimeException("Type mismatch with I32!"); 9199 } 9200 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9201 aout.setAutoPadding(true); 9202 reduce(mExportReduceIdx_my_int_14, new Allocation[]{ain1}, aout, sc); 9203 return new result_int(aout); 9204 } 9205 9206 private final static int mExportReduceIdx_my_int_15 = 255; 9207 // in1 = "in" 9208 public result_int reduce_my_int_15(int[] in1) { 9209 // Verify that "in1" is non-null. 9210 if (in1 == null) { 9211 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9212 } 9213 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length); 9214 ain1.setAutoPadding(true); 9215 ain1.copyFrom(in1); 9216 9217 result_int result = reduce_my_int_15(ain1, null); 9218 result.mTempIns = new Allocation[]{ain1}; 9219 return result; 9220 } 9221 9222 // ain1 = "int in" 9223 public result_int reduce_my_int_15(Allocation ain1) { 9224 return reduce_my_int_15(ain1, null); 9225 } 9226 9227 // ain1 = "int in" 9228 public result_int reduce_my_int_15(Allocation ain1, Script.LaunchOptions sc) { 9229 // check ain1 9230 if (!ain1.getType().getElement().isCompatible(__I32)) { 9231 throw new RSRuntimeException("Type mismatch with I32!"); 9232 } 9233 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9234 aout.setAutoPadding(true); 9235 reduce(mExportReduceIdx_my_int_15, new Allocation[]{ain1}, aout, sc); 9236 return new result_int(aout); 9237 } 9238 9239 private final static int mExportReduceIdx_my_int2_0 = 256; 9240 // in1 = "in", flattened 2-vectors 9241 public result_int reduce_my_int2_0(int[] in1) { 9242 // Verify that "in1" is non-null. 9243 if (in1 == null) { 9244 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9245 } 9246 // Verify that the array length is a multiple of the vector size. 9247 if (in1.length % 2 != 0) { 9248 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9249 } 9250 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9251 ain1.setAutoPadding(true); 9252 ain1.copyFrom(in1); 9253 9254 result_int result = reduce_my_int2_0(ain1, null); 9255 result.mTempIns = new Allocation[]{ain1}; 9256 return result; 9257 } 9258 9259 // ain1 = "int2 in" 9260 public result_int reduce_my_int2_0(Allocation ain1) { 9261 return reduce_my_int2_0(ain1, null); 9262 } 9263 9264 // ain1 = "int2 in" 9265 public result_int reduce_my_int2_0(Allocation ain1, Script.LaunchOptions sc) { 9266 // check ain1 9267 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9268 throw new RSRuntimeException("Type mismatch with I32_2!"); 9269 } 9270 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9271 aout.setAutoPadding(true); 9272 reduce(mExportReduceIdx_my_int2_0, new Allocation[]{ain1}, aout, sc); 9273 return new result_int(aout); 9274 } 9275 9276 private final static int mExportReduceIdx_my_int2_1 = 257; 9277 // in1 = "in", flattened 2-vectors 9278 public result_int reduce_my_int2_1(int[] in1) { 9279 // Verify that "in1" is non-null. 9280 if (in1 == null) { 9281 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9282 } 9283 // Verify that the array length is a multiple of the vector size. 9284 if (in1.length % 2 != 0) { 9285 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9286 } 9287 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9288 ain1.setAutoPadding(true); 9289 ain1.copyFrom(in1); 9290 9291 result_int result = reduce_my_int2_1(ain1, null); 9292 result.mTempIns = new Allocation[]{ain1}; 9293 return result; 9294 } 9295 9296 // ain1 = "int2 in" 9297 public result_int reduce_my_int2_1(Allocation ain1) { 9298 return reduce_my_int2_1(ain1, null); 9299 } 9300 9301 // ain1 = "int2 in" 9302 public result_int reduce_my_int2_1(Allocation ain1, Script.LaunchOptions sc) { 9303 // check ain1 9304 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9305 throw new RSRuntimeException("Type mismatch with I32_2!"); 9306 } 9307 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9308 aout.setAutoPadding(true); 9309 reduce(mExportReduceIdx_my_int2_1, new Allocation[]{ain1}, aout, sc); 9310 return new result_int(aout); 9311 } 9312 9313 private final static int mExportReduceIdx_my_int2_2 = 258; 9314 // in1 = "in", flattened 2-vectors 9315 public result_int reduce_my_int2_2(int[] in1) { 9316 // Verify that "in1" is non-null. 9317 if (in1 == null) { 9318 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9319 } 9320 // Verify that the array length is a multiple of the vector size. 9321 if (in1.length % 2 != 0) { 9322 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9323 } 9324 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9325 ain1.setAutoPadding(true); 9326 ain1.copyFrom(in1); 9327 9328 result_int result = reduce_my_int2_2(ain1, null); 9329 result.mTempIns = new Allocation[]{ain1}; 9330 return result; 9331 } 9332 9333 // ain1 = "int2 in" 9334 public result_int reduce_my_int2_2(Allocation ain1) { 9335 return reduce_my_int2_2(ain1, null); 9336 } 9337 9338 // ain1 = "int2 in" 9339 public result_int reduce_my_int2_2(Allocation ain1, Script.LaunchOptions sc) { 9340 // check ain1 9341 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9342 throw new RSRuntimeException("Type mismatch with I32_2!"); 9343 } 9344 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9345 aout.setAutoPadding(true); 9346 reduce(mExportReduceIdx_my_int2_2, new Allocation[]{ain1}, aout, sc); 9347 return new result_int(aout); 9348 } 9349 9350 private final static int mExportReduceIdx_my_int2_3 = 259; 9351 // in1 = "in", flattened 2-vectors 9352 public result_int reduce_my_int2_3(int[] in1) { 9353 // Verify that "in1" is non-null. 9354 if (in1 == null) { 9355 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9356 } 9357 // Verify that the array length is a multiple of the vector size. 9358 if (in1.length % 2 != 0) { 9359 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9360 } 9361 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9362 ain1.setAutoPadding(true); 9363 ain1.copyFrom(in1); 9364 9365 result_int result = reduce_my_int2_3(ain1, null); 9366 result.mTempIns = new Allocation[]{ain1}; 9367 return result; 9368 } 9369 9370 // ain1 = "int2 in" 9371 public result_int reduce_my_int2_3(Allocation ain1) { 9372 return reduce_my_int2_3(ain1, null); 9373 } 9374 9375 // ain1 = "int2 in" 9376 public result_int reduce_my_int2_3(Allocation ain1, Script.LaunchOptions sc) { 9377 // check ain1 9378 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9379 throw new RSRuntimeException("Type mismatch with I32_2!"); 9380 } 9381 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9382 aout.setAutoPadding(true); 9383 reduce(mExportReduceIdx_my_int2_3, new Allocation[]{ain1}, aout, sc); 9384 return new result_int(aout); 9385 } 9386 9387 private final static int mExportReduceIdx_my_int2_4 = 260; 9388 // in1 = "in", flattened 2-vectors 9389 public result_int reduce_my_int2_4(int[] in1) { 9390 // Verify that "in1" is non-null. 9391 if (in1 == null) { 9392 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9393 } 9394 // Verify that the array length is a multiple of the vector size. 9395 if (in1.length % 2 != 0) { 9396 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9397 } 9398 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9399 ain1.setAutoPadding(true); 9400 ain1.copyFrom(in1); 9401 9402 result_int result = reduce_my_int2_4(ain1, null); 9403 result.mTempIns = new Allocation[]{ain1}; 9404 return result; 9405 } 9406 9407 // ain1 = "int2 in" 9408 public result_int reduce_my_int2_4(Allocation ain1) { 9409 return reduce_my_int2_4(ain1, null); 9410 } 9411 9412 // ain1 = "int2 in" 9413 public result_int reduce_my_int2_4(Allocation ain1, Script.LaunchOptions sc) { 9414 // check ain1 9415 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9416 throw new RSRuntimeException("Type mismatch with I32_2!"); 9417 } 9418 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9419 aout.setAutoPadding(true); 9420 reduce(mExportReduceIdx_my_int2_4, new Allocation[]{ain1}, aout, sc); 9421 return new result_int(aout); 9422 } 9423 9424 private final static int mExportReduceIdx_my_int2_5 = 261; 9425 // in1 = "in", flattened 2-vectors 9426 public result_int reduce_my_int2_5(int[] in1) { 9427 // Verify that "in1" is non-null. 9428 if (in1 == null) { 9429 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9430 } 9431 // Verify that the array length is a multiple of the vector size. 9432 if (in1.length % 2 != 0) { 9433 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9434 } 9435 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9436 ain1.setAutoPadding(true); 9437 ain1.copyFrom(in1); 9438 9439 result_int result = reduce_my_int2_5(ain1, null); 9440 result.mTempIns = new Allocation[]{ain1}; 9441 return result; 9442 } 9443 9444 // ain1 = "int2 in" 9445 public result_int reduce_my_int2_5(Allocation ain1) { 9446 return reduce_my_int2_5(ain1, null); 9447 } 9448 9449 // ain1 = "int2 in" 9450 public result_int reduce_my_int2_5(Allocation ain1, Script.LaunchOptions sc) { 9451 // check ain1 9452 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9453 throw new RSRuntimeException("Type mismatch with I32_2!"); 9454 } 9455 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9456 aout.setAutoPadding(true); 9457 reduce(mExportReduceIdx_my_int2_5, new Allocation[]{ain1}, aout, sc); 9458 return new result_int(aout); 9459 } 9460 9461 private final static int mExportReduceIdx_my_int2_6 = 262; 9462 // in1 = "in", flattened 2-vectors 9463 public result_int reduce_my_int2_6(int[] in1) { 9464 // Verify that "in1" is non-null. 9465 if (in1 == null) { 9466 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9467 } 9468 // Verify that the array length is a multiple of the vector size. 9469 if (in1.length % 2 != 0) { 9470 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9471 } 9472 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9473 ain1.setAutoPadding(true); 9474 ain1.copyFrom(in1); 9475 9476 result_int result = reduce_my_int2_6(ain1, null); 9477 result.mTempIns = new Allocation[]{ain1}; 9478 return result; 9479 } 9480 9481 // ain1 = "int2 in" 9482 public result_int reduce_my_int2_6(Allocation ain1) { 9483 return reduce_my_int2_6(ain1, null); 9484 } 9485 9486 // ain1 = "int2 in" 9487 public result_int reduce_my_int2_6(Allocation ain1, Script.LaunchOptions sc) { 9488 // check ain1 9489 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9490 throw new RSRuntimeException("Type mismatch with I32_2!"); 9491 } 9492 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9493 aout.setAutoPadding(true); 9494 reduce(mExportReduceIdx_my_int2_6, new Allocation[]{ain1}, aout, sc); 9495 return new result_int(aout); 9496 } 9497 9498 private final static int mExportReduceIdx_my_int2_7 = 263; 9499 // in1 = "in", flattened 2-vectors 9500 public result_int reduce_my_int2_7(int[] in1) { 9501 // Verify that "in1" is non-null. 9502 if (in1 == null) { 9503 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9504 } 9505 // Verify that the array length is a multiple of the vector size. 9506 if (in1.length % 2 != 0) { 9507 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9508 } 9509 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9510 ain1.setAutoPadding(true); 9511 ain1.copyFrom(in1); 9512 9513 result_int result = reduce_my_int2_7(ain1, null); 9514 result.mTempIns = new Allocation[]{ain1}; 9515 return result; 9516 } 9517 9518 // ain1 = "int2 in" 9519 public result_int reduce_my_int2_7(Allocation ain1) { 9520 return reduce_my_int2_7(ain1, null); 9521 } 9522 9523 // ain1 = "int2 in" 9524 public result_int reduce_my_int2_7(Allocation ain1, Script.LaunchOptions sc) { 9525 // check ain1 9526 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9527 throw new RSRuntimeException("Type mismatch with I32_2!"); 9528 } 9529 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9530 aout.setAutoPadding(true); 9531 reduce(mExportReduceIdx_my_int2_7, new Allocation[]{ain1}, aout, sc); 9532 return new result_int(aout); 9533 } 9534 9535 private final static int mExportReduceIdx_my_int2_8 = 264; 9536 // in1 = "in", flattened 2-vectors 9537 public result_int reduce_my_int2_8(int[] in1) { 9538 // Verify that "in1" is non-null. 9539 if (in1 == null) { 9540 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9541 } 9542 // Verify that the array length is a multiple of the vector size. 9543 if (in1.length % 2 != 0) { 9544 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9545 } 9546 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9547 ain1.setAutoPadding(true); 9548 ain1.copyFrom(in1); 9549 9550 result_int result = reduce_my_int2_8(ain1, null); 9551 result.mTempIns = new Allocation[]{ain1}; 9552 return result; 9553 } 9554 9555 // ain1 = "int2 in" 9556 public result_int reduce_my_int2_8(Allocation ain1) { 9557 return reduce_my_int2_8(ain1, null); 9558 } 9559 9560 // ain1 = "int2 in" 9561 public result_int reduce_my_int2_8(Allocation ain1, Script.LaunchOptions sc) { 9562 // check ain1 9563 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9564 throw new RSRuntimeException("Type mismatch with I32_2!"); 9565 } 9566 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9567 aout.setAutoPadding(true); 9568 reduce(mExportReduceIdx_my_int2_8, new Allocation[]{ain1}, aout, sc); 9569 return new result_int(aout); 9570 } 9571 9572 private final static int mExportReduceIdx_my_int2_9 = 265; 9573 // in1 = "in", flattened 2-vectors 9574 public result_int reduce_my_int2_9(int[] in1) { 9575 // Verify that "in1" is non-null. 9576 if (in1 == null) { 9577 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9578 } 9579 // Verify that the array length is a multiple of the vector size. 9580 if (in1.length % 2 != 0) { 9581 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9582 } 9583 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9584 ain1.setAutoPadding(true); 9585 ain1.copyFrom(in1); 9586 9587 result_int result = reduce_my_int2_9(ain1, null); 9588 result.mTempIns = new Allocation[]{ain1}; 9589 return result; 9590 } 9591 9592 // ain1 = "int2 in" 9593 public result_int reduce_my_int2_9(Allocation ain1) { 9594 return reduce_my_int2_9(ain1, null); 9595 } 9596 9597 // ain1 = "int2 in" 9598 public result_int reduce_my_int2_9(Allocation ain1, Script.LaunchOptions sc) { 9599 // check ain1 9600 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9601 throw new RSRuntimeException("Type mismatch with I32_2!"); 9602 } 9603 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9604 aout.setAutoPadding(true); 9605 reduce(mExportReduceIdx_my_int2_9, new Allocation[]{ain1}, aout, sc); 9606 return new result_int(aout); 9607 } 9608 9609 private final static int mExportReduceIdx_my_int2_10 = 266; 9610 // in1 = "in", flattened 2-vectors 9611 public result_int reduce_my_int2_10(int[] in1) { 9612 // Verify that "in1" is non-null. 9613 if (in1 == null) { 9614 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9615 } 9616 // Verify that the array length is a multiple of the vector size. 9617 if (in1.length % 2 != 0) { 9618 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9619 } 9620 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9621 ain1.setAutoPadding(true); 9622 ain1.copyFrom(in1); 9623 9624 result_int result = reduce_my_int2_10(ain1, null); 9625 result.mTempIns = new Allocation[]{ain1}; 9626 return result; 9627 } 9628 9629 // ain1 = "int2 in" 9630 public result_int reduce_my_int2_10(Allocation ain1) { 9631 return reduce_my_int2_10(ain1, null); 9632 } 9633 9634 // ain1 = "int2 in" 9635 public result_int reduce_my_int2_10(Allocation ain1, Script.LaunchOptions sc) { 9636 // check ain1 9637 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9638 throw new RSRuntimeException("Type mismatch with I32_2!"); 9639 } 9640 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9641 aout.setAutoPadding(true); 9642 reduce(mExportReduceIdx_my_int2_10, new Allocation[]{ain1}, aout, sc); 9643 return new result_int(aout); 9644 } 9645 9646 private final static int mExportReduceIdx_my_int2_11 = 267; 9647 // in1 = "in", flattened 2-vectors 9648 public result_int reduce_my_int2_11(int[] in1) { 9649 // Verify that "in1" is non-null. 9650 if (in1 == null) { 9651 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9652 } 9653 // Verify that the array length is a multiple of the vector size. 9654 if (in1.length % 2 != 0) { 9655 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9656 } 9657 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9658 ain1.setAutoPadding(true); 9659 ain1.copyFrom(in1); 9660 9661 result_int result = reduce_my_int2_11(ain1, null); 9662 result.mTempIns = new Allocation[]{ain1}; 9663 return result; 9664 } 9665 9666 // ain1 = "int2 in" 9667 public result_int reduce_my_int2_11(Allocation ain1) { 9668 return reduce_my_int2_11(ain1, null); 9669 } 9670 9671 // ain1 = "int2 in" 9672 public result_int reduce_my_int2_11(Allocation ain1, Script.LaunchOptions sc) { 9673 // check ain1 9674 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9675 throw new RSRuntimeException("Type mismatch with I32_2!"); 9676 } 9677 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9678 aout.setAutoPadding(true); 9679 reduce(mExportReduceIdx_my_int2_11, new Allocation[]{ain1}, aout, sc); 9680 return new result_int(aout); 9681 } 9682 9683 private final static int mExportReduceIdx_my_int2_12 = 268; 9684 // in1 = "in", flattened 2-vectors 9685 public result_int reduce_my_int2_12(int[] in1) { 9686 // Verify that "in1" is non-null. 9687 if (in1 == null) { 9688 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9689 } 9690 // Verify that the array length is a multiple of the vector size. 9691 if (in1.length % 2 != 0) { 9692 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9693 } 9694 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9695 ain1.setAutoPadding(true); 9696 ain1.copyFrom(in1); 9697 9698 result_int result = reduce_my_int2_12(ain1, null); 9699 result.mTempIns = new Allocation[]{ain1}; 9700 return result; 9701 } 9702 9703 // ain1 = "int2 in" 9704 public result_int reduce_my_int2_12(Allocation ain1) { 9705 return reduce_my_int2_12(ain1, null); 9706 } 9707 9708 // ain1 = "int2 in" 9709 public result_int reduce_my_int2_12(Allocation ain1, Script.LaunchOptions sc) { 9710 // check ain1 9711 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9712 throw new RSRuntimeException("Type mismatch with I32_2!"); 9713 } 9714 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9715 aout.setAutoPadding(true); 9716 reduce(mExportReduceIdx_my_int2_12, new Allocation[]{ain1}, aout, sc); 9717 return new result_int(aout); 9718 } 9719 9720 private final static int mExportReduceIdx_my_int2_13 = 269; 9721 // in1 = "in", flattened 2-vectors 9722 public result_int reduce_my_int2_13(int[] in1) { 9723 // Verify that "in1" is non-null. 9724 if (in1 == null) { 9725 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9726 } 9727 // Verify that the array length is a multiple of the vector size. 9728 if (in1.length % 2 != 0) { 9729 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9730 } 9731 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9732 ain1.setAutoPadding(true); 9733 ain1.copyFrom(in1); 9734 9735 result_int result = reduce_my_int2_13(ain1, null); 9736 result.mTempIns = new Allocation[]{ain1}; 9737 return result; 9738 } 9739 9740 // ain1 = "int2 in" 9741 public result_int reduce_my_int2_13(Allocation ain1) { 9742 return reduce_my_int2_13(ain1, null); 9743 } 9744 9745 // ain1 = "int2 in" 9746 public result_int reduce_my_int2_13(Allocation ain1, Script.LaunchOptions sc) { 9747 // check ain1 9748 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9749 throw new RSRuntimeException("Type mismatch with I32_2!"); 9750 } 9751 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9752 aout.setAutoPadding(true); 9753 reduce(mExportReduceIdx_my_int2_13, new Allocation[]{ain1}, aout, sc); 9754 return new result_int(aout); 9755 } 9756 9757 private final static int mExportReduceIdx_my_int2_14 = 270; 9758 // in1 = "in", flattened 2-vectors 9759 public result_int reduce_my_int2_14(int[] in1) { 9760 // Verify that "in1" is non-null. 9761 if (in1 == null) { 9762 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9763 } 9764 // Verify that the array length is a multiple of the vector size. 9765 if (in1.length % 2 != 0) { 9766 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9767 } 9768 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9769 ain1.setAutoPadding(true); 9770 ain1.copyFrom(in1); 9771 9772 result_int result = reduce_my_int2_14(ain1, null); 9773 result.mTempIns = new Allocation[]{ain1}; 9774 return result; 9775 } 9776 9777 // ain1 = "int2 in" 9778 public result_int reduce_my_int2_14(Allocation ain1) { 9779 return reduce_my_int2_14(ain1, null); 9780 } 9781 9782 // ain1 = "int2 in" 9783 public result_int reduce_my_int2_14(Allocation ain1, Script.LaunchOptions sc) { 9784 // check ain1 9785 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9786 throw new RSRuntimeException("Type mismatch with I32_2!"); 9787 } 9788 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9789 aout.setAutoPadding(true); 9790 reduce(mExportReduceIdx_my_int2_14, new Allocation[]{ain1}, aout, sc); 9791 return new result_int(aout); 9792 } 9793 9794 private final static int mExportReduceIdx_my_int2_15 = 271; 9795 // in1 = "in", flattened 2-vectors 9796 public result_int reduce_my_int2_15(int[] in1) { 9797 // Verify that "in1" is non-null. 9798 if (in1 == null) { 9799 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9800 } 9801 // Verify that the array length is a multiple of the vector size. 9802 if (in1.length % 2 != 0) { 9803 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 9804 } 9805 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_2, in1.length / 2); 9806 ain1.setAutoPadding(true); 9807 ain1.copyFrom(in1); 9808 9809 result_int result = reduce_my_int2_15(ain1, null); 9810 result.mTempIns = new Allocation[]{ain1}; 9811 return result; 9812 } 9813 9814 // ain1 = "int2 in" 9815 public result_int reduce_my_int2_15(Allocation ain1) { 9816 return reduce_my_int2_15(ain1, null); 9817 } 9818 9819 // ain1 = "int2 in" 9820 public result_int reduce_my_int2_15(Allocation ain1, Script.LaunchOptions sc) { 9821 // check ain1 9822 if (!ain1.getType().getElement().isCompatible(__I32_2)) { 9823 throw new RSRuntimeException("Type mismatch with I32_2!"); 9824 } 9825 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9826 aout.setAutoPadding(true); 9827 reduce(mExportReduceIdx_my_int2_15, new Allocation[]{ain1}, aout, sc); 9828 return new result_int(aout); 9829 } 9830 9831 private final static int mExportReduceIdx_my_int4_0 = 272; 9832 // in1 = "in", flattened 4-vectors 9833 public result_int reduce_my_int4_0(int[] in1) { 9834 // Verify that "in1" is non-null. 9835 if (in1 == null) { 9836 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9837 } 9838 // Verify that the array length is a multiple of the vector size. 9839 if (in1.length % 4 != 0) { 9840 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9841 } 9842 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9843 ain1.setAutoPadding(true); 9844 ain1.copyFrom(in1); 9845 9846 result_int result = reduce_my_int4_0(ain1, null); 9847 result.mTempIns = new Allocation[]{ain1}; 9848 return result; 9849 } 9850 9851 // ain1 = "int4 in" 9852 public result_int reduce_my_int4_0(Allocation ain1) { 9853 return reduce_my_int4_0(ain1, null); 9854 } 9855 9856 // ain1 = "int4 in" 9857 public result_int reduce_my_int4_0(Allocation ain1, Script.LaunchOptions sc) { 9858 // check ain1 9859 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 9860 throw new RSRuntimeException("Type mismatch with I32_4!"); 9861 } 9862 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9863 aout.setAutoPadding(true); 9864 reduce(mExportReduceIdx_my_int4_0, new Allocation[]{ain1}, aout, sc); 9865 return new result_int(aout); 9866 } 9867 9868 private final static int mExportReduceIdx_my_int4_1 = 273; 9869 // in1 = "in", flattened 4-vectors 9870 public result_int reduce_my_int4_1(int[] in1) { 9871 // Verify that "in1" is non-null. 9872 if (in1 == null) { 9873 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9874 } 9875 // Verify that the array length is a multiple of the vector size. 9876 if (in1.length % 4 != 0) { 9877 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9878 } 9879 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9880 ain1.setAutoPadding(true); 9881 ain1.copyFrom(in1); 9882 9883 result_int result = reduce_my_int4_1(ain1, null); 9884 result.mTempIns = new Allocation[]{ain1}; 9885 return result; 9886 } 9887 9888 // ain1 = "int4 in" 9889 public result_int reduce_my_int4_1(Allocation ain1) { 9890 return reduce_my_int4_1(ain1, null); 9891 } 9892 9893 // ain1 = "int4 in" 9894 public result_int reduce_my_int4_1(Allocation ain1, Script.LaunchOptions sc) { 9895 // check ain1 9896 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 9897 throw new RSRuntimeException("Type mismatch with I32_4!"); 9898 } 9899 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9900 aout.setAutoPadding(true); 9901 reduce(mExportReduceIdx_my_int4_1, new Allocation[]{ain1}, aout, sc); 9902 return new result_int(aout); 9903 } 9904 9905 private final static int mExportReduceIdx_my_int4_2 = 274; 9906 // in1 = "in", flattened 4-vectors 9907 public result_int reduce_my_int4_2(int[] in1) { 9908 // Verify that "in1" is non-null. 9909 if (in1 == null) { 9910 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9911 } 9912 // Verify that the array length is a multiple of the vector size. 9913 if (in1.length % 4 != 0) { 9914 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9915 } 9916 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9917 ain1.setAutoPadding(true); 9918 ain1.copyFrom(in1); 9919 9920 result_int result = reduce_my_int4_2(ain1, null); 9921 result.mTempIns = new Allocation[]{ain1}; 9922 return result; 9923 } 9924 9925 // ain1 = "int4 in" 9926 public result_int reduce_my_int4_2(Allocation ain1) { 9927 return reduce_my_int4_2(ain1, null); 9928 } 9929 9930 // ain1 = "int4 in" 9931 public result_int reduce_my_int4_2(Allocation ain1, Script.LaunchOptions sc) { 9932 // check ain1 9933 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 9934 throw new RSRuntimeException("Type mismatch with I32_4!"); 9935 } 9936 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9937 aout.setAutoPadding(true); 9938 reduce(mExportReduceIdx_my_int4_2, new Allocation[]{ain1}, aout, sc); 9939 return new result_int(aout); 9940 } 9941 9942 private final static int mExportReduceIdx_my_int4_3 = 275; 9943 // in1 = "in", flattened 4-vectors 9944 public result_int reduce_my_int4_3(int[] in1) { 9945 // Verify that "in1" is non-null. 9946 if (in1 == null) { 9947 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9948 } 9949 // Verify that the array length is a multiple of the vector size. 9950 if (in1.length % 4 != 0) { 9951 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9952 } 9953 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9954 ain1.setAutoPadding(true); 9955 ain1.copyFrom(in1); 9956 9957 result_int result = reduce_my_int4_3(ain1, null); 9958 result.mTempIns = new Allocation[]{ain1}; 9959 return result; 9960 } 9961 9962 // ain1 = "int4 in" 9963 public result_int reduce_my_int4_3(Allocation ain1) { 9964 return reduce_my_int4_3(ain1, null); 9965 } 9966 9967 // ain1 = "int4 in" 9968 public result_int reduce_my_int4_3(Allocation ain1, Script.LaunchOptions sc) { 9969 // check ain1 9970 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 9971 throw new RSRuntimeException("Type mismatch with I32_4!"); 9972 } 9973 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 9974 aout.setAutoPadding(true); 9975 reduce(mExportReduceIdx_my_int4_3, new Allocation[]{ain1}, aout, sc); 9976 return new result_int(aout); 9977 } 9978 9979 private final static int mExportReduceIdx_my_int4_4 = 276; 9980 // in1 = "in", flattened 4-vectors 9981 public result_int reduce_my_int4_4(int[] in1) { 9982 // Verify that "in1" is non-null. 9983 if (in1 == null) { 9984 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 9985 } 9986 // Verify that the array length is a multiple of the vector size. 9987 if (in1.length % 4 != 0) { 9988 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 9989 } 9990 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 9991 ain1.setAutoPadding(true); 9992 ain1.copyFrom(in1); 9993 9994 result_int result = reduce_my_int4_4(ain1, null); 9995 result.mTempIns = new Allocation[]{ain1}; 9996 return result; 9997 } 9998 9999 // ain1 = "int4 in" 10000 public result_int reduce_my_int4_4(Allocation ain1) { 10001 return reduce_my_int4_4(ain1, null); 10002 } 10003 10004 // ain1 = "int4 in" 10005 public result_int reduce_my_int4_4(Allocation ain1, Script.LaunchOptions sc) { 10006 // check ain1 10007 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10008 throw new RSRuntimeException("Type mismatch with I32_4!"); 10009 } 10010 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10011 aout.setAutoPadding(true); 10012 reduce(mExportReduceIdx_my_int4_4, new Allocation[]{ain1}, aout, sc); 10013 return new result_int(aout); 10014 } 10015 10016 private final static int mExportReduceIdx_my_int4_5 = 277; 10017 // in1 = "in", flattened 4-vectors 10018 public result_int reduce_my_int4_5(int[] in1) { 10019 // Verify that "in1" is non-null. 10020 if (in1 == null) { 10021 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10022 } 10023 // Verify that the array length is a multiple of the vector size. 10024 if (in1.length % 4 != 0) { 10025 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10026 } 10027 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10028 ain1.setAutoPadding(true); 10029 ain1.copyFrom(in1); 10030 10031 result_int result = reduce_my_int4_5(ain1, null); 10032 result.mTempIns = new Allocation[]{ain1}; 10033 return result; 10034 } 10035 10036 // ain1 = "int4 in" 10037 public result_int reduce_my_int4_5(Allocation ain1) { 10038 return reduce_my_int4_5(ain1, null); 10039 } 10040 10041 // ain1 = "int4 in" 10042 public result_int reduce_my_int4_5(Allocation ain1, Script.LaunchOptions sc) { 10043 // check ain1 10044 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10045 throw new RSRuntimeException("Type mismatch with I32_4!"); 10046 } 10047 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10048 aout.setAutoPadding(true); 10049 reduce(mExportReduceIdx_my_int4_5, new Allocation[]{ain1}, aout, sc); 10050 return new result_int(aout); 10051 } 10052 10053 private final static int mExportReduceIdx_my_int4_6 = 278; 10054 // in1 = "in", flattened 4-vectors 10055 public result_int reduce_my_int4_6(int[] in1) { 10056 // Verify that "in1" is non-null. 10057 if (in1 == null) { 10058 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10059 } 10060 // Verify that the array length is a multiple of the vector size. 10061 if (in1.length % 4 != 0) { 10062 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10063 } 10064 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10065 ain1.setAutoPadding(true); 10066 ain1.copyFrom(in1); 10067 10068 result_int result = reduce_my_int4_6(ain1, null); 10069 result.mTempIns = new Allocation[]{ain1}; 10070 return result; 10071 } 10072 10073 // ain1 = "int4 in" 10074 public result_int reduce_my_int4_6(Allocation ain1) { 10075 return reduce_my_int4_6(ain1, null); 10076 } 10077 10078 // ain1 = "int4 in" 10079 public result_int reduce_my_int4_6(Allocation ain1, Script.LaunchOptions sc) { 10080 // check ain1 10081 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10082 throw new RSRuntimeException("Type mismatch with I32_4!"); 10083 } 10084 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10085 aout.setAutoPadding(true); 10086 reduce(mExportReduceIdx_my_int4_6, new Allocation[]{ain1}, aout, sc); 10087 return new result_int(aout); 10088 } 10089 10090 private final static int mExportReduceIdx_my_int4_7 = 279; 10091 // in1 = "in", flattened 4-vectors 10092 public result_int reduce_my_int4_7(int[] in1) { 10093 // Verify that "in1" is non-null. 10094 if (in1 == null) { 10095 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10096 } 10097 // Verify that the array length is a multiple of the vector size. 10098 if (in1.length % 4 != 0) { 10099 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10100 } 10101 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10102 ain1.setAutoPadding(true); 10103 ain1.copyFrom(in1); 10104 10105 result_int result = reduce_my_int4_7(ain1, null); 10106 result.mTempIns = new Allocation[]{ain1}; 10107 return result; 10108 } 10109 10110 // ain1 = "int4 in" 10111 public result_int reduce_my_int4_7(Allocation ain1) { 10112 return reduce_my_int4_7(ain1, null); 10113 } 10114 10115 // ain1 = "int4 in" 10116 public result_int reduce_my_int4_7(Allocation ain1, Script.LaunchOptions sc) { 10117 // check ain1 10118 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10119 throw new RSRuntimeException("Type mismatch with I32_4!"); 10120 } 10121 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10122 aout.setAutoPadding(true); 10123 reduce(mExportReduceIdx_my_int4_7, new Allocation[]{ain1}, aout, sc); 10124 return new result_int(aout); 10125 } 10126 10127 private final static int mExportReduceIdx_my_int4_8 = 280; 10128 // in1 = "in", flattened 4-vectors 10129 public result_int reduce_my_int4_8(int[] in1) { 10130 // Verify that "in1" is non-null. 10131 if (in1 == null) { 10132 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10133 } 10134 // Verify that the array length is a multiple of the vector size. 10135 if (in1.length % 4 != 0) { 10136 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10137 } 10138 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10139 ain1.setAutoPadding(true); 10140 ain1.copyFrom(in1); 10141 10142 result_int result = reduce_my_int4_8(ain1, null); 10143 result.mTempIns = new Allocation[]{ain1}; 10144 return result; 10145 } 10146 10147 // ain1 = "int4 in" 10148 public result_int reduce_my_int4_8(Allocation ain1) { 10149 return reduce_my_int4_8(ain1, null); 10150 } 10151 10152 // ain1 = "int4 in" 10153 public result_int reduce_my_int4_8(Allocation ain1, Script.LaunchOptions sc) { 10154 // check ain1 10155 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10156 throw new RSRuntimeException("Type mismatch with I32_4!"); 10157 } 10158 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10159 aout.setAutoPadding(true); 10160 reduce(mExportReduceIdx_my_int4_8, new Allocation[]{ain1}, aout, sc); 10161 return new result_int(aout); 10162 } 10163 10164 private final static int mExportReduceIdx_my_int4_9 = 281; 10165 // in1 = "in", flattened 4-vectors 10166 public result_int reduce_my_int4_9(int[] in1) { 10167 // Verify that "in1" is non-null. 10168 if (in1 == null) { 10169 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10170 } 10171 // Verify that the array length is a multiple of the vector size. 10172 if (in1.length % 4 != 0) { 10173 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10174 } 10175 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10176 ain1.setAutoPadding(true); 10177 ain1.copyFrom(in1); 10178 10179 result_int result = reduce_my_int4_9(ain1, null); 10180 result.mTempIns = new Allocation[]{ain1}; 10181 return result; 10182 } 10183 10184 // ain1 = "int4 in" 10185 public result_int reduce_my_int4_9(Allocation ain1) { 10186 return reduce_my_int4_9(ain1, null); 10187 } 10188 10189 // ain1 = "int4 in" 10190 public result_int reduce_my_int4_9(Allocation ain1, Script.LaunchOptions sc) { 10191 // check ain1 10192 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10193 throw new RSRuntimeException("Type mismatch with I32_4!"); 10194 } 10195 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10196 aout.setAutoPadding(true); 10197 reduce(mExportReduceIdx_my_int4_9, new Allocation[]{ain1}, aout, sc); 10198 return new result_int(aout); 10199 } 10200 10201 private final static int mExportReduceIdx_my_int4_10 = 282; 10202 // in1 = "in", flattened 4-vectors 10203 public result_int reduce_my_int4_10(int[] in1) { 10204 // Verify that "in1" is non-null. 10205 if (in1 == null) { 10206 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10207 } 10208 // Verify that the array length is a multiple of the vector size. 10209 if (in1.length % 4 != 0) { 10210 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10211 } 10212 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10213 ain1.setAutoPadding(true); 10214 ain1.copyFrom(in1); 10215 10216 result_int result = reduce_my_int4_10(ain1, null); 10217 result.mTempIns = new Allocation[]{ain1}; 10218 return result; 10219 } 10220 10221 // ain1 = "int4 in" 10222 public result_int reduce_my_int4_10(Allocation ain1) { 10223 return reduce_my_int4_10(ain1, null); 10224 } 10225 10226 // ain1 = "int4 in" 10227 public result_int reduce_my_int4_10(Allocation ain1, Script.LaunchOptions sc) { 10228 // check ain1 10229 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10230 throw new RSRuntimeException("Type mismatch with I32_4!"); 10231 } 10232 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10233 aout.setAutoPadding(true); 10234 reduce(mExportReduceIdx_my_int4_10, new Allocation[]{ain1}, aout, sc); 10235 return new result_int(aout); 10236 } 10237 10238 private final static int mExportReduceIdx_my_int4_11 = 283; 10239 // in1 = "in", flattened 4-vectors 10240 public result_int reduce_my_int4_11(int[] in1) { 10241 // Verify that "in1" is non-null. 10242 if (in1 == null) { 10243 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10244 } 10245 // Verify that the array length is a multiple of the vector size. 10246 if (in1.length % 4 != 0) { 10247 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10248 } 10249 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10250 ain1.setAutoPadding(true); 10251 ain1.copyFrom(in1); 10252 10253 result_int result = reduce_my_int4_11(ain1, null); 10254 result.mTempIns = new Allocation[]{ain1}; 10255 return result; 10256 } 10257 10258 // ain1 = "int4 in" 10259 public result_int reduce_my_int4_11(Allocation ain1) { 10260 return reduce_my_int4_11(ain1, null); 10261 } 10262 10263 // ain1 = "int4 in" 10264 public result_int reduce_my_int4_11(Allocation ain1, Script.LaunchOptions sc) { 10265 // check ain1 10266 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10267 throw new RSRuntimeException("Type mismatch with I32_4!"); 10268 } 10269 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10270 aout.setAutoPadding(true); 10271 reduce(mExportReduceIdx_my_int4_11, new Allocation[]{ain1}, aout, sc); 10272 return new result_int(aout); 10273 } 10274 10275 private final static int mExportReduceIdx_my_int4_12 = 284; 10276 // in1 = "in", flattened 4-vectors 10277 public result_int reduce_my_int4_12(int[] in1) { 10278 // Verify that "in1" is non-null. 10279 if (in1 == null) { 10280 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10281 } 10282 // Verify that the array length is a multiple of the vector size. 10283 if (in1.length % 4 != 0) { 10284 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10285 } 10286 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10287 ain1.setAutoPadding(true); 10288 ain1.copyFrom(in1); 10289 10290 result_int result = reduce_my_int4_12(ain1, null); 10291 result.mTempIns = new Allocation[]{ain1}; 10292 return result; 10293 } 10294 10295 // ain1 = "int4 in" 10296 public result_int reduce_my_int4_12(Allocation ain1) { 10297 return reduce_my_int4_12(ain1, null); 10298 } 10299 10300 // ain1 = "int4 in" 10301 public result_int reduce_my_int4_12(Allocation ain1, Script.LaunchOptions sc) { 10302 // check ain1 10303 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10304 throw new RSRuntimeException("Type mismatch with I32_4!"); 10305 } 10306 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10307 aout.setAutoPadding(true); 10308 reduce(mExportReduceIdx_my_int4_12, new Allocation[]{ain1}, aout, sc); 10309 return new result_int(aout); 10310 } 10311 10312 private final static int mExportReduceIdx_my_int4_13 = 285; 10313 // in1 = "in", flattened 4-vectors 10314 public result_int reduce_my_int4_13(int[] in1) { 10315 // Verify that "in1" is non-null. 10316 if (in1 == null) { 10317 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10318 } 10319 // Verify that the array length is a multiple of the vector size. 10320 if (in1.length % 4 != 0) { 10321 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10322 } 10323 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10324 ain1.setAutoPadding(true); 10325 ain1.copyFrom(in1); 10326 10327 result_int result = reduce_my_int4_13(ain1, null); 10328 result.mTempIns = new Allocation[]{ain1}; 10329 return result; 10330 } 10331 10332 // ain1 = "int4 in" 10333 public result_int reduce_my_int4_13(Allocation ain1) { 10334 return reduce_my_int4_13(ain1, null); 10335 } 10336 10337 // ain1 = "int4 in" 10338 public result_int reduce_my_int4_13(Allocation ain1, Script.LaunchOptions sc) { 10339 // check ain1 10340 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10341 throw new RSRuntimeException("Type mismatch with I32_4!"); 10342 } 10343 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10344 aout.setAutoPadding(true); 10345 reduce(mExportReduceIdx_my_int4_13, new Allocation[]{ain1}, aout, sc); 10346 return new result_int(aout); 10347 } 10348 10349 private final static int mExportReduceIdx_my_int4_14 = 286; 10350 // in1 = "in", flattened 4-vectors 10351 public result_int reduce_my_int4_14(int[] in1) { 10352 // Verify that "in1" is non-null. 10353 if (in1 == null) { 10354 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10355 } 10356 // Verify that the array length is a multiple of the vector size. 10357 if (in1.length % 4 != 0) { 10358 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10359 } 10360 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10361 ain1.setAutoPadding(true); 10362 ain1.copyFrom(in1); 10363 10364 result_int result = reduce_my_int4_14(ain1, null); 10365 result.mTempIns = new Allocation[]{ain1}; 10366 return result; 10367 } 10368 10369 // ain1 = "int4 in" 10370 public result_int reduce_my_int4_14(Allocation ain1) { 10371 return reduce_my_int4_14(ain1, null); 10372 } 10373 10374 // ain1 = "int4 in" 10375 public result_int reduce_my_int4_14(Allocation ain1, Script.LaunchOptions sc) { 10376 // check ain1 10377 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10378 throw new RSRuntimeException("Type mismatch with I32_4!"); 10379 } 10380 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10381 aout.setAutoPadding(true); 10382 reduce(mExportReduceIdx_my_int4_14, new Allocation[]{ain1}, aout, sc); 10383 return new result_int(aout); 10384 } 10385 10386 private final static int mExportReduceIdx_my_int4_15 = 287; 10387 // in1 = "in", flattened 4-vectors 10388 public result_int reduce_my_int4_15(int[] in1) { 10389 // Verify that "in1" is non-null. 10390 if (in1 == null) { 10391 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10392 } 10393 // Verify that the array length is a multiple of the vector size. 10394 if (in1.length % 4 != 0) { 10395 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 10396 } 10397 Allocation ain1 = Allocation.createSized(mRSLocal, __I32_4, in1.length / 4); 10398 ain1.setAutoPadding(true); 10399 ain1.copyFrom(in1); 10400 10401 result_int result = reduce_my_int4_15(ain1, null); 10402 result.mTempIns = new Allocation[]{ain1}; 10403 return result; 10404 } 10405 10406 // ain1 = "int4 in" 10407 public result_int reduce_my_int4_15(Allocation ain1) { 10408 return reduce_my_int4_15(ain1, null); 10409 } 10410 10411 // ain1 = "int4 in" 10412 public result_int reduce_my_int4_15(Allocation ain1, Script.LaunchOptions sc) { 10413 // check ain1 10414 if (!ain1.getType().getElement().isCompatible(__I32_4)) { 10415 throw new RSRuntimeException("Type mismatch with I32_4!"); 10416 } 10417 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10418 aout.setAutoPadding(true); 10419 reduce(mExportReduceIdx_my_int4_15, new Allocation[]{ain1}, aout, sc); 10420 return new result_int(aout); 10421 } 10422 10423 private final static int mExportReduceIdx_my_long_0 = 288; 10424 // in1 = "in" 10425 public result_int reduce_my_long_0(long[] in1) { 10426 // Verify that "in1" is non-null. 10427 if (in1 == null) { 10428 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10429 } 10430 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10431 ain1.setAutoPadding(true); 10432 ain1.copyFrom(in1); 10433 10434 result_int result = reduce_my_long_0(ain1, null); 10435 result.mTempIns = new Allocation[]{ain1}; 10436 return result; 10437 } 10438 10439 // ain1 = "long in" 10440 public result_int reduce_my_long_0(Allocation ain1) { 10441 return reduce_my_long_0(ain1, null); 10442 } 10443 10444 // ain1 = "long in" 10445 public result_int reduce_my_long_0(Allocation ain1, Script.LaunchOptions sc) { 10446 // check ain1 10447 if (!ain1.getType().getElement().isCompatible(__I64)) { 10448 throw new RSRuntimeException("Type mismatch with I64!"); 10449 } 10450 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10451 aout.setAutoPadding(true); 10452 reduce(mExportReduceIdx_my_long_0, new Allocation[]{ain1}, aout, sc); 10453 return new result_int(aout); 10454 } 10455 10456 private final static int mExportReduceIdx_my_long_1 = 289; 10457 // in1 = "in" 10458 public result_int reduce_my_long_1(long[] in1) { 10459 // Verify that "in1" is non-null. 10460 if (in1 == null) { 10461 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10462 } 10463 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10464 ain1.setAutoPadding(true); 10465 ain1.copyFrom(in1); 10466 10467 result_int result = reduce_my_long_1(ain1, null); 10468 result.mTempIns = new Allocation[]{ain1}; 10469 return result; 10470 } 10471 10472 // ain1 = "long in" 10473 public result_int reduce_my_long_1(Allocation ain1) { 10474 return reduce_my_long_1(ain1, null); 10475 } 10476 10477 // ain1 = "long in" 10478 public result_int reduce_my_long_1(Allocation ain1, Script.LaunchOptions sc) { 10479 // check ain1 10480 if (!ain1.getType().getElement().isCompatible(__I64)) { 10481 throw new RSRuntimeException("Type mismatch with I64!"); 10482 } 10483 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10484 aout.setAutoPadding(true); 10485 reduce(mExportReduceIdx_my_long_1, new Allocation[]{ain1}, aout, sc); 10486 return new result_int(aout); 10487 } 10488 10489 private final static int mExportReduceIdx_my_long_2 = 290; 10490 // in1 = "in" 10491 public result_int reduce_my_long_2(long[] in1) { 10492 // Verify that "in1" is non-null. 10493 if (in1 == null) { 10494 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10495 } 10496 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10497 ain1.setAutoPadding(true); 10498 ain1.copyFrom(in1); 10499 10500 result_int result = reduce_my_long_2(ain1, null); 10501 result.mTempIns = new Allocation[]{ain1}; 10502 return result; 10503 } 10504 10505 // ain1 = "long in" 10506 public result_int reduce_my_long_2(Allocation ain1) { 10507 return reduce_my_long_2(ain1, null); 10508 } 10509 10510 // ain1 = "long in" 10511 public result_int reduce_my_long_2(Allocation ain1, Script.LaunchOptions sc) { 10512 // check ain1 10513 if (!ain1.getType().getElement().isCompatible(__I64)) { 10514 throw new RSRuntimeException("Type mismatch with I64!"); 10515 } 10516 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10517 aout.setAutoPadding(true); 10518 reduce(mExportReduceIdx_my_long_2, new Allocation[]{ain1}, aout, sc); 10519 return new result_int(aout); 10520 } 10521 10522 private final static int mExportReduceIdx_my_long_3 = 291; 10523 // in1 = "in" 10524 public result_int reduce_my_long_3(long[] in1) { 10525 // Verify that "in1" is non-null. 10526 if (in1 == null) { 10527 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10528 } 10529 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10530 ain1.setAutoPadding(true); 10531 ain1.copyFrom(in1); 10532 10533 result_int result = reduce_my_long_3(ain1, null); 10534 result.mTempIns = new Allocation[]{ain1}; 10535 return result; 10536 } 10537 10538 // ain1 = "long in" 10539 public result_int reduce_my_long_3(Allocation ain1) { 10540 return reduce_my_long_3(ain1, null); 10541 } 10542 10543 // ain1 = "long in" 10544 public result_int reduce_my_long_3(Allocation ain1, Script.LaunchOptions sc) { 10545 // check ain1 10546 if (!ain1.getType().getElement().isCompatible(__I64)) { 10547 throw new RSRuntimeException("Type mismatch with I64!"); 10548 } 10549 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10550 aout.setAutoPadding(true); 10551 reduce(mExportReduceIdx_my_long_3, new Allocation[]{ain1}, aout, sc); 10552 return new result_int(aout); 10553 } 10554 10555 private final static int mExportReduceIdx_my_long_4 = 292; 10556 // in1 = "in" 10557 public result_int reduce_my_long_4(long[] in1) { 10558 // Verify that "in1" is non-null. 10559 if (in1 == null) { 10560 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10561 } 10562 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10563 ain1.setAutoPadding(true); 10564 ain1.copyFrom(in1); 10565 10566 result_int result = reduce_my_long_4(ain1, null); 10567 result.mTempIns = new Allocation[]{ain1}; 10568 return result; 10569 } 10570 10571 // ain1 = "long in" 10572 public result_int reduce_my_long_4(Allocation ain1) { 10573 return reduce_my_long_4(ain1, null); 10574 } 10575 10576 // ain1 = "long in" 10577 public result_int reduce_my_long_4(Allocation ain1, Script.LaunchOptions sc) { 10578 // check ain1 10579 if (!ain1.getType().getElement().isCompatible(__I64)) { 10580 throw new RSRuntimeException("Type mismatch with I64!"); 10581 } 10582 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10583 aout.setAutoPadding(true); 10584 reduce(mExportReduceIdx_my_long_4, new Allocation[]{ain1}, aout, sc); 10585 return new result_int(aout); 10586 } 10587 10588 private final static int mExportReduceIdx_my_long_5 = 293; 10589 // in1 = "in" 10590 public result_int reduce_my_long_5(long[] in1) { 10591 // Verify that "in1" is non-null. 10592 if (in1 == null) { 10593 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10594 } 10595 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10596 ain1.setAutoPadding(true); 10597 ain1.copyFrom(in1); 10598 10599 result_int result = reduce_my_long_5(ain1, null); 10600 result.mTempIns = new Allocation[]{ain1}; 10601 return result; 10602 } 10603 10604 // ain1 = "long in" 10605 public result_int reduce_my_long_5(Allocation ain1) { 10606 return reduce_my_long_5(ain1, null); 10607 } 10608 10609 // ain1 = "long in" 10610 public result_int reduce_my_long_5(Allocation ain1, Script.LaunchOptions sc) { 10611 // check ain1 10612 if (!ain1.getType().getElement().isCompatible(__I64)) { 10613 throw new RSRuntimeException("Type mismatch with I64!"); 10614 } 10615 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10616 aout.setAutoPadding(true); 10617 reduce(mExportReduceIdx_my_long_5, new Allocation[]{ain1}, aout, sc); 10618 return new result_int(aout); 10619 } 10620 10621 private final static int mExportReduceIdx_my_long_6 = 294; 10622 // in1 = "in" 10623 public result_int reduce_my_long_6(long[] in1) { 10624 // Verify that "in1" is non-null. 10625 if (in1 == null) { 10626 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10627 } 10628 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10629 ain1.setAutoPadding(true); 10630 ain1.copyFrom(in1); 10631 10632 result_int result = reduce_my_long_6(ain1, null); 10633 result.mTempIns = new Allocation[]{ain1}; 10634 return result; 10635 } 10636 10637 // ain1 = "long in" 10638 public result_int reduce_my_long_6(Allocation ain1) { 10639 return reduce_my_long_6(ain1, null); 10640 } 10641 10642 // ain1 = "long in" 10643 public result_int reduce_my_long_6(Allocation ain1, Script.LaunchOptions sc) { 10644 // check ain1 10645 if (!ain1.getType().getElement().isCompatible(__I64)) { 10646 throw new RSRuntimeException("Type mismatch with I64!"); 10647 } 10648 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10649 aout.setAutoPadding(true); 10650 reduce(mExportReduceIdx_my_long_6, new Allocation[]{ain1}, aout, sc); 10651 return new result_int(aout); 10652 } 10653 10654 private final static int mExportReduceIdx_my_long_7 = 295; 10655 // in1 = "in" 10656 public result_int reduce_my_long_7(long[] in1) { 10657 // Verify that "in1" is non-null. 10658 if (in1 == null) { 10659 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10660 } 10661 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10662 ain1.setAutoPadding(true); 10663 ain1.copyFrom(in1); 10664 10665 result_int result = reduce_my_long_7(ain1, null); 10666 result.mTempIns = new Allocation[]{ain1}; 10667 return result; 10668 } 10669 10670 // ain1 = "long in" 10671 public result_int reduce_my_long_7(Allocation ain1) { 10672 return reduce_my_long_7(ain1, null); 10673 } 10674 10675 // ain1 = "long in" 10676 public result_int reduce_my_long_7(Allocation ain1, Script.LaunchOptions sc) { 10677 // check ain1 10678 if (!ain1.getType().getElement().isCompatible(__I64)) { 10679 throw new RSRuntimeException("Type mismatch with I64!"); 10680 } 10681 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10682 aout.setAutoPadding(true); 10683 reduce(mExportReduceIdx_my_long_7, new Allocation[]{ain1}, aout, sc); 10684 return new result_int(aout); 10685 } 10686 10687 private final static int mExportReduceIdx_my_long_8 = 296; 10688 // in1 = "in" 10689 public result_int reduce_my_long_8(long[] in1) { 10690 // Verify that "in1" is non-null. 10691 if (in1 == null) { 10692 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10693 } 10694 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10695 ain1.setAutoPadding(true); 10696 ain1.copyFrom(in1); 10697 10698 result_int result = reduce_my_long_8(ain1, null); 10699 result.mTempIns = new Allocation[]{ain1}; 10700 return result; 10701 } 10702 10703 // ain1 = "long in" 10704 public result_int reduce_my_long_8(Allocation ain1) { 10705 return reduce_my_long_8(ain1, null); 10706 } 10707 10708 // ain1 = "long in" 10709 public result_int reduce_my_long_8(Allocation ain1, Script.LaunchOptions sc) { 10710 // check ain1 10711 if (!ain1.getType().getElement().isCompatible(__I64)) { 10712 throw new RSRuntimeException("Type mismatch with I64!"); 10713 } 10714 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10715 aout.setAutoPadding(true); 10716 reduce(mExportReduceIdx_my_long_8, new Allocation[]{ain1}, aout, sc); 10717 return new result_int(aout); 10718 } 10719 10720 private final static int mExportReduceIdx_my_long_9 = 297; 10721 // in1 = "in" 10722 public result_int reduce_my_long_9(long[] in1) { 10723 // Verify that "in1" is non-null. 10724 if (in1 == null) { 10725 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10726 } 10727 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10728 ain1.setAutoPadding(true); 10729 ain1.copyFrom(in1); 10730 10731 result_int result = reduce_my_long_9(ain1, null); 10732 result.mTempIns = new Allocation[]{ain1}; 10733 return result; 10734 } 10735 10736 // ain1 = "long in" 10737 public result_int reduce_my_long_9(Allocation ain1) { 10738 return reduce_my_long_9(ain1, null); 10739 } 10740 10741 // ain1 = "long in" 10742 public result_int reduce_my_long_9(Allocation ain1, Script.LaunchOptions sc) { 10743 // check ain1 10744 if (!ain1.getType().getElement().isCompatible(__I64)) { 10745 throw new RSRuntimeException("Type mismatch with I64!"); 10746 } 10747 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10748 aout.setAutoPadding(true); 10749 reduce(mExportReduceIdx_my_long_9, new Allocation[]{ain1}, aout, sc); 10750 return new result_int(aout); 10751 } 10752 10753 private final static int mExportReduceIdx_my_long_10 = 298; 10754 // in1 = "in" 10755 public result_int reduce_my_long_10(long[] in1) { 10756 // Verify that "in1" is non-null. 10757 if (in1 == null) { 10758 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10759 } 10760 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10761 ain1.setAutoPadding(true); 10762 ain1.copyFrom(in1); 10763 10764 result_int result = reduce_my_long_10(ain1, null); 10765 result.mTempIns = new Allocation[]{ain1}; 10766 return result; 10767 } 10768 10769 // ain1 = "long in" 10770 public result_int reduce_my_long_10(Allocation ain1) { 10771 return reduce_my_long_10(ain1, null); 10772 } 10773 10774 // ain1 = "long in" 10775 public result_int reduce_my_long_10(Allocation ain1, Script.LaunchOptions sc) { 10776 // check ain1 10777 if (!ain1.getType().getElement().isCompatible(__I64)) { 10778 throw new RSRuntimeException("Type mismatch with I64!"); 10779 } 10780 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10781 aout.setAutoPadding(true); 10782 reduce(mExportReduceIdx_my_long_10, new Allocation[]{ain1}, aout, sc); 10783 return new result_int(aout); 10784 } 10785 10786 private final static int mExportReduceIdx_my_long_11 = 299; 10787 // in1 = "in" 10788 public result_int reduce_my_long_11(long[] in1) { 10789 // Verify that "in1" is non-null. 10790 if (in1 == null) { 10791 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10792 } 10793 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10794 ain1.setAutoPadding(true); 10795 ain1.copyFrom(in1); 10796 10797 result_int result = reduce_my_long_11(ain1, null); 10798 result.mTempIns = new Allocation[]{ain1}; 10799 return result; 10800 } 10801 10802 // ain1 = "long in" 10803 public result_int reduce_my_long_11(Allocation ain1) { 10804 return reduce_my_long_11(ain1, null); 10805 } 10806 10807 // ain1 = "long in" 10808 public result_int reduce_my_long_11(Allocation ain1, Script.LaunchOptions sc) { 10809 // check ain1 10810 if (!ain1.getType().getElement().isCompatible(__I64)) { 10811 throw new RSRuntimeException("Type mismatch with I64!"); 10812 } 10813 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10814 aout.setAutoPadding(true); 10815 reduce(mExportReduceIdx_my_long_11, new Allocation[]{ain1}, aout, sc); 10816 return new result_int(aout); 10817 } 10818 10819 private final static int mExportReduceIdx_my_long_12 = 300; 10820 // in1 = "in" 10821 public result_int reduce_my_long_12(long[] in1) { 10822 // Verify that "in1" is non-null. 10823 if (in1 == null) { 10824 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10825 } 10826 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10827 ain1.setAutoPadding(true); 10828 ain1.copyFrom(in1); 10829 10830 result_int result = reduce_my_long_12(ain1, null); 10831 result.mTempIns = new Allocation[]{ain1}; 10832 return result; 10833 } 10834 10835 // ain1 = "long in" 10836 public result_int reduce_my_long_12(Allocation ain1) { 10837 return reduce_my_long_12(ain1, null); 10838 } 10839 10840 // ain1 = "long in" 10841 public result_int reduce_my_long_12(Allocation ain1, Script.LaunchOptions sc) { 10842 // check ain1 10843 if (!ain1.getType().getElement().isCompatible(__I64)) { 10844 throw new RSRuntimeException("Type mismatch with I64!"); 10845 } 10846 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10847 aout.setAutoPadding(true); 10848 reduce(mExportReduceIdx_my_long_12, new Allocation[]{ain1}, aout, sc); 10849 return new result_int(aout); 10850 } 10851 10852 private final static int mExportReduceIdx_my_long_13 = 301; 10853 // in1 = "in" 10854 public result_int reduce_my_long_13(long[] in1) { 10855 // Verify that "in1" is non-null. 10856 if (in1 == null) { 10857 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10858 } 10859 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10860 ain1.setAutoPadding(true); 10861 ain1.copyFrom(in1); 10862 10863 result_int result = reduce_my_long_13(ain1, null); 10864 result.mTempIns = new Allocation[]{ain1}; 10865 return result; 10866 } 10867 10868 // ain1 = "long in" 10869 public result_int reduce_my_long_13(Allocation ain1) { 10870 return reduce_my_long_13(ain1, null); 10871 } 10872 10873 // ain1 = "long in" 10874 public result_int reduce_my_long_13(Allocation ain1, Script.LaunchOptions sc) { 10875 // check ain1 10876 if (!ain1.getType().getElement().isCompatible(__I64)) { 10877 throw new RSRuntimeException("Type mismatch with I64!"); 10878 } 10879 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10880 aout.setAutoPadding(true); 10881 reduce(mExportReduceIdx_my_long_13, new Allocation[]{ain1}, aout, sc); 10882 return new result_int(aout); 10883 } 10884 10885 private final static int mExportReduceIdx_my_long_14 = 302; 10886 // in1 = "in" 10887 public result_int reduce_my_long_14(long[] in1) { 10888 // Verify that "in1" is non-null. 10889 if (in1 == null) { 10890 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10891 } 10892 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10893 ain1.setAutoPadding(true); 10894 ain1.copyFrom(in1); 10895 10896 result_int result = reduce_my_long_14(ain1, null); 10897 result.mTempIns = new Allocation[]{ain1}; 10898 return result; 10899 } 10900 10901 // ain1 = "long in" 10902 public result_int reduce_my_long_14(Allocation ain1) { 10903 return reduce_my_long_14(ain1, null); 10904 } 10905 10906 // ain1 = "long in" 10907 public result_int reduce_my_long_14(Allocation ain1, Script.LaunchOptions sc) { 10908 // check ain1 10909 if (!ain1.getType().getElement().isCompatible(__I64)) { 10910 throw new RSRuntimeException("Type mismatch with I64!"); 10911 } 10912 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10913 aout.setAutoPadding(true); 10914 reduce(mExportReduceIdx_my_long_14, new Allocation[]{ain1}, aout, sc); 10915 return new result_int(aout); 10916 } 10917 10918 private final static int mExportReduceIdx_my_long_15 = 303; 10919 // in1 = "in" 10920 public result_int reduce_my_long_15(long[] in1) { 10921 // Verify that "in1" is non-null. 10922 if (in1 == null) { 10923 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10924 } 10925 Allocation ain1 = Allocation.createSized(mRSLocal, __I64, in1.length); 10926 ain1.setAutoPadding(true); 10927 ain1.copyFrom(in1); 10928 10929 result_int result = reduce_my_long_15(ain1, null); 10930 result.mTempIns = new Allocation[]{ain1}; 10931 return result; 10932 } 10933 10934 // ain1 = "long in" 10935 public result_int reduce_my_long_15(Allocation ain1) { 10936 return reduce_my_long_15(ain1, null); 10937 } 10938 10939 // ain1 = "long in" 10940 public result_int reduce_my_long_15(Allocation ain1, Script.LaunchOptions sc) { 10941 // check ain1 10942 if (!ain1.getType().getElement().isCompatible(__I64)) { 10943 throw new RSRuntimeException("Type mismatch with I64!"); 10944 } 10945 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10946 aout.setAutoPadding(true); 10947 reduce(mExportReduceIdx_my_long_15, new Allocation[]{ain1}, aout, sc); 10948 return new result_int(aout); 10949 } 10950 10951 private final static int mExportReduceIdx_my_long2_0 = 304; 10952 // in1 = "in", flattened 2-vectors 10953 public result_int reduce_my_long2_0(long[] in1) { 10954 // Verify that "in1" is non-null. 10955 if (in1 == null) { 10956 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10957 } 10958 // Verify that the array length is a multiple of the vector size. 10959 if (in1.length % 2 != 0) { 10960 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 10961 } 10962 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 10963 ain1.setAutoPadding(true); 10964 ain1.copyFrom(in1); 10965 10966 result_int result = reduce_my_long2_0(ain1, null); 10967 result.mTempIns = new Allocation[]{ain1}; 10968 return result; 10969 } 10970 10971 // ain1 = "long2 in" 10972 public result_int reduce_my_long2_0(Allocation ain1) { 10973 return reduce_my_long2_0(ain1, null); 10974 } 10975 10976 // ain1 = "long2 in" 10977 public result_int reduce_my_long2_0(Allocation ain1, Script.LaunchOptions sc) { 10978 // check ain1 10979 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 10980 throw new RSRuntimeException("Type mismatch with I64_2!"); 10981 } 10982 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 10983 aout.setAutoPadding(true); 10984 reduce(mExportReduceIdx_my_long2_0, new Allocation[]{ain1}, aout, sc); 10985 return new result_int(aout); 10986 } 10987 10988 private final static int mExportReduceIdx_my_long2_1 = 305; 10989 // in1 = "in", flattened 2-vectors 10990 public result_int reduce_my_long2_1(long[] in1) { 10991 // Verify that "in1" is non-null. 10992 if (in1 == null) { 10993 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 10994 } 10995 // Verify that the array length is a multiple of the vector size. 10996 if (in1.length % 2 != 0) { 10997 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 10998 } 10999 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11000 ain1.setAutoPadding(true); 11001 ain1.copyFrom(in1); 11002 11003 result_int result = reduce_my_long2_1(ain1, null); 11004 result.mTempIns = new Allocation[]{ain1}; 11005 return result; 11006 } 11007 11008 // ain1 = "long2 in" 11009 public result_int reduce_my_long2_1(Allocation ain1) { 11010 return reduce_my_long2_1(ain1, null); 11011 } 11012 11013 // ain1 = "long2 in" 11014 public result_int reduce_my_long2_1(Allocation ain1, Script.LaunchOptions sc) { 11015 // check ain1 11016 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11017 throw new RSRuntimeException("Type mismatch with I64_2!"); 11018 } 11019 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11020 aout.setAutoPadding(true); 11021 reduce(mExportReduceIdx_my_long2_1, new Allocation[]{ain1}, aout, sc); 11022 return new result_int(aout); 11023 } 11024 11025 private final static int mExportReduceIdx_my_long2_2 = 306; 11026 // in1 = "in", flattened 2-vectors 11027 public result_int reduce_my_long2_2(long[] in1) { 11028 // Verify that "in1" is non-null. 11029 if (in1 == null) { 11030 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11031 } 11032 // Verify that the array length is a multiple of the vector size. 11033 if (in1.length % 2 != 0) { 11034 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11035 } 11036 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11037 ain1.setAutoPadding(true); 11038 ain1.copyFrom(in1); 11039 11040 result_int result = reduce_my_long2_2(ain1, null); 11041 result.mTempIns = new Allocation[]{ain1}; 11042 return result; 11043 } 11044 11045 // ain1 = "long2 in" 11046 public result_int reduce_my_long2_2(Allocation ain1) { 11047 return reduce_my_long2_2(ain1, null); 11048 } 11049 11050 // ain1 = "long2 in" 11051 public result_int reduce_my_long2_2(Allocation ain1, Script.LaunchOptions sc) { 11052 // check ain1 11053 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11054 throw new RSRuntimeException("Type mismatch with I64_2!"); 11055 } 11056 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11057 aout.setAutoPadding(true); 11058 reduce(mExportReduceIdx_my_long2_2, new Allocation[]{ain1}, aout, sc); 11059 return new result_int(aout); 11060 } 11061 11062 private final static int mExportReduceIdx_my_long2_3 = 307; 11063 // in1 = "in", flattened 2-vectors 11064 public result_int reduce_my_long2_3(long[] in1) { 11065 // Verify that "in1" is non-null. 11066 if (in1 == null) { 11067 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11068 } 11069 // Verify that the array length is a multiple of the vector size. 11070 if (in1.length % 2 != 0) { 11071 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11072 } 11073 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11074 ain1.setAutoPadding(true); 11075 ain1.copyFrom(in1); 11076 11077 result_int result = reduce_my_long2_3(ain1, null); 11078 result.mTempIns = new Allocation[]{ain1}; 11079 return result; 11080 } 11081 11082 // ain1 = "long2 in" 11083 public result_int reduce_my_long2_3(Allocation ain1) { 11084 return reduce_my_long2_3(ain1, null); 11085 } 11086 11087 // ain1 = "long2 in" 11088 public result_int reduce_my_long2_3(Allocation ain1, Script.LaunchOptions sc) { 11089 // check ain1 11090 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11091 throw new RSRuntimeException("Type mismatch with I64_2!"); 11092 } 11093 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11094 aout.setAutoPadding(true); 11095 reduce(mExportReduceIdx_my_long2_3, new Allocation[]{ain1}, aout, sc); 11096 return new result_int(aout); 11097 } 11098 11099 private final static int mExportReduceIdx_my_long2_4 = 308; 11100 // in1 = "in", flattened 2-vectors 11101 public result_int reduce_my_long2_4(long[] in1) { 11102 // Verify that "in1" is non-null. 11103 if (in1 == null) { 11104 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11105 } 11106 // Verify that the array length is a multiple of the vector size. 11107 if (in1.length % 2 != 0) { 11108 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11109 } 11110 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11111 ain1.setAutoPadding(true); 11112 ain1.copyFrom(in1); 11113 11114 result_int result = reduce_my_long2_4(ain1, null); 11115 result.mTempIns = new Allocation[]{ain1}; 11116 return result; 11117 } 11118 11119 // ain1 = "long2 in" 11120 public result_int reduce_my_long2_4(Allocation ain1) { 11121 return reduce_my_long2_4(ain1, null); 11122 } 11123 11124 // ain1 = "long2 in" 11125 public result_int reduce_my_long2_4(Allocation ain1, Script.LaunchOptions sc) { 11126 // check ain1 11127 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11128 throw new RSRuntimeException("Type mismatch with I64_2!"); 11129 } 11130 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11131 aout.setAutoPadding(true); 11132 reduce(mExportReduceIdx_my_long2_4, new Allocation[]{ain1}, aout, sc); 11133 return new result_int(aout); 11134 } 11135 11136 private final static int mExportReduceIdx_my_long2_5 = 309; 11137 // in1 = "in", flattened 2-vectors 11138 public result_int reduce_my_long2_5(long[] in1) { 11139 // Verify that "in1" is non-null. 11140 if (in1 == null) { 11141 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11142 } 11143 // Verify that the array length is a multiple of the vector size. 11144 if (in1.length % 2 != 0) { 11145 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11146 } 11147 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11148 ain1.setAutoPadding(true); 11149 ain1.copyFrom(in1); 11150 11151 result_int result = reduce_my_long2_5(ain1, null); 11152 result.mTempIns = new Allocation[]{ain1}; 11153 return result; 11154 } 11155 11156 // ain1 = "long2 in" 11157 public result_int reduce_my_long2_5(Allocation ain1) { 11158 return reduce_my_long2_5(ain1, null); 11159 } 11160 11161 // ain1 = "long2 in" 11162 public result_int reduce_my_long2_5(Allocation ain1, Script.LaunchOptions sc) { 11163 // check ain1 11164 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11165 throw new RSRuntimeException("Type mismatch with I64_2!"); 11166 } 11167 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11168 aout.setAutoPadding(true); 11169 reduce(mExportReduceIdx_my_long2_5, new Allocation[]{ain1}, aout, sc); 11170 return new result_int(aout); 11171 } 11172 11173 private final static int mExportReduceIdx_my_long2_6 = 310; 11174 // in1 = "in", flattened 2-vectors 11175 public result_int reduce_my_long2_6(long[] in1) { 11176 // Verify that "in1" is non-null. 11177 if (in1 == null) { 11178 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11179 } 11180 // Verify that the array length is a multiple of the vector size. 11181 if (in1.length % 2 != 0) { 11182 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11183 } 11184 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11185 ain1.setAutoPadding(true); 11186 ain1.copyFrom(in1); 11187 11188 result_int result = reduce_my_long2_6(ain1, null); 11189 result.mTempIns = new Allocation[]{ain1}; 11190 return result; 11191 } 11192 11193 // ain1 = "long2 in" 11194 public result_int reduce_my_long2_6(Allocation ain1) { 11195 return reduce_my_long2_6(ain1, null); 11196 } 11197 11198 // ain1 = "long2 in" 11199 public result_int reduce_my_long2_6(Allocation ain1, Script.LaunchOptions sc) { 11200 // check ain1 11201 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11202 throw new RSRuntimeException("Type mismatch with I64_2!"); 11203 } 11204 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11205 aout.setAutoPadding(true); 11206 reduce(mExportReduceIdx_my_long2_6, new Allocation[]{ain1}, aout, sc); 11207 return new result_int(aout); 11208 } 11209 11210 private final static int mExportReduceIdx_my_long2_7 = 311; 11211 // in1 = "in", flattened 2-vectors 11212 public result_int reduce_my_long2_7(long[] in1) { 11213 // Verify that "in1" is non-null. 11214 if (in1 == null) { 11215 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11216 } 11217 // Verify that the array length is a multiple of the vector size. 11218 if (in1.length % 2 != 0) { 11219 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11220 } 11221 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11222 ain1.setAutoPadding(true); 11223 ain1.copyFrom(in1); 11224 11225 result_int result = reduce_my_long2_7(ain1, null); 11226 result.mTempIns = new Allocation[]{ain1}; 11227 return result; 11228 } 11229 11230 // ain1 = "long2 in" 11231 public result_int reduce_my_long2_7(Allocation ain1) { 11232 return reduce_my_long2_7(ain1, null); 11233 } 11234 11235 // ain1 = "long2 in" 11236 public result_int reduce_my_long2_7(Allocation ain1, Script.LaunchOptions sc) { 11237 // check ain1 11238 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11239 throw new RSRuntimeException("Type mismatch with I64_2!"); 11240 } 11241 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11242 aout.setAutoPadding(true); 11243 reduce(mExportReduceIdx_my_long2_7, new Allocation[]{ain1}, aout, sc); 11244 return new result_int(aout); 11245 } 11246 11247 private final static int mExportReduceIdx_my_long2_8 = 312; 11248 // in1 = "in", flattened 2-vectors 11249 public result_int reduce_my_long2_8(long[] in1) { 11250 // Verify that "in1" is non-null. 11251 if (in1 == null) { 11252 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11253 } 11254 // Verify that the array length is a multiple of the vector size. 11255 if (in1.length % 2 != 0) { 11256 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11257 } 11258 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11259 ain1.setAutoPadding(true); 11260 ain1.copyFrom(in1); 11261 11262 result_int result = reduce_my_long2_8(ain1, null); 11263 result.mTempIns = new Allocation[]{ain1}; 11264 return result; 11265 } 11266 11267 // ain1 = "long2 in" 11268 public result_int reduce_my_long2_8(Allocation ain1) { 11269 return reduce_my_long2_8(ain1, null); 11270 } 11271 11272 // ain1 = "long2 in" 11273 public result_int reduce_my_long2_8(Allocation ain1, Script.LaunchOptions sc) { 11274 // check ain1 11275 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11276 throw new RSRuntimeException("Type mismatch with I64_2!"); 11277 } 11278 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11279 aout.setAutoPadding(true); 11280 reduce(mExportReduceIdx_my_long2_8, new Allocation[]{ain1}, aout, sc); 11281 return new result_int(aout); 11282 } 11283 11284 private final static int mExportReduceIdx_my_long2_9 = 313; 11285 // in1 = "in", flattened 2-vectors 11286 public result_int reduce_my_long2_9(long[] in1) { 11287 // Verify that "in1" is non-null. 11288 if (in1 == null) { 11289 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11290 } 11291 // Verify that the array length is a multiple of the vector size. 11292 if (in1.length % 2 != 0) { 11293 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11294 } 11295 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11296 ain1.setAutoPadding(true); 11297 ain1.copyFrom(in1); 11298 11299 result_int result = reduce_my_long2_9(ain1, null); 11300 result.mTempIns = new Allocation[]{ain1}; 11301 return result; 11302 } 11303 11304 // ain1 = "long2 in" 11305 public result_int reduce_my_long2_9(Allocation ain1) { 11306 return reduce_my_long2_9(ain1, null); 11307 } 11308 11309 // ain1 = "long2 in" 11310 public result_int reduce_my_long2_9(Allocation ain1, Script.LaunchOptions sc) { 11311 // check ain1 11312 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11313 throw new RSRuntimeException("Type mismatch with I64_2!"); 11314 } 11315 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11316 aout.setAutoPadding(true); 11317 reduce(mExportReduceIdx_my_long2_9, new Allocation[]{ain1}, aout, sc); 11318 return new result_int(aout); 11319 } 11320 11321 private final static int mExportReduceIdx_my_long2_10 = 314; 11322 // in1 = "in", flattened 2-vectors 11323 public result_int reduce_my_long2_10(long[] in1) { 11324 // Verify that "in1" is non-null. 11325 if (in1 == null) { 11326 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11327 } 11328 // Verify that the array length is a multiple of the vector size. 11329 if (in1.length % 2 != 0) { 11330 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11331 } 11332 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11333 ain1.setAutoPadding(true); 11334 ain1.copyFrom(in1); 11335 11336 result_int result = reduce_my_long2_10(ain1, null); 11337 result.mTempIns = new Allocation[]{ain1}; 11338 return result; 11339 } 11340 11341 // ain1 = "long2 in" 11342 public result_int reduce_my_long2_10(Allocation ain1) { 11343 return reduce_my_long2_10(ain1, null); 11344 } 11345 11346 // ain1 = "long2 in" 11347 public result_int reduce_my_long2_10(Allocation ain1, Script.LaunchOptions sc) { 11348 // check ain1 11349 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11350 throw new RSRuntimeException("Type mismatch with I64_2!"); 11351 } 11352 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11353 aout.setAutoPadding(true); 11354 reduce(mExportReduceIdx_my_long2_10, new Allocation[]{ain1}, aout, sc); 11355 return new result_int(aout); 11356 } 11357 11358 private final static int mExportReduceIdx_my_long2_11 = 315; 11359 // in1 = "in", flattened 2-vectors 11360 public result_int reduce_my_long2_11(long[] in1) { 11361 // Verify that "in1" is non-null. 11362 if (in1 == null) { 11363 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11364 } 11365 // Verify that the array length is a multiple of the vector size. 11366 if (in1.length % 2 != 0) { 11367 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11368 } 11369 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11370 ain1.setAutoPadding(true); 11371 ain1.copyFrom(in1); 11372 11373 result_int result = reduce_my_long2_11(ain1, null); 11374 result.mTempIns = new Allocation[]{ain1}; 11375 return result; 11376 } 11377 11378 // ain1 = "long2 in" 11379 public result_int reduce_my_long2_11(Allocation ain1) { 11380 return reduce_my_long2_11(ain1, null); 11381 } 11382 11383 // ain1 = "long2 in" 11384 public result_int reduce_my_long2_11(Allocation ain1, Script.LaunchOptions sc) { 11385 // check ain1 11386 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11387 throw new RSRuntimeException("Type mismatch with I64_2!"); 11388 } 11389 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11390 aout.setAutoPadding(true); 11391 reduce(mExportReduceIdx_my_long2_11, new Allocation[]{ain1}, aout, sc); 11392 return new result_int(aout); 11393 } 11394 11395 private final static int mExportReduceIdx_my_long2_12 = 316; 11396 // in1 = "in", flattened 2-vectors 11397 public result_int reduce_my_long2_12(long[] in1) { 11398 // Verify that "in1" is non-null. 11399 if (in1 == null) { 11400 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11401 } 11402 // Verify that the array length is a multiple of the vector size. 11403 if (in1.length % 2 != 0) { 11404 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11405 } 11406 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11407 ain1.setAutoPadding(true); 11408 ain1.copyFrom(in1); 11409 11410 result_int result = reduce_my_long2_12(ain1, null); 11411 result.mTempIns = new Allocation[]{ain1}; 11412 return result; 11413 } 11414 11415 // ain1 = "long2 in" 11416 public result_int reduce_my_long2_12(Allocation ain1) { 11417 return reduce_my_long2_12(ain1, null); 11418 } 11419 11420 // ain1 = "long2 in" 11421 public result_int reduce_my_long2_12(Allocation ain1, Script.LaunchOptions sc) { 11422 // check ain1 11423 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11424 throw new RSRuntimeException("Type mismatch with I64_2!"); 11425 } 11426 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11427 aout.setAutoPadding(true); 11428 reduce(mExportReduceIdx_my_long2_12, new Allocation[]{ain1}, aout, sc); 11429 return new result_int(aout); 11430 } 11431 11432 private final static int mExportReduceIdx_my_long2_13 = 317; 11433 // in1 = "in", flattened 2-vectors 11434 public result_int reduce_my_long2_13(long[] in1) { 11435 // Verify that "in1" is non-null. 11436 if (in1 == null) { 11437 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11438 } 11439 // Verify that the array length is a multiple of the vector size. 11440 if (in1.length % 2 != 0) { 11441 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11442 } 11443 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11444 ain1.setAutoPadding(true); 11445 ain1.copyFrom(in1); 11446 11447 result_int result = reduce_my_long2_13(ain1, null); 11448 result.mTempIns = new Allocation[]{ain1}; 11449 return result; 11450 } 11451 11452 // ain1 = "long2 in" 11453 public result_int reduce_my_long2_13(Allocation ain1) { 11454 return reduce_my_long2_13(ain1, null); 11455 } 11456 11457 // ain1 = "long2 in" 11458 public result_int reduce_my_long2_13(Allocation ain1, Script.LaunchOptions sc) { 11459 // check ain1 11460 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11461 throw new RSRuntimeException("Type mismatch with I64_2!"); 11462 } 11463 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11464 aout.setAutoPadding(true); 11465 reduce(mExportReduceIdx_my_long2_13, new Allocation[]{ain1}, aout, sc); 11466 return new result_int(aout); 11467 } 11468 11469 private final static int mExportReduceIdx_my_long2_14 = 318; 11470 // in1 = "in", flattened 2-vectors 11471 public result_int reduce_my_long2_14(long[] in1) { 11472 // Verify that "in1" is non-null. 11473 if (in1 == null) { 11474 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11475 } 11476 // Verify that the array length is a multiple of the vector size. 11477 if (in1.length % 2 != 0) { 11478 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11479 } 11480 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11481 ain1.setAutoPadding(true); 11482 ain1.copyFrom(in1); 11483 11484 result_int result = reduce_my_long2_14(ain1, null); 11485 result.mTempIns = new Allocation[]{ain1}; 11486 return result; 11487 } 11488 11489 // ain1 = "long2 in" 11490 public result_int reduce_my_long2_14(Allocation ain1) { 11491 return reduce_my_long2_14(ain1, null); 11492 } 11493 11494 // ain1 = "long2 in" 11495 public result_int reduce_my_long2_14(Allocation ain1, Script.LaunchOptions sc) { 11496 // check ain1 11497 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11498 throw new RSRuntimeException("Type mismatch with I64_2!"); 11499 } 11500 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11501 aout.setAutoPadding(true); 11502 reduce(mExportReduceIdx_my_long2_14, new Allocation[]{ain1}, aout, sc); 11503 return new result_int(aout); 11504 } 11505 11506 private final static int mExportReduceIdx_my_long2_15 = 319; 11507 // in1 = "in", flattened 2-vectors 11508 public result_int reduce_my_long2_15(long[] in1) { 11509 // Verify that "in1" is non-null. 11510 if (in1 == null) { 11511 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11512 } 11513 // Verify that the array length is a multiple of the vector size. 11514 if (in1.length % 2 != 0) { 11515 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 11516 } 11517 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_2, in1.length / 2); 11518 ain1.setAutoPadding(true); 11519 ain1.copyFrom(in1); 11520 11521 result_int result = reduce_my_long2_15(ain1, null); 11522 result.mTempIns = new Allocation[]{ain1}; 11523 return result; 11524 } 11525 11526 // ain1 = "long2 in" 11527 public result_int reduce_my_long2_15(Allocation ain1) { 11528 return reduce_my_long2_15(ain1, null); 11529 } 11530 11531 // ain1 = "long2 in" 11532 public result_int reduce_my_long2_15(Allocation ain1, Script.LaunchOptions sc) { 11533 // check ain1 11534 if (!ain1.getType().getElement().isCompatible(__I64_2)) { 11535 throw new RSRuntimeException("Type mismatch with I64_2!"); 11536 } 11537 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11538 aout.setAutoPadding(true); 11539 reduce(mExportReduceIdx_my_long2_15, new Allocation[]{ain1}, aout, sc); 11540 return new result_int(aout); 11541 } 11542 11543 private final static int mExportReduceIdx_my_long4_0 = 320; 11544 // in1 = "in", flattened 4-vectors 11545 public result_int reduce_my_long4_0(long[] in1) { 11546 // Verify that "in1" is non-null. 11547 if (in1 == null) { 11548 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11549 } 11550 // Verify that the array length is a multiple of the vector size. 11551 if (in1.length % 4 != 0) { 11552 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11553 } 11554 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11555 ain1.setAutoPadding(true); 11556 ain1.copyFrom(in1); 11557 11558 result_int result = reduce_my_long4_0(ain1, null); 11559 result.mTempIns = new Allocation[]{ain1}; 11560 return result; 11561 } 11562 11563 // ain1 = "long4 in" 11564 public result_int reduce_my_long4_0(Allocation ain1) { 11565 return reduce_my_long4_0(ain1, null); 11566 } 11567 11568 // ain1 = "long4 in" 11569 public result_int reduce_my_long4_0(Allocation ain1, Script.LaunchOptions sc) { 11570 // check ain1 11571 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11572 throw new RSRuntimeException("Type mismatch with I64_4!"); 11573 } 11574 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11575 aout.setAutoPadding(true); 11576 reduce(mExportReduceIdx_my_long4_0, new Allocation[]{ain1}, aout, sc); 11577 return new result_int(aout); 11578 } 11579 11580 private final static int mExportReduceIdx_my_long4_1 = 321; 11581 // in1 = "in", flattened 4-vectors 11582 public result_int reduce_my_long4_1(long[] in1) { 11583 // Verify that "in1" is non-null. 11584 if (in1 == null) { 11585 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11586 } 11587 // Verify that the array length is a multiple of the vector size. 11588 if (in1.length % 4 != 0) { 11589 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11590 } 11591 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11592 ain1.setAutoPadding(true); 11593 ain1.copyFrom(in1); 11594 11595 result_int result = reduce_my_long4_1(ain1, null); 11596 result.mTempIns = new Allocation[]{ain1}; 11597 return result; 11598 } 11599 11600 // ain1 = "long4 in" 11601 public result_int reduce_my_long4_1(Allocation ain1) { 11602 return reduce_my_long4_1(ain1, null); 11603 } 11604 11605 // ain1 = "long4 in" 11606 public result_int reduce_my_long4_1(Allocation ain1, Script.LaunchOptions sc) { 11607 // check ain1 11608 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11609 throw new RSRuntimeException("Type mismatch with I64_4!"); 11610 } 11611 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11612 aout.setAutoPadding(true); 11613 reduce(mExportReduceIdx_my_long4_1, new Allocation[]{ain1}, aout, sc); 11614 return new result_int(aout); 11615 } 11616 11617 private final static int mExportReduceIdx_my_long4_2 = 322; 11618 // in1 = "in", flattened 4-vectors 11619 public result_int reduce_my_long4_2(long[] in1) { 11620 // Verify that "in1" is non-null. 11621 if (in1 == null) { 11622 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11623 } 11624 // Verify that the array length is a multiple of the vector size. 11625 if (in1.length % 4 != 0) { 11626 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11627 } 11628 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11629 ain1.setAutoPadding(true); 11630 ain1.copyFrom(in1); 11631 11632 result_int result = reduce_my_long4_2(ain1, null); 11633 result.mTempIns = new Allocation[]{ain1}; 11634 return result; 11635 } 11636 11637 // ain1 = "long4 in" 11638 public result_int reduce_my_long4_2(Allocation ain1) { 11639 return reduce_my_long4_2(ain1, null); 11640 } 11641 11642 // ain1 = "long4 in" 11643 public result_int reduce_my_long4_2(Allocation ain1, Script.LaunchOptions sc) { 11644 // check ain1 11645 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11646 throw new RSRuntimeException("Type mismatch with I64_4!"); 11647 } 11648 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11649 aout.setAutoPadding(true); 11650 reduce(mExportReduceIdx_my_long4_2, new Allocation[]{ain1}, aout, sc); 11651 return new result_int(aout); 11652 } 11653 11654 private final static int mExportReduceIdx_my_long4_3 = 323; 11655 // in1 = "in", flattened 4-vectors 11656 public result_int reduce_my_long4_3(long[] in1) { 11657 // Verify that "in1" is non-null. 11658 if (in1 == null) { 11659 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11660 } 11661 // Verify that the array length is a multiple of the vector size. 11662 if (in1.length % 4 != 0) { 11663 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11664 } 11665 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11666 ain1.setAutoPadding(true); 11667 ain1.copyFrom(in1); 11668 11669 result_int result = reduce_my_long4_3(ain1, null); 11670 result.mTempIns = new Allocation[]{ain1}; 11671 return result; 11672 } 11673 11674 // ain1 = "long4 in" 11675 public result_int reduce_my_long4_3(Allocation ain1) { 11676 return reduce_my_long4_3(ain1, null); 11677 } 11678 11679 // ain1 = "long4 in" 11680 public result_int reduce_my_long4_3(Allocation ain1, Script.LaunchOptions sc) { 11681 // check ain1 11682 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11683 throw new RSRuntimeException("Type mismatch with I64_4!"); 11684 } 11685 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11686 aout.setAutoPadding(true); 11687 reduce(mExportReduceIdx_my_long4_3, new Allocation[]{ain1}, aout, sc); 11688 return new result_int(aout); 11689 } 11690 11691 private final static int mExportReduceIdx_my_long4_4 = 324; 11692 // in1 = "in", flattened 4-vectors 11693 public result_int reduce_my_long4_4(long[] in1) { 11694 // Verify that "in1" is non-null. 11695 if (in1 == null) { 11696 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11697 } 11698 // Verify that the array length is a multiple of the vector size. 11699 if (in1.length % 4 != 0) { 11700 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11701 } 11702 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11703 ain1.setAutoPadding(true); 11704 ain1.copyFrom(in1); 11705 11706 result_int result = reduce_my_long4_4(ain1, null); 11707 result.mTempIns = new Allocation[]{ain1}; 11708 return result; 11709 } 11710 11711 // ain1 = "long4 in" 11712 public result_int reduce_my_long4_4(Allocation ain1) { 11713 return reduce_my_long4_4(ain1, null); 11714 } 11715 11716 // ain1 = "long4 in" 11717 public result_int reduce_my_long4_4(Allocation ain1, Script.LaunchOptions sc) { 11718 // check ain1 11719 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11720 throw new RSRuntimeException("Type mismatch with I64_4!"); 11721 } 11722 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11723 aout.setAutoPadding(true); 11724 reduce(mExportReduceIdx_my_long4_4, new Allocation[]{ain1}, aout, sc); 11725 return new result_int(aout); 11726 } 11727 11728 private final static int mExportReduceIdx_my_long4_5 = 325; 11729 // in1 = "in", flattened 4-vectors 11730 public result_int reduce_my_long4_5(long[] in1) { 11731 // Verify that "in1" is non-null. 11732 if (in1 == null) { 11733 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11734 } 11735 // Verify that the array length is a multiple of the vector size. 11736 if (in1.length % 4 != 0) { 11737 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11738 } 11739 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11740 ain1.setAutoPadding(true); 11741 ain1.copyFrom(in1); 11742 11743 result_int result = reduce_my_long4_5(ain1, null); 11744 result.mTempIns = new Allocation[]{ain1}; 11745 return result; 11746 } 11747 11748 // ain1 = "long4 in" 11749 public result_int reduce_my_long4_5(Allocation ain1) { 11750 return reduce_my_long4_5(ain1, null); 11751 } 11752 11753 // ain1 = "long4 in" 11754 public result_int reduce_my_long4_5(Allocation ain1, Script.LaunchOptions sc) { 11755 // check ain1 11756 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11757 throw new RSRuntimeException("Type mismatch with I64_4!"); 11758 } 11759 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11760 aout.setAutoPadding(true); 11761 reduce(mExportReduceIdx_my_long4_5, new Allocation[]{ain1}, aout, sc); 11762 return new result_int(aout); 11763 } 11764 11765 private final static int mExportReduceIdx_my_long4_6 = 326; 11766 // in1 = "in", flattened 4-vectors 11767 public result_int reduce_my_long4_6(long[] in1) { 11768 // Verify that "in1" is non-null. 11769 if (in1 == null) { 11770 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11771 } 11772 // Verify that the array length is a multiple of the vector size. 11773 if (in1.length % 4 != 0) { 11774 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11775 } 11776 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11777 ain1.setAutoPadding(true); 11778 ain1.copyFrom(in1); 11779 11780 result_int result = reduce_my_long4_6(ain1, null); 11781 result.mTempIns = new Allocation[]{ain1}; 11782 return result; 11783 } 11784 11785 // ain1 = "long4 in" 11786 public result_int reduce_my_long4_6(Allocation ain1) { 11787 return reduce_my_long4_6(ain1, null); 11788 } 11789 11790 // ain1 = "long4 in" 11791 public result_int reduce_my_long4_6(Allocation ain1, Script.LaunchOptions sc) { 11792 // check ain1 11793 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11794 throw new RSRuntimeException("Type mismatch with I64_4!"); 11795 } 11796 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11797 aout.setAutoPadding(true); 11798 reduce(mExportReduceIdx_my_long4_6, new Allocation[]{ain1}, aout, sc); 11799 return new result_int(aout); 11800 } 11801 11802 private final static int mExportReduceIdx_my_long4_7 = 327; 11803 // in1 = "in", flattened 4-vectors 11804 public result_int reduce_my_long4_7(long[] in1) { 11805 // Verify that "in1" is non-null. 11806 if (in1 == null) { 11807 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11808 } 11809 // Verify that the array length is a multiple of the vector size. 11810 if (in1.length % 4 != 0) { 11811 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11812 } 11813 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11814 ain1.setAutoPadding(true); 11815 ain1.copyFrom(in1); 11816 11817 result_int result = reduce_my_long4_7(ain1, null); 11818 result.mTempIns = new Allocation[]{ain1}; 11819 return result; 11820 } 11821 11822 // ain1 = "long4 in" 11823 public result_int reduce_my_long4_7(Allocation ain1) { 11824 return reduce_my_long4_7(ain1, null); 11825 } 11826 11827 // ain1 = "long4 in" 11828 public result_int reduce_my_long4_7(Allocation ain1, Script.LaunchOptions sc) { 11829 // check ain1 11830 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11831 throw new RSRuntimeException("Type mismatch with I64_4!"); 11832 } 11833 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11834 aout.setAutoPadding(true); 11835 reduce(mExportReduceIdx_my_long4_7, new Allocation[]{ain1}, aout, sc); 11836 return new result_int(aout); 11837 } 11838 11839 private final static int mExportReduceIdx_my_long4_8 = 328; 11840 // in1 = "in", flattened 4-vectors 11841 public result_int reduce_my_long4_8(long[] in1) { 11842 // Verify that "in1" is non-null. 11843 if (in1 == null) { 11844 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11845 } 11846 // Verify that the array length is a multiple of the vector size. 11847 if (in1.length % 4 != 0) { 11848 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11849 } 11850 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11851 ain1.setAutoPadding(true); 11852 ain1.copyFrom(in1); 11853 11854 result_int result = reduce_my_long4_8(ain1, null); 11855 result.mTempIns = new Allocation[]{ain1}; 11856 return result; 11857 } 11858 11859 // ain1 = "long4 in" 11860 public result_int reduce_my_long4_8(Allocation ain1) { 11861 return reduce_my_long4_8(ain1, null); 11862 } 11863 11864 // ain1 = "long4 in" 11865 public result_int reduce_my_long4_8(Allocation ain1, Script.LaunchOptions sc) { 11866 // check ain1 11867 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11868 throw new RSRuntimeException("Type mismatch with I64_4!"); 11869 } 11870 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11871 aout.setAutoPadding(true); 11872 reduce(mExportReduceIdx_my_long4_8, new Allocation[]{ain1}, aout, sc); 11873 return new result_int(aout); 11874 } 11875 11876 private final static int mExportReduceIdx_my_long4_9 = 329; 11877 // in1 = "in", flattened 4-vectors 11878 public result_int reduce_my_long4_9(long[] in1) { 11879 // Verify that "in1" is non-null. 11880 if (in1 == null) { 11881 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11882 } 11883 // Verify that the array length is a multiple of the vector size. 11884 if (in1.length % 4 != 0) { 11885 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11886 } 11887 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11888 ain1.setAutoPadding(true); 11889 ain1.copyFrom(in1); 11890 11891 result_int result = reduce_my_long4_9(ain1, null); 11892 result.mTempIns = new Allocation[]{ain1}; 11893 return result; 11894 } 11895 11896 // ain1 = "long4 in" 11897 public result_int reduce_my_long4_9(Allocation ain1) { 11898 return reduce_my_long4_9(ain1, null); 11899 } 11900 11901 // ain1 = "long4 in" 11902 public result_int reduce_my_long4_9(Allocation ain1, Script.LaunchOptions sc) { 11903 // check ain1 11904 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11905 throw new RSRuntimeException("Type mismatch with I64_4!"); 11906 } 11907 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11908 aout.setAutoPadding(true); 11909 reduce(mExportReduceIdx_my_long4_9, new Allocation[]{ain1}, aout, sc); 11910 return new result_int(aout); 11911 } 11912 11913 private final static int mExportReduceIdx_my_long4_10 = 330; 11914 // in1 = "in", flattened 4-vectors 11915 public result_int reduce_my_long4_10(long[] in1) { 11916 // Verify that "in1" is non-null. 11917 if (in1 == null) { 11918 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11919 } 11920 // Verify that the array length is a multiple of the vector size. 11921 if (in1.length % 4 != 0) { 11922 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11923 } 11924 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11925 ain1.setAutoPadding(true); 11926 ain1.copyFrom(in1); 11927 11928 result_int result = reduce_my_long4_10(ain1, null); 11929 result.mTempIns = new Allocation[]{ain1}; 11930 return result; 11931 } 11932 11933 // ain1 = "long4 in" 11934 public result_int reduce_my_long4_10(Allocation ain1) { 11935 return reduce_my_long4_10(ain1, null); 11936 } 11937 11938 // ain1 = "long4 in" 11939 public result_int reduce_my_long4_10(Allocation ain1, Script.LaunchOptions sc) { 11940 // check ain1 11941 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11942 throw new RSRuntimeException("Type mismatch with I64_4!"); 11943 } 11944 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11945 aout.setAutoPadding(true); 11946 reduce(mExportReduceIdx_my_long4_10, new Allocation[]{ain1}, aout, sc); 11947 return new result_int(aout); 11948 } 11949 11950 private final static int mExportReduceIdx_my_long4_11 = 331; 11951 // in1 = "in", flattened 4-vectors 11952 public result_int reduce_my_long4_11(long[] in1) { 11953 // Verify that "in1" is non-null. 11954 if (in1 == null) { 11955 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11956 } 11957 // Verify that the array length is a multiple of the vector size. 11958 if (in1.length % 4 != 0) { 11959 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11960 } 11961 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11962 ain1.setAutoPadding(true); 11963 ain1.copyFrom(in1); 11964 11965 result_int result = reduce_my_long4_11(ain1, null); 11966 result.mTempIns = new Allocation[]{ain1}; 11967 return result; 11968 } 11969 11970 // ain1 = "long4 in" 11971 public result_int reduce_my_long4_11(Allocation ain1) { 11972 return reduce_my_long4_11(ain1, null); 11973 } 11974 11975 // ain1 = "long4 in" 11976 public result_int reduce_my_long4_11(Allocation ain1, Script.LaunchOptions sc) { 11977 // check ain1 11978 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 11979 throw new RSRuntimeException("Type mismatch with I64_4!"); 11980 } 11981 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 11982 aout.setAutoPadding(true); 11983 reduce(mExportReduceIdx_my_long4_11, new Allocation[]{ain1}, aout, sc); 11984 return new result_int(aout); 11985 } 11986 11987 private final static int mExportReduceIdx_my_long4_12 = 332; 11988 // in1 = "in", flattened 4-vectors 11989 public result_int reduce_my_long4_12(long[] in1) { 11990 // Verify that "in1" is non-null. 11991 if (in1 == null) { 11992 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 11993 } 11994 // Verify that the array length is a multiple of the vector size. 11995 if (in1.length % 4 != 0) { 11996 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 11997 } 11998 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 11999 ain1.setAutoPadding(true); 12000 ain1.copyFrom(in1); 12001 12002 result_int result = reduce_my_long4_12(ain1, null); 12003 result.mTempIns = new Allocation[]{ain1}; 12004 return result; 12005 } 12006 12007 // ain1 = "long4 in" 12008 public result_int reduce_my_long4_12(Allocation ain1) { 12009 return reduce_my_long4_12(ain1, null); 12010 } 12011 12012 // ain1 = "long4 in" 12013 public result_int reduce_my_long4_12(Allocation ain1, Script.LaunchOptions sc) { 12014 // check ain1 12015 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 12016 throw new RSRuntimeException("Type mismatch with I64_4!"); 12017 } 12018 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12019 aout.setAutoPadding(true); 12020 reduce(mExportReduceIdx_my_long4_12, new Allocation[]{ain1}, aout, sc); 12021 return new result_int(aout); 12022 } 12023 12024 private final static int mExportReduceIdx_my_long4_13 = 333; 12025 // in1 = "in", flattened 4-vectors 12026 public result_int reduce_my_long4_13(long[] in1) { 12027 // Verify that "in1" is non-null. 12028 if (in1 == null) { 12029 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12030 } 12031 // Verify that the array length is a multiple of the vector size. 12032 if (in1.length % 4 != 0) { 12033 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 12034 } 12035 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 12036 ain1.setAutoPadding(true); 12037 ain1.copyFrom(in1); 12038 12039 result_int result = reduce_my_long4_13(ain1, null); 12040 result.mTempIns = new Allocation[]{ain1}; 12041 return result; 12042 } 12043 12044 // ain1 = "long4 in" 12045 public result_int reduce_my_long4_13(Allocation ain1) { 12046 return reduce_my_long4_13(ain1, null); 12047 } 12048 12049 // ain1 = "long4 in" 12050 public result_int reduce_my_long4_13(Allocation ain1, Script.LaunchOptions sc) { 12051 // check ain1 12052 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 12053 throw new RSRuntimeException("Type mismatch with I64_4!"); 12054 } 12055 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12056 aout.setAutoPadding(true); 12057 reduce(mExportReduceIdx_my_long4_13, new Allocation[]{ain1}, aout, sc); 12058 return new result_int(aout); 12059 } 12060 12061 private final static int mExportReduceIdx_my_long4_14 = 334; 12062 // in1 = "in", flattened 4-vectors 12063 public result_int reduce_my_long4_14(long[] in1) { 12064 // Verify that "in1" is non-null. 12065 if (in1 == null) { 12066 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12067 } 12068 // Verify that the array length is a multiple of the vector size. 12069 if (in1.length % 4 != 0) { 12070 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 12071 } 12072 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 12073 ain1.setAutoPadding(true); 12074 ain1.copyFrom(in1); 12075 12076 result_int result = reduce_my_long4_14(ain1, null); 12077 result.mTempIns = new Allocation[]{ain1}; 12078 return result; 12079 } 12080 12081 // ain1 = "long4 in" 12082 public result_int reduce_my_long4_14(Allocation ain1) { 12083 return reduce_my_long4_14(ain1, null); 12084 } 12085 12086 // ain1 = "long4 in" 12087 public result_int reduce_my_long4_14(Allocation ain1, Script.LaunchOptions sc) { 12088 // check ain1 12089 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 12090 throw new RSRuntimeException("Type mismatch with I64_4!"); 12091 } 12092 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12093 aout.setAutoPadding(true); 12094 reduce(mExportReduceIdx_my_long4_14, new Allocation[]{ain1}, aout, sc); 12095 return new result_int(aout); 12096 } 12097 12098 private final static int mExportReduceIdx_my_long4_15 = 335; 12099 // in1 = "in", flattened 4-vectors 12100 public result_int reduce_my_long4_15(long[] in1) { 12101 // Verify that "in1" is non-null. 12102 if (in1 == null) { 12103 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12104 } 12105 // Verify that the array length is a multiple of the vector size. 12106 if (in1.length % 4 != 0) { 12107 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 12108 } 12109 Allocation ain1 = Allocation.createSized(mRSLocal, __I64_4, in1.length / 4); 12110 ain1.setAutoPadding(true); 12111 ain1.copyFrom(in1); 12112 12113 result_int result = reduce_my_long4_15(ain1, null); 12114 result.mTempIns = new Allocation[]{ain1}; 12115 return result; 12116 } 12117 12118 // ain1 = "long4 in" 12119 public result_int reduce_my_long4_15(Allocation ain1) { 12120 return reduce_my_long4_15(ain1, null); 12121 } 12122 12123 // ain1 = "long4 in" 12124 public result_int reduce_my_long4_15(Allocation ain1, Script.LaunchOptions sc) { 12125 // check ain1 12126 if (!ain1.getType().getElement().isCompatible(__I64_4)) { 12127 throw new RSRuntimeException("Type mismatch with I64_4!"); 12128 } 12129 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12130 aout.setAutoPadding(true); 12131 reduce(mExportReduceIdx_my_long4_15, new Allocation[]{ain1}, aout, sc); 12132 return new result_int(aout); 12133 } 12134 12135 private final static int mExportReduceIdx_my_uchar_0 = 336; 12136 // in1 = "in" 12137 public result_int reduce_my_uchar_0(byte[] in1) { 12138 // Verify that "in1" is non-null. 12139 if (in1 == null) { 12140 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12141 } 12142 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12143 ain1.setAutoPadding(true); 12144 ain1.copyFrom(in1); 12145 12146 result_int result = reduce_my_uchar_0(ain1, null); 12147 result.mTempIns = new Allocation[]{ain1}; 12148 return result; 12149 } 12150 12151 // ain1 = "uchar in" 12152 public result_int reduce_my_uchar_0(Allocation ain1) { 12153 return reduce_my_uchar_0(ain1, null); 12154 } 12155 12156 // ain1 = "uchar in" 12157 public result_int reduce_my_uchar_0(Allocation ain1, Script.LaunchOptions sc) { 12158 // check ain1 12159 if (!ain1.getType().getElement().isCompatible(__U8)) { 12160 throw new RSRuntimeException("Type mismatch with U8!"); 12161 } 12162 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12163 aout.setAutoPadding(true); 12164 reduce(mExportReduceIdx_my_uchar_0, new Allocation[]{ain1}, aout, sc); 12165 return new result_int(aout); 12166 } 12167 12168 private final static int mExportReduceIdx_my_uchar_1 = 337; 12169 // in1 = "in" 12170 public result_int reduce_my_uchar_1(byte[] in1) { 12171 // Verify that "in1" is non-null. 12172 if (in1 == null) { 12173 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12174 } 12175 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12176 ain1.setAutoPadding(true); 12177 ain1.copyFrom(in1); 12178 12179 result_int result = reduce_my_uchar_1(ain1, null); 12180 result.mTempIns = new Allocation[]{ain1}; 12181 return result; 12182 } 12183 12184 // ain1 = "uchar in" 12185 public result_int reduce_my_uchar_1(Allocation ain1) { 12186 return reduce_my_uchar_1(ain1, null); 12187 } 12188 12189 // ain1 = "uchar in" 12190 public result_int reduce_my_uchar_1(Allocation ain1, Script.LaunchOptions sc) { 12191 // check ain1 12192 if (!ain1.getType().getElement().isCompatible(__U8)) { 12193 throw new RSRuntimeException("Type mismatch with U8!"); 12194 } 12195 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12196 aout.setAutoPadding(true); 12197 reduce(mExportReduceIdx_my_uchar_1, new Allocation[]{ain1}, aout, sc); 12198 return new result_int(aout); 12199 } 12200 12201 private final static int mExportReduceIdx_my_uchar_2 = 338; 12202 // in1 = "in" 12203 public result_int reduce_my_uchar_2(byte[] in1) { 12204 // Verify that "in1" is non-null. 12205 if (in1 == null) { 12206 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12207 } 12208 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12209 ain1.setAutoPadding(true); 12210 ain1.copyFrom(in1); 12211 12212 result_int result = reduce_my_uchar_2(ain1, null); 12213 result.mTempIns = new Allocation[]{ain1}; 12214 return result; 12215 } 12216 12217 // ain1 = "uchar in" 12218 public result_int reduce_my_uchar_2(Allocation ain1) { 12219 return reduce_my_uchar_2(ain1, null); 12220 } 12221 12222 // ain1 = "uchar in" 12223 public result_int reduce_my_uchar_2(Allocation ain1, Script.LaunchOptions sc) { 12224 // check ain1 12225 if (!ain1.getType().getElement().isCompatible(__U8)) { 12226 throw new RSRuntimeException("Type mismatch with U8!"); 12227 } 12228 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12229 aout.setAutoPadding(true); 12230 reduce(mExportReduceIdx_my_uchar_2, new Allocation[]{ain1}, aout, sc); 12231 return new result_int(aout); 12232 } 12233 12234 private final static int mExportReduceIdx_my_uchar_3 = 339; 12235 // in1 = "in" 12236 public result_int reduce_my_uchar_3(byte[] in1) { 12237 // Verify that "in1" is non-null. 12238 if (in1 == null) { 12239 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12240 } 12241 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12242 ain1.setAutoPadding(true); 12243 ain1.copyFrom(in1); 12244 12245 result_int result = reduce_my_uchar_3(ain1, null); 12246 result.mTempIns = new Allocation[]{ain1}; 12247 return result; 12248 } 12249 12250 // ain1 = "uchar in" 12251 public result_int reduce_my_uchar_3(Allocation ain1) { 12252 return reduce_my_uchar_3(ain1, null); 12253 } 12254 12255 // ain1 = "uchar in" 12256 public result_int reduce_my_uchar_3(Allocation ain1, Script.LaunchOptions sc) { 12257 // check ain1 12258 if (!ain1.getType().getElement().isCompatible(__U8)) { 12259 throw new RSRuntimeException("Type mismatch with U8!"); 12260 } 12261 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12262 aout.setAutoPadding(true); 12263 reduce(mExportReduceIdx_my_uchar_3, new Allocation[]{ain1}, aout, sc); 12264 return new result_int(aout); 12265 } 12266 12267 private final static int mExportReduceIdx_my_uchar_4 = 340; 12268 // in1 = "in" 12269 public result_int reduce_my_uchar_4(byte[] in1) { 12270 // Verify that "in1" is non-null. 12271 if (in1 == null) { 12272 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12273 } 12274 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12275 ain1.setAutoPadding(true); 12276 ain1.copyFrom(in1); 12277 12278 result_int result = reduce_my_uchar_4(ain1, null); 12279 result.mTempIns = new Allocation[]{ain1}; 12280 return result; 12281 } 12282 12283 // ain1 = "uchar in" 12284 public result_int reduce_my_uchar_4(Allocation ain1) { 12285 return reduce_my_uchar_4(ain1, null); 12286 } 12287 12288 // ain1 = "uchar in" 12289 public result_int reduce_my_uchar_4(Allocation ain1, Script.LaunchOptions sc) { 12290 // check ain1 12291 if (!ain1.getType().getElement().isCompatible(__U8)) { 12292 throw new RSRuntimeException("Type mismatch with U8!"); 12293 } 12294 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12295 aout.setAutoPadding(true); 12296 reduce(mExportReduceIdx_my_uchar_4, new Allocation[]{ain1}, aout, sc); 12297 return new result_int(aout); 12298 } 12299 12300 private final static int mExportReduceIdx_my_uchar_5 = 341; 12301 // in1 = "in" 12302 public result_int reduce_my_uchar_5(byte[] in1) { 12303 // Verify that "in1" is non-null. 12304 if (in1 == null) { 12305 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12306 } 12307 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12308 ain1.setAutoPadding(true); 12309 ain1.copyFrom(in1); 12310 12311 result_int result = reduce_my_uchar_5(ain1, null); 12312 result.mTempIns = new Allocation[]{ain1}; 12313 return result; 12314 } 12315 12316 // ain1 = "uchar in" 12317 public result_int reduce_my_uchar_5(Allocation ain1) { 12318 return reduce_my_uchar_5(ain1, null); 12319 } 12320 12321 // ain1 = "uchar in" 12322 public result_int reduce_my_uchar_5(Allocation ain1, Script.LaunchOptions sc) { 12323 // check ain1 12324 if (!ain1.getType().getElement().isCompatible(__U8)) { 12325 throw new RSRuntimeException("Type mismatch with U8!"); 12326 } 12327 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12328 aout.setAutoPadding(true); 12329 reduce(mExportReduceIdx_my_uchar_5, new Allocation[]{ain1}, aout, sc); 12330 return new result_int(aout); 12331 } 12332 12333 private final static int mExportReduceIdx_my_uchar_6 = 342; 12334 // in1 = "in" 12335 public result_int reduce_my_uchar_6(byte[] in1) { 12336 // Verify that "in1" is non-null. 12337 if (in1 == null) { 12338 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12339 } 12340 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12341 ain1.setAutoPadding(true); 12342 ain1.copyFrom(in1); 12343 12344 result_int result = reduce_my_uchar_6(ain1, null); 12345 result.mTempIns = new Allocation[]{ain1}; 12346 return result; 12347 } 12348 12349 // ain1 = "uchar in" 12350 public result_int reduce_my_uchar_6(Allocation ain1) { 12351 return reduce_my_uchar_6(ain1, null); 12352 } 12353 12354 // ain1 = "uchar in" 12355 public result_int reduce_my_uchar_6(Allocation ain1, Script.LaunchOptions sc) { 12356 // check ain1 12357 if (!ain1.getType().getElement().isCompatible(__U8)) { 12358 throw new RSRuntimeException("Type mismatch with U8!"); 12359 } 12360 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12361 aout.setAutoPadding(true); 12362 reduce(mExportReduceIdx_my_uchar_6, new Allocation[]{ain1}, aout, sc); 12363 return new result_int(aout); 12364 } 12365 12366 private final static int mExportReduceIdx_my_uchar_7 = 343; 12367 // in1 = "in" 12368 public result_int reduce_my_uchar_7(byte[] in1) { 12369 // Verify that "in1" is non-null. 12370 if (in1 == null) { 12371 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12372 } 12373 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12374 ain1.setAutoPadding(true); 12375 ain1.copyFrom(in1); 12376 12377 result_int result = reduce_my_uchar_7(ain1, null); 12378 result.mTempIns = new Allocation[]{ain1}; 12379 return result; 12380 } 12381 12382 // ain1 = "uchar in" 12383 public result_int reduce_my_uchar_7(Allocation ain1) { 12384 return reduce_my_uchar_7(ain1, null); 12385 } 12386 12387 // ain1 = "uchar in" 12388 public result_int reduce_my_uchar_7(Allocation ain1, Script.LaunchOptions sc) { 12389 // check ain1 12390 if (!ain1.getType().getElement().isCompatible(__U8)) { 12391 throw new RSRuntimeException("Type mismatch with U8!"); 12392 } 12393 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12394 aout.setAutoPadding(true); 12395 reduce(mExportReduceIdx_my_uchar_7, new Allocation[]{ain1}, aout, sc); 12396 return new result_int(aout); 12397 } 12398 12399 private final static int mExportReduceIdx_my_uchar_8 = 344; 12400 // in1 = "in" 12401 public result_int reduce_my_uchar_8(byte[] in1) { 12402 // Verify that "in1" is non-null. 12403 if (in1 == null) { 12404 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12405 } 12406 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12407 ain1.setAutoPadding(true); 12408 ain1.copyFrom(in1); 12409 12410 result_int result = reduce_my_uchar_8(ain1, null); 12411 result.mTempIns = new Allocation[]{ain1}; 12412 return result; 12413 } 12414 12415 // ain1 = "uchar in" 12416 public result_int reduce_my_uchar_8(Allocation ain1) { 12417 return reduce_my_uchar_8(ain1, null); 12418 } 12419 12420 // ain1 = "uchar in" 12421 public result_int reduce_my_uchar_8(Allocation ain1, Script.LaunchOptions sc) { 12422 // check ain1 12423 if (!ain1.getType().getElement().isCompatible(__U8)) { 12424 throw new RSRuntimeException("Type mismatch with U8!"); 12425 } 12426 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12427 aout.setAutoPadding(true); 12428 reduce(mExportReduceIdx_my_uchar_8, new Allocation[]{ain1}, aout, sc); 12429 return new result_int(aout); 12430 } 12431 12432 private final static int mExportReduceIdx_my_uchar_9 = 345; 12433 // in1 = "in" 12434 public result_int reduce_my_uchar_9(byte[] in1) { 12435 // Verify that "in1" is non-null. 12436 if (in1 == null) { 12437 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12438 } 12439 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12440 ain1.setAutoPadding(true); 12441 ain1.copyFrom(in1); 12442 12443 result_int result = reduce_my_uchar_9(ain1, null); 12444 result.mTempIns = new Allocation[]{ain1}; 12445 return result; 12446 } 12447 12448 // ain1 = "uchar in" 12449 public result_int reduce_my_uchar_9(Allocation ain1) { 12450 return reduce_my_uchar_9(ain1, null); 12451 } 12452 12453 // ain1 = "uchar in" 12454 public result_int reduce_my_uchar_9(Allocation ain1, Script.LaunchOptions sc) { 12455 // check ain1 12456 if (!ain1.getType().getElement().isCompatible(__U8)) { 12457 throw new RSRuntimeException("Type mismatch with U8!"); 12458 } 12459 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12460 aout.setAutoPadding(true); 12461 reduce(mExportReduceIdx_my_uchar_9, new Allocation[]{ain1}, aout, sc); 12462 return new result_int(aout); 12463 } 12464 12465 private final static int mExportReduceIdx_my_uchar_10 = 346; 12466 // in1 = "in" 12467 public result_int reduce_my_uchar_10(byte[] in1) { 12468 // Verify that "in1" is non-null. 12469 if (in1 == null) { 12470 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12471 } 12472 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12473 ain1.setAutoPadding(true); 12474 ain1.copyFrom(in1); 12475 12476 result_int result = reduce_my_uchar_10(ain1, null); 12477 result.mTempIns = new Allocation[]{ain1}; 12478 return result; 12479 } 12480 12481 // ain1 = "uchar in" 12482 public result_int reduce_my_uchar_10(Allocation ain1) { 12483 return reduce_my_uchar_10(ain1, null); 12484 } 12485 12486 // ain1 = "uchar in" 12487 public result_int reduce_my_uchar_10(Allocation ain1, Script.LaunchOptions sc) { 12488 // check ain1 12489 if (!ain1.getType().getElement().isCompatible(__U8)) { 12490 throw new RSRuntimeException("Type mismatch with U8!"); 12491 } 12492 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12493 aout.setAutoPadding(true); 12494 reduce(mExportReduceIdx_my_uchar_10, new Allocation[]{ain1}, aout, sc); 12495 return new result_int(aout); 12496 } 12497 12498 private final static int mExportReduceIdx_my_uchar_11 = 347; 12499 // in1 = "in" 12500 public result_int reduce_my_uchar_11(byte[] in1) { 12501 // Verify that "in1" is non-null. 12502 if (in1 == null) { 12503 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12504 } 12505 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12506 ain1.setAutoPadding(true); 12507 ain1.copyFrom(in1); 12508 12509 result_int result = reduce_my_uchar_11(ain1, null); 12510 result.mTempIns = new Allocation[]{ain1}; 12511 return result; 12512 } 12513 12514 // ain1 = "uchar in" 12515 public result_int reduce_my_uchar_11(Allocation ain1) { 12516 return reduce_my_uchar_11(ain1, null); 12517 } 12518 12519 // ain1 = "uchar in" 12520 public result_int reduce_my_uchar_11(Allocation ain1, Script.LaunchOptions sc) { 12521 // check ain1 12522 if (!ain1.getType().getElement().isCompatible(__U8)) { 12523 throw new RSRuntimeException("Type mismatch with U8!"); 12524 } 12525 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12526 aout.setAutoPadding(true); 12527 reduce(mExportReduceIdx_my_uchar_11, new Allocation[]{ain1}, aout, sc); 12528 return new result_int(aout); 12529 } 12530 12531 private final static int mExportReduceIdx_my_uchar_12 = 348; 12532 // in1 = "in" 12533 public result_int reduce_my_uchar_12(byte[] in1) { 12534 // Verify that "in1" is non-null. 12535 if (in1 == null) { 12536 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12537 } 12538 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12539 ain1.setAutoPadding(true); 12540 ain1.copyFrom(in1); 12541 12542 result_int result = reduce_my_uchar_12(ain1, null); 12543 result.mTempIns = new Allocation[]{ain1}; 12544 return result; 12545 } 12546 12547 // ain1 = "uchar in" 12548 public result_int reduce_my_uchar_12(Allocation ain1) { 12549 return reduce_my_uchar_12(ain1, null); 12550 } 12551 12552 // ain1 = "uchar in" 12553 public result_int reduce_my_uchar_12(Allocation ain1, Script.LaunchOptions sc) { 12554 // check ain1 12555 if (!ain1.getType().getElement().isCompatible(__U8)) { 12556 throw new RSRuntimeException("Type mismatch with U8!"); 12557 } 12558 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12559 aout.setAutoPadding(true); 12560 reduce(mExportReduceIdx_my_uchar_12, new Allocation[]{ain1}, aout, sc); 12561 return new result_int(aout); 12562 } 12563 12564 private final static int mExportReduceIdx_my_uchar_13 = 349; 12565 // in1 = "in" 12566 public result_int reduce_my_uchar_13(byte[] in1) { 12567 // Verify that "in1" is non-null. 12568 if (in1 == null) { 12569 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12570 } 12571 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12572 ain1.setAutoPadding(true); 12573 ain1.copyFrom(in1); 12574 12575 result_int result = reduce_my_uchar_13(ain1, null); 12576 result.mTempIns = new Allocation[]{ain1}; 12577 return result; 12578 } 12579 12580 // ain1 = "uchar in" 12581 public result_int reduce_my_uchar_13(Allocation ain1) { 12582 return reduce_my_uchar_13(ain1, null); 12583 } 12584 12585 // ain1 = "uchar in" 12586 public result_int reduce_my_uchar_13(Allocation ain1, Script.LaunchOptions sc) { 12587 // check ain1 12588 if (!ain1.getType().getElement().isCompatible(__U8)) { 12589 throw new RSRuntimeException("Type mismatch with U8!"); 12590 } 12591 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12592 aout.setAutoPadding(true); 12593 reduce(mExportReduceIdx_my_uchar_13, new Allocation[]{ain1}, aout, sc); 12594 return new result_int(aout); 12595 } 12596 12597 private final static int mExportReduceIdx_my_uchar_14 = 350; 12598 // in1 = "in" 12599 public result_int reduce_my_uchar_14(byte[] in1) { 12600 // Verify that "in1" is non-null. 12601 if (in1 == null) { 12602 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12603 } 12604 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12605 ain1.setAutoPadding(true); 12606 ain1.copyFrom(in1); 12607 12608 result_int result = reduce_my_uchar_14(ain1, null); 12609 result.mTempIns = new Allocation[]{ain1}; 12610 return result; 12611 } 12612 12613 // ain1 = "uchar in" 12614 public result_int reduce_my_uchar_14(Allocation ain1) { 12615 return reduce_my_uchar_14(ain1, null); 12616 } 12617 12618 // ain1 = "uchar in" 12619 public result_int reduce_my_uchar_14(Allocation ain1, Script.LaunchOptions sc) { 12620 // check ain1 12621 if (!ain1.getType().getElement().isCompatible(__U8)) { 12622 throw new RSRuntimeException("Type mismatch with U8!"); 12623 } 12624 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12625 aout.setAutoPadding(true); 12626 reduce(mExportReduceIdx_my_uchar_14, new Allocation[]{ain1}, aout, sc); 12627 return new result_int(aout); 12628 } 12629 12630 private final static int mExportReduceIdx_my_uchar_15 = 351; 12631 // in1 = "in" 12632 public result_int reduce_my_uchar_15(byte[] in1) { 12633 // Verify that "in1" is non-null. 12634 if (in1 == null) { 12635 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12636 } 12637 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length); 12638 ain1.setAutoPadding(true); 12639 ain1.copyFrom(in1); 12640 12641 result_int result = reduce_my_uchar_15(ain1, null); 12642 result.mTempIns = new Allocation[]{ain1}; 12643 return result; 12644 } 12645 12646 // ain1 = "uchar in" 12647 public result_int reduce_my_uchar_15(Allocation ain1) { 12648 return reduce_my_uchar_15(ain1, null); 12649 } 12650 12651 // ain1 = "uchar in" 12652 public result_int reduce_my_uchar_15(Allocation ain1, Script.LaunchOptions sc) { 12653 // check ain1 12654 if (!ain1.getType().getElement().isCompatible(__U8)) { 12655 throw new RSRuntimeException("Type mismatch with U8!"); 12656 } 12657 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12658 aout.setAutoPadding(true); 12659 reduce(mExportReduceIdx_my_uchar_15, new Allocation[]{ain1}, aout, sc); 12660 return new result_int(aout); 12661 } 12662 12663 private final static int mExportReduceIdx_my_uchar2_0 = 352; 12664 // in1 = "in", flattened 2-vectors 12665 public result_int reduce_my_uchar2_0(byte[] in1) { 12666 // Verify that "in1" is non-null. 12667 if (in1 == null) { 12668 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12669 } 12670 // Verify that the array length is a multiple of the vector size. 12671 if (in1.length % 2 != 0) { 12672 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12673 } 12674 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12675 ain1.setAutoPadding(true); 12676 ain1.copyFrom(in1); 12677 12678 result_int result = reduce_my_uchar2_0(ain1, null); 12679 result.mTempIns = new Allocation[]{ain1}; 12680 return result; 12681 } 12682 12683 // ain1 = "uchar2 in" 12684 public result_int reduce_my_uchar2_0(Allocation ain1) { 12685 return reduce_my_uchar2_0(ain1, null); 12686 } 12687 12688 // ain1 = "uchar2 in" 12689 public result_int reduce_my_uchar2_0(Allocation ain1, Script.LaunchOptions sc) { 12690 // check ain1 12691 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12692 throw new RSRuntimeException("Type mismatch with U8_2!"); 12693 } 12694 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12695 aout.setAutoPadding(true); 12696 reduce(mExportReduceIdx_my_uchar2_0, new Allocation[]{ain1}, aout, sc); 12697 return new result_int(aout); 12698 } 12699 12700 private final static int mExportReduceIdx_my_uchar2_1 = 353; 12701 // in1 = "in", flattened 2-vectors 12702 public result_int reduce_my_uchar2_1(byte[] in1) { 12703 // Verify that "in1" is non-null. 12704 if (in1 == null) { 12705 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12706 } 12707 // Verify that the array length is a multiple of the vector size. 12708 if (in1.length % 2 != 0) { 12709 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12710 } 12711 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12712 ain1.setAutoPadding(true); 12713 ain1.copyFrom(in1); 12714 12715 result_int result = reduce_my_uchar2_1(ain1, null); 12716 result.mTempIns = new Allocation[]{ain1}; 12717 return result; 12718 } 12719 12720 // ain1 = "uchar2 in" 12721 public result_int reduce_my_uchar2_1(Allocation ain1) { 12722 return reduce_my_uchar2_1(ain1, null); 12723 } 12724 12725 // ain1 = "uchar2 in" 12726 public result_int reduce_my_uchar2_1(Allocation ain1, Script.LaunchOptions sc) { 12727 // check ain1 12728 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12729 throw new RSRuntimeException("Type mismatch with U8_2!"); 12730 } 12731 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12732 aout.setAutoPadding(true); 12733 reduce(mExportReduceIdx_my_uchar2_1, new Allocation[]{ain1}, aout, sc); 12734 return new result_int(aout); 12735 } 12736 12737 private final static int mExportReduceIdx_my_uchar2_2 = 354; 12738 // in1 = "in", flattened 2-vectors 12739 public result_int reduce_my_uchar2_2(byte[] in1) { 12740 // Verify that "in1" is non-null. 12741 if (in1 == null) { 12742 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12743 } 12744 // Verify that the array length is a multiple of the vector size. 12745 if (in1.length % 2 != 0) { 12746 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12747 } 12748 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12749 ain1.setAutoPadding(true); 12750 ain1.copyFrom(in1); 12751 12752 result_int result = reduce_my_uchar2_2(ain1, null); 12753 result.mTempIns = new Allocation[]{ain1}; 12754 return result; 12755 } 12756 12757 // ain1 = "uchar2 in" 12758 public result_int reduce_my_uchar2_2(Allocation ain1) { 12759 return reduce_my_uchar2_2(ain1, null); 12760 } 12761 12762 // ain1 = "uchar2 in" 12763 public result_int reduce_my_uchar2_2(Allocation ain1, Script.LaunchOptions sc) { 12764 // check ain1 12765 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12766 throw new RSRuntimeException("Type mismatch with U8_2!"); 12767 } 12768 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12769 aout.setAutoPadding(true); 12770 reduce(mExportReduceIdx_my_uchar2_2, new Allocation[]{ain1}, aout, sc); 12771 return new result_int(aout); 12772 } 12773 12774 private final static int mExportReduceIdx_my_uchar2_3 = 355; 12775 // in1 = "in", flattened 2-vectors 12776 public result_int reduce_my_uchar2_3(byte[] in1) { 12777 // Verify that "in1" is non-null. 12778 if (in1 == null) { 12779 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12780 } 12781 // Verify that the array length is a multiple of the vector size. 12782 if (in1.length % 2 != 0) { 12783 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12784 } 12785 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12786 ain1.setAutoPadding(true); 12787 ain1.copyFrom(in1); 12788 12789 result_int result = reduce_my_uchar2_3(ain1, null); 12790 result.mTempIns = new Allocation[]{ain1}; 12791 return result; 12792 } 12793 12794 // ain1 = "uchar2 in" 12795 public result_int reduce_my_uchar2_3(Allocation ain1) { 12796 return reduce_my_uchar2_3(ain1, null); 12797 } 12798 12799 // ain1 = "uchar2 in" 12800 public result_int reduce_my_uchar2_3(Allocation ain1, Script.LaunchOptions sc) { 12801 // check ain1 12802 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12803 throw new RSRuntimeException("Type mismatch with U8_2!"); 12804 } 12805 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12806 aout.setAutoPadding(true); 12807 reduce(mExportReduceIdx_my_uchar2_3, new Allocation[]{ain1}, aout, sc); 12808 return new result_int(aout); 12809 } 12810 12811 private final static int mExportReduceIdx_my_uchar2_4 = 356; 12812 // in1 = "in", flattened 2-vectors 12813 public result_int reduce_my_uchar2_4(byte[] in1) { 12814 // Verify that "in1" is non-null. 12815 if (in1 == null) { 12816 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12817 } 12818 // Verify that the array length is a multiple of the vector size. 12819 if (in1.length % 2 != 0) { 12820 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12821 } 12822 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12823 ain1.setAutoPadding(true); 12824 ain1.copyFrom(in1); 12825 12826 result_int result = reduce_my_uchar2_4(ain1, null); 12827 result.mTempIns = new Allocation[]{ain1}; 12828 return result; 12829 } 12830 12831 // ain1 = "uchar2 in" 12832 public result_int reduce_my_uchar2_4(Allocation ain1) { 12833 return reduce_my_uchar2_4(ain1, null); 12834 } 12835 12836 // ain1 = "uchar2 in" 12837 public result_int reduce_my_uchar2_4(Allocation ain1, Script.LaunchOptions sc) { 12838 // check ain1 12839 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12840 throw new RSRuntimeException("Type mismatch with U8_2!"); 12841 } 12842 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12843 aout.setAutoPadding(true); 12844 reduce(mExportReduceIdx_my_uchar2_4, new Allocation[]{ain1}, aout, sc); 12845 return new result_int(aout); 12846 } 12847 12848 private final static int mExportReduceIdx_my_uchar2_5 = 357; 12849 // in1 = "in", flattened 2-vectors 12850 public result_int reduce_my_uchar2_5(byte[] in1) { 12851 // Verify that "in1" is non-null. 12852 if (in1 == null) { 12853 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12854 } 12855 // Verify that the array length is a multiple of the vector size. 12856 if (in1.length % 2 != 0) { 12857 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12858 } 12859 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12860 ain1.setAutoPadding(true); 12861 ain1.copyFrom(in1); 12862 12863 result_int result = reduce_my_uchar2_5(ain1, null); 12864 result.mTempIns = new Allocation[]{ain1}; 12865 return result; 12866 } 12867 12868 // ain1 = "uchar2 in" 12869 public result_int reduce_my_uchar2_5(Allocation ain1) { 12870 return reduce_my_uchar2_5(ain1, null); 12871 } 12872 12873 // ain1 = "uchar2 in" 12874 public result_int reduce_my_uchar2_5(Allocation ain1, Script.LaunchOptions sc) { 12875 // check ain1 12876 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12877 throw new RSRuntimeException("Type mismatch with U8_2!"); 12878 } 12879 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12880 aout.setAutoPadding(true); 12881 reduce(mExportReduceIdx_my_uchar2_5, new Allocation[]{ain1}, aout, sc); 12882 return new result_int(aout); 12883 } 12884 12885 private final static int mExportReduceIdx_my_uchar2_6 = 358; 12886 // in1 = "in", flattened 2-vectors 12887 public result_int reduce_my_uchar2_6(byte[] in1) { 12888 // Verify that "in1" is non-null. 12889 if (in1 == null) { 12890 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12891 } 12892 // Verify that the array length is a multiple of the vector size. 12893 if (in1.length % 2 != 0) { 12894 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12895 } 12896 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12897 ain1.setAutoPadding(true); 12898 ain1.copyFrom(in1); 12899 12900 result_int result = reduce_my_uchar2_6(ain1, null); 12901 result.mTempIns = new Allocation[]{ain1}; 12902 return result; 12903 } 12904 12905 // ain1 = "uchar2 in" 12906 public result_int reduce_my_uchar2_6(Allocation ain1) { 12907 return reduce_my_uchar2_6(ain1, null); 12908 } 12909 12910 // ain1 = "uchar2 in" 12911 public result_int reduce_my_uchar2_6(Allocation ain1, Script.LaunchOptions sc) { 12912 // check ain1 12913 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12914 throw new RSRuntimeException("Type mismatch with U8_2!"); 12915 } 12916 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12917 aout.setAutoPadding(true); 12918 reduce(mExportReduceIdx_my_uchar2_6, new Allocation[]{ain1}, aout, sc); 12919 return new result_int(aout); 12920 } 12921 12922 private final static int mExportReduceIdx_my_uchar2_7 = 359; 12923 // in1 = "in", flattened 2-vectors 12924 public result_int reduce_my_uchar2_7(byte[] in1) { 12925 // Verify that "in1" is non-null. 12926 if (in1 == null) { 12927 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12928 } 12929 // Verify that the array length is a multiple of the vector size. 12930 if (in1.length % 2 != 0) { 12931 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12932 } 12933 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12934 ain1.setAutoPadding(true); 12935 ain1.copyFrom(in1); 12936 12937 result_int result = reduce_my_uchar2_7(ain1, null); 12938 result.mTempIns = new Allocation[]{ain1}; 12939 return result; 12940 } 12941 12942 // ain1 = "uchar2 in" 12943 public result_int reduce_my_uchar2_7(Allocation ain1) { 12944 return reduce_my_uchar2_7(ain1, null); 12945 } 12946 12947 // ain1 = "uchar2 in" 12948 public result_int reduce_my_uchar2_7(Allocation ain1, Script.LaunchOptions sc) { 12949 // check ain1 12950 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12951 throw new RSRuntimeException("Type mismatch with U8_2!"); 12952 } 12953 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12954 aout.setAutoPadding(true); 12955 reduce(mExportReduceIdx_my_uchar2_7, new Allocation[]{ain1}, aout, sc); 12956 return new result_int(aout); 12957 } 12958 12959 private final static int mExportReduceIdx_my_uchar2_8 = 360; 12960 // in1 = "in", flattened 2-vectors 12961 public result_int reduce_my_uchar2_8(byte[] in1) { 12962 // Verify that "in1" is non-null. 12963 if (in1 == null) { 12964 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 12965 } 12966 // Verify that the array length is a multiple of the vector size. 12967 if (in1.length % 2 != 0) { 12968 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 12969 } 12970 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 12971 ain1.setAutoPadding(true); 12972 ain1.copyFrom(in1); 12973 12974 result_int result = reduce_my_uchar2_8(ain1, null); 12975 result.mTempIns = new Allocation[]{ain1}; 12976 return result; 12977 } 12978 12979 // ain1 = "uchar2 in" 12980 public result_int reduce_my_uchar2_8(Allocation ain1) { 12981 return reduce_my_uchar2_8(ain1, null); 12982 } 12983 12984 // ain1 = "uchar2 in" 12985 public result_int reduce_my_uchar2_8(Allocation ain1, Script.LaunchOptions sc) { 12986 // check ain1 12987 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 12988 throw new RSRuntimeException("Type mismatch with U8_2!"); 12989 } 12990 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 12991 aout.setAutoPadding(true); 12992 reduce(mExportReduceIdx_my_uchar2_8, new Allocation[]{ain1}, aout, sc); 12993 return new result_int(aout); 12994 } 12995 12996 private final static int mExportReduceIdx_my_uchar2_9 = 361; 12997 // in1 = "in", flattened 2-vectors 12998 public result_int reduce_my_uchar2_9(byte[] in1) { 12999 // Verify that "in1" is non-null. 13000 if (in1 == null) { 13001 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13002 } 13003 // Verify that the array length is a multiple of the vector size. 13004 if (in1.length % 2 != 0) { 13005 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13006 } 13007 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13008 ain1.setAutoPadding(true); 13009 ain1.copyFrom(in1); 13010 13011 result_int result = reduce_my_uchar2_9(ain1, null); 13012 result.mTempIns = new Allocation[]{ain1}; 13013 return result; 13014 } 13015 13016 // ain1 = "uchar2 in" 13017 public result_int reduce_my_uchar2_9(Allocation ain1) { 13018 return reduce_my_uchar2_9(ain1, null); 13019 } 13020 13021 // ain1 = "uchar2 in" 13022 public result_int reduce_my_uchar2_9(Allocation ain1, Script.LaunchOptions sc) { 13023 // check ain1 13024 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13025 throw new RSRuntimeException("Type mismatch with U8_2!"); 13026 } 13027 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13028 aout.setAutoPadding(true); 13029 reduce(mExportReduceIdx_my_uchar2_9, new Allocation[]{ain1}, aout, sc); 13030 return new result_int(aout); 13031 } 13032 13033 private final static int mExportReduceIdx_my_uchar2_10 = 362; 13034 // in1 = "in", flattened 2-vectors 13035 public result_int reduce_my_uchar2_10(byte[] in1) { 13036 // Verify that "in1" is non-null. 13037 if (in1 == null) { 13038 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13039 } 13040 // Verify that the array length is a multiple of the vector size. 13041 if (in1.length % 2 != 0) { 13042 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13043 } 13044 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13045 ain1.setAutoPadding(true); 13046 ain1.copyFrom(in1); 13047 13048 result_int result = reduce_my_uchar2_10(ain1, null); 13049 result.mTempIns = new Allocation[]{ain1}; 13050 return result; 13051 } 13052 13053 // ain1 = "uchar2 in" 13054 public result_int reduce_my_uchar2_10(Allocation ain1) { 13055 return reduce_my_uchar2_10(ain1, null); 13056 } 13057 13058 // ain1 = "uchar2 in" 13059 public result_int reduce_my_uchar2_10(Allocation ain1, Script.LaunchOptions sc) { 13060 // check ain1 13061 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13062 throw new RSRuntimeException("Type mismatch with U8_2!"); 13063 } 13064 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13065 aout.setAutoPadding(true); 13066 reduce(mExportReduceIdx_my_uchar2_10, new Allocation[]{ain1}, aout, sc); 13067 return new result_int(aout); 13068 } 13069 13070 private final static int mExportReduceIdx_my_uchar2_11 = 363; 13071 // in1 = "in", flattened 2-vectors 13072 public result_int reduce_my_uchar2_11(byte[] in1) { 13073 // Verify that "in1" is non-null. 13074 if (in1 == null) { 13075 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13076 } 13077 // Verify that the array length is a multiple of the vector size. 13078 if (in1.length % 2 != 0) { 13079 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13080 } 13081 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13082 ain1.setAutoPadding(true); 13083 ain1.copyFrom(in1); 13084 13085 result_int result = reduce_my_uchar2_11(ain1, null); 13086 result.mTempIns = new Allocation[]{ain1}; 13087 return result; 13088 } 13089 13090 // ain1 = "uchar2 in" 13091 public result_int reduce_my_uchar2_11(Allocation ain1) { 13092 return reduce_my_uchar2_11(ain1, null); 13093 } 13094 13095 // ain1 = "uchar2 in" 13096 public result_int reduce_my_uchar2_11(Allocation ain1, Script.LaunchOptions sc) { 13097 // check ain1 13098 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13099 throw new RSRuntimeException("Type mismatch with U8_2!"); 13100 } 13101 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13102 aout.setAutoPadding(true); 13103 reduce(mExportReduceIdx_my_uchar2_11, new Allocation[]{ain1}, aout, sc); 13104 return new result_int(aout); 13105 } 13106 13107 private final static int mExportReduceIdx_my_uchar2_12 = 364; 13108 // in1 = "in", flattened 2-vectors 13109 public result_int reduce_my_uchar2_12(byte[] in1) { 13110 // Verify that "in1" is non-null. 13111 if (in1 == null) { 13112 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13113 } 13114 // Verify that the array length is a multiple of the vector size. 13115 if (in1.length % 2 != 0) { 13116 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13117 } 13118 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13119 ain1.setAutoPadding(true); 13120 ain1.copyFrom(in1); 13121 13122 result_int result = reduce_my_uchar2_12(ain1, null); 13123 result.mTempIns = new Allocation[]{ain1}; 13124 return result; 13125 } 13126 13127 // ain1 = "uchar2 in" 13128 public result_int reduce_my_uchar2_12(Allocation ain1) { 13129 return reduce_my_uchar2_12(ain1, null); 13130 } 13131 13132 // ain1 = "uchar2 in" 13133 public result_int reduce_my_uchar2_12(Allocation ain1, Script.LaunchOptions sc) { 13134 // check ain1 13135 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13136 throw new RSRuntimeException("Type mismatch with U8_2!"); 13137 } 13138 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13139 aout.setAutoPadding(true); 13140 reduce(mExportReduceIdx_my_uchar2_12, new Allocation[]{ain1}, aout, sc); 13141 return new result_int(aout); 13142 } 13143 13144 private final static int mExportReduceIdx_my_uchar2_13 = 365; 13145 // in1 = "in", flattened 2-vectors 13146 public result_int reduce_my_uchar2_13(byte[] in1) { 13147 // Verify that "in1" is non-null. 13148 if (in1 == null) { 13149 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13150 } 13151 // Verify that the array length is a multiple of the vector size. 13152 if (in1.length % 2 != 0) { 13153 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13154 } 13155 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13156 ain1.setAutoPadding(true); 13157 ain1.copyFrom(in1); 13158 13159 result_int result = reduce_my_uchar2_13(ain1, null); 13160 result.mTempIns = new Allocation[]{ain1}; 13161 return result; 13162 } 13163 13164 // ain1 = "uchar2 in" 13165 public result_int reduce_my_uchar2_13(Allocation ain1) { 13166 return reduce_my_uchar2_13(ain1, null); 13167 } 13168 13169 // ain1 = "uchar2 in" 13170 public result_int reduce_my_uchar2_13(Allocation ain1, Script.LaunchOptions sc) { 13171 // check ain1 13172 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13173 throw new RSRuntimeException("Type mismatch with U8_2!"); 13174 } 13175 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13176 aout.setAutoPadding(true); 13177 reduce(mExportReduceIdx_my_uchar2_13, new Allocation[]{ain1}, aout, sc); 13178 return new result_int(aout); 13179 } 13180 13181 private final static int mExportReduceIdx_my_uchar2_14 = 366; 13182 // in1 = "in", flattened 2-vectors 13183 public result_int reduce_my_uchar2_14(byte[] in1) { 13184 // Verify that "in1" is non-null. 13185 if (in1 == null) { 13186 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13187 } 13188 // Verify that the array length is a multiple of the vector size. 13189 if (in1.length % 2 != 0) { 13190 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13191 } 13192 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13193 ain1.setAutoPadding(true); 13194 ain1.copyFrom(in1); 13195 13196 result_int result = reduce_my_uchar2_14(ain1, null); 13197 result.mTempIns = new Allocation[]{ain1}; 13198 return result; 13199 } 13200 13201 // ain1 = "uchar2 in" 13202 public result_int reduce_my_uchar2_14(Allocation ain1) { 13203 return reduce_my_uchar2_14(ain1, null); 13204 } 13205 13206 // ain1 = "uchar2 in" 13207 public result_int reduce_my_uchar2_14(Allocation ain1, Script.LaunchOptions sc) { 13208 // check ain1 13209 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13210 throw new RSRuntimeException("Type mismatch with U8_2!"); 13211 } 13212 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13213 aout.setAutoPadding(true); 13214 reduce(mExportReduceIdx_my_uchar2_14, new Allocation[]{ain1}, aout, sc); 13215 return new result_int(aout); 13216 } 13217 13218 private final static int mExportReduceIdx_my_uchar2_15 = 367; 13219 // in1 = "in", flattened 2-vectors 13220 public result_int reduce_my_uchar2_15(byte[] in1) { 13221 // Verify that "in1" is non-null. 13222 if (in1 == null) { 13223 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13224 } 13225 // Verify that the array length is a multiple of the vector size. 13226 if (in1.length % 2 != 0) { 13227 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 13228 } 13229 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_2, in1.length / 2); 13230 ain1.setAutoPadding(true); 13231 ain1.copyFrom(in1); 13232 13233 result_int result = reduce_my_uchar2_15(ain1, null); 13234 result.mTempIns = new Allocation[]{ain1}; 13235 return result; 13236 } 13237 13238 // ain1 = "uchar2 in" 13239 public result_int reduce_my_uchar2_15(Allocation ain1) { 13240 return reduce_my_uchar2_15(ain1, null); 13241 } 13242 13243 // ain1 = "uchar2 in" 13244 public result_int reduce_my_uchar2_15(Allocation ain1, Script.LaunchOptions sc) { 13245 // check ain1 13246 if (!ain1.getType().getElement().isCompatible(__U8_2)) { 13247 throw new RSRuntimeException("Type mismatch with U8_2!"); 13248 } 13249 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13250 aout.setAutoPadding(true); 13251 reduce(mExportReduceIdx_my_uchar2_15, new Allocation[]{ain1}, aout, sc); 13252 return new result_int(aout); 13253 } 13254 13255 private final static int mExportReduceIdx_my_uchar4_0 = 368; 13256 // in1 = "in", flattened 4-vectors 13257 public result_int reduce_my_uchar4_0(byte[] in1) { 13258 // Verify that "in1" is non-null. 13259 if (in1 == null) { 13260 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13261 } 13262 // Verify that the array length is a multiple of the vector size. 13263 if (in1.length % 4 != 0) { 13264 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13265 } 13266 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13267 ain1.setAutoPadding(true); 13268 ain1.copyFrom(in1); 13269 13270 result_int result = reduce_my_uchar4_0(ain1, null); 13271 result.mTempIns = new Allocation[]{ain1}; 13272 return result; 13273 } 13274 13275 // ain1 = "uchar4 in" 13276 public result_int reduce_my_uchar4_0(Allocation ain1) { 13277 return reduce_my_uchar4_0(ain1, null); 13278 } 13279 13280 // ain1 = "uchar4 in" 13281 public result_int reduce_my_uchar4_0(Allocation ain1, Script.LaunchOptions sc) { 13282 // check ain1 13283 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13284 throw new RSRuntimeException("Type mismatch with U8_4!"); 13285 } 13286 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13287 aout.setAutoPadding(true); 13288 reduce(mExportReduceIdx_my_uchar4_0, new Allocation[]{ain1}, aout, sc); 13289 return new result_int(aout); 13290 } 13291 13292 private final static int mExportReduceIdx_my_uchar4_1 = 369; 13293 // in1 = "in", flattened 4-vectors 13294 public result_int reduce_my_uchar4_1(byte[] in1) { 13295 // Verify that "in1" is non-null. 13296 if (in1 == null) { 13297 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13298 } 13299 // Verify that the array length is a multiple of the vector size. 13300 if (in1.length % 4 != 0) { 13301 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13302 } 13303 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13304 ain1.setAutoPadding(true); 13305 ain1.copyFrom(in1); 13306 13307 result_int result = reduce_my_uchar4_1(ain1, null); 13308 result.mTempIns = new Allocation[]{ain1}; 13309 return result; 13310 } 13311 13312 // ain1 = "uchar4 in" 13313 public result_int reduce_my_uchar4_1(Allocation ain1) { 13314 return reduce_my_uchar4_1(ain1, null); 13315 } 13316 13317 // ain1 = "uchar4 in" 13318 public result_int reduce_my_uchar4_1(Allocation ain1, Script.LaunchOptions sc) { 13319 // check ain1 13320 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13321 throw new RSRuntimeException("Type mismatch with U8_4!"); 13322 } 13323 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13324 aout.setAutoPadding(true); 13325 reduce(mExportReduceIdx_my_uchar4_1, new Allocation[]{ain1}, aout, sc); 13326 return new result_int(aout); 13327 } 13328 13329 private final static int mExportReduceIdx_my_uchar4_2 = 370; 13330 // in1 = "in", flattened 4-vectors 13331 public result_int reduce_my_uchar4_2(byte[] in1) { 13332 // Verify that "in1" is non-null. 13333 if (in1 == null) { 13334 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13335 } 13336 // Verify that the array length is a multiple of the vector size. 13337 if (in1.length % 4 != 0) { 13338 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13339 } 13340 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13341 ain1.setAutoPadding(true); 13342 ain1.copyFrom(in1); 13343 13344 result_int result = reduce_my_uchar4_2(ain1, null); 13345 result.mTempIns = new Allocation[]{ain1}; 13346 return result; 13347 } 13348 13349 // ain1 = "uchar4 in" 13350 public result_int reduce_my_uchar4_2(Allocation ain1) { 13351 return reduce_my_uchar4_2(ain1, null); 13352 } 13353 13354 // ain1 = "uchar4 in" 13355 public result_int reduce_my_uchar4_2(Allocation ain1, Script.LaunchOptions sc) { 13356 // check ain1 13357 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13358 throw new RSRuntimeException("Type mismatch with U8_4!"); 13359 } 13360 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13361 aout.setAutoPadding(true); 13362 reduce(mExportReduceIdx_my_uchar4_2, new Allocation[]{ain1}, aout, sc); 13363 return new result_int(aout); 13364 } 13365 13366 private final static int mExportReduceIdx_my_uchar4_3 = 371; 13367 // in1 = "in", flattened 4-vectors 13368 public result_int reduce_my_uchar4_3(byte[] in1) { 13369 // Verify that "in1" is non-null. 13370 if (in1 == null) { 13371 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13372 } 13373 // Verify that the array length is a multiple of the vector size. 13374 if (in1.length % 4 != 0) { 13375 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13376 } 13377 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13378 ain1.setAutoPadding(true); 13379 ain1.copyFrom(in1); 13380 13381 result_int result = reduce_my_uchar4_3(ain1, null); 13382 result.mTempIns = new Allocation[]{ain1}; 13383 return result; 13384 } 13385 13386 // ain1 = "uchar4 in" 13387 public result_int reduce_my_uchar4_3(Allocation ain1) { 13388 return reduce_my_uchar4_3(ain1, null); 13389 } 13390 13391 // ain1 = "uchar4 in" 13392 public result_int reduce_my_uchar4_3(Allocation ain1, Script.LaunchOptions sc) { 13393 // check ain1 13394 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13395 throw new RSRuntimeException("Type mismatch with U8_4!"); 13396 } 13397 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13398 aout.setAutoPadding(true); 13399 reduce(mExportReduceIdx_my_uchar4_3, new Allocation[]{ain1}, aout, sc); 13400 return new result_int(aout); 13401 } 13402 13403 private final static int mExportReduceIdx_my_uchar4_4 = 372; 13404 // in1 = "in", flattened 4-vectors 13405 public result_int reduce_my_uchar4_4(byte[] in1) { 13406 // Verify that "in1" is non-null. 13407 if (in1 == null) { 13408 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13409 } 13410 // Verify that the array length is a multiple of the vector size. 13411 if (in1.length % 4 != 0) { 13412 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13413 } 13414 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13415 ain1.setAutoPadding(true); 13416 ain1.copyFrom(in1); 13417 13418 result_int result = reduce_my_uchar4_4(ain1, null); 13419 result.mTempIns = new Allocation[]{ain1}; 13420 return result; 13421 } 13422 13423 // ain1 = "uchar4 in" 13424 public result_int reduce_my_uchar4_4(Allocation ain1) { 13425 return reduce_my_uchar4_4(ain1, null); 13426 } 13427 13428 // ain1 = "uchar4 in" 13429 public result_int reduce_my_uchar4_4(Allocation ain1, Script.LaunchOptions sc) { 13430 // check ain1 13431 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13432 throw new RSRuntimeException("Type mismatch with U8_4!"); 13433 } 13434 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13435 aout.setAutoPadding(true); 13436 reduce(mExportReduceIdx_my_uchar4_4, new Allocation[]{ain1}, aout, sc); 13437 return new result_int(aout); 13438 } 13439 13440 private final static int mExportReduceIdx_my_uchar4_5 = 373; 13441 // in1 = "in", flattened 4-vectors 13442 public result_int reduce_my_uchar4_5(byte[] in1) { 13443 // Verify that "in1" is non-null. 13444 if (in1 == null) { 13445 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13446 } 13447 // Verify that the array length is a multiple of the vector size. 13448 if (in1.length % 4 != 0) { 13449 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13450 } 13451 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13452 ain1.setAutoPadding(true); 13453 ain1.copyFrom(in1); 13454 13455 result_int result = reduce_my_uchar4_5(ain1, null); 13456 result.mTempIns = new Allocation[]{ain1}; 13457 return result; 13458 } 13459 13460 // ain1 = "uchar4 in" 13461 public result_int reduce_my_uchar4_5(Allocation ain1) { 13462 return reduce_my_uchar4_5(ain1, null); 13463 } 13464 13465 // ain1 = "uchar4 in" 13466 public result_int reduce_my_uchar4_5(Allocation ain1, Script.LaunchOptions sc) { 13467 // check ain1 13468 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13469 throw new RSRuntimeException("Type mismatch with U8_4!"); 13470 } 13471 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13472 aout.setAutoPadding(true); 13473 reduce(mExportReduceIdx_my_uchar4_5, new Allocation[]{ain1}, aout, sc); 13474 return new result_int(aout); 13475 } 13476 13477 private final static int mExportReduceIdx_my_uchar4_6 = 374; 13478 // in1 = "in", flattened 4-vectors 13479 public result_int reduce_my_uchar4_6(byte[] in1) { 13480 // Verify that "in1" is non-null. 13481 if (in1 == null) { 13482 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13483 } 13484 // Verify that the array length is a multiple of the vector size. 13485 if (in1.length % 4 != 0) { 13486 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13487 } 13488 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13489 ain1.setAutoPadding(true); 13490 ain1.copyFrom(in1); 13491 13492 result_int result = reduce_my_uchar4_6(ain1, null); 13493 result.mTempIns = new Allocation[]{ain1}; 13494 return result; 13495 } 13496 13497 // ain1 = "uchar4 in" 13498 public result_int reduce_my_uchar4_6(Allocation ain1) { 13499 return reduce_my_uchar4_6(ain1, null); 13500 } 13501 13502 // ain1 = "uchar4 in" 13503 public result_int reduce_my_uchar4_6(Allocation ain1, Script.LaunchOptions sc) { 13504 // check ain1 13505 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13506 throw new RSRuntimeException("Type mismatch with U8_4!"); 13507 } 13508 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13509 aout.setAutoPadding(true); 13510 reduce(mExportReduceIdx_my_uchar4_6, new Allocation[]{ain1}, aout, sc); 13511 return new result_int(aout); 13512 } 13513 13514 private final static int mExportReduceIdx_my_uchar4_7 = 375; 13515 // in1 = "in", flattened 4-vectors 13516 public result_int reduce_my_uchar4_7(byte[] in1) { 13517 // Verify that "in1" is non-null. 13518 if (in1 == null) { 13519 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13520 } 13521 // Verify that the array length is a multiple of the vector size. 13522 if (in1.length % 4 != 0) { 13523 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13524 } 13525 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13526 ain1.setAutoPadding(true); 13527 ain1.copyFrom(in1); 13528 13529 result_int result = reduce_my_uchar4_7(ain1, null); 13530 result.mTempIns = new Allocation[]{ain1}; 13531 return result; 13532 } 13533 13534 // ain1 = "uchar4 in" 13535 public result_int reduce_my_uchar4_7(Allocation ain1) { 13536 return reduce_my_uchar4_7(ain1, null); 13537 } 13538 13539 // ain1 = "uchar4 in" 13540 public result_int reduce_my_uchar4_7(Allocation ain1, Script.LaunchOptions sc) { 13541 // check ain1 13542 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13543 throw new RSRuntimeException("Type mismatch with U8_4!"); 13544 } 13545 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13546 aout.setAutoPadding(true); 13547 reduce(mExportReduceIdx_my_uchar4_7, new Allocation[]{ain1}, aout, sc); 13548 return new result_int(aout); 13549 } 13550 13551 private final static int mExportReduceIdx_my_uchar4_8 = 376; 13552 // in1 = "in", flattened 4-vectors 13553 public result_int reduce_my_uchar4_8(byte[] in1) { 13554 // Verify that "in1" is non-null. 13555 if (in1 == null) { 13556 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13557 } 13558 // Verify that the array length is a multiple of the vector size. 13559 if (in1.length % 4 != 0) { 13560 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13561 } 13562 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13563 ain1.setAutoPadding(true); 13564 ain1.copyFrom(in1); 13565 13566 result_int result = reduce_my_uchar4_8(ain1, null); 13567 result.mTempIns = new Allocation[]{ain1}; 13568 return result; 13569 } 13570 13571 // ain1 = "uchar4 in" 13572 public result_int reduce_my_uchar4_8(Allocation ain1) { 13573 return reduce_my_uchar4_8(ain1, null); 13574 } 13575 13576 // ain1 = "uchar4 in" 13577 public result_int reduce_my_uchar4_8(Allocation ain1, Script.LaunchOptions sc) { 13578 // check ain1 13579 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13580 throw new RSRuntimeException("Type mismatch with U8_4!"); 13581 } 13582 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13583 aout.setAutoPadding(true); 13584 reduce(mExportReduceIdx_my_uchar4_8, new Allocation[]{ain1}, aout, sc); 13585 return new result_int(aout); 13586 } 13587 13588 private final static int mExportReduceIdx_my_uchar4_9 = 377; 13589 // in1 = "in", flattened 4-vectors 13590 public result_int reduce_my_uchar4_9(byte[] in1) { 13591 // Verify that "in1" is non-null. 13592 if (in1 == null) { 13593 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13594 } 13595 // Verify that the array length is a multiple of the vector size. 13596 if (in1.length % 4 != 0) { 13597 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13598 } 13599 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13600 ain1.setAutoPadding(true); 13601 ain1.copyFrom(in1); 13602 13603 result_int result = reduce_my_uchar4_9(ain1, null); 13604 result.mTempIns = new Allocation[]{ain1}; 13605 return result; 13606 } 13607 13608 // ain1 = "uchar4 in" 13609 public result_int reduce_my_uchar4_9(Allocation ain1) { 13610 return reduce_my_uchar4_9(ain1, null); 13611 } 13612 13613 // ain1 = "uchar4 in" 13614 public result_int reduce_my_uchar4_9(Allocation ain1, Script.LaunchOptions sc) { 13615 // check ain1 13616 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13617 throw new RSRuntimeException("Type mismatch with U8_4!"); 13618 } 13619 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13620 aout.setAutoPadding(true); 13621 reduce(mExportReduceIdx_my_uchar4_9, new Allocation[]{ain1}, aout, sc); 13622 return new result_int(aout); 13623 } 13624 13625 private final static int mExportReduceIdx_my_uchar4_10 = 378; 13626 // in1 = "in", flattened 4-vectors 13627 public result_int reduce_my_uchar4_10(byte[] in1) { 13628 // Verify that "in1" is non-null. 13629 if (in1 == null) { 13630 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13631 } 13632 // Verify that the array length is a multiple of the vector size. 13633 if (in1.length % 4 != 0) { 13634 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13635 } 13636 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13637 ain1.setAutoPadding(true); 13638 ain1.copyFrom(in1); 13639 13640 result_int result = reduce_my_uchar4_10(ain1, null); 13641 result.mTempIns = new Allocation[]{ain1}; 13642 return result; 13643 } 13644 13645 // ain1 = "uchar4 in" 13646 public result_int reduce_my_uchar4_10(Allocation ain1) { 13647 return reduce_my_uchar4_10(ain1, null); 13648 } 13649 13650 // ain1 = "uchar4 in" 13651 public result_int reduce_my_uchar4_10(Allocation ain1, Script.LaunchOptions sc) { 13652 // check ain1 13653 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13654 throw new RSRuntimeException("Type mismatch with U8_4!"); 13655 } 13656 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13657 aout.setAutoPadding(true); 13658 reduce(mExportReduceIdx_my_uchar4_10, new Allocation[]{ain1}, aout, sc); 13659 return new result_int(aout); 13660 } 13661 13662 private final static int mExportReduceIdx_my_uchar4_11 = 379; 13663 // in1 = "in", flattened 4-vectors 13664 public result_int reduce_my_uchar4_11(byte[] in1) { 13665 // Verify that "in1" is non-null. 13666 if (in1 == null) { 13667 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13668 } 13669 // Verify that the array length is a multiple of the vector size. 13670 if (in1.length % 4 != 0) { 13671 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13672 } 13673 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13674 ain1.setAutoPadding(true); 13675 ain1.copyFrom(in1); 13676 13677 result_int result = reduce_my_uchar4_11(ain1, null); 13678 result.mTempIns = new Allocation[]{ain1}; 13679 return result; 13680 } 13681 13682 // ain1 = "uchar4 in" 13683 public result_int reduce_my_uchar4_11(Allocation ain1) { 13684 return reduce_my_uchar4_11(ain1, null); 13685 } 13686 13687 // ain1 = "uchar4 in" 13688 public result_int reduce_my_uchar4_11(Allocation ain1, Script.LaunchOptions sc) { 13689 // check ain1 13690 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13691 throw new RSRuntimeException("Type mismatch with U8_4!"); 13692 } 13693 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13694 aout.setAutoPadding(true); 13695 reduce(mExportReduceIdx_my_uchar4_11, new Allocation[]{ain1}, aout, sc); 13696 return new result_int(aout); 13697 } 13698 13699 private final static int mExportReduceIdx_my_uchar4_12 = 380; 13700 // in1 = "in", flattened 4-vectors 13701 public result_int reduce_my_uchar4_12(byte[] in1) { 13702 // Verify that "in1" is non-null. 13703 if (in1 == null) { 13704 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13705 } 13706 // Verify that the array length is a multiple of the vector size. 13707 if (in1.length % 4 != 0) { 13708 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13709 } 13710 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13711 ain1.setAutoPadding(true); 13712 ain1.copyFrom(in1); 13713 13714 result_int result = reduce_my_uchar4_12(ain1, null); 13715 result.mTempIns = new Allocation[]{ain1}; 13716 return result; 13717 } 13718 13719 // ain1 = "uchar4 in" 13720 public result_int reduce_my_uchar4_12(Allocation ain1) { 13721 return reduce_my_uchar4_12(ain1, null); 13722 } 13723 13724 // ain1 = "uchar4 in" 13725 public result_int reduce_my_uchar4_12(Allocation ain1, Script.LaunchOptions sc) { 13726 // check ain1 13727 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13728 throw new RSRuntimeException("Type mismatch with U8_4!"); 13729 } 13730 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13731 aout.setAutoPadding(true); 13732 reduce(mExportReduceIdx_my_uchar4_12, new Allocation[]{ain1}, aout, sc); 13733 return new result_int(aout); 13734 } 13735 13736 private final static int mExportReduceIdx_my_uchar4_13 = 381; 13737 // in1 = "in", flattened 4-vectors 13738 public result_int reduce_my_uchar4_13(byte[] in1) { 13739 // Verify that "in1" is non-null. 13740 if (in1 == null) { 13741 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13742 } 13743 // Verify that the array length is a multiple of the vector size. 13744 if (in1.length % 4 != 0) { 13745 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13746 } 13747 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13748 ain1.setAutoPadding(true); 13749 ain1.copyFrom(in1); 13750 13751 result_int result = reduce_my_uchar4_13(ain1, null); 13752 result.mTempIns = new Allocation[]{ain1}; 13753 return result; 13754 } 13755 13756 // ain1 = "uchar4 in" 13757 public result_int reduce_my_uchar4_13(Allocation ain1) { 13758 return reduce_my_uchar4_13(ain1, null); 13759 } 13760 13761 // ain1 = "uchar4 in" 13762 public result_int reduce_my_uchar4_13(Allocation ain1, Script.LaunchOptions sc) { 13763 // check ain1 13764 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13765 throw new RSRuntimeException("Type mismatch with U8_4!"); 13766 } 13767 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13768 aout.setAutoPadding(true); 13769 reduce(mExportReduceIdx_my_uchar4_13, new Allocation[]{ain1}, aout, sc); 13770 return new result_int(aout); 13771 } 13772 13773 private final static int mExportReduceIdx_my_uchar4_14 = 382; 13774 // in1 = "in", flattened 4-vectors 13775 public result_int reduce_my_uchar4_14(byte[] in1) { 13776 // Verify that "in1" is non-null. 13777 if (in1 == null) { 13778 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13779 } 13780 // Verify that the array length is a multiple of the vector size. 13781 if (in1.length % 4 != 0) { 13782 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13783 } 13784 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13785 ain1.setAutoPadding(true); 13786 ain1.copyFrom(in1); 13787 13788 result_int result = reduce_my_uchar4_14(ain1, null); 13789 result.mTempIns = new Allocation[]{ain1}; 13790 return result; 13791 } 13792 13793 // ain1 = "uchar4 in" 13794 public result_int reduce_my_uchar4_14(Allocation ain1) { 13795 return reduce_my_uchar4_14(ain1, null); 13796 } 13797 13798 // ain1 = "uchar4 in" 13799 public result_int reduce_my_uchar4_14(Allocation ain1, Script.LaunchOptions sc) { 13800 // check ain1 13801 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13802 throw new RSRuntimeException("Type mismatch with U8_4!"); 13803 } 13804 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13805 aout.setAutoPadding(true); 13806 reduce(mExportReduceIdx_my_uchar4_14, new Allocation[]{ain1}, aout, sc); 13807 return new result_int(aout); 13808 } 13809 13810 private final static int mExportReduceIdx_my_uchar4_15 = 383; 13811 // in1 = "in", flattened 4-vectors 13812 public result_int reduce_my_uchar4_15(byte[] in1) { 13813 // Verify that "in1" is non-null. 13814 if (in1 == null) { 13815 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13816 } 13817 // Verify that the array length is a multiple of the vector size. 13818 if (in1.length % 4 != 0) { 13819 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 13820 } 13821 Allocation ain1 = Allocation.createSized(mRSLocal, __U8_4, in1.length / 4); 13822 ain1.setAutoPadding(true); 13823 ain1.copyFrom(in1); 13824 13825 result_int result = reduce_my_uchar4_15(ain1, null); 13826 result.mTempIns = new Allocation[]{ain1}; 13827 return result; 13828 } 13829 13830 // ain1 = "uchar4 in" 13831 public result_int reduce_my_uchar4_15(Allocation ain1) { 13832 return reduce_my_uchar4_15(ain1, null); 13833 } 13834 13835 // ain1 = "uchar4 in" 13836 public result_int reduce_my_uchar4_15(Allocation ain1, Script.LaunchOptions sc) { 13837 // check ain1 13838 if (!ain1.getType().getElement().isCompatible(__U8_4)) { 13839 throw new RSRuntimeException("Type mismatch with U8_4!"); 13840 } 13841 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13842 aout.setAutoPadding(true); 13843 reduce(mExportReduceIdx_my_uchar4_15, new Allocation[]{ain1}, aout, sc); 13844 return new result_int(aout); 13845 } 13846 13847 private final static int mExportReduceIdx_my_ushort_0 = 384; 13848 // in1 = "in" 13849 public result_int reduce_my_ushort_0(short[] in1) { 13850 // Verify that "in1" is non-null. 13851 if (in1 == null) { 13852 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13853 } 13854 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13855 ain1.setAutoPadding(true); 13856 ain1.copyFrom(in1); 13857 13858 result_int result = reduce_my_ushort_0(ain1, null); 13859 result.mTempIns = new Allocation[]{ain1}; 13860 return result; 13861 } 13862 13863 // ain1 = "ushort in" 13864 public result_int reduce_my_ushort_0(Allocation ain1) { 13865 return reduce_my_ushort_0(ain1, null); 13866 } 13867 13868 // ain1 = "ushort in" 13869 public result_int reduce_my_ushort_0(Allocation ain1, Script.LaunchOptions sc) { 13870 // check ain1 13871 if (!ain1.getType().getElement().isCompatible(__U16)) { 13872 throw new RSRuntimeException("Type mismatch with U16!"); 13873 } 13874 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13875 aout.setAutoPadding(true); 13876 reduce(mExportReduceIdx_my_ushort_0, new Allocation[]{ain1}, aout, sc); 13877 return new result_int(aout); 13878 } 13879 13880 private final static int mExportReduceIdx_my_ushort_1 = 385; 13881 // in1 = "in" 13882 public result_int reduce_my_ushort_1(short[] in1) { 13883 // Verify that "in1" is non-null. 13884 if (in1 == null) { 13885 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13886 } 13887 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13888 ain1.setAutoPadding(true); 13889 ain1.copyFrom(in1); 13890 13891 result_int result = reduce_my_ushort_1(ain1, null); 13892 result.mTempIns = new Allocation[]{ain1}; 13893 return result; 13894 } 13895 13896 // ain1 = "ushort in" 13897 public result_int reduce_my_ushort_1(Allocation ain1) { 13898 return reduce_my_ushort_1(ain1, null); 13899 } 13900 13901 // ain1 = "ushort in" 13902 public result_int reduce_my_ushort_1(Allocation ain1, Script.LaunchOptions sc) { 13903 // check ain1 13904 if (!ain1.getType().getElement().isCompatible(__U16)) { 13905 throw new RSRuntimeException("Type mismatch with U16!"); 13906 } 13907 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13908 aout.setAutoPadding(true); 13909 reduce(mExportReduceIdx_my_ushort_1, new Allocation[]{ain1}, aout, sc); 13910 return new result_int(aout); 13911 } 13912 13913 private final static int mExportReduceIdx_my_ushort_2 = 386; 13914 // in1 = "in" 13915 public result_int reduce_my_ushort_2(short[] in1) { 13916 // Verify that "in1" is non-null. 13917 if (in1 == null) { 13918 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13919 } 13920 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13921 ain1.setAutoPadding(true); 13922 ain1.copyFrom(in1); 13923 13924 result_int result = reduce_my_ushort_2(ain1, null); 13925 result.mTempIns = new Allocation[]{ain1}; 13926 return result; 13927 } 13928 13929 // ain1 = "ushort in" 13930 public result_int reduce_my_ushort_2(Allocation ain1) { 13931 return reduce_my_ushort_2(ain1, null); 13932 } 13933 13934 // ain1 = "ushort in" 13935 public result_int reduce_my_ushort_2(Allocation ain1, Script.LaunchOptions sc) { 13936 // check ain1 13937 if (!ain1.getType().getElement().isCompatible(__U16)) { 13938 throw new RSRuntimeException("Type mismatch with U16!"); 13939 } 13940 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13941 aout.setAutoPadding(true); 13942 reduce(mExportReduceIdx_my_ushort_2, new Allocation[]{ain1}, aout, sc); 13943 return new result_int(aout); 13944 } 13945 13946 private final static int mExportReduceIdx_my_ushort_3 = 387; 13947 // in1 = "in" 13948 public result_int reduce_my_ushort_3(short[] in1) { 13949 // Verify that "in1" is non-null. 13950 if (in1 == null) { 13951 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13952 } 13953 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13954 ain1.setAutoPadding(true); 13955 ain1.copyFrom(in1); 13956 13957 result_int result = reduce_my_ushort_3(ain1, null); 13958 result.mTempIns = new Allocation[]{ain1}; 13959 return result; 13960 } 13961 13962 // ain1 = "ushort in" 13963 public result_int reduce_my_ushort_3(Allocation ain1) { 13964 return reduce_my_ushort_3(ain1, null); 13965 } 13966 13967 // ain1 = "ushort in" 13968 public result_int reduce_my_ushort_3(Allocation ain1, Script.LaunchOptions sc) { 13969 // check ain1 13970 if (!ain1.getType().getElement().isCompatible(__U16)) { 13971 throw new RSRuntimeException("Type mismatch with U16!"); 13972 } 13973 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 13974 aout.setAutoPadding(true); 13975 reduce(mExportReduceIdx_my_ushort_3, new Allocation[]{ain1}, aout, sc); 13976 return new result_int(aout); 13977 } 13978 13979 private final static int mExportReduceIdx_my_ushort_4 = 388; 13980 // in1 = "in" 13981 public result_int reduce_my_ushort_4(short[] in1) { 13982 // Verify that "in1" is non-null. 13983 if (in1 == null) { 13984 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 13985 } 13986 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 13987 ain1.setAutoPadding(true); 13988 ain1.copyFrom(in1); 13989 13990 result_int result = reduce_my_ushort_4(ain1, null); 13991 result.mTempIns = new Allocation[]{ain1}; 13992 return result; 13993 } 13994 13995 // ain1 = "ushort in" 13996 public result_int reduce_my_ushort_4(Allocation ain1) { 13997 return reduce_my_ushort_4(ain1, null); 13998 } 13999 14000 // ain1 = "ushort in" 14001 public result_int reduce_my_ushort_4(Allocation ain1, Script.LaunchOptions sc) { 14002 // check ain1 14003 if (!ain1.getType().getElement().isCompatible(__U16)) { 14004 throw new RSRuntimeException("Type mismatch with U16!"); 14005 } 14006 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14007 aout.setAutoPadding(true); 14008 reduce(mExportReduceIdx_my_ushort_4, new Allocation[]{ain1}, aout, sc); 14009 return new result_int(aout); 14010 } 14011 14012 private final static int mExportReduceIdx_my_ushort_5 = 389; 14013 // in1 = "in" 14014 public result_int reduce_my_ushort_5(short[] in1) { 14015 // Verify that "in1" is non-null. 14016 if (in1 == null) { 14017 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14018 } 14019 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14020 ain1.setAutoPadding(true); 14021 ain1.copyFrom(in1); 14022 14023 result_int result = reduce_my_ushort_5(ain1, null); 14024 result.mTempIns = new Allocation[]{ain1}; 14025 return result; 14026 } 14027 14028 // ain1 = "ushort in" 14029 public result_int reduce_my_ushort_5(Allocation ain1) { 14030 return reduce_my_ushort_5(ain1, null); 14031 } 14032 14033 // ain1 = "ushort in" 14034 public result_int reduce_my_ushort_5(Allocation ain1, Script.LaunchOptions sc) { 14035 // check ain1 14036 if (!ain1.getType().getElement().isCompatible(__U16)) { 14037 throw new RSRuntimeException("Type mismatch with U16!"); 14038 } 14039 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14040 aout.setAutoPadding(true); 14041 reduce(mExportReduceIdx_my_ushort_5, new Allocation[]{ain1}, aout, sc); 14042 return new result_int(aout); 14043 } 14044 14045 private final static int mExportReduceIdx_my_ushort_6 = 390; 14046 // in1 = "in" 14047 public result_int reduce_my_ushort_6(short[] in1) { 14048 // Verify that "in1" is non-null. 14049 if (in1 == null) { 14050 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14051 } 14052 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14053 ain1.setAutoPadding(true); 14054 ain1.copyFrom(in1); 14055 14056 result_int result = reduce_my_ushort_6(ain1, null); 14057 result.mTempIns = new Allocation[]{ain1}; 14058 return result; 14059 } 14060 14061 // ain1 = "ushort in" 14062 public result_int reduce_my_ushort_6(Allocation ain1) { 14063 return reduce_my_ushort_6(ain1, null); 14064 } 14065 14066 // ain1 = "ushort in" 14067 public result_int reduce_my_ushort_6(Allocation ain1, Script.LaunchOptions sc) { 14068 // check ain1 14069 if (!ain1.getType().getElement().isCompatible(__U16)) { 14070 throw new RSRuntimeException("Type mismatch with U16!"); 14071 } 14072 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14073 aout.setAutoPadding(true); 14074 reduce(mExportReduceIdx_my_ushort_6, new Allocation[]{ain1}, aout, sc); 14075 return new result_int(aout); 14076 } 14077 14078 private final static int mExportReduceIdx_my_ushort_7 = 391; 14079 // in1 = "in" 14080 public result_int reduce_my_ushort_7(short[] in1) { 14081 // Verify that "in1" is non-null. 14082 if (in1 == null) { 14083 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14084 } 14085 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14086 ain1.setAutoPadding(true); 14087 ain1.copyFrom(in1); 14088 14089 result_int result = reduce_my_ushort_7(ain1, null); 14090 result.mTempIns = new Allocation[]{ain1}; 14091 return result; 14092 } 14093 14094 // ain1 = "ushort in" 14095 public result_int reduce_my_ushort_7(Allocation ain1) { 14096 return reduce_my_ushort_7(ain1, null); 14097 } 14098 14099 // ain1 = "ushort in" 14100 public result_int reduce_my_ushort_7(Allocation ain1, Script.LaunchOptions sc) { 14101 // check ain1 14102 if (!ain1.getType().getElement().isCompatible(__U16)) { 14103 throw new RSRuntimeException("Type mismatch with U16!"); 14104 } 14105 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14106 aout.setAutoPadding(true); 14107 reduce(mExportReduceIdx_my_ushort_7, new Allocation[]{ain1}, aout, sc); 14108 return new result_int(aout); 14109 } 14110 14111 private final static int mExportReduceIdx_my_ushort_8 = 392; 14112 // in1 = "in" 14113 public result_int reduce_my_ushort_8(short[] in1) { 14114 // Verify that "in1" is non-null. 14115 if (in1 == null) { 14116 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14117 } 14118 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14119 ain1.setAutoPadding(true); 14120 ain1.copyFrom(in1); 14121 14122 result_int result = reduce_my_ushort_8(ain1, null); 14123 result.mTempIns = new Allocation[]{ain1}; 14124 return result; 14125 } 14126 14127 // ain1 = "ushort in" 14128 public result_int reduce_my_ushort_8(Allocation ain1) { 14129 return reduce_my_ushort_8(ain1, null); 14130 } 14131 14132 // ain1 = "ushort in" 14133 public result_int reduce_my_ushort_8(Allocation ain1, Script.LaunchOptions sc) { 14134 // check ain1 14135 if (!ain1.getType().getElement().isCompatible(__U16)) { 14136 throw new RSRuntimeException("Type mismatch with U16!"); 14137 } 14138 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14139 aout.setAutoPadding(true); 14140 reduce(mExportReduceIdx_my_ushort_8, new Allocation[]{ain1}, aout, sc); 14141 return new result_int(aout); 14142 } 14143 14144 private final static int mExportReduceIdx_my_ushort_9 = 393; 14145 // in1 = "in" 14146 public result_int reduce_my_ushort_9(short[] in1) { 14147 // Verify that "in1" is non-null. 14148 if (in1 == null) { 14149 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14150 } 14151 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14152 ain1.setAutoPadding(true); 14153 ain1.copyFrom(in1); 14154 14155 result_int result = reduce_my_ushort_9(ain1, null); 14156 result.mTempIns = new Allocation[]{ain1}; 14157 return result; 14158 } 14159 14160 // ain1 = "ushort in" 14161 public result_int reduce_my_ushort_9(Allocation ain1) { 14162 return reduce_my_ushort_9(ain1, null); 14163 } 14164 14165 // ain1 = "ushort in" 14166 public result_int reduce_my_ushort_9(Allocation ain1, Script.LaunchOptions sc) { 14167 // check ain1 14168 if (!ain1.getType().getElement().isCompatible(__U16)) { 14169 throw new RSRuntimeException("Type mismatch with U16!"); 14170 } 14171 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14172 aout.setAutoPadding(true); 14173 reduce(mExportReduceIdx_my_ushort_9, new Allocation[]{ain1}, aout, sc); 14174 return new result_int(aout); 14175 } 14176 14177 private final static int mExportReduceIdx_my_ushort_10 = 394; 14178 // in1 = "in" 14179 public result_int reduce_my_ushort_10(short[] in1) { 14180 // Verify that "in1" is non-null. 14181 if (in1 == null) { 14182 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14183 } 14184 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14185 ain1.setAutoPadding(true); 14186 ain1.copyFrom(in1); 14187 14188 result_int result = reduce_my_ushort_10(ain1, null); 14189 result.mTempIns = new Allocation[]{ain1}; 14190 return result; 14191 } 14192 14193 // ain1 = "ushort in" 14194 public result_int reduce_my_ushort_10(Allocation ain1) { 14195 return reduce_my_ushort_10(ain1, null); 14196 } 14197 14198 // ain1 = "ushort in" 14199 public result_int reduce_my_ushort_10(Allocation ain1, Script.LaunchOptions sc) { 14200 // check ain1 14201 if (!ain1.getType().getElement().isCompatible(__U16)) { 14202 throw new RSRuntimeException("Type mismatch with U16!"); 14203 } 14204 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14205 aout.setAutoPadding(true); 14206 reduce(mExportReduceIdx_my_ushort_10, new Allocation[]{ain1}, aout, sc); 14207 return new result_int(aout); 14208 } 14209 14210 private final static int mExportReduceIdx_my_ushort_11 = 395; 14211 // in1 = "in" 14212 public result_int reduce_my_ushort_11(short[] in1) { 14213 // Verify that "in1" is non-null. 14214 if (in1 == null) { 14215 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14216 } 14217 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14218 ain1.setAutoPadding(true); 14219 ain1.copyFrom(in1); 14220 14221 result_int result = reduce_my_ushort_11(ain1, null); 14222 result.mTempIns = new Allocation[]{ain1}; 14223 return result; 14224 } 14225 14226 // ain1 = "ushort in" 14227 public result_int reduce_my_ushort_11(Allocation ain1) { 14228 return reduce_my_ushort_11(ain1, null); 14229 } 14230 14231 // ain1 = "ushort in" 14232 public result_int reduce_my_ushort_11(Allocation ain1, Script.LaunchOptions sc) { 14233 // check ain1 14234 if (!ain1.getType().getElement().isCompatible(__U16)) { 14235 throw new RSRuntimeException("Type mismatch with U16!"); 14236 } 14237 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14238 aout.setAutoPadding(true); 14239 reduce(mExportReduceIdx_my_ushort_11, new Allocation[]{ain1}, aout, sc); 14240 return new result_int(aout); 14241 } 14242 14243 private final static int mExportReduceIdx_my_ushort_12 = 396; 14244 // in1 = "in" 14245 public result_int reduce_my_ushort_12(short[] in1) { 14246 // Verify that "in1" is non-null. 14247 if (in1 == null) { 14248 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14249 } 14250 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14251 ain1.setAutoPadding(true); 14252 ain1.copyFrom(in1); 14253 14254 result_int result = reduce_my_ushort_12(ain1, null); 14255 result.mTempIns = new Allocation[]{ain1}; 14256 return result; 14257 } 14258 14259 // ain1 = "ushort in" 14260 public result_int reduce_my_ushort_12(Allocation ain1) { 14261 return reduce_my_ushort_12(ain1, null); 14262 } 14263 14264 // ain1 = "ushort in" 14265 public result_int reduce_my_ushort_12(Allocation ain1, Script.LaunchOptions sc) { 14266 // check ain1 14267 if (!ain1.getType().getElement().isCompatible(__U16)) { 14268 throw new RSRuntimeException("Type mismatch with U16!"); 14269 } 14270 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14271 aout.setAutoPadding(true); 14272 reduce(mExportReduceIdx_my_ushort_12, new Allocation[]{ain1}, aout, sc); 14273 return new result_int(aout); 14274 } 14275 14276 private final static int mExportReduceIdx_my_ushort_13 = 397; 14277 // in1 = "in" 14278 public result_int reduce_my_ushort_13(short[] in1) { 14279 // Verify that "in1" is non-null. 14280 if (in1 == null) { 14281 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14282 } 14283 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14284 ain1.setAutoPadding(true); 14285 ain1.copyFrom(in1); 14286 14287 result_int result = reduce_my_ushort_13(ain1, null); 14288 result.mTempIns = new Allocation[]{ain1}; 14289 return result; 14290 } 14291 14292 // ain1 = "ushort in" 14293 public result_int reduce_my_ushort_13(Allocation ain1) { 14294 return reduce_my_ushort_13(ain1, null); 14295 } 14296 14297 // ain1 = "ushort in" 14298 public result_int reduce_my_ushort_13(Allocation ain1, Script.LaunchOptions sc) { 14299 // check ain1 14300 if (!ain1.getType().getElement().isCompatible(__U16)) { 14301 throw new RSRuntimeException("Type mismatch with U16!"); 14302 } 14303 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14304 aout.setAutoPadding(true); 14305 reduce(mExportReduceIdx_my_ushort_13, new Allocation[]{ain1}, aout, sc); 14306 return new result_int(aout); 14307 } 14308 14309 private final static int mExportReduceIdx_my_ushort_14 = 398; 14310 // in1 = "in" 14311 public result_int reduce_my_ushort_14(short[] in1) { 14312 // Verify that "in1" is non-null. 14313 if (in1 == null) { 14314 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14315 } 14316 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14317 ain1.setAutoPadding(true); 14318 ain1.copyFrom(in1); 14319 14320 result_int result = reduce_my_ushort_14(ain1, null); 14321 result.mTempIns = new Allocation[]{ain1}; 14322 return result; 14323 } 14324 14325 // ain1 = "ushort in" 14326 public result_int reduce_my_ushort_14(Allocation ain1) { 14327 return reduce_my_ushort_14(ain1, null); 14328 } 14329 14330 // ain1 = "ushort in" 14331 public result_int reduce_my_ushort_14(Allocation ain1, Script.LaunchOptions sc) { 14332 // check ain1 14333 if (!ain1.getType().getElement().isCompatible(__U16)) { 14334 throw new RSRuntimeException("Type mismatch with U16!"); 14335 } 14336 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14337 aout.setAutoPadding(true); 14338 reduce(mExportReduceIdx_my_ushort_14, new Allocation[]{ain1}, aout, sc); 14339 return new result_int(aout); 14340 } 14341 14342 private final static int mExportReduceIdx_my_ushort_15 = 399; 14343 // in1 = "in" 14344 public result_int reduce_my_ushort_15(short[] in1) { 14345 // Verify that "in1" is non-null. 14346 if (in1 == null) { 14347 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14348 } 14349 Allocation ain1 = Allocation.createSized(mRSLocal, __U16, in1.length); 14350 ain1.setAutoPadding(true); 14351 ain1.copyFrom(in1); 14352 14353 result_int result = reduce_my_ushort_15(ain1, null); 14354 result.mTempIns = new Allocation[]{ain1}; 14355 return result; 14356 } 14357 14358 // ain1 = "ushort in" 14359 public result_int reduce_my_ushort_15(Allocation ain1) { 14360 return reduce_my_ushort_15(ain1, null); 14361 } 14362 14363 // ain1 = "ushort in" 14364 public result_int reduce_my_ushort_15(Allocation ain1, Script.LaunchOptions sc) { 14365 // check ain1 14366 if (!ain1.getType().getElement().isCompatible(__U16)) { 14367 throw new RSRuntimeException("Type mismatch with U16!"); 14368 } 14369 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14370 aout.setAutoPadding(true); 14371 reduce(mExportReduceIdx_my_ushort_15, new Allocation[]{ain1}, aout, sc); 14372 return new result_int(aout); 14373 } 14374 14375 private final static int mExportReduceIdx_my_ushort2_0 = 400; 14376 // in1 = "in", flattened 2-vectors 14377 public result_int reduce_my_ushort2_0(short[] in1) { 14378 // Verify that "in1" is non-null. 14379 if (in1 == null) { 14380 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14381 } 14382 // Verify that the array length is a multiple of the vector size. 14383 if (in1.length % 2 != 0) { 14384 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14385 } 14386 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14387 ain1.setAutoPadding(true); 14388 ain1.copyFrom(in1); 14389 14390 result_int result = reduce_my_ushort2_0(ain1, null); 14391 result.mTempIns = new Allocation[]{ain1}; 14392 return result; 14393 } 14394 14395 // ain1 = "ushort2 in" 14396 public result_int reduce_my_ushort2_0(Allocation ain1) { 14397 return reduce_my_ushort2_0(ain1, null); 14398 } 14399 14400 // ain1 = "ushort2 in" 14401 public result_int reduce_my_ushort2_0(Allocation ain1, Script.LaunchOptions sc) { 14402 // check ain1 14403 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14404 throw new RSRuntimeException("Type mismatch with U16_2!"); 14405 } 14406 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14407 aout.setAutoPadding(true); 14408 reduce(mExportReduceIdx_my_ushort2_0, new Allocation[]{ain1}, aout, sc); 14409 return new result_int(aout); 14410 } 14411 14412 private final static int mExportReduceIdx_my_ushort2_1 = 401; 14413 // in1 = "in", flattened 2-vectors 14414 public result_int reduce_my_ushort2_1(short[] in1) { 14415 // Verify that "in1" is non-null. 14416 if (in1 == null) { 14417 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14418 } 14419 // Verify that the array length is a multiple of the vector size. 14420 if (in1.length % 2 != 0) { 14421 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14422 } 14423 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14424 ain1.setAutoPadding(true); 14425 ain1.copyFrom(in1); 14426 14427 result_int result = reduce_my_ushort2_1(ain1, null); 14428 result.mTempIns = new Allocation[]{ain1}; 14429 return result; 14430 } 14431 14432 // ain1 = "ushort2 in" 14433 public result_int reduce_my_ushort2_1(Allocation ain1) { 14434 return reduce_my_ushort2_1(ain1, null); 14435 } 14436 14437 // ain1 = "ushort2 in" 14438 public result_int reduce_my_ushort2_1(Allocation ain1, Script.LaunchOptions sc) { 14439 // check ain1 14440 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14441 throw new RSRuntimeException("Type mismatch with U16_2!"); 14442 } 14443 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14444 aout.setAutoPadding(true); 14445 reduce(mExportReduceIdx_my_ushort2_1, new Allocation[]{ain1}, aout, sc); 14446 return new result_int(aout); 14447 } 14448 14449 private final static int mExportReduceIdx_my_ushort2_2 = 402; 14450 // in1 = "in", flattened 2-vectors 14451 public result_int reduce_my_ushort2_2(short[] in1) { 14452 // Verify that "in1" is non-null. 14453 if (in1 == null) { 14454 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14455 } 14456 // Verify that the array length is a multiple of the vector size. 14457 if (in1.length % 2 != 0) { 14458 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14459 } 14460 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14461 ain1.setAutoPadding(true); 14462 ain1.copyFrom(in1); 14463 14464 result_int result = reduce_my_ushort2_2(ain1, null); 14465 result.mTempIns = new Allocation[]{ain1}; 14466 return result; 14467 } 14468 14469 // ain1 = "ushort2 in" 14470 public result_int reduce_my_ushort2_2(Allocation ain1) { 14471 return reduce_my_ushort2_2(ain1, null); 14472 } 14473 14474 // ain1 = "ushort2 in" 14475 public result_int reduce_my_ushort2_2(Allocation ain1, Script.LaunchOptions sc) { 14476 // check ain1 14477 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14478 throw new RSRuntimeException("Type mismatch with U16_2!"); 14479 } 14480 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14481 aout.setAutoPadding(true); 14482 reduce(mExportReduceIdx_my_ushort2_2, new Allocation[]{ain1}, aout, sc); 14483 return new result_int(aout); 14484 } 14485 14486 private final static int mExportReduceIdx_my_ushort2_3 = 403; 14487 // in1 = "in", flattened 2-vectors 14488 public result_int reduce_my_ushort2_3(short[] in1) { 14489 // Verify that "in1" is non-null. 14490 if (in1 == null) { 14491 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14492 } 14493 // Verify that the array length is a multiple of the vector size. 14494 if (in1.length % 2 != 0) { 14495 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14496 } 14497 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14498 ain1.setAutoPadding(true); 14499 ain1.copyFrom(in1); 14500 14501 result_int result = reduce_my_ushort2_3(ain1, null); 14502 result.mTempIns = new Allocation[]{ain1}; 14503 return result; 14504 } 14505 14506 // ain1 = "ushort2 in" 14507 public result_int reduce_my_ushort2_3(Allocation ain1) { 14508 return reduce_my_ushort2_3(ain1, null); 14509 } 14510 14511 // ain1 = "ushort2 in" 14512 public result_int reduce_my_ushort2_3(Allocation ain1, Script.LaunchOptions sc) { 14513 // check ain1 14514 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14515 throw new RSRuntimeException("Type mismatch with U16_2!"); 14516 } 14517 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14518 aout.setAutoPadding(true); 14519 reduce(mExportReduceIdx_my_ushort2_3, new Allocation[]{ain1}, aout, sc); 14520 return new result_int(aout); 14521 } 14522 14523 private final static int mExportReduceIdx_my_ushort2_4 = 404; 14524 // in1 = "in", flattened 2-vectors 14525 public result_int reduce_my_ushort2_4(short[] in1) { 14526 // Verify that "in1" is non-null. 14527 if (in1 == null) { 14528 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14529 } 14530 // Verify that the array length is a multiple of the vector size. 14531 if (in1.length % 2 != 0) { 14532 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14533 } 14534 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14535 ain1.setAutoPadding(true); 14536 ain1.copyFrom(in1); 14537 14538 result_int result = reduce_my_ushort2_4(ain1, null); 14539 result.mTempIns = new Allocation[]{ain1}; 14540 return result; 14541 } 14542 14543 // ain1 = "ushort2 in" 14544 public result_int reduce_my_ushort2_4(Allocation ain1) { 14545 return reduce_my_ushort2_4(ain1, null); 14546 } 14547 14548 // ain1 = "ushort2 in" 14549 public result_int reduce_my_ushort2_4(Allocation ain1, Script.LaunchOptions sc) { 14550 // check ain1 14551 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14552 throw new RSRuntimeException("Type mismatch with U16_2!"); 14553 } 14554 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14555 aout.setAutoPadding(true); 14556 reduce(mExportReduceIdx_my_ushort2_4, new Allocation[]{ain1}, aout, sc); 14557 return new result_int(aout); 14558 } 14559 14560 private final static int mExportReduceIdx_my_ushort2_5 = 405; 14561 // in1 = "in", flattened 2-vectors 14562 public result_int reduce_my_ushort2_5(short[] in1) { 14563 // Verify that "in1" is non-null. 14564 if (in1 == null) { 14565 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14566 } 14567 // Verify that the array length is a multiple of the vector size. 14568 if (in1.length % 2 != 0) { 14569 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14570 } 14571 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14572 ain1.setAutoPadding(true); 14573 ain1.copyFrom(in1); 14574 14575 result_int result = reduce_my_ushort2_5(ain1, null); 14576 result.mTempIns = new Allocation[]{ain1}; 14577 return result; 14578 } 14579 14580 // ain1 = "ushort2 in" 14581 public result_int reduce_my_ushort2_5(Allocation ain1) { 14582 return reduce_my_ushort2_5(ain1, null); 14583 } 14584 14585 // ain1 = "ushort2 in" 14586 public result_int reduce_my_ushort2_5(Allocation ain1, Script.LaunchOptions sc) { 14587 // check ain1 14588 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14589 throw new RSRuntimeException("Type mismatch with U16_2!"); 14590 } 14591 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14592 aout.setAutoPadding(true); 14593 reduce(mExportReduceIdx_my_ushort2_5, new Allocation[]{ain1}, aout, sc); 14594 return new result_int(aout); 14595 } 14596 14597 private final static int mExportReduceIdx_my_ushort2_6 = 406; 14598 // in1 = "in", flattened 2-vectors 14599 public result_int reduce_my_ushort2_6(short[] in1) { 14600 // Verify that "in1" is non-null. 14601 if (in1 == null) { 14602 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14603 } 14604 // Verify that the array length is a multiple of the vector size. 14605 if (in1.length % 2 != 0) { 14606 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14607 } 14608 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14609 ain1.setAutoPadding(true); 14610 ain1.copyFrom(in1); 14611 14612 result_int result = reduce_my_ushort2_6(ain1, null); 14613 result.mTempIns = new Allocation[]{ain1}; 14614 return result; 14615 } 14616 14617 // ain1 = "ushort2 in" 14618 public result_int reduce_my_ushort2_6(Allocation ain1) { 14619 return reduce_my_ushort2_6(ain1, null); 14620 } 14621 14622 // ain1 = "ushort2 in" 14623 public result_int reduce_my_ushort2_6(Allocation ain1, Script.LaunchOptions sc) { 14624 // check ain1 14625 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14626 throw new RSRuntimeException("Type mismatch with U16_2!"); 14627 } 14628 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14629 aout.setAutoPadding(true); 14630 reduce(mExportReduceIdx_my_ushort2_6, new Allocation[]{ain1}, aout, sc); 14631 return new result_int(aout); 14632 } 14633 14634 private final static int mExportReduceIdx_my_ushort2_7 = 407; 14635 // in1 = "in", flattened 2-vectors 14636 public result_int reduce_my_ushort2_7(short[] in1) { 14637 // Verify that "in1" is non-null. 14638 if (in1 == null) { 14639 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14640 } 14641 // Verify that the array length is a multiple of the vector size. 14642 if (in1.length % 2 != 0) { 14643 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14644 } 14645 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14646 ain1.setAutoPadding(true); 14647 ain1.copyFrom(in1); 14648 14649 result_int result = reduce_my_ushort2_7(ain1, null); 14650 result.mTempIns = new Allocation[]{ain1}; 14651 return result; 14652 } 14653 14654 // ain1 = "ushort2 in" 14655 public result_int reduce_my_ushort2_7(Allocation ain1) { 14656 return reduce_my_ushort2_7(ain1, null); 14657 } 14658 14659 // ain1 = "ushort2 in" 14660 public result_int reduce_my_ushort2_7(Allocation ain1, Script.LaunchOptions sc) { 14661 // check ain1 14662 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14663 throw new RSRuntimeException("Type mismatch with U16_2!"); 14664 } 14665 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14666 aout.setAutoPadding(true); 14667 reduce(mExportReduceIdx_my_ushort2_7, new Allocation[]{ain1}, aout, sc); 14668 return new result_int(aout); 14669 } 14670 14671 private final static int mExportReduceIdx_my_ushort2_8 = 408; 14672 // in1 = "in", flattened 2-vectors 14673 public result_int reduce_my_ushort2_8(short[] in1) { 14674 // Verify that "in1" is non-null. 14675 if (in1 == null) { 14676 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14677 } 14678 // Verify that the array length is a multiple of the vector size. 14679 if (in1.length % 2 != 0) { 14680 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14681 } 14682 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14683 ain1.setAutoPadding(true); 14684 ain1.copyFrom(in1); 14685 14686 result_int result = reduce_my_ushort2_8(ain1, null); 14687 result.mTempIns = new Allocation[]{ain1}; 14688 return result; 14689 } 14690 14691 // ain1 = "ushort2 in" 14692 public result_int reduce_my_ushort2_8(Allocation ain1) { 14693 return reduce_my_ushort2_8(ain1, null); 14694 } 14695 14696 // ain1 = "ushort2 in" 14697 public result_int reduce_my_ushort2_8(Allocation ain1, Script.LaunchOptions sc) { 14698 // check ain1 14699 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14700 throw new RSRuntimeException("Type mismatch with U16_2!"); 14701 } 14702 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14703 aout.setAutoPadding(true); 14704 reduce(mExportReduceIdx_my_ushort2_8, new Allocation[]{ain1}, aout, sc); 14705 return new result_int(aout); 14706 } 14707 14708 private final static int mExportReduceIdx_my_ushort2_9 = 409; 14709 // in1 = "in", flattened 2-vectors 14710 public result_int reduce_my_ushort2_9(short[] in1) { 14711 // Verify that "in1" is non-null. 14712 if (in1 == null) { 14713 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14714 } 14715 // Verify that the array length is a multiple of the vector size. 14716 if (in1.length % 2 != 0) { 14717 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14718 } 14719 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14720 ain1.setAutoPadding(true); 14721 ain1.copyFrom(in1); 14722 14723 result_int result = reduce_my_ushort2_9(ain1, null); 14724 result.mTempIns = new Allocation[]{ain1}; 14725 return result; 14726 } 14727 14728 // ain1 = "ushort2 in" 14729 public result_int reduce_my_ushort2_9(Allocation ain1) { 14730 return reduce_my_ushort2_9(ain1, null); 14731 } 14732 14733 // ain1 = "ushort2 in" 14734 public result_int reduce_my_ushort2_9(Allocation ain1, Script.LaunchOptions sc) { 14735 // check ain1 14736 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14737 throw new RSRuntimeException("Type mismatch with U16_2!"); 14738 } 14739 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14740 aout.setAutoPadding(true); 14741 reduce(mExportReduceIdx_my_ushort2_9, new Allocation[]{ain1}, aout, sc); 14742 return new result_int(aout); 14743 } 14744 14745 private final static int mExportReduceIdx_my_ushort2_10 = 410; 14746 // in1 = "in", flattened 2-vectors 14747 public result_int reduce_my_ushort2_10(short[] in1) { 14748 // Verify that "in1" is non-null. 14749 if (in1 == null) { 14750 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14751 } 14752 // Verify that the array length is a multiple of the vector size. 14753 if (in1.length % 2 != 0) { 14754 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14755 } 14756 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14757 ain1.setAutoPadding(true); 14758 ain1.copyFrom(in1); 14759 14760 result_int result = reduce_my_ushort2_10(ain1, null); 14761 result.mTempIns = new Allocation[]{ain1}; 14762 return result; 14763 } 14764 14765 // ain1 = "ushort2 in" 14766 public result_int reduce_my_ushort2_10(Allocation ain1) { 14767 return reduce_my_ushort2_10(ain1, null); 14768 } 14769 14770 // ain1 = "ushort2 in" 14771 public result_int reduce_my_ushort2_10(Allocation ain1, Script.LaunchOptions sc) { 14772 // check ain1 14773 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14774 throw new RSRuntimeException("Type mismatch with U16_2!"); 14775 } 14776 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14777 aout.setAutoPadding(true); 14778 reduce(mExportReduceIdx_my_ushort2_10, new Allocation[]{ain1}, aout, sc); 14779 return new result_int(aout); 14780 } 14781 14782 private final static int mExportReduceIdx_my_ushort2_11 = 411; 14783 // in1 = "in", flattened 2-vectors 14784 public result_int reduce_my_ushort2_11(short[] in1) { 14785 // Verify that "in1" is non-null. 14786 if (in1 == null) { 14787 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14788 } 14789 // Verify that the array length is a multiple of the vector size. 14790 if (in1.length % 2 != 0) { 14791 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14792 } 14793 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14794 ain1.setAutoPadding(true); 14795 ain1.copyFrom(in1); 14796 14797 result_int result = reduce_my_ushort2_11(ain1, null); 14798 result.mTempIns = new Allocation[]{ain1}; 14799 return result; 14800 } 14801 14802 // ain1 = "ushort2 in" 14803 public result_int reduce_my_ushort2_11(Allocation ain1) { 14804 return reduce_my_ushort2_11(ain1, null); 14805 } 14806 14807 // ain1 = "ushort2 in" 14808 public result_int reduce_my_ushort2_11(Allocation ain1, Script.LaunchOptions sc) { 14809 // check ain1 14810 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14811 throw new RSRuntimeException("Type mismatch with U16_2!"); 14812 } 14813 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14814 aout.setAutoPadding(true); 14815 reduce(mExportReduceIdx_my_ushort2_11, new Allocation[]{ain1}, aout, sc); 14816 return new result_int(aout); 14817 } 14818 14819 private final static int mExportReduceIdx_my_ushort2_12 = 412; 14820 // in1 = "in", flattened 2-vectors 14821 public result_int reduce_my_ushort2_12(short[] in1) { 14822 // Verify that "in1" is non-null. 14823 if (in1 == null) { 14824 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14825 } 14826 // Verify that the array length is a multiple of the vector size. 14827 if (in1.length % 2 != 0) { 14828 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14829 } 14830 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14831 ain1.setAutoPadding(true); 14832 ain1.copyFrom(in1); 14833 14834 result_int result = reduce_my_ushort2_12(ain1, null); 14835 result.mTempIns = new Allocation[]{ain1}; 14836 return result; 14837 } 14838 14839 // ain1 = "ushort2 in" 14840 public result_int reduce_my_ushort2_12(Allocation ain1) { 14841 return reduce_my_ushort2_12(ain1, null); 14842 } 14843 14844 // ain1 = "ushort2 in" 14845 public result_int reduce_my_ushort2_12(Allocation ain1, Script.LaunchOptions sc) { 14846 // check ain1 14847 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14848 throw new RSRuntimeException("Type mismatch with U16_2!"); 14849 } 14850 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14851 aout.setAutoPadding(true); 14852 reduce(mExportReduceIdx_my_ushort2_12, new Allocation[]{ain1}, aout, sc); 14853 return new result_int(aout); 14854 } 14855 14856 private final static int mExportReduceIdx_my_ushort2_13 = 413; 14857 // in1 = "in", flattened 2-vectors 14858 public result_int reduce_my_ushort2_13(short[] in1) { 14859 // Verify that "in1" is non-null. 14860 if (in1 == null) { 14861 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14862 } 14863 // Verify that the array length is a multiple of the vector size. 14864 if (in1.length % 2 != 0) { 14865 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14866 } 14867 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14868 ain1.setAutoPadding(true); 14869 ain1.copyFrom(in1); 14870 14871 result_int result = reduce_my_ushort2_13(ain1, null); 14872 result.mTempIns = new Allocation[]{ain1}; 14873 return result; 14874 } 14875 14876 // ain1 = "ushort2 in" 14877 public result_int reduce_my_ushort2_13(Allocation ain1) { 14878 return reduce_my_ushort2_13(ain1, null); 14879 } 14880 14881 // ain1 = "ushort2 in" 14882 public result_int reduce_my_ushort2_13(Allocation ain1, Script.LaunchOptions sc) { 14883 // check ain1 14884 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14885 throw new RSRuntimeException("Type mismatch with U16_2!"); 14886 } 14887 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14888 aout.setAutoPadding(true); 14889 reduce(mExportReduceIdx_my_ushort2_13, new Allocation[]{ain1}, aout, sc); 14890 return new result_int(aout); 14891 } 14892 14893 private final static int mExportReduceIdx_my_ushort2_14 = 414; 14894 // in1 = "in", flattened 2-vectors 14895 public result_int reduce_my_ushort2_14(short[] in1) { 14896 // Verify that "in1" is non-null. 14897 if (in1 == null) { 14898 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14899 } 14900 // Verify that the array length is a multiple of the vector size. 14901 if (in1.length % 2 != 0) { 14902 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14903 } 14904 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14905 ain1.setAutoPadding(true); 14906 ain1.copyFrom(in1); 14907 14908 result_int result = reduce_my_ushort2_14(ain1, null); 14909 result.mTempIns = new Allocation[]{ain1}; 14910 return result; 14911 } 14912 14913 // ain1 = "ushort2 in" 14914 public result_int reduce_my_ushort2_14(Allocation ain1) { 14915 return reduce_my_ushort2_14(ain1, null); 14916 } 14917 14918 // ain1 = "ushort2 in" 14919 public result_int reduce_my_ushort2_14(Allocation ain1, Script.LaunchOptions sc) { 14920 // check ain1 14921 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14922 throw new RSRuntimeException("Type mismatch with U16_2!"); 14923 } 14924 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14925 aout.setAutoPadding(true); 14926 reduce(mExportReduceIdx_my_ushort2_14, new Allocation[]{ain1}, aout, sc); 14927 return new result_int(aout); 14928 } 14929 14930 private final static int mExportReduceIdx_my_ushort2_15 = 415; 14931 // in1 = "in", flattened 2-vectors 14932 public result_int reduce_my_ushort2_15(short[] in1) { 14933 // Verify that "in1" is non-null. 14934 if (in1 == null) { 14935 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14936 } 14937 // Verify that the array length is a multiple of the vector size. 14938 if (in1.length % 2 != 0) { 14939 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 14940 } 14941 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_2, in1.length / 2); 14942 ain1.setAutoPadding(true); 14943 ain1.copyFrom(in1); 14944 14945 result_int result = reduce_my_ushort2_15(ain1, null); 14946 result.mTempIns = new Allocation[]{ain1}; 14947 return result; 14948 } 14949 14950 // ain1 = "ushort2 in" 14951 public result_int reduce_my_ushort2_15(Allocation ain1) { 14952 return reduce_my_ushort2_15(ain1, null); 14953 } 14954 14955 // ain1 = "ushort2 in" 14956 public result_int reduce_my_ushort2_15(Allocation ain1, Script.LaunchOptions sc) { 14957 // check ain1 14958 if (!ain1.getType().getElement().isCompatible(__U16_2)) { 14959 throw new RSRuntimeException("Type mismatch with U16_2!"); 14960 } 14961 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14962 aout.setAutoPadding(true); 14963 reduce(mExportReduceIdx_my_ushort2_15, new Allocation[]{ain1}, aout, sc); 14964 return new result_int(aout); 14965 } 14966 14967 private final static int mExportReduceIdx_my_ushort4_0 = 416; 14968 // in1 = "in", flattened 4-vectors 14969 public result_int reduce_my_ushort4_0(short[] in1) { 14970 // Verify that "in1" is non-null. 14971 if (in1 == null) { 14972 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 14973 } 14974 // Verify that the array length is a multiple of the vector size. 14975 if (in1.length % 4 != 0) { 14976 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 14977 } 14978 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 14979 ain1.setAutoPadding(true); 14980 ain1.copyFrom(in1); 14981 14982 result_int result = reduce_my_ushort4_0(ain1, null); 14983 result.mTempIns = new Allocation[]{ain1}; 14984 return result; 14985 } 14986 14987 // ain1 = "ushort4 in" 14988 public result_int reduce_my_ushort4_0(Allocation ain1) { 14989 return reduce_my_ushort4_0(ain1, null); 14990 } 14991 14992 // ain1 = "ushort4 in" 14993 public result_int reduce_my_ushort4_0(Allocation ain1, Script.LaunchOptions sc) { 14994 // check ain1 14995 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 14996 throw new RSRuntimeException("Type mismatch with U16_4!"); 14997 } 14998 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 14999 aout.setAutoPadding(true); 15000 reduce(mExportReduceIdx_my_ushort4_0, new Allocation[]{ain1}, aout, sc); 15001 return new result_int(aout); 15002 } 15003 15004 private final static int mExportReduceIdx_my_ushort4_1 = 417; 15005 // in1 = "in", flattened 4-vectors 15006 public result_int reduce_my_ushort4_1(short[] in1) { 15007 // Verify that "in1" is non-null. 15008 if (in1 == null) { 15009 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15010 } 15011 // Verify that the array length is a multiple of the vector size. 15012 if (in1.length % 4 != 0) { 15013 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15014 } 15015 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15016 ain1.setAutoPadding(true); 15017 ain1.copyFrom(in1); 15018 15019 result_int result = reduce_my_ushort4_1(ain1, null); 15020 result.mTempIns = new Allocation[]{ain1}; 15021 return result; 15022 } 15023 15024 // ain1 = "ushort4 in" 15025 public result_int reduce_my_ushort4_1(Allocation ain1) { 15026 return reduce_my_ushort4_1(ain1, null); 15027 } 15028 15029 // ain1 = "ushort4 in" 15030 public result_int reduce_my_ushort4_1(Allocation ain1, Script.LaunchOptions sc) { 15031 // check ain1 15032 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15033 throw new RSRuntimeException("Type mismatch with U16_4!"); 15034 } 15035 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15036 aout.setAutoPadding(true); 15037 reduce(mExportReduceIdx_my_ushort4_1, new Allocation[]{ain1}, aout, sc); 15038 return new result_int(aout); 15039 } 15040 15041 private final static int mExportReduceIdx_my_ushort4_2 = 418; 15042 // in1 = "in", flattened 4-vectors 15043 public result_int reduce_my_ushort4_2(short[] in1) { 15044 // Verify that "in1" is non-null. 15045 if (in1 == null) { 15046 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15047 } 15048 // Verify that the array length is a multiple of the vector size. 15049 if (in1.length % 4 != 0) { 15050 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15051 } 15052 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15053 ain1.setAutoPadding(true); 15054 ain1.copyFrom(in1); 15055 15056 result_int result = reduce_my_ushort4_2(ain1, null); 15057 result.mTempIns = new Allocation[]{ain1}; 15058 return result; 15059 } 15060 15061 // ain1 = "ushort4 in" 15062 public result_int reduce_my_ushort4_2(Allocation ain1) { 15063 return reduce_my_ushort4_2(ain1, null); 15064 } 15065 15066 // ain1 = "ushort4 in" 15067 public result_int reduce_my_ushort4_2(Allocation ain1, Script.LaunchOptions sc) { 15068 // check ain1 15069 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15070 throw new RSRuntimeException("Type mismatch with U16_4!"); 15071 } 15072 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15073 aout.setAutoPadding(true); 15074 reduce(mExportReduceIdx_my_ushort4_2, new Allocation[]{ain1}, aout, sc); 15075 return new result_int(aout); 15076 } 15077 15078 private final static int mExportReduceIdx_my_ushort4_3 = 419; 15079 // in1 = "in", flattened 4-vectors 15080 public result_int reduce_my_ushort4_3(short[] in1) { 15081 // Verify that "in1" is non-null. 15082 if (in1 == null) { 15083 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15084 } 15085 // Verify that the array length is a multiple of the vector size. 15086 if (in1.length % 4 != 0) { 15087 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15088 } 15089 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15090 ain1.setAutoPadding(true); 15091 ain1.copyFrom(in1); 15092 15093 result_int result = reduce_my_ushort4_3(ain1, null); 15094 result.mTempIns = new Allocation[]{ain1}; 15095 return result; 15096 } 15097 15098 // ain1 = "ushort4 in" 15099 public result_int reduce_my_ushort4_3(Allocation ain1) { 15100 return reduce_my_ushort4_3(ain1, null); 15101 } 15102 15103 // ain1 = "ushort4 in" 15104 public result_int reduce_my_ushort4_3(Allocation ain1, Script.LaunchOptions sc) { 15105 // check ain1 15106 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15107 throw new RSRuntimeException("Type mismatch with U16_4!"); 15108 } 15109 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15110 aout.setAutoPadding(true); 15111 reduce(mExportReduceIdx_my_ushort4_3, new Allocation[]{ain1}, aout, sc); 15112 return new result_int(aout); 15113 } 15114 15115 private final static int mExportReduceIdx_my_ushort4_4 = 420; 15116 // in1 = "in", flattened 4-vectors 15117 public result_int reduce_my_ushort4_4(short[] in1) { 15118 // Verify that "in1" is non-null. 15119 if (in1 == null) { 15120 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15121 } 15122 // Verify that the array length is a multiple of the vector size. 15123 if (in1.length % 4 != 0) { 15124 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15125 } 15126 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15127 ain1.setAutoPadding(true); 15128 ain1.copyFrom(in1); 15129 15130 result_int result = reduce_my_ushort4_4(ain1, null); 15131 result.mTempIns = new Allocation[]{ain1}; 15132 return result; 15133 } 15134 15135 // ain1 = "ushort4 in" 15136 public result_int reduce_my_ushort4_4(Allocation ain1) { 15137 return reduce_my_ushort4_4(ain1, null); 15138 } 15139 15140 // ain1 = "ushort4 in" 15141 public result_int reduce_my_ushort4_4(Allocation ain1, Script.LaunchOptions sc) { 15142 // check ain1 15143 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15144 throw new RSRuntimeException("Type mismatch with U16_4!"); 15145 } 15146 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15147 aout.setAutoPadding(true); 15148 reduce(mExportReduceIdx_my_ushort4_4, new Allocation[]{ain1}, aout, sc); 15149 return new result_int(aout); 15150 } 15151 15152 private final static int mExportReduceIdx_my_ushort4_5 = 421; 15153 // in1 = "in", flattened 4-vectors 15154 public result_int reduce_my_ushort4_5(short[] in1) { 15155 // Verify that "in1" is non-null. 15156 if (in1 == null) { 15157 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15158 } 15159 // Verify that the array length is a multiple of the vector size. 15160 if (in1.length % 4 != 0) { 15161 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15162 } 15163 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15164 ain1.setAutoPadding(true); 15165 ain1.copyFrom(in1); 15166 15167 result_int result = reduce_my_ushort4_5(ain1, null); 15168 result.mTempIns = new Allocation[]{ain1}; 15169 return result; 15170 } 15171 15172 // ain1 = "ushort4 in" 15173 public result_int reduce_my_ushort4_5(Allocation ain1) { 15174 return reduce_my_ushort4_5(ain1, null); 15175 } 15176 15177 // ain1 = "ushort4 in" 15178 public result_int reduce_my_ushort4_5(Allocation ain1, Script.LaunchOptions sc) { 15179 // check ain1 15180 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15181 throw new RSRuntimeException("Type mismatch with U16_4!"); 15182 } 15183 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15184 aout.setAutoPadding(true); 15185 reduce(mExportReduceIdx_my_ushort4_5, new Allocation[]{ain1}, aout, sc); 15186 return new result_int(aout); 15187 } 15188 15189 private final static int mExportReduceIdx_my_ushort4_6 = 422; 15190 // in1 = "in", flattened 4-vectors 15191 public result_int reduce_my_ushort4_6(short[] in1) { 15192 // Verify that "in1" is non-null. 15193 if (in1 == null) { 15194 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15195 } 15196 // Verify that the array length is a multiple of the vector size. 15197 if (in1.length % 4 != 0) { 15198 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15199 } 15200 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15201 ain1.setAutoPadding(true); 15202 ain1.copyFrom(in1); 15203 15204 result_int result = reduce_my_ushort4_6(ain1, null); 15205 result.mTempIns = new Allocation[]{ain1}; 15206 return result; 15207 } 15208 15209 // ain1 = "ushort4 in" 15210 public result_int reduce_my_ushort4_6(Allocation ain1) { 15211 return reduce_my_ushort4_6(ain1, null); 15212 } 15213 15214 // ain1 = "ushort4 in" 15215 public result_int reduce_my_ushort4_6(Allocation ain1, Script.LaunchOptions sc) { 15216 // check ain1 15217 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15218 throw new RSRuntimeException("Type mismatch with U16_4!"); 15219 } 15220 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15221 aout.setAutoPadding(true); 15222 reduce(mExportReduceIdx_my_ushort4_6, new Allocation[]{ain1}, aout, sc); 15223 return new result_int(aout); 15224 } 15225 15226 private final static int mExportReduceIdx_my_ushort4_7 = 423; 15227 // in1 = "in", flattened 4-vectors 15228 public result_int reduce_my_ushort4_7(short[] in1) { 15229 // Verify that "in1" is non-null. 15230 if (in1 == null) { 15231 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15232 } 15233 // Verify that the array length is a multiple of the vector size. 15234 if (in1.length % 4 != 0) { 15235 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15236 } 15237 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15238 ain1.setAutoPadding(true); 15239 ain1.copyFrom(in1); 15240 15241 result_int result = reduce_my_ushort4_7(ain1, null); 15242 result.mTempIns = new Allocation[]{ain1}; 15243 return result; 15244 } 15245 15246 // ain1 = "ushort4 in" 15247 public result_int reduce_my_ushort4_7(Allocation ain1) { 15248 return reduce_my_ushort4_7(ain1, null); 15249 } 15250 15251 // ain1 = "ushort4 in" 15252 public result_int reduce_my_ushort4_7(Allocation ain1, Script.LaunchOptions sc) { 15253 // check ain1 15254 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15255 throw new RSRuntimeException("Type mismatch with U16_4!"); 15256 } 15257 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15258 aout.setAutoPadding(true); 15259 reduce(mExportReduceIdx_my_ushort4_7, new Allocation[]{ain1}, aout, sc); 15260 return new result_int(aout); 15261 } 15262 15263 private final static int mExportReduceIdx_my_ushort4_8 = 424; 15264 // in1 = "in", flattened 4-vectors 15265 public result_int reduce_my_ushort4_8(short[] in1) { 15266 // Verify that "in1" is non-null. 15267 if (in1 == null) { 15268 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15269 } 15270 // Verify that the array length is a multiple of the vector size. 15271 if (in1.length % 4 != 0) { 15272 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15273 } 15274 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15275 ain1.setAutoPadding(true); 15276 ain1.copyFrom(in1); 15277 15278 result_int result = reduce_my_ushort4_8(ain1, null); 15279 result.mTempIns = new Allocation[]{ain1}; 15280 return result; 15281 } 15282 15283 // ain1 = "ushort4 in" 15284 public result_int reduce_my_ushort4_8(Allocation ain1) { 15285 return reduce_my_ushort4_8(ain1, null); 15286 } 15287 15288 // ain1 = "ushort4 in" 15289 public result_int reduce_my_ushort4_8(Allocation ain1, Script.LaunchOptions sc) { 15290 // check ain1 15291 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15292 throw new RSRuntimeException("Type mismatch with U16_4!"); 15293 } 15294 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15295 aout.setAutoPadding(true); 15296 reduce(mExportReduceIdx_my_ushort4_8, new Allocation[]{ain1}, aout, sc); 15297 return new result_int(aout); 15298 } 15299 15300 private final static int mExportReduceIdx_my_ushort4_9 = 425; 15301 // in1 = "in", flattened 4-vectors 15302 public result_int reduce_my_ushort4_9(short[] in1) { 15303 // Verify that "in1" is non-null. 15304 if (in1 == null) { 15305 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15306 } 15307 // Verify that the array length is a multiple of the vector size. 15308 if (in1.length % 4 != 0) { 15309 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15310 } 15311 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15312 ain1.setAutoPadding(true); 15313 ain1.copyFrom(in1); 15314 15315 result_int result = reduce_my_ushort4_9(ain1, null); 15316 result.mTempIns = new Allocation[]{ain1}; 15317 return result; 15318 } 15319 15320 // ain1 = "ushort4 in" 15321 public result_int reduce_my_ushort4_9(Allocation ain1) { 15322 return reduce_my_ushort4_9(ain1, null); 15323 } 15324 15325 // ain1 = "ushort4 in" 15326 public result_int reduce_my_ushort4_9(Allocation ain1, Script.LaunchOptions sc) { 15327 // check ain1 15328 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15329 throw new RSRuntimeException("Type mismatch with U16_4!"); 15330 } 15331 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15332 aout.setAutoPadding(true); 15333 reduce(mExportReduceIdx_my_ushort4_9, new Allocation[]{ain1}, aout, sc); 15334 return new result_int(aout); 15335 } 15336 15337 private final static int mExportReduceIdx_my_ushort4_10 = 426; 15338 // in1 = "in", flattened 4-vectors 15339 public result_int reduce_my_ushort4_10(short[] in1) { 15340 // Verify that "in1" is non-null. 15341 if (in1 == null) { 15342 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15343 } 15344 // Verify that the array length is a multiple of the vector size. 15345 if (in1.length % 4 != 0) { 15346 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15347 } 15348 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15349 ain1.setAutoPadding(true); 15350 ain1.copyFrom(in1); 15351 15352 result_int result = reduce_my_ushort4_10(ain1, null); 15353 result.mTempIns = new Allocation[]{ain1}; 15354 return result; 15355 } 15356 15357 // ain1 = "ushort4 in" 15358 public result_int reduce_my_ushort4_10(Allocation ain1) { 15359 return reduce_my_ushort4_10(ain1, null); 15360 } 15361 15362 // ain1 = "ushort4 in" 15363 public result_int reduce_my_ushort4_10(Allocation ain1, Script.LaunchOptions sc) { 15364 // check ain1 15365 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15366 throw new RSRuntimeException("Type mismatch with U16_4!"); 15367 } 15368 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15369 aout.setAutoPadding(true); 15370 reduce(mExportReduceIdx_my_ushort4_10, new Allocation[]{ain1}, aout, sc); 15371 return new result_int(aout); 15372 } 15373 15374 private final static int mExportReduceIdx_my_ushort4_11 = 427; 15375 // in1 = "in", flattened 4-vectors 15376 public result_int reduce_my_ushort4_11(short[] in1) { 15377 // Verify that "in1" is non-null. 15378 if (in1 == null) { 15379 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15380 } 15381 // Verify that the array length is a multiple of the vector size. 15382 if (in1.length % 4 != 0) { 15383 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15384 } 15385 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15386 ain1.setAutoPadding(true); 15387 ain1.copyFrom(in1); 15388 15389 result_int result = reduce_my_ushort4_11(ain1, null); 15390 result.mTempIns = new Allocation[]{ain1}; 15391 return result; 15392 } 15393 15394 // ain1 = "ushort4 in" 15395 public result_int reduce_my_ushort4_11(Allocation ain1) { 15396 return reduce_my_ushort4_11(ain1, null); 15397 } 15398 15399 // ain1 = "ushort4 in" 15400 public result_int reduce_my_ushort4_11(Allocation ain1, Script.LaunchOptions sc) { 15401 // check ain1 15402 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15403 throw new RSRuntimeException("Type mismatch with U16_4!"); 15404 } 15405 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15406 aout.setAutoPadding(true); 15407 reduce(mExportReduceIdx_my_ushort4_11, new Allocation[]{ain1}, aout, sc); 15408 return new result_int(aout); 15409 } 15410 15411 private final static int mExportReduceIdx_my_ushort4_12 = 428; 15412 // in1 = "in", flattened 4-vectors 15413 public result_int reduce_my_ushort4_12(short[] in1) { 15414 // Verify that "in1" is non-null. 15415 if (in1 == null) { 15416 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15417 } 15418 // Verify that the array length is a multiple of the vector size. 15419 if (in1.length % 4 != 0) { 15420 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15421 } 15422 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15423 ain1.setAutoPadding(true); 15424 ain1.copyFrom(in1); 15425 15426 result_int result = reduce_my_ushort4_12(ain1, null); 15427 result.mTempIns = new Allocation[]{ain1}; 15428 return result; 15429 } 15430 15431 // ain1 = "ushort4 in" 15432 public result_int reduce_my_ushort4_12(Allocation ain1) { 15433 return reduce_my_ushort4_12(ain1, null); 15434 } 15435 15436 // ain1 = "ushort4 in" 15437 public result_int reduce_my_ushort4_12(Allocation ain1, Script.LaunchOptions sc) { 15438 // check ain1 15439 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15440 throw new RSRuntimeException("Type mismatch with U16_4!"); 15441 } 15442 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15443 aout.setAutoPadding(true); 15444 reduce(mExportReduceIdx_my_ushort4_12, new Allocation[]{ain1}, aout, sc); 15445 return new result_int(aout); 15446 } 15447 15448 private final static int mExportReduceIdx_my_ushort4_13 = 429; 15449 // in1 = "in", flattened 4-vectors 15450 public result_int reduce_my_ushort4_13(short[] in1) { 15451 // Verify that "in1" is non-null. 15452 if (in1 == null) { 15453 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15454 } 15455 // Verify that the array length is a multiple of the vector size. 15456 if (in1.length % 4 != 0) { 15457 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15458 } 15459 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15460 ain1.setAutoPadding(true); 15461 ain1.copyFrom(in1); 15462 15463 result_int result = reduce_my_ushort4_13(ain1, null); 15464 result.mTempIns = new Allocation[]{ain1}; 15465 return result; 15466 } 15467 15468 // ain1 = "ushort4 in" 15469 public result_int reduce_my_ushort4_13(Allocation ain1) { 15470 return reduce_my_ushort4_13(ain1, null); 15471 } 15472 15473 // ain1 = "ushort4 in" 15474 public result_int reduce_my_ushort4_13(Allocation ain1, Script.LaunchOptions sc) { 15475 // check ain1 15476 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15477 throw new RSRuntimeException("Type mismatch with U16_4!"); 15478 } 15479 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15480 aout.setAutoPadding(true); 15481 reduce(mExportReduceIdx_my_ushort4_13, new Allocation[]{ain1}, aout, sc); 15482 return new result_int(aout); 15483 } 15484 15485 private final static int mExportReduceIdx_my_ushort4_14 = 430; 15486 // in1 = "in", flattened 4-vectors 15487 public result_int reduce_my_ushort4_14(short[] in1) { 15488 // Verify that "in1" is non-null. 15489 if (in1 == null) { 15490 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15491 } 15492 // Verify that the array length is a multiple of the vector size. 15493 if (in1.length % 4 != 0) { 15494 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15495 } 15496 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15497 ain1.setAutoPadding(true); 15498 ain1.copyFrom(in1); 15499 15500 result_int result = reduce_my_ushort4_14(ain1, null); 15501 result.mTempIns = new Allocation[]{ain1}; 15502 return result; 15503 } 15504 15505 // ain1 = "ushort4 in" 15506 public result_int reduce_my_ushort4_14(Allocation ain1) { 15507 return reduce_my_ushort4_14(ain1, null); 15508 } 15509 15510 // ain1 = "ushort4 in" 15511 public result_int reduce_my_ushort4_14(Allocation ain1, Script.LaunchOptions sc) { 15512 // check ain1 15513 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15514 throw new RSRuntimeException("Type mismatch with U16_4!"); 15515 } 15516 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15517 aout.setAutoPadding(true); 15518 reduce(mExportReduceIdx_my_ushort4_14, new Allocation[]{ain1}, aout, sc); 15519 return new result_int(aout); 15520 } 15521 15522 private final static int mExportReduceIdx_my_ushort4_15 = 431; 15523 // in1 = "in", flattened 4-vectors 15524 public result_int reduce_my_ushort4_15(short[] in1) { 15525 // Verify that "in1" is non-null. 15526 if (in1 == null) { 15527 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15528 } 15529 // Verify that the array length is a multiple of the vector size. 15530 if (in1.length % 4 != 0) { 15531 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 15532 } 15533 Allocation ain1 = Allocation.createSized(mRSLocal, __U16_4, in1.length / 4); 15534 ain1.setAutoPadding(true); 15535 ain1.copyFrom(in1); 15536 15537 result_int result = reduce_my_ushort4_15(ain1, null); 15538 result.mTempIns = new Allocation[]{ain1}; 15539 return result; 15540 } 15541 15542 // ain1 = "ushort4 in" 15543 public result_int reduce_my_ushort4_15(Allocation ain1) { 15544 return reduce_my_ushort4_15(ain1, null); 15545 } 15546 15547 // ain1 = "ushort4 in" 15548 public result_int reduce_my_ushort4_15(Allocation ain1, Script.LaunchOptions sc) { 15549 // check ain1 15550 if (!ain1.getType().getElement().isCompatible(__U16_4)) { 15551 throw new RSRuntimeException("Type mismatch with U16_4!"); 15552 } 15553 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15554 aout.setAutoPadding(true); 15555 reduce(mExportReduceIdx_my_ushort4_15, new Allocation[]{ain1}, aout, sc); 15556 return new result_int(aout); 15557 } 15558 15559 private final static int mExportReduceIdx_my_uint_0 = 432; 15560 // in1 = "in" 15561 public result_int reduce_my_uint_0(int[] in1) { 15562 // Verify that "in1" is non-null. 15563 if (in1 == null) { 15564 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15565 } 15566 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15567 ain1.setAutoPadding(true); 15568 ain1.copyFrom(in1); 15569 15570 result_int result = reduce_my_uint_0(ain1, null); 15571 result.mTempIns = new Allocation[]{ain1}; 15572 return result; 15573 } 15574 15575 // ain1 = "uint in" 15576 public result_int reduce_my_uint_0(Allocation ain1) { 15577 return reduce_my_uint_0(ain1, null); 15578 } 15579 15580 // ain1 = "uint in" 15581 public result_int reduce_my_uint_0(Allocation ain1, Script.LaunchOptions sc) { 15582 // check ain1 15583 if (!ain1.getType().getElement().isCompatible(__U32)) { 15584 throw new RSRuntimeException("Type mismatch with U32!"); 15585 } 15586 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15587 aout.setAutoPadding(true); 15588 reduce(mExportReduceIdx_my_uint_0, new Allocation[]{ain1}, aout, sc); 15589 return new result_int(aout); 15590 } 15591 15592 private final static int mExportReduceIdx_my_uint_1 = 433; 15593 // in1 = "in" 15594 public result_int reduce_my_uint_1(int[] in1) { 15595 // Verify that "in1" is non-null. 15596 if (in1 == null) { 15597 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15598 } 15599 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15600 ain1.setAutoPadding(true); 15601 ain1.copyFrom(in1); 15602 15603 result_int result = reduce_my_uint_1(ain1, null); 15604 result.mTempIns = new Allocation[]{ain1}; 15605 return result; 15606 } 15607 15608 // ain1 = "uint in" 15609 public result_int reduce_my_uint_1(Allocation ain1) { 15610 return reduce_my_uint_1(ain1, null); 15611 } 15612 15613 // ain1 = "uint in" 15614 public result_int reduce_my_uint_1(Allocation ain1, Script.LaunchOptions sc) { 15615 // check ain1 15616 if (!ain1.getType().getElement().isCompatible(__U32)) { 15617 throw new RSRuntimeException("Type mismatch with U32!"); 15618 } 15619 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15620 aout.setAutoPadding(true); 15621 reduce(mExportReduceIdx_my_uint_1, new Allocation[]{ain1}, aout, sc); 15622 return new result_int(aout); 15623 } 15624 15625 private final static int mExportReduceIdx_my_uint_2 = 434; 15626 // in1 = "in" 15627 public result_int reduce_my_uint_2(int[] in1) { 15628 // Verify that "in1" is non-null. 15629 if (in1 == null) { 15630 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15631 } 15632 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15633 ain1.setAutoPadding(true); 15634 ain1.copyFrom(in1); 15635 15636 result_int result = reduce_my_uint_2(ain1, null); 15637 result.mTempIns = new Allocation[]{ain1}; 15638 return result; 15639 } 15640 15641 // ain1 = "uint in" 15642 public result_int reduce_my_uint_2(Allocation ain1) { 15643 return reduce_my_uint_2(ain1, null); 15644 } 15645 15646 // ain1 = "uint in" 15647 public result_int reduce_my_uint_2(Allocation ain1, Script.LaunchOptions sc) { 15648 // check ain1 15649 if (!ain1.getType().getElement().isCompatible(__U32)) { 15650 throw new RSRuntimeException("Type mismatch with U32!"); 15651 } 15652 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15653 aout.setAutoPadding(true); 15654 reduce(mExportReduceIdx_my_uint_2, new Allocation[]{ain1}, aout, sc); 15655 return new result_int(aout); 15656 } 15657 15658 private final static int mExportReduceIdx_my_uint_3 = 435; 15659 // in1 = "in" 15660 public result_int reduce_my_uint_3(int[] in1) { 15661 // Verify that "in1" is non-null. 15662 if (in1 == null) { 15663 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15664 } 15665 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15666 ain1.setAutoPadding(true); 15667 ain1.copyFrom(in1); 15668 15669 result_int result = reduce_my_uint_3(ain1, null); 15670 result.mTempIns = new Allocation[]{ain1}; 15671 return result; 15672 } 15673 15674 // ain1 = "uint in" 15675 public result_int reduce_my_uint_3(Allocation ain1) { 15676 return reduce_my_uint_3(ain1, null); 15677 } 15678 15679 // ain1 = "uint in" 15680 public result_int reduce_my_uint_3(Allocation ain1, Script.LaunchOptions sc) { 15681 // check ain1 15682 if (!ain1.getType().getElement().isCompatible(__U32)) { 15683 throw new RSRuntimeException("Type mismatch with U32!"); 15684 } 15685 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15686 aout.setAutoPadding(true); 15687 reduce(mExportReduceIdx_my_uint_3, new Allocation[]{ain1}, aout, sc); 15688 return new result_int(aout); 15689 } 15690 15691 private final static int mExportReduceIdx_my_uint_4 = 436; 15692 // in1 = "in" 15693 public result_int reduce_my_uint_4(int[] in1) { 15694 // Verify that "in1" is non-null. 15695 if (in1 == null) { 15696 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15697 } 15698 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15699 ain1.setAutoPadding(true); 15700 ain1.copyFrom(in1); 15701 15702 result_int result = reduce_my_uint_4(ain1, null); 15703 result.mTempIns = new Allocation[]{ain1}; 15704 return result; 15705 } 15706 15707 // ain1 = "uint in" 15708 public result_int reduce_my_uint_4(Allocation ain1) { 15709 return reduce_my_uint_4(ain1, null); 15710 } 15711 15712 // ain1 = "uint in" 15713 public result_int reduce_my_uint_4(Allocation ain1, Script.LaunchOptions sc) { 15714 // check ain1 15715 if (!ain1.getType().getElement().isCompatible(__U32)) { 15716 throw new RSRuntimeException("Type mismatch with U32!"); 15717 } 15718 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15719 aout.setAutoPadding(true); 15720 reduce(mExportReduceIdx_my_uint_4, new Allocation[]{ain1}, aout, sc); 15721 return new result_int(aout); 15722 } 15723 15724 private final static int mExportReduceIdx_my_uint_5 = 437; 15725 // in1 = "in" 15726 public result_int reduce_my_uint_5(int[] in1) { 15727 // Verify that "in1" is non-null. 15728 if (in1 == null) { 15729 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15730 } 15731 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15732 ain1.setAutoPadding(true); 15733 ain1.copyFrom(in1); 15734 15735 result_int result = reduce_my_uint_5(ain1, null); 15736 result.mTempIns = new Allocation[]{ain1}; 15737 return result; 15738 } 15739 15740 // ain1 = "uint in" 15741 public result_int reduce_my_uint_5(Allocation ain1) { 15742 return reduce_my_uint_5(ain1, null); 15743 } 15744 15745 // ain1 = "uint in" 15746 public result_int reduce_my_uint_5(Allocation ain1, Script.LaunchOptions sc) { 15747 // check ain1 15748 if (!ain1.getType().getElement().isCompatible(__U32)) { 15749 throw new RSRuntimeException("Type mismatch with U32!"); 15750 } 15751 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15752 aout.setAutoPadding(true); 15753 reduce(mExportReduceIdx_my_uint_5, new Allocation[]{ain1}, aout, sc); 15754 return new result_int(aout); 15755 } 15756 15757 private final static int mExportReduceIdx_my_uint_6 = 438; 15758 // in1 = "in" 15759 public result_int reduce_my_uint_6(int[] in1) { 15760 // Verify that "in1" is non-null. 15761 if (in1 == null) { 15762 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15763 } 15764 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15765 ain1.setAutoPadding(true); 15766 ain1.copyFrom(in1); 15767 15768 result_int result = reduce_my_uint_6(ain1, null); 15769 result.mTempIns = new Allocation[]{ain1}; 15770 return result; 15771 } 15772 15773 // ain1 = "uint in" 15774 public result_int reduce_my_uint_6(Allocation ain1) { 15775 return reduce_my_uint_6(ain1, null); 15776 } 15777 15778 // ain1 = "uint in" 15779 public result_int reduce_my_uint_6(Allocation ain1, Script.LaunchOptions sc) { 15780 // check ain1 15781 if (!ain1.getType().getElement().isCompatible(__U32)) { 15782 throw new RSRuntimeException("Type mismatch with U32!"); 15783 } 15784 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15785 aout.setAutoPadding(true); 15786 reduce(mExportReduceIdx_my_uint_6, new Allocation[]{ain1}, aout, sc); 15787 return new result_int(aout); 15788 } 15789 15790 private final static int mExportReduceIdx_my_uint_7 = 439; 15791 // in1 = "in" 15792 public result_int reduce_my_uint_7(int[] in1) { 15793 // Verify that "in1" is non-null. 15794 if (in1 == null) { 15795 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15796 } 15797 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15798 ain1.setAutoPadding(true); 15799 ain1.copyFrom(in1); 15800 15801 result_int result = reduce_my_uint_7(ain1, null); 15802 result.mTempIns = new Allocation[]{ain1}; 15803 return result; 15804 } 15805 15806 // ain1 = "uint in" 15807 public result_int reduce_my_uint_7(Allocation ain1) { 15808 return reduce_my_uint_7(ain1, null); 15809 } 15810 15811 // ain1 = "uint in" 15812 public result_int reduce_my_uint_7(Allocation ain1, Script.LaunchOptions sc) { 15813 // check ain1 15814 if (!ain1.getType().getElement().isCompatible(__U32)) { 15815 throw new RSRuntimeException("Type mismatch with U32!"); 15816 } 15817 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15818 aout.setAutoPadding(true); 15819 reduce(mExportReduceIdx_my_uint_7, new Allocation[]{ain1}, aout, sc); 15820 return new result_int(aout); 15821 } 15822 15823 private final static int mExportReduceIdx_my_uint_8 = 440; 15824 // in1 = "in" 15825 public result_int reduce_my_uint_8(int[] in1) { 15826 // Verify that "in1" is non-null. 15827 if (in1 == null) { 15828 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15829 } 15830 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15831 ain1.setAutoPadding(true); 15832 ain1.copyFrom(in1); 15833 15834 result_int result = reduce_my_uint_8(ain1, null); 15835 result.mTempIns = new Allocation[]{ain1}; 15836 return result; 15837 } 15838 15839 // ain1 = "uint in" 15840 public result_int reduce_my_uint_8(Allocation ain1) { 15841 return reduce_my_uint_8(ain1, null); 15842 } 15843 15844 // ain1 = "uint in" 15845 public result_int reduce_my_uint_8(Allocation ain1, Script.LaunchOptions sc) { 15846 // check ain1 15847 if (!ain1.getType().getElement().isCompatible(__U32)) { 15848 throw new RSRuntimeException("Type mismatch with U32!"); 15849 } 15850 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15851 aout.setAutoPadding(true); 15852 reduce(mExportReduceIdx_my_uint_8, new Allocation[]{ain1}, aout, sc); 15853 return new result_int(aout); 15854 } 15855 15856 private final static int mExportReduceIdx_my_uint_9 = 441; 15857 // in1 = "in" 15858 public result_int reduce_my_uint_9(int[] in1) { 15859 // Verify that "in1" is non-null. 15860 if (in1 == null) { 15861 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15862 } 15863 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15864 ain1.setAutoPadding(true); 15865 ain1.copyFrom(in1); 15866 15867 result_int result = reduce_my_uint_9(ain1, null); 15868 result.mTempIns = new Allocation[]{ain1}; 15869 return result; 15870 } 15871 15872 // ain1 = "uint in" 15873 public result_int reduce_my_uint_9(Allocation ain1) { 15874 return reduce_my_uint_9(ain1, null); 15875 } 15876 15877 // ain1 = "uint in" 15878 public result_int reduce_my_uint_9(Allocation ain1, Script.LaunchOptions sc) { 15879 // check ain1 15880 if (!ain1.getType().getElement().isCompatible(__U32)) { 15881 throw new RSRuntimeException("Type mismatch with U32!"); 15882 } 15883 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15884 aout.setAutoPadding(true); 15885 reduce(mExportReduceIdx_my_uint_9, new Allocation[]{ain1}, aout, sc); 15886 return new result_int(aout); 15887 } 15888 15889 private final static int mExportReduceIdx_my_uint_10 = 442; 15890 // in1 = "in" 15891 public result_int reduce_my_uint_10(int[] in1) { 15892 // Verify that "in1" is non-null. 15893 if (in1 == null) { 15894 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15895 } 15896 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15897 ain1.setAutoPadding(true); 15898 ain1.copyFrom(in1); 15899 15900 result_int result = reduce_my_uint_10(ain1, null); 15901 result.mTempIns = new Allocation[]{ain1}; 15902 return result; 15903 } 15904 15905 // ain1 = "uint in" 15906 public result_int reduce_my_uint_10(Allocation ain1) { 15907 return reduce_my_uint_10(ain1, null); 15908 } 15909 15910 // ain1 = "uint in" 15911 public result_int reduce_my_uint_10(Allocation ain1, Script.LaunchOptions sc) { 15912 // check ain1 15913 if (!ain1.getType().getElement().isCompatible(__U32)) { 15914 throw new RSRuntimeException("Type mismatch with U32!"); 15915 } 15916 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15917 aout.setAutoPadding(true); 15918 reduce(mExportReduceIdx_my_uint_10, new Allocation[]{ain1}, aout, sc); 15919 return new result_int(aout); 15920 } 15921 15922 private final static int mExportReduceIdx_my_uint_11 = 443; 15923 // in1 = "in" 15924 public result_int reduce_my_uint_11(int[] in1) { 15925 // Verify that "in1" is non-null. 15926 if (in1 == null) { 15927 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15928 } 15929 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15930 ain1.setAutoPadding(true); 15931 ain1.copyFrom(in1); 15932 15933 result_int result = reduce_my_uint_11(ain1, null); 15934 result.mTempIns = new Allocation[]{ain1}; 15935 return result; 15936 } 15937 15938 // ain1 = "uint in" 15939 public result_int reduce_my_uint_11(Allocation ain1) { 15940 return reduce_my_uint_11(ain1, null); 15941 } 15942 15943 // ain1 = "uint in" 15944 public result_int reduce_my_uint_11(Allocation ain1, Script.LaunchOptions sc) { 15945 // check ain1 15946 if (!ain1.getType().getElement().isCompatible(__U32)) { 15947 throw new RSRuntimeException("Type mismatch with U32!"); 15948 } 15949 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15950 aout.setAutoPadding(true); 15951 reduce(mExportReduceIdx_my_uint_11, new Allocation[]{ain1}, aout, sc); 15952 return new result_int(aout); 15953 } 15954 15955 private final static int mExportReduceIdx_my_uint_12 = 444; 15956 // in1 = "in" 15957 public result_int reduce_my_uint_12(int[] in1) { 15958 // Verify that "in1" is non-null. 15959 if (in1 == null) { 15960 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15961 } 15962 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15963 ain1.setAutoPadding(true); 15964 ain1.copyFrom(in1); 15965 15966 result_int result = reduce_my_uint_12(ain1, null); 15967 result.mTempIns = new Allocation[]{ain1}; 15968 return result; 15969 } 15970 15971 // ain1 = "uint in" 15972 public result_int reduce_my_uint_12(Allocation ain1) { 15973 return reduce_my_uint_12(ain1, null); 15974 } 15975 15976 // ain1 = "uint in" 15977 public result_int reduce_my_uint_12(Allocation ain1, Script.LaunchOptions sc) { 15978 // check ain1 15979 if (!ain1.getType().getElement().isCompatible(__U32)) { 15980 throw new RSRuntimeException("Type mismatch with U32!"); 15981 } 15982 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 15983 aout.setAutoPadding(true); 15984 reduce(mExportReduceIdx_my_uint_12, new Allocation[]{ain1}, aout, sc); 15985 return new result_int(aout); 15986 } 15987 15988 private final static int mExportReduceIdx_my_uint_13 = 445; 15989 // in1 = "in" 15990 public result_int reduce_my_uint_13(int[] in1) { 15991 // Verify that "in1" is non-null. 15992 if (in1 == null) { 15993 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 15994 } 15995 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 15996 ain1.setAutoPadding(true); 15997 ain1.copyFrom(in1); 15998 15999 result_int result = reduce_my_uint_13(ain1, null); 16000 result.mTempIns = new Allocation[]{ain1}; 16001 return result; 16002 } 16003 16004 // ain1 = "uint in" 16005 public result_int reduce_my_uint_13(Allocation ain1) { 16006 return reduce_my_uint_13(ain1, null); 16007 } 16008 16009 // ain1 = "uint in" 16010 public result_int reduce_my_uint_13(Allocation ain1, Script.LaunchOptions sc) { 16011 // check ain1 16012 if (!ain1.getType().getElement().isCompatible(__U32)) { 16013 throw new RSRuntimeException("Type mismatch with U32!"); 16014 } 16015 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16016 aout.setAutoPadding(true); 16017 reduce(mExportReduceIdx_my_uint_13, new Allocation[]{ain1}, aout, sc); 16018 return new result_int(aout); 16019 } 16020 16021 private final static int mExportReduceIdx_my_uint_14 = 446; 16022 // in1 = "in" 16023 public result_int reduce_my_uint_14(int[] in1) { 16024 // Verify that "in1" is non-null. 16025 if (in1 == null) { 16026 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16027 } 16028 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 16029 ain1.setAutoPadding(true); 16030 ain1.copyFrom(in1); 16031 16032 result_int result = reduce_my_uint_14(ain1, null); 16033 result.mTempIns = new Allocation[]{ain1}; 16034 return result; 16035 } 16036 16037 // ain1 = "uint in" 16038 public result_int reduce_my_uint_14(Allocation ain1) { 16039 return reduce_my_uint_14(ain1, null); 16040 } 16041 16042 // ain1 = "uint in" 16043 public result_int reduce_my_uint_14(Allocation ain1, Script.LaunchOptions sc) { 16044 // check ain1 16045 if (!ain1.getType().getElement().isCompatible(__U32)) { 16046 throw new RSRuntimeException("Type mismatch with U32!"); 16047 } 16048 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16049 aout.setAutoPadding(true); 16050 reduce(mExportReduceIdx_my_uint_14, new Allocation[]{ain1}, aout, sc); 16051 return new result_int(aout); 16052 } 16053 16054 private final static int mExportReduceIdx_my_uint_15 = 447; 16055 // in1 = "in" 16056 public result_int reduce_my_uint_15(int[] in1) { 16057 // Verify that "in1" is non-null. 16058 if (in1 == null) { 16059 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16060 } 16061 Allocation ain1 = Allocation.createSized(mRSLocal, __U32, in1.length); 16062 ain1.setAutoPadding(true); 16063 ain1.copyFrom(in1); 16064 16065 result_int result = reduce_my_uint_15(ain1, null); 16066 result.mTempIns = new Allocation[]{ain1}; 16067 return result; 16068 } 16069 16070 // ain1 = "uint in" 16071 public result_int reduce_my_uint_15(Allocation ain1) { 16072 return reduce_my_uint_15(ain1, null); 16073 } 16074 16075 // ain1 = "uint in" 16076 public result_int reduce_my_uint_15(Allocation ain1, Script.LaunchOptions sc) { 16077 // check ain1 16078 if (!ain1.getType().getElement().isCompatible(__U32)) { 16079 throw new RSRuntimeException("Type mismatch with U32!"); 16080 } 16081 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16082 aout.setAutoPadding(true); 16083 reduce(mExportReduceIdx_my_uint_15, new Allocation[]{ain1}, aout, sc); 16084 return new result_int(aout); 16085 } 16086 16087 private final static int mExportReduceIdx_my_uint2_0 = 448; 16088 // in1 = "in", flattened 2-vectors 16089 public result_int reduce_my_uint2_0(int[] in1) { 16090 // Verify that "in1" is non-null. 16091 if (in1 == null) { 16092 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16093 } 16094 // Verify that the array length is a multiple of the vector size. 16095 if (in1.length % 2 != 0) { 16096 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16097 } 16098 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16099 ain1.setAutoPadding(true); 16100 ain1.copyFrom(in1); 16101 16102 result_int result = reduce_my_uint2_0(ain1, null); 16103 result.mTempIns = new Allocation[]{ain1}; 16104 return result; 16105 } 16106 16107 // ain1 = "uint2 in" 16108 public result_int reduce_my_uint2_0(Allocation ain1) { 16109 return reduce_my_uint2_0(ain1, null); 16110 } 16111 16112 // ain1 = "uint2 in" 16113 public result_int reduce_my_uint2_0(Allocation ain1, Script.LaunchOptions sc) { 16114 // check ain1 16115 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16116 throw new RSRuntimeException("Type mismatch with U32_2!"); 16117 } 16118 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16119 aout.setAutoPadding(true); 16120 reduce(mExportReduceIdx_my_uint2_0, new Allocation[]{ain1}, aout, sc); 16121 return new result_int(aout); 16122 } 16123 16124 private final static int mExportReduceIdx_my_uint2_1 = 449; 16125 // in1 = "in", flattened 2-vectors 16126 public result_int reduce_my_uint2_1(int[] in1) { 16127 // Verify that "in1" is non-null. 16128 if (in1 == null) { 16129 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16130 } 16131 // Verify that the array length is a multiple of the vector size. 16132 if (in1.length % 2 != 0) { 16133 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16134 } 16135 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16136 ain1.setAutoPadding(true); 16137 ain1.copyFrom(in1); 16138 16139 result_int result = reduce_my_uint2_1(ain1, null); 16140 result.mTempIns = new Allocation[]{ain1}; 16141 return result; 16142 } 16143 16144 // ain1 = "uint2 in" 16145 public result_int reduce_my_uint2_1(Allocation ain1) { 16146 return reduce_my_uint2_1(ain1, null); 16147 } 16148 16149 // ain1 = "uint2 in" 16150 public result_int reduce_my_uint2_1(Allocation ain1, Script.LaunchOptions sc) { 16151 // check ain1 16152 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16153 throw new RSRuntimeException("Type mismatch with U32_2!"); 16154 } 16155 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16156 aout.setAutoPadding(true); 16157 reduce(mExportReduceIdx_my_uint2_1, new Allocation[]{ain1}, aout, sc); 16158 return new result_int(aout); 16159 } 16160 16161 private final static int mExportReduceIdx_my_uint2_2 = 450; 16162 // in1 = "in", flattened 2-vectors 16163 public result_int reduce_my_uint2_2(int[] in1) { 16164 // Verify that "in1" is non-null. 16165 if (in1 == null) { 16166 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16167 } 16168 // Verify that the array length is a multiple of the vector size. 16169 if (in1.length % 2 != 0) { 16170 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16171 } 16172 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16173 ain1.setAutoPadding(true); 16174 ain1.copyFrom(in1); 16175 16176 result_int result = reduce_my_uint2_2(ain1, null); 16177 result.mTempIns = new Allocation[]{ain1}; 16178 return result; 16179 } 16180 16181 // ain1 = "uint2 in" 16182 public result_int reduce_my_uint2_2(Allocation ain1) { 16183 return reduce_my_uint2_2(ain1, null); 16184 } 16185 16186 // ain1 = "uint2 in" 16187 public result_int reduce_my_uint2_2(Allocation ain1, Script.LaunchOptions sc) { 16188 // check ain1 16189 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16190 throw new RSRuntimeException("Type mismatch with U32_2!"); 16191 } 16192 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16193 aout.setAutoPadding(true); 16194 reduce(mExportReduceIdx_my_uint2_2, new Allocation[]{ain1}, aout, sc); 16195 return new result_int(aout); 16196 } 16197 16198 private final static int mExportReduceIdx_my_uint2_3 = 451; 16199 // in1 = "in", flattened 2-vectors 16200 public result_int reduce_my_uint2_3(int[] in1) { 16201 // Verify that "in1" is non-null. 16202 if (in1 == null) { 16203 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16204 } 16205 // Verify that the array length is a multiple of the vector size. 16206 if (in1.length % 2 != 0) { 16207 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16208 } 16209 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16210 ain1.setAutoPadding(true); 16211 ain1.copyFrom(in1); 16212 16213 result_int result = reduce_my_uint2_3(ain1, null); 16214 result.mTempIns = new Allocation[]{ain1}; 16215 return result; 16216 } 16217 16218 // ain1 = "uint2 in" 16219 public result_int reduce_my_uint2_3(Allocation ain1) { 16220 return reduce_my_uint2_3(ain1, null); 16221 } 16222 16223 // ain1 = "uint2 in" 16224 public result_int reduce_my_uint2_3(Allocation ain1, Script.LaunchOptions sc) { 16225 // check ain1 16226 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16227 throw new RSRuntimeException("Type mismatch with U32_2!"); 16228 } 16229 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16230 aout.setAutoPadding(true); 16231 reduce(mExportReduceIdx_my_uint2_3, new Allocation[]{ain1}, aout, sc); 16232 return new result_int(aout); 16233 } 16234 16235 private final static int mExportReduceIdx_my_uint2_4 = 452; 16236 // in1 = "in", flattened 2-vectors 16237 public result_int reduce_my_uint2_4(int[] in1) { 16238 // Verify that "in1" is non-null. 16239 if (in1 == null) { 16240 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16241 } 16242 // Verify that the array length is a multiple of the vector size. 16243 if (in1.length % 2 != 0) { 16244 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16245 } 16246 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16247 ain1.setAutoPadding(true); 16248 ain1.copyFrom(in1); 16249 16250 result_int result = reduce_my_uint2_4(ain1, null); 16251 result.mTempIns = new Allocation[]{ain1}; 16252 return result; 16253 } 16254 16255 // ain1 = "uint2 in" 16256 public result_int reduce_my_uint2_4(Allocation ain1) { 16257 return reduce_my_uint2_4(ain1, null); 16258 } 16259 16260 // ain1 = "uint2 in" 16261 public result_int reduce_my_uint2_4(Allocation ain1, Script.LaunchOptions sc) { 16262 // check ain1 16263 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16264 throw new RSRuntimeException("Type mismatch with U32_2!"); 16265 } 16266 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16267 aout.setAutoPadding(true); 16268 reduce(mExportReduceIdx_my_uint2_4, new Allocation[]{ain1}, aout, sc); 16269 return new result_int(aout); 16270 } 16271 16272 private final static int mExportReduceIdx_my_uint2_5 = 453; 16273 // in1 = "in", flattened 2-vectors 16274 public result_int reduce_my_uint2_5(int[] in1) { 16275 // Verify that "in1" is non-null. 16276 if (in1 == null) { 16277 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16278 } 16279 // Verify that the array length is a multiple of the vector size. 16280 if (in1.length % 2 != 0) { 16281 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16282 } 16283 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16284 ain1.setAutoPadding(true); 16285 ain1.copyFrom(in1); 16286 16287 result_int result = reduce_my_uint2_5(ain1, null); 16288 result.mTempIns = new Allocation[]{ain1}; 16289 return result; 16290 } 16291 16292 // ain1 = "uint2 in" 16293 public result_int reduce_my_uint2_5(Allocation ain1) { 16294 return reduce_my_uint2_5(ain1, null); 16295 } 16296 16297 // ain1 = "uint2 in" 16298 public result_int reduce_my_uint2_5(Allocation ain1, Script.LaunchOptions sc) { 16299 // check ain1 16300 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16301 throw new RSRuntimeException("Type mismatch with U32_2!"); 16302 } 16303 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16304 aout.setAutoPadding(true); 16305 reduce(mExportReduceIdx_my_uint2_5, new Allocation[]{ain1}, aout, sc); 16306 return new result_int(aout); 16307 } 16308 16309 private final static int mExportReduceIdx_my_uint2_6 = 454; 16310 // in1 = "in", flattened 2-vectors 16311 public result_int reduce_my_uint2_6(int[] in1) { 16312 // Verify that "in1" is non-null. 16313 if (in1 == null) { 16314 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16315 } 16316 // Verify that the array length is a multiple of the vector size. 16317 if (in1.length % 2 != 0) { 16318 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16319 } 16320 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16321 ain1.setAutoPadding(true); 16322 ain1.copyFrom(in1); 16323 16324 result_int result = reduce_my_uint2_6(ain1, null); 16325 result.mTempIns = new Allocation[]{ain1}; 16326 return result; 16327 } 16328 16329 // ain1 = "uint2 in" 16330 public result_int reduce_my_uint2_6(Allocation ain1) { 16331 return reduce_my_uint2_6(ain1, null); 16332 } 16333 16334 // ain1 = "uint2 in" 16335 public result_int reduce_my_uint2_6(Allocation ain1, Script.LaunchOptions sc) { 16336 // check ain1 16337 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16338 throw new RSRuntimeException("Type mismatch with U32_2!"); 16339 } 16340 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16341 aout.setAutoPadding(true); 16342 reduce(mExportReduceIdx_my_uint2_6, new Allocation[]{ain1}, aout, sc); 16343 return new result_int(aout); 16344 } 16345 16346 private final static int mExportReduceIdx_my_uint2_7 = 455; 16347 // in1 = "in", flattened 2-vectors 16348 public result_int reduce_my_uint2_7(int[] in1) { 16349 // Verify that "in1" is non-null. 16350 if (in1 == null) { 16351 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16352 } 16353 // Verify that the array length is a multiple of the vector size. 16354 if (in1.length % 2 != 0) { 16355 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16356 } 16357 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16358 ain1.setAutoPadding(true); 16359 ain1.copyFrom(in1); 16360 16361 result_int result = reduce_my_uint2_7(ain1, null); 16362 result.mTempIns = new Allocation[]{ain1}; 16363 return result; 16364 } 16365 16366 // ain1 = "uint2 in" 16367 public result_int reduce_my_uint2_7(Allocation ain1) { 16368 return reduce_my_uint2_7(ain1, null); 16369 } 16370 16371 // ain1 = "uint2 in" 16372 public result_int reduce_my_uint2_7(Allocation ain1, Script.LaunchOptions sc) { 16373 // check ain1 16374 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16375 throw new RSRuntimeException("Type mismatch with U32_2!"); 16376 } 16377 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16378 aout.setAutoPadding(true); 16379 reduce(mExportReduceIdx_my_uint2_7, new Allocation[]{ain1}, aout, sc); 16380 return new result_int(aout); 16381 } 16382 16383 private final static int mExportReduceIdx_my_uint2_8 = 456; 16384 // in1 = "in", flattened 2-vectors 16385 public result_int reduce_my_uint2_8(int[] in1) { 16386 // Verify that "in1" is non-null. 16387 if (in1 == null) { 16388 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16389 } 16390 // Verify that the array length is a multiple of the vector size. 16391 if (in1.length % 2 != 0) { 16392 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16393 } 16394 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16395 ain1.setAutoPadding(true); 16396 ain1.copyFrom(in1); 16397 16398 result_int result = reduce_my_uint2_8(ain1, null); 16399 result.mTempIns = new Allocation[]{ain1}; 16400 return result; 16401 } 16402 16403 // ain1 = "uint2 in" 16404 public result_int reduce_my_uint2_8(Allocation ain1) { 16405 return reduce_my_uint2_8(ain1, null); 16406 } 16407 16408 // ain1 = "uint2 in" 16409 public result_int reduce_my_uint2_8(Allocation ain1, Script.LaunchOptions sc) { 16410 // check ain1 16411 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16412 throw new RSRuntimeException("Type mismatch with U32_2!"); 16413 } 16414 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16415 aout.setAutoPadding(true); 16416 reduce(mExportReduceIdx_my_uint2_8, new Allocation[]{ain1}, aout, sc); 16417 return new result_int(aout); 16418 } 16419 16420 private final static int mExportReduceIdx_my_uint2_9 = 457; 16421 // in1 = "in", flattened 2-vectors 16422 public result_int reduce_my_uint2_9(int[] in1) { 16423 // Verify that "in1" is non-null. 16424 if (in1 == null) { 16425 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16426 } 16427 // Verify that the array length is a multiple of the vector size. 16428 if (in1.length % 2 != 0) { 16429 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16430 } 16431 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16432 ain1.setAutoPadding(true); 16433 ain1.copyFrom(in1); 16434 16435 result_int result = reduce_my_uint2_9(ain1, null); 16436 result.mTempIns = new Allocation[]{ain1}; 16437 return result; 16438 } 16439 16440 // ain1 = "uint2 in" 16441 public result_int reduce_my_uint2_9(Allocation ain1) { 16442 return reduce_my_uint2_9(ain1, null); 16443 } 16444 16445 // ain1 = "uint2 in" 16446 public result_int reduce_my_uint2_9(Allocation ain1, Script.LaunchOptions sc) { 16447 // check ain1 16448 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16449 throw new RSRuntimeException("Type mismatch with U32_2!"); 16450 } 16451 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16452 aout.setAutoPadding(true); 16453 reduce(mExportReduceIdx_my_uint2_9, new Allocation[]{ain1}, aout, sc); 16454 return new result_int(aout); 16455 } 16456 16457 private final static int mExportReduceIdx_my_uint2_10 = 458; 16458 // in1 = "in", flattened 2-vectors 16459 public result_int reduce_my_uint2_10(int[] in1) { 16460 // Verify that "in1" is non-null. 16461 if (in1 == null) { 16462 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16463 } 16464 // Verify that the array length is a multiple of the vector size. 16465 if (in1.length % 2 != 0) { 16466 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16467 } 16468 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16469 ain1.setAutoPadding(true); 16470 ain1.copyFrom(in1); 16471 16472 result_int result = reduce_my_uint2_10(ain1, null); 16473 result.mTempIns = new Allocation[]{ain1}; 16474 return result; 16475 } 16476 16477 // ain1 = "uint2 in" 16478 public result_int reduce_my_uint2_10(Allocation ain1) { 16479 return reduce_my_uint2_10(ain1, null); 16480 } 16481 16482 // ain1 = "uint2 in" 16483 public result_int reduce_my_uint2_10(Allocation ain1, Script.LaunchOptions sc) { 16484 // check ain1 16485 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16486 throw new RSRuntimeException("Type mismatch with U32_2!"); 16487 } 16488 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16489 aout.setAutoPadding(true); 16490 reduce(mExportReduceIdx_my_uint2_10, new Allocation[]{ain1}, aout, sc); 16491 return new result_int(aout); 16492 } 16493 16494 private final static int mExportReduceIdx_my_uint2_11 = 459; 16495 // in1 = "in", flattened 2-vectors 16496 public result_int reduce_my_uint2_11(int[] in1) { 16497 // Verify that "in1" is non-null. 16498 if (in1 == null) { 16499 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16500 } 16501 // Verify that the array length is a multiple of the vector size. 16502 if (in1.length % 2 != 0) { 16503 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16504 } 16505 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16506 ain1.setAutoPadding(true); 16507 ain1.copyFrom(in1); 16508 16509 result_int result = reduce_my_uint2_11(ain1, null); 16510 result.mTempIns = new Allocation[]{ain1}; 16511 return result; 16512 } 16513 16514 // ain1 = "uint2 in" 16515 public result_int reduce_my_uint2_11(Allocation ain1) { 16516 return reduce_my_uint2_11(ain1, null); 16517 } 16518 16519 // ain1 = "uint2 in" 16520 public result_int reduce_my_uint2_11(Allocation ain1, Script.LaunchOptions sc) { 16521 // check ain1 16522 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16523 throw new RSRuntimeException("Type mismatch with U32_2!"); 16524 } 16525 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16526 aout.setAutoPadding(true); 16527 reduce(mExportReduceIdx_my_uint2_11, new Allocation[]{ain1}, aout, sc); 16528 return new result_int(aout); 16529 } 16530 16531 private final static int mExportReduceIdx_my_uint2_12 = 460; 16532 // in1 = "in", flattened 2-vectors 16533 public result_int reduce_my_uint2_12(int[] in1) { 16534 // Verify that "in1" is non-null. 16535 if (in1 == null) { 16536 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16537 } 16538 // Verify that the array length is a multiple of the vector size. 16539 if (in1.length % 2 != 0) { 16540 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16541 } 16542 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16543 ain1.setAutoPadding(true); 16544 ain1.copyFrom(in1); 16545 16546 result_int result = reduce_my_uint2_12(ain1, null); 16547 result.mTempIns = new Allocation[]{ain1}; 16548 return result; 16549 } 16550 16551 // ain1 = "uint2 in" 16552 public result_int reduce_my_uint2_12(Allocation ain1) { 16553 return reduce_my_uint2_12(ain1, null); 16554 } 16555 16556 // ain1 = "uint2 in" 16557 public result_int reduce_my_uint2_12(Allocation ain1, Script.LaunchOptions sc) { 16558 // check ain1 16559 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16560 throw new RSRuntimeException("Type mismatch with U32_2!"); 16561 } 16562 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16563 aout.setAutoPadding(true); 16564 reduce(mExportReduceIdx_my_uint2_12, new Allocation[]{ain1}, aout, sc); 16565 return new result_int(aout); 16566 } 16567 16568 private final static int mExportReduceIdx_my_uint2_13 = 461; 16569 // in1 = "in", flattened 2-vectors 16570 public result_int reduce_my_uint2_13(int[] in1) { 16571 // Verify that "in1" is non-null. 16572 if (in1 == null) { 16573 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16574 } 16575 // Verify that the array length is a multiple of the vector size. 16576 if (in1.length % 2 != 0) { 16577 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16578 } 16579 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16580 ain1.setAutoPadding(true); 16581 ain1.copyFrom(in1); 16582 16583 result_int result = reduce_my_uint2_13(ain1, null); 16584 result.mTempIns = new Allocation[]{ain1}; 16585 return result; 16586 } 16587 16588 // ain1 = "uint2 in" 16589 public result_int reduce_my_uint2_13(Allocation ain1) { 16590 return reduce_my_uint2_13(ain1, null); 16591 } 16592 16593 // ain1 = "uint2 in" 16594 public result_int reduce_my_uint2_13(Allocation ain1, Script.LaunchOptions sc) { 16595 // check ain1 16596 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16597 throw new RSRuntimeException("Type mismatch with U32_2!"); 16598 } 16599 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16600 aout.setAutoPadding(true); 16601 reduce(mExportReduceIdx_my_uint2_13, new Allocation[]{ain1}, aout, sc); 16602 return new result_int(aout); 16603 } 16604 16605 private final static int mExportReduceIdx_my_uint2_14 = 462; 16606 // in1 = "in", flattened 2-vectors 16607 public result_int reduce_my_uint2_14(int[] in1) { 16608 // Verify that "in1" is non-null. 16609 if (in1 == null) { 16610 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16611 } 16612 // Verify that the array length is a multiple of the vector size. 16613 if (in1.length % 2 != 0) { 16614 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16615 } 16616 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16617 ain1.setAutoPadding(true); 16618 ain1.copyFrom(in1); 16619 16620 result_int result = reduce_my_uint2_14(ain1, null); 16621 result.mTempIns = new Allocation[]{ain1}; 16622 return result; 16623 } 16624 16625 // ain1 = "uint2 in" 16626 public result_int reduce_my_uint2_14(Allocation ain1) { 16627 return reduce_my_uint2_14(ain1, null); 16628 } 16629 16630 // ain1 = "uint2 in" 16631 public result_int reduce_my_uint2_14(Allocation ain1, Script.LaunchOptions sc) { 16632 // check ain1 16633 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16634 throw new RSRuntimeException("Type mismatch with U32_2!"); 16635 } 16636 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16637 aout.setAutoPadding(true); 16638 reduce(mExportReduceIdx_my_uint2_14, new Allocation[]{ain1}, aout, sc); 16639 return new result_int(aout); 16640 } 16641 16642 private final static int mExportReduceIdx_my_uint2_15 = 463; 16643 // in1 = "in", flattened 2-vectors 16644 public result_int reduce_my_uint2_15(int[] in1) { 16645 // Verify that "in1" is non-null. 16646 if (in1 == null) { 16647 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16648 } 16649 // Verify that the array length is a multiple of the vector size. 16650 if (in1.length % 2 != 0) { 16651 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 16652 } 16653 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_2, in1.length / 2); 16654 ain1.setAutoPadding(true); 16655 ain1.copyFrom(in1); 16656 16657 result_int result = reduce_my_uint2_15(ain1, null); 16658 result.mTempIns = new Allocation[]{ain1}; 16659 return result; 16660 } 16661 16662 // ain1 = "uint2 in" 16663 public result_int reduce_my_uint2_15(Allocation ain1) { 16664 return reduce_my_uint2_15(ain1, null); 16665 } 16666 16667 // ain1 = "uint2 in" 16668 public result_int reduce_my_uint2_15(Allocation ain1, Script.LaunchOptions sc) { 16669 // check ain1 16670 if (!ain1.getType().getElement().isCompatible(__U32_2)) { 16671 throw new RSRuntimeException("Type mismatch with U32_2!"); 16672 } 16673 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16674 aout.setAutoPadding(true); 16675 reduce(mExportReduceIdx_my_uint2_15, new Allocation[]{ain1}, aout, sc); 16676 return new result_int(aout); 16677 } 16678 16679 private final static int mExportReduceIdx_my_uint4_0 = 464; 16680 // in1 = "in", flattened 4-vectors 16681 public result_int reduce_my_uint4_0(int[] in1) { 16682 // Verify that "in1" is non-null. 16683 if (in1 == null) { 16684 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16685 } 16686 // Verify that the array length is a multiple of the vector size. 16687 if (in1.length % 4 != 0) { 16688 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16689 } 16690 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16691 ain1.setAutoPadding(true); 16692 ain1.copyFrom(in1); 16693 16694 result_int result = reduce_my_uint4_0(ain1, null); 16695 result.mTempIns = new Allocation[]{ain1}; 16696 return result; 16697 } 16698 16699 // ain1 = "uint4 in" 16700 public result_int reduce_my_uint4_0(Allocation ain1) { 16701 return reduce_my_uint4_0(ain1, null); 16702 } 16703 16704 // ain1 = "uint4 in" 16705 public result_int reduce_my_uint4_0(Allocation ain1, Script.LaunchOptions sc) { 16706 // check ain1 16707 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16708 throw new RSRuntimeException("Type mismatch with U32_4!"); 16709 } 16710 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16711 aout.setAutoPadding(true); 16712 reduce(mExportReduceIdx_my_uint4_0, new Allocation[]{ain1}, aout, sc); 16713 return new result_int(aout); 16714 } 16715 16716 private final static int mExportReduceIdx_my_uint4_1 = 465; 16717 // in1 = "in", flattened 4-vectors 16718 public result_int reduce_my_uint4_1(int[] in1) { 16719 // Verify that "in1" is non-null. 16720 if (in1 == null) { 16721 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16722 } 16723 // Verify that the array length is a multiple of the vector size. 16724 if (in1.length % 4 != 0) { 16725 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16726 } 16727 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16728 ain1.setAutoPadding(true); 16729 ain1.copyFrom(in1); 16730 16731 result_int result = reduce_my_uint4_1(ain1, null); 16732 result.mTempIns = new Allocation[]{ain1}; 16733 return result; 16734 } 16735 16736 // ain1 = "uint4 in" 16737 public result_int reduce_my_uint4_1(Allocation ain1) { 16738 return reduce_my_uint4_1(ain1, null); 16739 } 16740 16741 // ain1 = "uint4 in" 16742 public result_int reduce_my_uint4_1(Allocation ain1, Script.LaunchOptions sc) { 16743 // check ain1 16744 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16745 throw new RSRuntimeException("Type mismatch with U32_4!"); 16746 } 16747 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16748 aout.setAutoPadding(true); 16749 reduce(mExportReduceIdx_my_uint4_1, new Allocation[]{ain1}, aout, sc); 16750 return new result_int(aout); 16751 } 16752 16753 private final static int mExportReduceIdx_my_uint4_2 = 466; 16754 // in1 = "in", flattened 4-vectors 16755 public result_int reduce_my_uint4_2(int[] in1) { 16756 // Verify that "in1" is non-null. 16757 if (in1 == null) { 16758 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16759 } 16760 // Verify that the array length is a multiple of the vector size. 16761 if (in1.length % 4 != 0) { 16762 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16763 } 16764 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16765 ain1.setAutoPadding(true); 16766 ain1.copyFrom(in1); 16767 16768 result_int result = reduce_my_uint4_2(ain1, null); 16769 result.mTempIns = new Allocation[]{ain1}; 16770 return result; 16771 } 16772 16773 // ain1 = "uint4 in" 16774 public result_int reduce_my_uint4_2(Allocation ain1) { 16775 return reduce_my_uint4_2(ain1, null); 16776 } 16777 16778 // ain1 = "uint4 in" 16779 public result_int reduce_my_uint4_2(Allocation ain1, Script.LaunchOptions sc) { 16780 // check ain1 16781 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16782 throw new RSRuntimeException("Type mismatch with U32_4!"); 16783 } 16784 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16785 aout.setAutoPadding(true); 16786 reduce(mExportReduceIdx_my_uint4_2, new Allocation[]{ain1}, aout, sc); 16787 return new result_int(aout); 16788 } 16789 16790 private final static int mExportReduceIdx_my_uint4_3 = 467; 16791 // in1 = "in", flattened 4-vectors 16792 public result_int reduce_my_uint4_3(int[] in1) { 16793 // Verify that "in1" is non-null. 16794 if (in1 == null) { 16795 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16796 } 16797 // Verify that the array length is a multiple of the vector size. 16798 if (in1.length % 4 != 0) { 16799 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16800 } 16801 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16802 ain1.setAutoPadding(true); 16803 ain1.copyFrom(in1); 16804 16805 result_int result = reduce_my_uint4_3(ain1, null); 16806 result.mTempIns = new Allocation[]{ain1}; 16807 return result; 16808 } 16809 16810 // ain1 = "uint4 in" 16811 public result_int reduce_my_uint4_3(Allocation ain1) { 16812 return reduce_my_uint4_3(ain1, null); 16813 } 16814 16815 // ain1 = "uint4 in" 16816 public result_int reduce_my_uint4_3(Allocation ain1, Script.LaunchOptions sc) { 16817 // check ain1 16818 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16819 throw new RSRuntimeException("Type mismatch with U32_4!"); 16820 } 16821 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16822 aout.setAutoPadding(true); 16823 reduce(mExportReduceIdx_my_uint4_3, new Allocation[]{ain1}, aout, sc); 16824 return new result_int(aout); 16825 } 16826 16827 private final static int mExportReduceIdx_my_uint4_4 = 468; 16828 // in1 = "in", flattened 4-vectors 16829 public result_int reduce_my_uint4_4(int[] in1) { 16830 // Verify that "in1" is non-null. 16831 if (in1 == null) { 16832 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16833 } 16834 // Verify that the array length is a multiple of the vector size. 16835 if (in1.length % 4 != 0) { 16836 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16837 } 16838 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16839 ain1.setAutoPadding(true); 16840 ain1.copyFrom(in1); 16841 16842 result_int result = reduce_my_uint4_4(ain1, null); 16843 result.mTempIns = new Allocation[]{ain1}; 16844 return result; 16845 } 16846 16847 // ain1 = "uint4 in" 16848 public result_int reduce_my_uint4_4(Allocation ain1) { 16849 return reduce_my_uint4_4(ain1, null); 16850 } 16851 16852 // ain1 = "uint4 in" 16853 public result_int reduce_my_uint4_4(Allocation ain1, Script.LaunchOptions sc) { 16854 // check ain1 16855 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16856 throw new RSRuntimeException("Type mismatch with U32_4!"); 16857 } 16858 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16859 aout.setAutoPadding(true); 16860 reduce(mExportReduceIdx_my_uint4_4, new Allocation[]{ain1}, aout, sc); 16861 return new result_int(aout); 16862 } 16863 16864 private final static int mExportReduceIdx_my_uint4_5 = 469; 16865 // in1 = "in", flattened 4-vectors 16866 public result_int reduce_my_uint4_5(int[] in1) { 16867 // Verify that "in1" is non-null. 16868 if (in1 == null) { 16869 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16870 } 16871 // Verify that the array length is a multiple of the vector size. 16872 if (in1.length % 4 != 0) { 16873 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16874 } 16875 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16876 ain1.setAutoPadding(true); 16877 ain1.copyFrom(in1); 16878 16879 result_int result = reduce_my_uint4_5(ain1, null); 16880 result.mTempIns = new Allocation[]{ain1}; 16881 return result; 16882 } 16883 16884 // ain1 = "uint4 in" 16885 public result_int reduce_my_uint4_5(Allocation ain1) { 16886 return reduce_my_uint4_5(ain1, null); 16887 } 16888 16889 // ain1 = "uint4 in" 16890 public result_int reduce_my_uint4_5(Allocation ain1, Script.LaunchOptions sc) { 16891 // check ain1 16892 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16893 throw new RSRuntimeException("Type mismatch with U32_4!"); 16894 } 16895 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16896 aout.setAutoPadding(true); 16897 reduce(mExportReduceIdx_my_uint4_5, new Allocation[]{ain1}, aout, sc); 16898 return new result_int(aout); 16899 } 16900 16901 private final static int mExportReduceIdx_my_uint4_6 = 470; 16902 // in1 = "in", flattened 4-vectors 16903 public result_int reduce_my_uint4_6(int[] in1) { 16904 // Verify that "in1" is non-null. 16905 if (in1 == null) { 16906 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16907 } 16908 // Verify that the array length is a multiple of the vector size. 16909 if (in1.length % 4 != 0) { 16910 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16911 } 16912 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16913 ain1.setAutoPadding(true); 16914 ain1.copyFrom(in1); 16915 16916 result_int result = reduce_my_uint4_6(ain1, null); 16917 result.mTempIns = new Allocation[]{ain1}; 16918 return result; 16919 } 16920 16921 // ain1 = "uint4 in" 16922 public result_int reduce_my_uint4_6(Allocation ain1) { 16923 return reduce_my_uint4_6(ain1, null); 16924 } 16925 16926 // ain1 = "uint4 in" 16927 public result_int reduce_my_uint4_6(Allocation ain1, Script.LaunchOptions sc) { 16928 // check ain1 16929 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16930 throw new RSRuntimeException("Type mismatch with U32_4!"); 16931 } 16932 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16933 aout.setAutoPadding(true); 16934 reduce(mExportReduceIdx_my_uint4_6, new Allocation[]{ain1}, aout, sc); 16935 return new result_int(aout); 16936 } 16937 16938 private final static int mExportReduceIdx_my_uint4_7 = 471; 16939 // in1 = "in", flattened 4-vectors 16940 public result_int reduce_my_uint4_7(int[] in1) { 16941 // Verify that "in1" is non-null. 16942 if (in1 == null) { 16943 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16944 } 16945 // Verify that the array length is a multiple of the vector size. 16946 if (in1.length % 4 != 0) { 16947 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16948 } 16949 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16950 ain1.setAutoPadding(true); 16951 ain1.copyFrom(in1); 16952 16953 result_int result = reduce_my_uint4_7(ain1, null); 16954 result.mTempIns = new Allocation[]{ain1}; 16955 return result; 16956 } 16957 16958 // ain1 = "uint4 in" 16959 public result_int reduce_my_uint4_7(Allocation ain1) { 16960 return reduce_my_uint4_7(ain1, null); 16961 } 16962 16963 // ain1 = "uint4 in" 16964 public result_int reduce_my_uint4_7(Allocation ain1, Script.LaunchOptions sc) { 16965 // check ain1 16966 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 16967 throw new RSRuntimeException("Type mismatch with U32_4!"); 16968 } 16969 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 16970 aout.setAutoPadding(true); 16971 reduce(mExportReduceIdx_my_uint4_7, new Allocation[]{ain1}, aout, sc); 16972 return new result_int(aout); 16973 } 16974 16975 private final static int mExportReduceIdx_my_uint4_8 = 472; 16976 // in1 = "in", flattened 4-vectors 16977 public result_int reduce_my_uint4_8(int[] in1) { 16978 // Verify that "in1" is non-null. 16979 if (in1 == null) { 16980 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 16981 } 16982 // Verify that the array length is a multiple of the vector size. 16983 if (in1.length % 4 != 0) { 16984 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 16985 } 16986 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 16987 ain1.setAutoPadding(true); 16988 ain1.copyFrom(in1); 16989 16990 result_int result = reduce_my_uint4_8(ain1, null); 16991 result.mTempIns = new Allocation[]{ain1}; 16992 return result; 16993 } 16994 16995 // ain1 = "uint4 in" 16996 public result_int reduce_my_uint4_8(Allocation ain1) { 16997 return reduce_my_uint4_8(ain1, null); 16998 } 16999 17000 // ain1 = "uint4 in" 17001 public result_int reduce_my_uint4_8(Allocation ain1, Script.LaunchOptions sc) { 17002 // check ain1 17003 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17004 throw new RSRuntimeException("Type mismatch with U32_4!"); 17005 } 17006 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17007 aout.setAutoPadding(true); 17008 reduce(mExportReduceIdx_my_uint4_8, new Allocation[]{ain1}, aout, sc); 17009 return new result_int(aout); 17010 } 17011 17012 private final static int mExportReduceIdx_my_uint4_9 = 473; 17013 // in1 = "in", flattened 4-vectors 17014 public result_int reduce_my_uint4_9(int[] in1) { 17015 // Verify that "in1" is non-null. 17016 if (in1 == null) { 17017 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17018 } 17019 // Verify that the array length is a multiple of the vector size. 17020 if (in1.length % 4 != 0) { 17021 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17022 } 17023 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17024 ain1.setAutoPadding(true); 17025 ain1.copyFrom(in1); 17026 17027 result_int result = reduce_my_uint4_9(ain1, null); 17028 result.mTempIns = new Allocation[]{ain1}; 17029 return result; 17030 } 17031 17032 // ain1 = "uint4 in" 17033 public result_int reduce_my_uint4_9(Allocation ain1) { 17034 return reduce_my_uint4_9(ain1, null); 17035 } 17036 17037 // ain1 = "uint4 in" 17038 public result_int reduce_my_uint4_9(Allocation ain1, Script.LaunchOptions sc) { 17039 // check ain1 17040 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17041 throw new RSRuntimeException("Type mismatch with U32_4!"); 17042 } 17043 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17044 aout.setAutoPadding(true); 17045 reduce(mExportReduceIdx_my_uint4_9, new Allocation[]{ain1}, aout, sc); 17046 return new result_int(aout); 17047 } 17048 17049 private final static int mExportReduceIdx_my_uint4_10 = 474; 17050 // in1 = "in", flattened 4-vectors 17051 public result_int reduce_my_uint4_10(int[] in1) { 17052 // Verify that "in1" is non-null. 17053 if (in1 == null) { 17054 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17055 } 17056 // Verify that the array length is a multiple of the vector size. 17057 if (in1.length % 4 != 0) { 17058 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17059 } 17060 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17061 ain1.setAutoPadding(true); 17062 ain1.copyFrom(in1); 17063 17064 result_int result = reduce_my_uint4_10(ain1, null); 17065 result.mTempIns = new Allocation[]{ain1}; 17066 return result; 17067 } 17068 17069 // ain1 = "uint4 in" 17070 public result_int reduce_my_uint4_10(Allocation ain1) { 17071 return reduce_my_uint4_10(ain1, null); 17072 } 17073 17074 // ain1 = "uint4 in" 17075 public result_int reduce_my_uint4_10(Allocation ain1, Script.LaunchOptions sc) { 17076 // check ain1 17077 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17078 throw new RSRuntimeException("Type mismatch with U32_4!"); 17079 } 17080 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17081 aout.setAutoPadding(true); 17082 reduce(mExportReduceIdx_my_uint4_10, new Allocation[]{ain1}, aout, sc); 17083 return new result_int(aout); 17084 } 17085 17086 private final static int mExportReduceIdx_my_uint4_11 = 475; 17087 // in1 = "in", flattened 4-vectors 17088 public result_int reduce_my_uint4_11(int[] in1) { 17089 // Verify that "in1" is non-null. 17090 if (in1 == null) { 17091 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17092 } 17093 // Verify that the array length is a multiple of the vector size. 17094 if (in1.length % 4 != 0) { 17095 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17096 } 17097 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17098 ain1.setAutoPadding(true); 17099 ain1.copyFrom(in1); 17100 17101 result_int result = reduce_my_uint4_11(ain1, null); 17102 result.mTempIns = new Allocation[]{ain1}; 17103 return result; 17104 } 17105 17106 // ain1 = "uint4 in" 17107 public result_int reduce_my_uint4_11(Allocation ain1) { 17108 return reduce_my_uint4_11(ain1, null); 17109 } 17110 17111 // ain1 = "uint4 in" 17112 public result_int reduce_my_uint4_11(Allocation ain1, Script.LaunchOptions sc) { 17113 // check ain1 17114 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17115 throw new RSRuntimeException("Type mismatch with U32_4!"); 17116 } 17117 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17118 aout.setAutoPadding(true); 17119 reduce(mExportReduceIdx_my_uint4_11, new Allocation[]{ain1}, aout, sc); 17120 return new result_int(aout); 17121 } 17122 17123 private final static int mExportReduceIdx_my_uint4_12 = 476; 17124 // in1 = "in", flattened 4-vectors 17125 public result_int reduce_my_uint4_12(int[] in1) { 17126 // Verify that "in1" is non-null. 17127 if (in1 == null) { 17128 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17129 } 17130 // Verify that the array length is a multiple of the vector size. 17131 if (in1.length % 4 != 0) { 17132 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17133 } 17134 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17135 ain1.setAutoPadding(true); 17136 ain1.copyFrom(in1); 17137 17138 result_int result = reduce_my_uint4_12(ain1, null); 17139 result.mTempIns = new Allocation[]{ain1}; 17140 return result; 17141 } 17142 17143 // ain1 = "uint4 in" 17144 public result_int reduce_my_uint4_12(Allocation ain1) { 17145 return reduce_my_uint4_12(ain1, null); 17146 } 17147 17148 // ain1 = "uint4 in" 17149 public result_int reduce_my_uint4_12(Allocation ain1, Script.LaunchOptions sc) { 17150 // check ain1 17151 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17152 throw new RSRuntimeException("Type mismatch with U32_4!"); 17153 } 17154 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17155 aout.setAutoPadding(true); 17156 reduce(mExportReduceIdx_my_uint4_12, new Allocation[]{ain1}, aout, sc); 17157 return new result_int(aout); 17158 } 17159 17160 private final static int mExportReduceIdx_my_uint4_13 = 477; 17161 // in1 = "in", flattened 4-vectors 17162 public result_int reduce_my_uint4_13(int[] in1) { 17163 // Verify that "in1" is non-null. 17164 if (in1 == null) { 17165 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17166 } 17167 // Verify that the array length is a multiple of the vector size. 17168 if (in1.length % 4 != 0) { 17169 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17170 } 17171 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17172 ain1.setAutoPadding(true); 17173 ain1.copyFrom(in1); 17174 17175 result_int result = reduce_my_uint4_13(ain1, null); 17176 result.mTempIns = new Allocation[]{ain1}; 17177 return result; 17178 } 17179 17180 // ain1 = "uint4 in" 17181 public result_int reduce_my_uint4_13(Allocation ain1) { 17182 return reduce_my_uint4_13(ain1, null); 17183 } 17184 17185 // ain1 = "uint4 in" 17186 public result_int reduce_my_uint4_13(Allocation ain1, Script.LaunchOptions sc) { 17187 // check ain1 17188 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17189 throw new RSRuntimeException("Type mismatch with U32_4!"); 17190 } 17191 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17192 aout.setAutoPadding(true); 17193 reduce(mExportReduceIdx_my_uint4_13, new Allocation[]{ain1}, aout, sc); 17194 return new result_int(aout); 17195 } 17196 17197 private final static int mExportReduceIdx_my_uint4_14 = 478; 17198 // in1 = "in", flattened 4-vectors 17199 public result_int reduce_my_uint4_14(int[] in1) { 17200 // Verify that "in1" is non-null. 17201 if (in1 == null) { 17202 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17203 } 17204 // Verify that the array length is a multiple of the vector size. 17205 if (in1.length % 4 != 0) { 17206 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17207 } 17208 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17209 ain1.setAutoPadding(true); 17210 ain1.copyFrom(in1); 17211 17212 result_int result = reduce_my_uint4_14(ain1, null); 17213 result.mTempIns = new Allocation[]{ain1}; 17214 return result; 17215 } 17216 17217 // ain1 = "uint4 in" 17218 public result_int reduce_my_uint4_14(Allocation ain1) { 17219 return reduce_my_uint4_14(ain1, null); 17220 } 17221 17222 // ain1 = "uint4 in" 17223 public result_int reduce_my_uint4_14(Allocation ain1, Script.LaunchOptions sc) { 17224 // check ain1 17225 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17226 throw new RSRuntimeException("Type mismatch with U32_4!"); 17227 } 17228 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17229 aout.setAutoPadding(true); 17230 reduce(mExportReduceIdx_my_uint4_14, new Allocation[]{ain1}, aout, sc); 17231 return new result_int(aout); 17232 } 17233 17234 private final static int mExportReduceIdx_my_uint4_15 = 479; 17235 // in1 = "in", flattened 4-vectors 17236 public result_int reduce_my_uint4_15(int[] in1) { 17237 // Verify that "in1" is non-null. 17238 if (in1 == null) { 17239 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17240 } 17241 // Verify that the array length is a multiple of the vector size. 17242 if (in1.length % 4 != 0) { 17243 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 17244 } 17245 Allocation ain1 = Allocation.createSized(mRSLocal, __U32_4, in1.length / 4); 17246 ain1.setAutoPadding(true); 17247 ain1.copyFrom(in1); 17248 17249 result_int result = reduce_my_uint4_15(ain1, null); 17250 result.mTempIns = new Allocation[]{ain1}; 17251 return result; 17252 } 17253 17254 // ain1 = "uint4 in" 17255 public result_int reduce_my_uint4_15(Allocation ain1) { 17256 return reduce_my_uint4_15(ain1, null); 17257 } 17258 17259 // ain1 = "uint4 in" 17260 public result_int reduce_my_uint4_15(Allocation ain1, Script.LaunchOptions sc) { 17261 // check ain1 17262 if (!ain1.getType().getElement().isCompatible(__U32_4)) { 17263 throw new RSRuntimeException("Type mismatch with U32_4!"); 17264 } 17265 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17266 aout.setAutoPadding(true); 17267 reduce(mExportReduceIdx_my_uint4_15, new Allocation[]{ain1}, aout, sc); 17268 return new result_int(aout); 17269 } 17270 17271 private final static int mExportReduceIdx_my_ulong_0 = 480; 17272 // in1 = "in" 17273 public result_int reduce_my_ulong_0(long[] in1) { 17274 // Verify that "in1" is non-null. 17275 if (in1 == null) { 17276 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17277 } 17278 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17279 ain1.setAutoPadding(true); 17280 ain1.copyFrom(in1); 17281 17282 result_int result = reduce_my_ulong_0(ain1, null); 17283 result.mTempIns = new Allocation[]{ain1}; 17284 return result; 17285 } 17286 17287 // ain1 = "ulong in" 17288 public result_int reduce_my_ulong_0(Allocation ain1) { 17289 return reduce_my_ulong_0(ain1, null); 17290 } 17291 17292 // ain1 = "ulong in" 17293 public result_int reduce_my_ulong_0(Allocation ain1, Script.LaunchOptions sc) { 17294 // check ain1 17295 if (!ain1.getType().getElement().isCompatible(__U64)) { 17296 throw new RSRuntimeException("Type mismatch with U64!"); 17297 } 17298 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17299 aout.setAutoPadding(true); 17300 reduce(mExportReduceIdx_my_ulong_0, new Allocation[]{ain1}, aout, sc); 17301 return new result_int(aout); 17302 } 17303 17304 private final static int mExportReduceIdx_my_ulong_1 = 481; 17305 // in1 = "in" 17306 public result_int reduce_my_ulong_1(long[] in1) { 17307 // Verify that "in1" is non-null. 17308 if (in1 == null) { 17309 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17310 } 17311 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17312 ain1.setAutoPadding(true); 17313 ain1.copyFrom(in1); 17314 17315 result_int result = reduce_my_ulong_1(ain1, null); 17316 result.mTempIns = new Allocation[]{ain1}; 17317 return result; 17318 } 17319 17320 // ain1 = "ulong in" 17321 public result_int reduce_my_ulong_1(Allocation ain1) { 17322 return reduce_my_ulong_1(ain1, null); 17323 } 17324 17325 // ain1 = "ulong in" 17326 public result_int reduce_my_ulong_1(Allocation ain1, Script.LaunchOptions sc) { 17327 // check ain1 17328 if (!ain1.getType().getElement().isCompatible(__U64)) { 17329 throw new RSRuntimeException("Type mismatch with U64!"); 17330 } 17331 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17332 aout.setAutoPadding(true); 17333 reduce(mExportReduceIdx_my_ulong_1, new Allocation[]{ain1}, aout, sc); 17334 return new result_int(aout); 17335 } 17336 17337 private final static int mExportReduceIdx_my_ulong_2 = 482; 17338 // in1 = "in" 17339 public result_int reduce_my_ulong_2(long[] in1) { 17340 // Verify that "in1" is non-null. 17341 if (in1 == null) { 17342 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17343 } 17344 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17345 ain1.setAutoPadding(true); 17346 ain1.copyFrom(in1); 17347 17348 result_int result = reduce_my_ulong_2(ain1, null); 17349 result.mTempIns = new Allocation[]{ain1}; 17350 return result; 17351 } 17352 17353 // ain1 = "ulong in" 17354 public result_int reduce_my_ulong_2(Allocation ain1) { 17355 return reduce_my_ulong_2(ain1, null); 17356 } 17357 17358 // ain1 = "ulong in" 17359 public result_int reduce_my_ulong_2(Allocation ain1, Script.LaunchOptions sc) { 17360 // check ain1 17361 if (!ain1.getType().getElement().isCompatible(__U64)) { 17362 throw new RSRuntimeException("Type mismatch with U64!"); 17363 } 17364 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17365 aout.setAutoPadding(true); 17366 reduce(mExportReduceIdx_my_ulong_2, new Allocation[]{ain1}, aout, sc); 17367 return new result_int(aout); 17368 } 17369 17370 private final static int mExportReduceIdx_my_ulong_3 = 483; 17371 // in1 = "in" 17372 public result_int reduce_my_ulong_3(long[] in1) { 17373 // Verify that "in1" is non-null. 17374 if (in1 == null) { 17375 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17376 } 17377 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17378 ain1.setAutoPadding(true); 17379 ain1.copyFrom(in1); 17380 17381 result_int result = reduce_my_ulong_3(ain1, null); 17382 result.mTempIns = new Allocation[]{ain1}; 17383 return result; 17384 } 17385 17386 // ain1 = "ulong in" 17387 public result_int reduce_my_ulong_3(Allocation ain1) { 17388 return reduce_my_ulong_3(ain1, null); 17389 } 17390 17391 // ain1 = "ulong in" 17392 public result_int reduce_my_ulong_3(Allocation ain1, Script.LaunchOptions sc) { 17393 // check ain1 17394 if (!ain1.getType().getElement().isCompatible(__U64)) { 17395 throw new RSRuntimeException("Type mismatch with U64!"); 17396 } 17397 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17398 aout.setAutoPadding(true); 17399 reduce(mExportReduceIdx_my_ulong_3, new Allocation[]{ain1}, aout, sc); 17400 return new result_int(aout); 17401 } 17402 17403 private final static int mExportReduceIdx_my_ulong_4 = 484; 17404 // in1 = "in" 17405 public result_int reduce_my_ulong_4(long[] in1) { 17406 // Verify that "in1" is non-null. 17407 if (in1 == null) { 17408 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17409 } 17410 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17411 ain1.setAutoPadding(true); 17412 ain1.copyFrom(in1); 17413 17414 result_int result = reduce_my_ulong_4(ain1, null); 17415 result.mTempIns = new Allocation[]{ain1}; 17416 return result; 17417 } 17418 17419 // ain1 = "ulong in" 17420 public result_int reduce_my_ulong_4(Allocation ain1) { 17421 return reduce_my_ulong_4(ain1, null); 17422 } 17423 17424 // ain1 = "ulong in" 17425 public result_int reduce_my_ulong_4(Allocation ain1, Script.LaunchOptions sc) { 17426 // check ain1 17427 if (!ain1.getType().getElement().isCompatible(__U64)) { 17428 throw new RSRuntimeException("Type mismatch with U64!"); 17429 } 17430 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17431 aout.setAutoPadding(true); 17432 reduce(mExportReduceIdx_my_ulong_4, new Allocation[]{ain1}, aout, sc); 17433 return new result_int(aout); 17434 } 17435 17436 private final static int mExportReduceIdx_my_ulong_5 = 485; 17437 // in1 = "in" 17438 public result_int reduce_my_ulong_5(long[] in1) { 17439 // Verify that "in1" is non-null. 17440 if (in1 == null) { 17441 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17442 } 17443 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17444 ain1.setAutoPadding(true); 17445 ain1.copyFrom(in1); 17446 17447 result_int result = reduce_my_ulong_5(ain1, null); 17448 result.mTempIns = new Allocation[]{ain1}; 17449 return result; 17450 } 17451 17452 // ain1 = "ulong in" 17453 public result_int reduce_my_ulong_5(Allocation ain1) { 17454 return reduce_my_ulong_5(ain1, null); 17455 } 17456 17457 // ain1 = "ulong in" 17458 public result_int reduce_my_ulong_5(Allocation ain1, Script.LaunchOptions sc) { 17459 // check ain1 17460 if (!ain1.getType().getElement().isCompatible(__U64)) { 17461 throw new RSRuntimeException("Type mismatch with U64!"); 17462 } 17463 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17464 aout.setAutoPadding(true); 17465 reduce(mExportReduceIdx_my_ulong_5, new Allocation[]{ain1}, aout, sc); 17466 return new result_int(aout); 17467 } 17468 17469 private final static int mExportReduceIdx_my_ulong_6 = 486; 17470 // in1 = "in" 17471 public result_int reduce_my_ulong_6(long[] in1) { 17472 // Verify that "in1" is non-null. 17473 if (in1 == null) { 17474 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17475 } 17476 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17477 ain1.setAutoPadding(true); 17478 ain1.copyFrom(in1); 17479 17480 result_int result = reduce_my_ulong_6(ain1, null); 17481 result.mTempIns = new Allocation[]{ain1}; 17482 return result; 17483 } 17484 17485 // ain1 = "ulong in" 17486 public result_int reduce_my_ulong_6(Allocation ain1) { 17487 return reduce_my_ulong_6(ain1, null); 17488 } 17489 17490 // ain1 = "ulong in" 17491 public result_int reduce_my_ulong_6(Allocation ain1, Script.LaunchOptions sc) { 17492 // check ain1 17493 if (!ain1.getType().getElement().isCompatible(__U64)) { 17494 throw new RSRuntimeException("Type mismatch with U64!"); 17495 } 17496 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17497 aout.setAutoPadding(true); 17498 reduce(mExportReduceIdx_my_ulong_6, new Allocation[]{ain1}, aout, sc); 17499 return new result_int(aout); 17500 } 17501 17502 private final static int mExportReduceIdx_my_ulong_7 = 487; 17503 // in1 = "in" 17504 public result_int reduce_my_ulong_7(long[] in1) { 17505 // Verify that "in1" is non-null. 17506 if (in1 == null) { 17507 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17508 } 17509 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17510 ain1.setAutoPadding(true); 17511 ain1.copyFrom(in1); 17512 17513 result_int result = reduce_my_ulong_7(ain1, null); 17514 result.mTempIns = new Allocation[]{ain1}; 17515 return result; 17516 } 17517 17518 // ain1 = "ulong in" 17519 public result_int reduce_my_ulong_7(Allocation ain1) { 17520 return reduce_my_ulong_7(ain1, null); 17521 } 17522 17523 // ain1 = "ulong in" 17524 public result_int reduce_my_ulong_7(Allocation ain1, Script.LaunchOptions sc) { 17525 // check ain1 17526 if (!ain1.getType().getElement().isCompatible(__U64)) { 17527 throw new RSRuntimeException("Type mismatch with U64!"); 17528 } 17529 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17530 aout.setAutoPadding(true); 17531 reduce(mExportReduceIdx_my_ulong_7, new Allocation[]{ain1}, aout, sc); 17532 return new result_int(aout); 17533 } 17534 17535 private final static int mExportReduceIdx_my_ulong_8 = 488; 17536 // in1 = "in" 17537 public result_int reduce_my_ulong_8(long[] in1) { 17538 // Verify that "in1" is non-null. 17539 if (in1 == null) { 17540 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17541 } 17542 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17543 ain1.setAutoPadding(true); 17544 ain1.copyFrom(in1); 17545 17546 result_int result = reduce_my_ulong_8(ain1, null); 17547 result.mTempIns = new Allocation[]{ain1}; 17548 return result; 17549 } 17550 17551 // ain1 = "ulong in" 17552 public result_int reduce_my_ulong_8(Allocation ain1) { 17553 return reduce_my_ulong_8(ain1, null); 17554 } 17555 17556 // ain1 = "ulong in" 17557 public result_int reduce_my_ulong_8(Allocation ain1, Script.LaunchOptions sc) { 17558 // check ain1 17559 if (!ain1.getType().getElement().isCompatible(__U64)) { 17560 throw new RSRuntimeException("Type mismatch with U64!"); 17561 } 17562 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17563 aout.setAutoPadding(true); 17564 reduce(mExportReduceIdx_my_ulong_8, new Allocation[]{ain1}, aout, sc); 17565 return new result_int(aout); 17566 } 17567 17568 private final static int mExportReduceIdx_my_ulong_9 = 489; 17569 // in1 = "in" 17570 public result_int reduce_my_ulong_9(long[] in1) { 17571 // Verify that "in1" is non-null. 17572 if (in1 == null) { 17573 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17574 } 17575 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17576 ain1.setAutoPadding(true); 17577 ain1.copyFrom(in1); 17578 17579 result_int result = reduce_my_ulong_9(ain1, null); 17580 result.mTempIns = new Allocation[]{ain1}; 17581 return result; 17582 } 17583 17584 // ain1 = "ulong in" 17585 public result_int reduce_my_ulong_9(Allocation ain1) { 17586 return reduce_my_ulong_9(ain1, null); 17587 } 17588 17589 // ain1 = "ulong in" 17590 public result_int reduce_my_ulong_9(Allocation ain1, Script.LaunchOptions sc) { 17591 // check ain1 17592 if (!ain1.getType().getElement().isCompatible(__U64)) { 17593 throw new RSRuntimeException("Type mismatch with U64!"); 17594 } 17595 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17596 aout.setAutoPadding(true); 17597 reduce(mExportReduceIdx_my_ulong_9, new Allocation[]{ain1}, aout, sc); 17598 return new result_int(aout); 17599 } 17600 17601 private final static int mExportReduceIdx_my_ulong_10 = 490; 17602 // in1 = "in" 17603 public result_int reduce_my_ulong_10(long[] in1) { 17604 // Verify that "in1" is non-null. 17605 if (in1 == null) { 17606 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17607 } 17608 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17609 ain1.setAutoPadding(true); 17610 ain1.copyFrom(in1); 17611 17612 result_int result = reduce_my_ulong_10(ain1, null); 17613 result.mTempIns = new Allocation[]{ain1}; 17614 return result; 17615 } 17616 17617 // ain1 = "ulong in" 17618 public result_int reduce_my_ulong_10(Allocation ain1) { 17619 return reduce_my_ulong_10(ain1, null); 17620 } 17621 17622 // ain1 = "ulong in" 17623 public result_int reduce_my_ulong_10(Allocation ain1, Script.LaunchOptions sc) { 17624 // check ain1 17625 if (!ain1.getType().getElement().isCompatible(__U64)) { 17626 throw new RSRuntimeException("Type mismatch with U64!"); 17627 } 17628 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17629 aout.setAutoPadding(true); 17630 reduce(mExportReduceIdx_my_ulong_10, new Allocation[]{ain1}, aout, sc); 17631 return new result_int(aout); 17632 } 17633 17634 private final static int mExportReduceIdx_my_ulong_11 = 491; 17635 // in1 = "in" 17636 public result_int reduce_my_ulong_11(long[] in1) { 17637 // Verify that "in1" is non-null. 17638 if (in1 == null) { 17639 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17640 } 17641 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17642 ain1.setAutoPadding(true); 17643 ain1.copyFrom(in1); 17644 17645 result_int result = reduce_my_ulong_11(ain1, null); 17646 result.mTempIns = new Allocation[]{ain1}; 17647 return result; 17648 } 17649 17650 // ain1 = "ulong in" 17651 public result_int reduce_my_ulong_11(Allocation ain1) { 17652 return reduce_my_ulong_11(ain1, null); 17653 } 17654 17655 // ain1 = "ulong in" 17656 public result_int reduce_my_ulong_11(Allocation ain1, Script.LaunchOptions sc) { 17657 // check ain1 17658 if (!ain1.getType().getElement().isCompatible(__U64)) { 17659 throw new RSRuntimeException("Type mismatch with U64!"); 17660 } 17661 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17662 aout.setAutoPadding(true); 17663 reduce(mExportReduceIdx_my_ulong_11, new Allocation[]{ain1}, aout, sc); 17664 return new result_int(aout); 17665 } 17666 17667 private final static int mExportReduceIdx_my_ulong_12 = 492; 17668 // in1 = "in" 17669 public result_int reduce_my_ulong_12(long[] in1) { 17670 // Verify that "in1" is non-null. 17671 if (in1 == null) { 17672 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17673 } 17674 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17675 ain1.setAutoPadding(true); 17676 ain1.copyFrom(in1); 17677 17678 result_int result = reduce_my_ulong_12(ain1, null); 17679 result.mTempIns = new Allocation[]{ain1}; 17680 return result; 17681 } 17682 17683 // ain1 = "ulong in" 17684 public result_int reduce_my_ulong_12(Allocation ain1) { 17685 return reduce_my_ulong_12(ain1, null); 17686 } 17687 17688 // ain1 = "ulong in" 17689 public result_int reduce_my_ulong_12(Allocation ain1, Script.LaunchOptions sc) { 17690 // check ain1 17691 if (!ain1.getType().getElement().isCompatible(__U64)) { 17692 throw new RSRuntimeException("Type mismatch with U64!"); 17693 } 17694 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17695 aout.setAutoPadding(true); 17696 reduce(mExportReduceIdx_my_ulong_12, new Allocation[]{ain1}, aout, sc); 17697 return new result_int(aout); 17698 } 17699 17700 private final static int mExportReduceIdx_my_ulong_13 = 493; 17701 // in1 = "in" 17702 public result_int reduce_my_ulong_13(long[] in1) { 17703 // Verify that "in1" is non-null. 17704 if (in1 == null) { 17705 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17706 } 17707 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17708 ain1.setAutoPadding(true); 17709 ain1.copyFrom(in1); 17710 17711 result_int result = reduce_my_ulong_13(ain1, null); 17712 result.mTempIns = new Allocation[]{ain1}; 17713 return result; 17714 } 17715 17716 // ain1 = "ulong in" 17717 public result_int reduce_my_ulong_13(Allocation ain1) { 17718 return reduce_my_ulong_13(ain1, null); 17719 } 17720 17721 // ain1 = "ulong in" 17722 public result_int reduce_my_ulong_13(Allocation ain1, Script.LaunchOptions sc) { 17723 // check ain1 17724 if (!ain1.getType().getElement().isCompatible(__U64)) { 17725 throw new RSRuntimeException("Type mismatch with U64!"); 17726 } 17727 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17728 aout.setAutoPadding(true); 17729 reduce(mExportReduceIdx_my_ulong_13, new Allocation[]{ain1}, aout, sc); 17730 return new result_int(aout); 17731 } 17732 17733 private final static int mExportReduceIdx_my_ulong_14 = 494; 17734 // in1 = "in" 17735 public result_int reduce_my_ulong_14(long[] in1) { 17736 // Verify that "in1" is non-null. 17737 if (in1 == null) { 17738 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17739 } 17740 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17741 ain1.setAutoPadding(true); 17742 ain1.copyFrom(in1); 17743 17744 result_int result = reduce_my_ulong_14(ain1, null); 17745 result.mTempIns = new Allocation[]{ain1}; 17746 return result; 17747 } 17748 17749 // ain1 = "ulong in" 17750 public result_int reduce_my_ulong_14(Allocation ain1) { 17751 return reduce_my_ulong_14(ain1, null); 17752 } 17753 17754 // ain1 = "ulong in" 17755 public result_int reduce_my_ulong_14(Allocation ain1, Script.LaunchOptions sc) { 17756 // check ain1 17757 if (!ain1.getType().getElement().isCompatible(__U64)) { 17758 throw new RSRuntimeException("Type mismatch with U64!"); 17759 } 17760 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17761 aout.setAutoPadding(true); 17762 reduce(mExportReduceIdx_my_ulong_14, new Allocation[]{ain1}, aout, sc); 17763 return new result_int(aout); 17764 } 17765 17766 private final static int mExportReduceIdx_my_ulong_15 = 495; 17767 // in1 = "in" 17768 public result_int reduce_my_ulong_15(long[] in1) { 17769 // Verify that "in1" is non-null. 17770 if (in1 == null) { 17771 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17772 } 17773 Allocation ain1 = Allocation.createSized(mRSLocal, __U64, in1.length); 17774 ain1.setAutoPadding(true); 17775 ain1.copyFrom(in1); 17776 17777 result_int result = reduce_my_ulong_15(ain1, null); 17778 result.mTempIns = new Allocation[]{ain1}; 17779 return result; 17780 } 17781 17782 // ain1 = "ulong in" 17783 public result_int reduce_my_ulong_15(Allocation ain1) { 17784 return reduce_my_ulong_15(ain1, null); 17785 } 17786 17787 // ain1 = "ulong in" 17788 public result_int reduce_my_ulong_15(Allocation ain1, Script.LaunchOptions sc) { 17789 // check ain1 17790 if (!ain1.getType().getElement().isCompatible(__U64)) { 17791 throw new RSRuntimeException("Type mismatch with U64!"); 17792 } 17793 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17794 aout.setAutoPadding(true); 17795 reduce(mExportReduceIdx_my_ulong_15, new Allocation[]{ain1}, aout, sc); 17796 return new result_int(aout); 17797 } 17798 17799 private final static int mExportReduceIdx_my_ulong2_0 = 496; 17800 // in1 = "in", flattened 2-vectors 17801 public result_int reduce_my_ulong2_0(long[] in1) { 17802 // Verify that "in1" is non-null. 17803 if (in1 == null) { 17804 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17805 } 17806 // Verify that the array length is a multiple of the vector size. 17807 if (in1.length % 2 != 0) { 17808 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17809 } 17810 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17811 ain1.setAutoPadding(true); 17812 ain1.copyFrom(in1); 17813 17814 result_int result = reduce_my_ulong2_0(ain1, null); 17815 result.mTempIns = new Allocation[]{ain1}; 17816 return result; 17817 } 17818 17819 // ain1 = "ulong2 in" 17820 public result_int reduce_my_ulong2_0(Allocation ain1) { 17821 return reduce_my_ulong2_0(ain1, null); 17822 } 17823 17824 // ain1 = "ulong2 in" 17825 public result_int reduce_my_ulong2_0(Allocation ain1, Script.LaunchOptions sc) { 17826 // check ain1 17827 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17828 throw new RSRuntimeException("Type mismatch with U64_2!"); 17829 } 17830 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17831 aout.setAutoPadding(true); 17832 reduce(mExportReduceIdx_my_ulong2_0, new Allocation[]{ain1}, aout, sc); 17833 return new result_int(aout); 17834 } 17835 17836 private final static int mExportReduceIdx_my_ulong2_1 = 497; 17837 // in1 = "in", flattened 2-vectors 17838 public result_int reduce_my_ulong2_1(long[] in1) { 17839 // Verify that "in1" is non-null. 17840 if (in1 == null) { 17841 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17842 } 17843 // Verify that the array length is a multiple of the vector size. 17844 if (in1.length % 2 != 0) { 17845 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17846 } 17847 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17848 ain1.setAutoPadding(true); 17849 ain1.copyFrom(in1); 17850 17851 result_int result = reduce_my_ulong2_1(ain1, null); 17852 result.mTempIns = new Allocation[]{ain1}; 17853 return result; 17854 } 17855 17856 // ain1 = "ulong2 in" 17857 public result_int reduce_my_ulong2_1(Allocation ain1) { 17858 return reduce_my_ulong2_1(ain1, null); 17859 } 17860 17861 // ain1 = "ulong2 in" 17862 public result_int reduce_my_ulong2_1(Allocation ain1, Script.LaunchOptions sc) { 17863 // check ain1 17864 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17865 throw new RSRuntimeException("Type mismatch with U64_2!"); 17866 } 17867 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17868 aout.setAutoPadding(true); 17869 reduce(mExportReduceIdx_my_ulong2_1, new Allocation[]{ain1}, aout, sc); 17870 return new result_int(aout); 17871 } 17872 17873 private final static int mExportReduceIdx_my_ulong2_2 = 498; 17874 // in1 = "in", flattened 2-vectors 17875 public result_int reduce_my_ulong2_2(long[] in1) { 17876 // Verify that "in1" is non-null. 17877 if (in1 == null) { 17878 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17879 } 17880 // Verify that the array length is a multiple of the vector size. 17881 if (in1.length % 2 != 0) { 17882 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17883 } 17884 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17885 ain1.setAutoPadding(true); 17886 ain1.copyFrom(in1); 17887 17888 result_int result = reduce_my_ulong2_2(ain1, null); 17889 result.mTempIns = new Allocation[]{ain1}; 17890 return result; 17891 } 17892 17893 // ain1 = "ulong2 in" 17894 public result_int reduce_my_ulong2_2(Allocation ain1) { 17895 return reduce_my_ulong2_2(ain1, null); 17896 } 17897 17898 // ain1 = "ulong2 in" 17899 public result_int reduce_my_ulong2_2(Allocation ain1, Script.LaunchOptions sc) { 17900 // check ain1 17901 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17902 throw new RSRuntimeException("Type mismatch with U64_2!"); 17903 } 17904 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17905 aout.setAutoPadding(true); 17906 reduce(mExportReduceIdx_my_ulong2_2, new Allocation[]{ain1}, aout, sc); 17907 return new result_int(aout); 17908 } 17909 17910 private final static int mExportReduceIdx_my_ulong2_3 = 499; 17911 // in1 = "in", flattened 2-vectors 17912 public result_int reduce_my_ulong2_3(long[] in1) { 17913 // Verify that "in1" is non-null. 17914 if (in1 == null) { 17915 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17916 } 17917 // Verify that the array length is a multiple of the vector size. 17918 if (in1.length % 2 != 0) { 17919 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17920 } 17921 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17922 ain1.setAutoPadding(true); 17923 ain1.copyFrom(in1); 17924 17925 result_int result = reduce_my_ulong2_3(ain1, null); 17926 result.mTempIns = new Allocation[]{ain1}; 17927 return result; 17928 } 17929 17930 // ain1 = "ulong2 in" 17931 public result_int reduce_my_ulong2_3(Allocation ain1) { 17932 return reduce_my_ulong2_3(ain1, null); 17933 } 17934 17935 // ain1 = "ulong2 in" 17936 public result_int reduce_my_ulong2_3(Allocation ain1, Script.LaunchOptions sc) { 17937 // check ain1 17938 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17939 throw new RSRuntimeException("Type mismatch with U64_2!"); 17940 } 17941 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17942 aout.setAutoPadding(true); 17943 reduce(mExportReduceIdx_my_ulong2_3, new Allocation[]{ain1}, aout, sc); 17944 return new result_int(aout); 17945 } 17946 17947 private final static int mExportReduceIdx_my_ulong2_4 = 500; 17948 // in1 = "in", flattened 2-vectors 17949 public result_int reduce_my_ulong2_4(long[] in1) { 17950 // Verify that "in1" is non-null. 17951 if (in1 == null) { 17952 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17953 } 17954 // Verify that the array length is a multiple of the vector size. 17955 if (in1.length % 2 != 0) { 17956 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17957 } 17958 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17959 ain1.setAutoPadding(true); 17960 ain1.copyFrom(in1); 17961 17962 result_int result = reduce_my_ulong2_4(ain1, null); 17963 result.mTempIns = new Allocation[]{ain1}; 17964 return result; 17965 } 17966 17967 // ain1 = "ulong2 in" 17968 public result_int reduce_my_ulong2_4(Allocation ain1) { 17969 return reduce_my_ulong2_4(ain1, null); 17970 } 17971 17972 // ain1 = "ulong2 in" 17973 public result_int reduce_my_ulong2_4(Allocation ain1, Script.LaunchOptions sc) { 17974 // check ain1 17975 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 17976 throw new RSRuntimeException("Type mismatch with U64_2!"); 17977 } 17978 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 17979 aout.setAutoPadding(true); 17980 reduce(mExportReduceIdx_my_ulong2_4, new Allocation[]{ain1}, aout, sc); 17981 return new result_int(aout); 17982 } 17983 17984 private final static int mExportReduceIdx_my_ulong2_5 = 501; 17985 // in1 = "in", flattened 2-vectors 17986 public result_int reduce_my_ulong2_5(long[] in1) { 17987 // Verify that "in1" is non-null. 17988 if (in1 == null) { 17989 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 17990 } 17991 // Verify that the array length is a multiple of the vector size. 17992 if (in1.length % 2 != 0) { 17993 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 17994 } 17995 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 17996 ain1.setAutoPadding(true); 17997 ain1.copyFrom(in1); 17998 17999 result_int result = reduce_my_ulong2_5(ain1, null); 18000 result.mTempIns = new Allocation[]{ain1}; 18001 return result; 18002 } 18003 18004 // ain1 = "ulong2 in" 18005 public result_int reduce_my_ulong2_5(Allocation ain1) { 18006 return reduce_my_ulong2_5(ain1, null); 18007 } 18008 18009 // ain1 = "ulong2 in" 18010 public result_int reduce_my_ulong2_5(Allocation ain1, Script.LaunchOptions sc) { 18011 // check ain1 18012 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18013 throw new RSRuntimeException("Type mismatch with U64_2!"); 18014 } 18015 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18016 aout.setAutoPadding(true); 18017 reduce(mExportReduceIdx_my_ulong2_5, new Allocation[]{ain1}, aout, sc); 18018 return new result_int(aout); 18019 } 18020 18021 private final static int mExportReduceIdx_my_ulong2_6 = 502; 18022 // in1 = "in", flattened 2-vectors 18023 public result_int reduce_my_ulong2_6(long[] in1) { 18024 // Verify that "in1" is non-null. 18025 if (in1 == null) { 18026 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18027 } 18028 // Verify that the array length is a multiple of the vector size. 18029 if (in1.length % 2 != 0) { 18030 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18031 } 18032 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18033 ain1.setAutoPadding(true); 18034 ain1.copyFrom(in1); 18035 18036 result_int result = reduce_my_ulong2_6(ain1, null); 18037 result.mTempIns = new Allocation[]{ain1}; 18038 return result; 18039 } 18040 18041 // ain1 = "ulong2 in" 18042 public result_int reduce_my_ulong2_6(Allocation ain1) { 18043 return reduce_my_ulong2_6(ain1, null); 18044 } 18045 18046 // ain1 = "ulong2 in" 18047 public result_int reduce_my_ulong2_6(Allocation ain1, Script.LaunchOptions sc) { 18048 // check ain1 18049 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18050 throw new RSRuntimeException("Type mismatch with U64_2!"); 18051 } 18052 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18053 aout.setAutoPadding(true); 18054 reduce(mExportReduceIdx_my_ulong2_6, new Allocation[]{ain1}, aout, sc); 18055 return new result_int(aout); 18056 } 18057 18058 private final static int mExportReduceIdx_my_ulong2_7 = 503; 18059 // in1 = "in", flattened 2-vectors 18060 public result_int reduce_my_ulong2_7(long[] in1) { 18061 // Verify that "in1" is non-null. 18062 if (in1 == null) { 18063 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18064 } 18065 // Verify that the array length is a multiple of the vector size. 18066 if (in1.length % 2 != 0) { 18067 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18068 } 18069 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18070 ain1.setAutoPadding(true); 18071 ain1.copyFrom(in1); 18072 18073 result_int result = reduce_my_ulong2_7(ain1, null); 18074 result.mTempIns = new Allocation[]{ain1}; 18075 return result; 18076 } 18077 18078 // ain1 = "ulong2 in" 18079 public result_int reduce_my_ulong2_7(Allocation ain1) { 18080 return reduce_my_ulong2_7(ain1, null); 18081 } 18082 18083 // ain1 = "ulong2 in" 18084 public result_int reduce_my_ulong2_7(Allocation ain1, Script.LaunchOptions sc) { 18085 // check ain1 18086 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18087 throw new RSRuntimeException("Type mismatch with U64_2!"); 18088 } 18089 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18090 aout.setAutoPadding(true); 18091 reduce(mExportReduceIdx_my_ulong2_7, new Allocation[]{ain1}, aout, sc); 18092 return new result_int(aout); 18093 } 18094 18095 private final static int mExportReduceIdx_my_ulong2_8 = 504; 18096 // in1 = "in", flattened 2-vectors 18097 public result_int reduce_my_ulong2_8(long[] in1) { 18098 // Verify that "in1" is non-null. 18099 if (in1 == null) { 18100 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18101 } 18102 // Verify that the array length is a multiple of the vector size. 18103 if (in1.length % 2 != 0) { 18104 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18105 } 18106 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18107 ain1.setAutoPadding(true); 18108 ain1.copyFrom(in1); 18109 18110 result_int result = reduce_my_ulong2_8(ain1, null); 18111 result.mTempIns = new Allocation[]{ain1}; 18112 return result; 18113 } 18114 18115 // ain1 = "ulong2 in" 18116 public result_int reduce_my_ulong2_8(Allocation ain1) { 18117 return reduce_my_ulong2_8(ain1, null); 18118 } 18119 18120 // ain1 = "ulong2 in" 18121 public result_int reduce_my_ulong2_8(Allocation ain1, Script.LaunchOptions sc) { 18122 // check ain1 18123 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18124 throw new RSRuntimeException("Type mismatch with U64_2!"); 18125 } 18126 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18127 aout.setAutoPadding(true); 18128 reduce(mExportReduceIdx_my_ulong2_8, new Allocation[]{ain1}, aout, sc); 18129 return new result_int(aout); 18130 } 18131 18132 private final static int mExportReduceIdx_my_ulong2_9 = 505; 18133 // in1 = "in", flattened 2-vectors 18134 public result_int reduce_my_ulong2_9(long[] in1) { 18135 // Verify that "in1" is non-null. 18136 if (in1 == null) { 18137 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18138 } 18139 // Verify that the array length is a multiple of the vector size. 18140 if (in1.length % 2 != 0) { 18141 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18142 } 18143 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18144 ain1.setAutoPadding(true); 18145 ain1.copyFrom(in1); 18146 18147 result_int result = reduce_my_ulong2_9(ain1, null); 18148 result.mTempIns = new Allocation[]{ain1}; 18149 return result; 18150 } 18151 18152 // ain1 = "ulong2 in" 18153 public result_int reduce_my_ulong2_9(Allocation ain1) { 18154 return reduce_my_ulong2_9(ain1, null); 18155 } 18156 18157 // ain1 = "ulong2 in" 18158 public result_int reduce_my_ulong2_9(Allocation ain1, Script.LaunchOptions sc) { 18159 // check ain1 18160 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18161 throw new RSRuntimeException("Type mismatch with U64_2!"); 18162 } 18163 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18164 aout.setAutoPadding(true); 18165 reduce(mExportReduceIdx_my_ulong2_9, new Allocation[]{ain1}, aout, sc); 18166 return new result_int(aout); 18167 } 18168 18169 private final static int mExportReduceIdx_my_ulong2_10 = 506; 18170 // in1 = "in", flattened 2-vectors 18171 public result_int reduce_my_ulong2_10(long[] in1) { 18172 // Verify that "in1" is non-null. 18173 if (in1 == null) { 18174 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18175 } 18176 // Verify that the array length is a multiple of the vector size. 18177 if (in1.length % 2 != 0) { 18178 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18179 } 18180 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18181 ain1.setAutoPadding(true); 18182 ain1.copyFrom(in1); 18183 18184 result_int result = reduce_my_ulong2_10(ain1, null); 18185 result.mTempIns = new Allocation[]{ain1}; 18186 return result; 18187 } 18188 18189 // ain1 = "ulong2 in" 18190 public result_int reduce_my_ulong2_10(Allocation ain1) { 18191 return reduce_my_ulong2_10(ain1, null); 18192 } 18193 18194 // ain1 = "ulong2 in" 18195 public result_int reduce_my_ulong2_10(Allocation ain1, Script.LaunchOptions sc) { 18196 // check ain1 18197 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18198 throw new RSRuntimeException("Type mismatch with U64_2!"); 18199 } 18200 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18201 aout.setAutoPadding(true); 18202 reduce(mExportReduceIdx_my_ulong2_10, new Allocation[]{ain1}, aout, sc); 18203 return new result_int(aout); 18204 } 18205 18206 private final static int mExportReduceIdx_my_ulong2_11 = 507; 18207 // in1 = "in", flattened 2-vectors 18208 public result_int reduce_my_ulong2_11(long[] in1) { 18209 // Verify that "in1" is non-null. 18210 if (in1 == null) { 18211 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18212 } 18213 // Verify that the array length is a multiple of the vector size. 18214 if (in1.length % 2 != 0) { 18215 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18216 } 18217 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18218 ain1.setAutoPadding(true); 18219 ain1.copyFrom(in1); 18220 18221 result_int result = reduce_my_ulong2_11(ain1, null); 18222 result.mTempIns = new Allocation[]{ain1}; 18223 return result; 18224 } 18225 18226 // ain1 = "ulong2 in" 18227 public result_int reduce_my_ulong2_11(Allocation ain1) { 18228 return reduce_my_ulong2_11(ain1, null); 18229 } 18230 18231 // ain1 = "ulong2 in" 18232 public result_int reduce_my_ulong2_11(Allocation ain1, Script.LaunchOptions sc) { 18233 // check ain1 18234 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18235 throw new RSRuntimeException("Type mismatch with U64_2!"); 18236 } 18237 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18238 aout.setAutoPadding(true); 18239 reduce(mExportReduceIdx_my_ulong2_11, new Allocation[]{ain1}, aout, sc); 18240 return new result_int(aout); 18241 } 18242 18243 private final static int mExportReduceIdx_my_ulong2_12 = 508; 18244 // in1 = "in", flattened 2-vectors 18245 public result_int reduce_my_ulong2_12(long[] in1) { 18246 // Verify that "in1" is non-null. 18247 if (in1 == null) { 18248 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18249 } 18250 // Verify that the array length is a multiple of the vector size. 18251 if (in1.length % 2 != 0) { 18252 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18253 } 18254 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18255 ain1.setAutoPadding(true); 18256 ain1.copyFrom(in1); 18257 18258 result_int result = reduce_my_ulong2_12(ain1, null); 18259 result.mTempIns = new Allocation[]{ain1}; 18260 return result; 18261 } 18262 18263 // ain1 = "ulong2 in" 18264 public result_int reduce_my_ulong2_12(Allocation ain1) { 18265 return reduce_my_ulong2_12(ain1, null); 18266 } 18267 18268 // ain1 = "ulong2 in" 18269 public result_int reduce_my_ulong2_12(Allocation ain1, Script.LaunchOptions sc) { 18270 // check ain1 18271 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18272 throw new RSRuntimeException("Type mismatch with U64_2!"); 18273 } 18274 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18275 aout.setAutoPadding(true); 18276 reduce(mExportReduceIdx_my_ulong2_12, new Allocation[]{ain1}, aout, sc); 18277 return new result_int(aout); 18278 } 18279 18280 private final static int mExportReduceIdx_my_ulong2_13 = 509; 18281 // in1 = "in", flattened 2-vectors 18282 public result_int reduce_my_ulong2_13(long[] in1) { 18283 // Verify that "in1" is non-null. 18284 if (in1 == null) { 18285 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18286 } 18287 // Verify that the array length is a multiple of the vector size. 18288 if (in1.length % 2 != 0) { 18289 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18290 } 18291 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18292 ain1.setAutoPadding(true); 18293 ain1.copyFrom(in1); 18294 18295 result_int result = reduce_my_ulong2_13(ain1, null); 18296 result.mTempIns = new Allocation[]{ain1}; 18297 return result; 18298 } 18299 18300 // ain1 = "ulong2 in" 18301 public result_int reduce_my_ulong2_13(Allocation ain1) { 18302 return reduce_my_ulong2_13(ain1, null); 18303 } 18304 18305 // ain1 = "ulong2 in" 18306 public result_int reduce_my_ulong2_13(Allocation ain1, Script.LaunchOptions sc) { 18307 // check ain1 18308 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18309 throw new RSRuntimeException("Type mismatch with U64_2!"); 18310 } 18311 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18312 aout.setAutoPadding(true); 18313 reduce(mExportReduceIdx_my_ulong2_13, new Allocation[]{ain1}, aout, sc); 18314 return new result_int(aout); 18315 } 18316 18317 private final static int mExportReduceIdx_my_ulong2_14 = 510; 18318 // in1 = "in", flattened 2-vectors 18319 public result_int reduce_my_ulong2_14(long[] in1) { 18320 // Verify that "in1" is non-null. 18321 if (in1 == null) { 18322 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18323 } 18324 // Verify that the array length is a multiple of the vector size. 18325 if (in1.length % 2 != 0) { 18326 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18327 } 18328 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18329 ain1.setAutoPadding(true); 18330 ain1.copyFrom(in1); 18331 18332 result_int result = reduce_my_ulong2_14(ain1, null); 18333 result.mTempIns = new Allocation[]{ain1}; 18334 return result; 18335 } 18336 18337 // ain1 = "ulong2 in" 18338 public result_int reduce_my_ulong2_14(Allocation ain1) { 18339 return reduce_my_ulong2_14(ain1, null); 18340 } 18341 18342 // ain1 = "ulong2 in" 18343 public result_int reduce_my_ulong2_14(Allocation ain1, Script.LaunchOptions sc) { 18344 // check ain1 18345 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18346 throw new RSRuntimeException("Type mismatch with U64_2!"); 18347 } 18348 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18349 aout.setAutoPadding(true); 18350 reduce(mExportReduceIdx_my_ulong2_14, new Allocation[]{ain1}, aout, sc); 18351 return new result_int(aout); 18352 } 18353 18354 private final static int mExportReduceIdx_my_ulong2_15 = 511; 18355 // in1 = "in", flattened 2-vectors 18356 public result_int reduce_my_ulong2_15(long[] in1) { 18357 // Verify that "in1" is non-null. 18358 if (in1 == null) { 18359 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18360 } 18361 // Verify that the array length is a multiple of the vector size. 18362 if (in1.length % 2 != 0) { 18363 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 2 in length!"); 18364 } 18365 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_2, in1.length / 2); 18366 ain1.setAutoPadding(true); 18367 ain1.copyFrom(in1); 18368 18369 result_int result = reduce_my_ulong2_15(ain1, null); 18370 result.mTempIns = new Allocation[]{ain1}; 18371 return result; 18372 } 18373 18374 // ain1 = "ulong2 in" 18375 public result_int reduce_my_ulong2_15(Allocation ain1) { 18376 return reduce_my_ulong2_15(ain1, null); 18377 } 18378 18379 // ain1 = "ulong2 in" 18380 public result_int reduce_my_ulong2_15(Allocation ain1, Script.LaunchOptions sc) { 18381 // check ain1 18382 if (!ain1.getType().getElement().isCompatible(__U64_2)) { 18383 throw new RSRuntimeException("Type mismatch with U64_2!"); 18384 } 18385 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18386 aout.setAutoPadding(true); 18387 reduce(mExportReduceIdx_my_ulong2_15, new Allocation[]{ain1}, aout, sc); 18388 return new result_int(aout); 18389 } 18390 18391 private final static int mExportReduceIdx_my_ulong4_0 = 512; 18392 // in1 = "in", flattened 4-vectors 18393 public result_int reduce_my_ulong4_0(long[] in1) { 18394 // Verify that "in1" is non-null. 18395 if (in1 == null) { 18396 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18397 } 18398 // Verify that the array length is a multiple of the vector size. 18399 if (in1.length % 4 != 0) { 18400 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18401 } 18402 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18403 ain1.setAutoPadding(true); 18404 ain1.copyFrom(in1); 18405 18406 result_int result = reduce_my_ulong4_0(ain1, null); 18407 result.mTempIns = new Allocation[]{ain1}; 18408 return result; 18409 } 18410 18411 // ain1 = "ulong4 in" 18412 public result_int reduce_my_ulong4_0(Allocation ain1) { 18413 return reduce_my_ulong4_0(ain1, null); 18414 } 18415 18416 // ain1 = "ulong4 in" 18417 public result_int reduce_my_ulong4_0(Allocation ain1, Script.LaunchOptions sc) { 18418 // check ain1 18419 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18420 throw new RSRuntimeException("Type mismatch with U64_4!"); 18421 } 18422 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18423 aout.setAutoPadding(true); 18424 reduce(mExportReduceIdx_my_ulong4_0, new Allocation[]{ain1}, aout, sc); 18425 return new result_int(aout); 18426 } 18427 18428 private final static int mExportReduceIdx_my_ulong4_1 = 513; 18429 // in1 = "in", flattened 4-vectors 18430 public result_int reduce_my_ulong4_1(long[] in1) { 18431 // Verify that "in1" is non-null. 18432 if (in1 == null) { 18433 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18434 } 18435 // Verify that the array length is a multiple of the vector size. 18436 if (in1.length % 4 != 0) { 18437 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18438 } 18439 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18440 ain1.setAutoPadding(true); 18441 ain1.copyFrom(in1); 18442 18443 result_int result = reduce_my_ulong4_1(ain1, null); 18444 result.mTempIns = new Allocation[]{ain1}; 18445 return result; 18446 } 18447 18448 // ain1 = "ulong4 in" 18449 public result_int reduce_my_ulong4_1(Allocation ain1) { 18450 return reduce_my_ulong4_1(ain1, null); 18451 } 18452 18453 // ain1 = "ulong4 in" 18454 public result_int reduce_my_ulong4_1(Allocation ain1, Script.LaunchOptions sc) { 18455 // check ain1 18456 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18457 throw new RSRuntimeException("Type mismatch with U64_4!"); 18458 } 18459 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18460 aout.setAutoPadding(true); 18461 reduce(mExportReduceIdx_my_ulong4_1, new Allocation[]{ain1}, aout, sc); 18462 return new result_int(aout); 18463 } 18464 18465 private final static int mExportReduceIdx_my_ulong4_2 = 514; 18466 // in1 = "in", flattened 4-vectors 18467 public result_int reduce_my_ulong4_2(long[] in1) { 18468 // Verify that "in1" is non-null. 18469 if (in1 == null) { 18470 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18471 } 18472 // Verify that the array length is a multiple of the vector size. 18473 if (in1.length % 4 != 0) { 18474 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18475 } 18476 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18477 ain1.setAutoPadding(true); 18478 ain1.copyFrom(in1); 18479 18480 result_int result = reduce_my_ulong4_2(ain1, null); 18481 result.mTempIns = new Allocation[]{ain1}; 18482 return result; 18483 } 18484 18485 // ain1 = "ulong4 in" 18486 public result_int reduce_my_ulong4_2(Allocation ain1) { 18487 return reduce_my_ulong4_2(ain1, null); 18488 } 18489 18490 // ain1 = "ulong4 in" 18491 public result_int reduce_my_ulong4_2(Allocation ain1, Script.LaunchOptions sc) { 18492 // check ain1 18493 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18494 throw new RSRuntimeException("Type mismatch with U64_4!"); 18495 } 18496 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18497 aout.setAutoPadding(true); 18498 reduce(mExportReduceIdx_my_ulong4_2, new Allocation[]{ain1}, aout, sc); 18499 return new result_int(aout); 18500 } 18501 18502 private final static int mExportReduceIdx_my_ulong4_3 = 515; 18503 // in1 = "in", flattened 4-vectors 18504 public result_int reduce_my_ulong4_3(long[] in1) { 18505 // Verify that "in1" is non-null. 18506 if (in1 == null) { 18507 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18508 } 18509 // Verify that the array length is a multiple of the vector size. 18510 if (in1.length % 4 != 0) { 18511 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18512 } 18513 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18514 ain1.setAutoPadding(true); 18515 ain1.copyFrom(in1); 18516 18517 result_int result = reduce_my_ulong4_3(ain1, null); 18518 result.mTempIns = new Allocation[]{ain1}; 18519 return result; 18520 } 18521 18522 // ain1 = "ulong4 in" 18523 public result_int reduce_my_ulong4_3(Allocation ain1) { 18524 return reduce_my_ulong4_3(ain1, null); 18525 } 18526 18527 // ain1 = "ulong4 in" 18528 public result_int reduce_my_ulong4_3(Allocation ain1, Script.LaunchOptions sc) { 18529 // check ain1 18530 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18531 throw new RSRuntimeException("Type mismatch with U64_4!"); 18532 } 18533 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18534 aout.setAutoPadding(true); 18535 reduce(mExportReduceIdx_my_ulong4_3, new Allocation[]{ain1}, aout, sc); 18536 return new result_int(aout); 18537 } 18538 18539 private final static int mExportReduceIdx_my_ulong4_4 = 516; 18540 // in1 = "in", flattened 4-vectors 18541 public result_int reduce_my_ulong4_4(long[] in1) { 18542 // Verify that "in1" is non-null. 18543 if (in1 == null) { 18544 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18545 } 18546 // Verify that the array length is a multiple of the vector size. 18547 if (in1.length % 4 != 0) { 18548 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18549 } 18550 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18551 ain1.setAutoPadding(true); 18552 ain1.copyFrom(in1); 18553 18554 result_int result = reduce_my_ulong4_4(ain1, null); 18555 result.mTempIns = new Allocation[]{ain1}; 18556 return result; 18557 } 18558 18559 // ain1 = "ulong4 in" 18560 public result_int reduce_my_ulong4_4(Allocation ain1) { 18561 return reduce_my_ulong4_4(ain1, null); 18562 } 18563 18564 // ain1 = "ulong4 in" 18565 public result_int reduce_my_ulong4_4(Allocation ain1, Script.LaunchOptions sc) { 18566 // check ain1 18567 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18568 throw new RSRuntimeException("Type mismatch with U64_4!"); 18569 } 18570 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18571 aout.setAutoPadding(true); 18572 reduce(mExportReduceIdx_my_ulong4_4, new Allocation[]{ain1}, aout, sc); 18573 return new result_int(aout); 18574 } 18575 18576 private final static int mExportReduceIdx_my_ulong4_5 = 517; 18577 // in1 = "in", flattened 4-vectors 18578 public result_int reduce_my_ulong4_5(long[] in1) { 18579 // Verify that "in1" is non-null. 18580 if (in1 == null) { 18581 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18582 } 18583 // Verify that the array length is a multiple of the vector size. 18584 if (in1.length % 4 != 0) { 18585 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18586 } 18587 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18588 ain1.setAutoPadding(true); 18589 ain1.copyFrom(in1); 18590 18591 result_int result = reduce_my_ulong4_5(ain1, null); 18592 result.mTempIns = new Allocation[]{ain1}; 18593 return result; 18594 } 18595 18596 // ain1 = "ulong4 in" 18597 public result_int reduce_my_ulong4_5(Allocation ain1) { 18598 return reduce_my_ulong4_5(ain1, null); 18599 } 18600 18601 // ain1 = "ulong4 in" 18602 public result_int reduce_my_ulong4_5(Allocation ain1, Script.LaunchOptions sc) { 18603 // check ain1 18604 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18605 throw new RSRuntimeException("Type mismatch with U64_4!"); 18606 } 18607 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18608 aout.setAutoPadding(true); 18609 reduce(mExportReduceIdx_my_ulong4_5, new Allocation[]{ain1}, aout, sc); 18610 return new result_int(aout); 18611 } 18612 18613 private final static int mExportReduceIdx_my_ulong4_6 = 518; 18614 // in1 = "in", flattened 4-vectors 18615 public result_int reduce_my_ulong4_6(long[] in1) { 18616 // Verify that "in1" is non-null. 18617 if (in1 == null) { 18618 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18619 } 18620 // Verify that the array length is a multiple of the vector size. 18621 if (in1.length % 4 != 0) { 18622 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18623 } 18624 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18625 ain1.setAutoPadding(true); 18626 ain1.copyFrom(in1); 18627 18628 result_int result = reduce_my_ulong4_6(ain1, null); 18629 result.mTempIns = new Allocation[]{ain1}; 18630 return result; 18631 } 18632 18633 // ain1 = "ulong4 in" 18634 public result_int reduce_my_ulong4_6(Allocation ain1) { 18635 return reduce_my_ulong4_6(ain1, null); 18636 } 18637 18638 // ain1 = "ulong4 in" 18639 public result_int reduce_my_ulong4_6(Allocation ain1, Script.LaunchOptions sc) { 18640 // check ain1 18641 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18642 throw new RSRuntimeException("Type mismatch with U64_4!"); 18643 } 18644 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18645 aout.setAutoPadding(true); 18646 reduce(mExportReduceIdx_my_ulong4_6, new Allocation[]{ain1}, aout, sc); 18647 return new result_int(aout); 18648 } 18649 18650 private final static int mExportReduceIdx_my_ulong4_7 = 519; 18651 // in1 = "in", flattened 4-vectors 18652 public result_int reduce_my_ulong4_7(long[] in1) { 18653 // Verify that "in1" is non-null. 18654 if (in1 == null) { 18655 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18656 } 18657 // Verify that the array length is a multiple of the vector size. 18658 if (in1.length % 4 != 0) { 18659 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18660 } 18661 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18662 ain1.setAutoPadding(true); 18663 ain1.copyFrom(in1); 18664 18665 result_int result = reduce_my_ulong4_7(ain1, null); 18666 result.mTempIns = new Allocation[]{ain1}; 18667 return result; 18668 } 18669 18670 // ain1 = "ulong4 in" 18671 public result_int reduce_my_ulong4_7(Allocation ain1) { 18672 return reduce_my_ulong4_7(ain1, null); 18673 } 18674 18675 // ain1 = "ulong4 in" 18676 public result_int reduce_my_ulong4_7(Allocation ain1, Script.LaunchOptions sc) { 18677 // check ain1 18678 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18679 throw new RSRuntimeException("Type mismatch with U64_4!"); 18680 } 18681 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18682 aout.setAutoPadding(true); 18683 reduce(mExportReduceIdx_my_ulong4_7, new Allocation[]{ain1}, aout, sc); 18684 return new result_int(aout); 18685 } 18686 18687 private final static int mExportReduceIdx_my_ulong4_8 = 520; 18688 // in1 = "in", flattened 4-vectors 18689 public result_int reduce_my_ulong4_8(long[] in1) { 18690 // Verify that "in1" is non-null. 18691 if (in1 == null) { 18692 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18693 } 18694 // Verify that the array length is a multiple of the vector size. 18695 if (in1.length % 4 != 0) { 18696 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18697 } 18698 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18699 ain1.setAutoPadding(true); 18700 ain1.copyFrom(in1); 18701 18702 result_int result = reduce_my_ulong4_8(ain1, null); 18703 result.mTempIns = new Allocation[]{ain1}; 18704 return result; 18705 } 18706 18707 // ain1 = "ulong4 in" 18708 public result_int reduce_my_ulong4_8(Allocation ain1) { 18709 return reduce_my_ulong4_8(ain1, null); 18710 } 18711 18712 // ain1 = "ulong4 in" 18713 public result_int reduce_my_ulong4_8(Allocation ain1, Script.LaunchOptions sc) { 18714 // check ain1 18715 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18716 throw new RSRuntimeException("Type mismatch with U64_4!"); 18717 } 18718 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18719 aout.setAutoPadding(true); 18720 reduce(mExportReduceIdx_my_ulong4_8, new Allocation[]{ain1}, aout, sc); 18721 return new result_int(aout); 18722 } 18723 18724 private final static int mExportReduceIdx_my_ulong4_9 = 521; 18725 // in1 = "in", flattened 4-vectors 18726 public result_int reduce_my_ulong4_9(long[] in1) { 18727 // Verify that "in1" is non-null. 18728 if (in1 == null) { 18729 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18730 } 18731 // Verify that the array length is a multiple of the vector size. 18732 if (in1.length % 4 != 0) { 18733 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18734 } 18735 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18736 ain1.setAutoPadding(true); 18737 ain1.copyFrom(in1); 18738 18739 result_int result = reduce_my_ulong4_9(ain1, null); 18740 result.mTempIns = new Allocation[]{ain1}; 18741 return result; 18742 } 18743 18744 // ain1 = "ulong4 in" 18745 public result_int reduce_my_ulong4_9(Allocation ain1) { 18746 return reduce_my_ulong4_9(ain1, null); 18747 } 18748 18749 // ain1 = "ulong4 in" 18750 public result_int reduce_my_ulong4_9(Allocation ain1, Script.LaunchOptions sc) { 18751 // check ain1 18752 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18753 throw new RSRuntimeException("Type mismatch with U64_4!"); 18754 } 18755 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18756 aout.setAutoPadding(true); 18757 reduce(mExportReduceIdx_my_ulong4_9, new Allocation[]{ain1}, aout, sc); 18758 return new result_int(aout); 18759 } 18760 18761 private final static int mExportReduceIdx_my_ulong4_10 = 522; 18762 // in1 = "in", flattened 4-vectors 18763 public result_int reduce_my_ulong4_10(long[] in1) { 18764 // Verify that "in1" is non-null. 18765 if (in1 == null) { 18766 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18767 } 18768 // Verify that the array length is a multiple of the vector size. 18769 if (in1.length % 4 != 0) { 18770 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18771 } 18772 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18773 ain1.setAutoPadding(true); 18774 ain1.copyFrom(in1); 18775 18776 result_int result = reduce_my_ulong4_10(ain1, null); 18777 result.mTempIns = new Allocation[]{ain1}; 18778 return result; 18779 } 18780 18781 // ain1 = "ulong4 in" 18782 public result_int reduce_my_ulong4_10(Allocation ain1) { 18783 return reduce_my_ulong4_10(ain1, null); 18784 } 18785 18786 // ain1 = "ulong4 in" 18787 public result_int reduce_my_ulong4_10(Allocation ain1, Script.LaunchOptions sc) { 18788 // check ain1 18789 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18790 throw new RSRuntimeException("Type mismatch with U64_4!"); 18791 } 18792 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18793 aout.setAutoPadding(true); 18794 reduce(mExportReduceIdx_my_ulong4_10, new Allocation[]{ain1}, aout, sc); 18795 return new result_int(aout); 18796 } 18797 18798 private final static int mExportReduceIdx_my_ulong4_11 = 523; 18799 // in1 = "in", flattened 4-vectors 18800 public result_int reduce_my_ulong4_11(long[] in1) { 18801 // Verify that "in1" is non-null. 18802 if (in1 == null) { 18803 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18804 } 18805 // Verify that the array length is a multiple of the vector size. 18806 if (in1.length % 4 != 0) { 18807 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18808 } 18809 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18810 ain1.setAutoPadding(true); 18811 ain1.copyFrom(in1); 18812 18813 result_int result = reduce_my_ulong4_11(ain1, null); 18814 result.mTempIns = new Allocation[]{ain1}; 18815 return result; 18816 } 18817 18818 // ain1 = "ulong4 in" 18819 public result_int reduce_my_ulong4_11(Allocation ain1) { 18820 return reduce_my_ulong4_11(ain1, null); 18821 } 18822 18823 // ain1 = "ulong4 in" 18824 public result_int reduce_my_ulong4_11(Allocation ain1, Script.LaunchOptions sc) { 18825 // check ain1 18826 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18827 throw new RSRuntimeException("Type mismatch with U64_4!"); 18828 } 18829 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18830 aout.setAutoPadding(true); 18831 reduce(mExportReduceIdx_my_ulong4_11, new Allocation[]{ain1}, aout, sc); 18832 return new result_int(aout); 18833 } 18834 18835 private final static int mExportReduceIdx_my_ulong4_12 = 524; 18836 // in1 = "in", flattened 4-vectors 18837 public result_int reduce_my_ulong4_12(long[] in1) { 18838 // Verify that "in1" is non-null. 18839 if (in1 == null) { 18840 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18841 } 18842 // Verify that the array length is a multiple of the vector size. 18843 if (in1.length % 4 != 0) { 18844 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18845 } 18846 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18847 ain1.setAutoPadding(true); 18848 ain1.copyFrom(in1); 18849 18850 result_int result = reduce_my_ulong4_12(ain1, null); 18851 result.mTempIns = new Allocation[]{ain1}; 18852 return result; 18853 } 18854 18855 // ain1 = "ulong4 in" 18856 public result_int reduce_my_ulong4_12(Allocation ain1) { 18857 return reduce_my_ulong4_12(ain1, null); 18858 } 18859 18860 // ain1 = "ulong4 in" 18861 public result_int reduce_my_ulong4_12(Allocation ain1, Script.LaunchOptions sc) { 18862 // check ain1 18863 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18864 throw new RSRuntimeException("Type mismatch with U64_4!"); 18865 } 18866 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18867 aout.setAutoPadding(true); 18868 reduce(mExportReduceIdx_my_ulong4_12, new Allocation[]{ain1}, aout, sc); 18869 return new result_int(aout); 18870 } 18871 18872 private final static int mExportReduceIdx_my_ulong4_13 = 525; 18873 // in1 = "in", flattened 4-vectors 18874 public result_int reduce_my_ulong4_13(long[] in1) { 18875 // Verify that "in1" is non-null. 18876 if (in1 == null) { 18877 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18878 } 18879 // Verify that the array length is a multiple of the vector size. 18880 if (in1.length % 4 != 0) { 18881 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18882 } 18883 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18884 ain1.setAutoPadding(true); 18885 ain1.copyFrom(in1); 18886 18887 result_int result = reduce_my_ulong4_13(ain1, null); 18888 result.mTempIns = new Allocation[]{ain1}; 18889 return result; 18890 } 18891 18892 // ain1 = "ulong4 in" 18893 public result_int reduce_my_ulong4_13(Allocation ain1) { 18894 return reduce_my_ulong4_13(ain1, null); 18895 } 18896 18897 // ain1 = "ulong4 in" 18898 public result_int reduce_my_ulong4_13(Allocation ain1, Script.LaunchOptions sc) { 18899 // check ain1 18900 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18901 throw new RSRuntimeException("Type mismatch with U64_4!"); 18902 } 18903 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18904 aout.setAutoPadding(true); 18905 reduce(mExportReduceIdx_my_ulong4_13, new Allocation[]{ain1}, aout, sc); 18906 return new result_int(aout); 18907 } 18908 18909 private final static int mExportReduceIdx_my_ulong4_14 = 526; 18910 // in1 = "in", flattened 4-vectors 18911 public result_int reduce_my_ulong4_14(long[] in1) { 18912 // Verify that "in1" is non-null. 18913 if (in1 == null) { 18914 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18915 } 18916 // Verify that the array length is a multiple of the vector size. 18917 if (in1.length % 4 != 0) { 18918 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18919 } 18920 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18921 ain1.setAutoPadding(true); 18922 ain1.copyFrom(in1); 18923 18924 result_int result = reduce_my_ulong4_14(ain1, null); 18925 result.mTempIns = new Allocation[]{ain1}; 18926 return result; 18927 } 18928 18929 // ain1 = "ulong4 in" 18930 public result_int reduce_my_ulong4_14(Allocation ain1) { 18931 return reduce_my_ulong4_14(ain1, null); 18932 } 18933 18934 // ain1 = "ulong4 in" 18935 public result_int reduce_my_ulong4_14(Allocation ain1, Script.LaunchOptions sc) { 18936 // check ain1 18937 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18938 throw new RSRuntimeException("Type mismatch with U64_4!"); 18939 } 18940 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18941 aout.setAutoPadding(true); 18942 reduce(mExportReduceIdx_my_ulong4_14, new Allocation[]{ain1}, aout, sc); 18943 return new result_int(aout); 18944 } 18945 18946 private final static int mExportReduceIdx_my_ulong4_15 = 527; 18947 // in1 = "in", flattened 4-vectors 18948 public result_int reduce_my_ulong4_15(long[] in1) { 18949 // Verify that "in1" is non-null. 18950 if (in1 == null) { 18951 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18952 } 18953 // Verify that the array length is a multiple of the vector size. 18954 if (in1.length % 4 != 0) { 18955 throw new RSIllegalArgumentException("Array \"in1\" is not a multiple of 4 in length!"); 18956 } 18957 Allocation ain1 = Allocation.createSized(mRSLocal, __U64_4, in1.length / 4); 18958 ain1.setAutoPadding(true); 18959 ain1.copyFrom(in1); 18960 18961 result_int result = reduce_my_ulong4_15(ain1, null); 18962 result.mTempIns = new Allocation[]{ain1}; 18963 return result; 18964 } 18965 18966 // ain1 = "ulong4 in" 18967 public result_int reduce_my_ulong4_15(Allocation ain1) { 18968 return reduce_my_ulong4_15(ain1, null); 18969 } 18970 18971 // ain1 = "ulong4 in" 18972 public result_int reduce_my_ulong4_15(Allocation ain1, Script.LaunchOptions sc) { 18973 // check ain1 18974 if (!ain1.getType().getElement().isCompatible(__U64_4)) { 18975 throw new RSRuntimeException("Type mismatch with U64_4!"); 18976 } 18977 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 18978 aout.setAutoPadding(true); 18979 reduce(mExportReduceIdx_my_ulong4_15, new Allocation[]{ain1}, aout, sc); 18980 return new result_int(aout); 18981 } 18982 18983 private final static int mExportReduceIdx_my_bool_0 = 528; 18984 // in1 = "in" 18985 public result_int reduce_my_bool_0(byte[] in1) { 18986 // Verify that "in1" is non-null. 18987 if (in1 == null) { 18988 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 18989 } 18990 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 18991 ain1.setAutoPadding(true); 18992 ain1.copyFrom(in1); 18993 18994 result_int result = reduce_my_bool_0(ain1, null); 18995 result.mTempIns = new Allocation[]{ain1}; 18996 return result; 18997 } 18998 18999 // ain1 = "bool in" 19000 public result_int reduce_my_bool_0(Allocation ain1) { 19001 return reduce_my_bool_0(ain1, null); 19002 } 19003 19004 // ain1 = "bool in" 19005 public result_int reduce_my_bool_0(Allocation ain1, Script.LaunchOptions sc) { 19006 // check ain1 19007 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19008 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19009 } 19010 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19011 aout.setAutoPadding(true); 19012 reduce(mExportReduceIdx_my_bool_0, new Allocation[]{ain1}, aout, sc); 19013 return new result_int(aout); 19014 } 19015 19016 private final static int mExportReduceIdx_my_bool_1 = 529; 19017 // in1 = "in" 19018 public result_int reduce_my_bool_1(byte[] in1) { 19019 // Verify that "in1" is non-null. 19020 if (in1 == null) { 19021 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19022 } 19023 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19024 ain1.setAutoPadding(true); 19025 ain1.copyFrom(in1); 19026 19027 result_int result = reduce_my_bool_1(ain1, null); 19028 result.mTempIns = new Allocation[]{ain1}; 19029 return result; 19030 } 19031 19032 // ain1 = "bool in" 19033 public result_int reduce_my_bool_1(Allocation ain1) { 19034 return reduce_my_bool_1(ain1, null); 19035 } 19036 19037 // ain1 = "bool in" 19038 public result_int reduce_my_bool_1(Allocation ain1, Script.LaunchOptions sc) { 19039 // check ain1 19040 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19041 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19042 } 19043 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19044 aout.setAutoPadding(true); 19045 reduce(mExportReduceIdx_my_bool_1, new Allocation[]{ain1}, aout, sc); 19046 return new result_int(aout); 19047 } 19048 19049 private final static int mExportReduceIdx_my_bool_2 = 530; 19050 // in1 = "in" 19051 public result_int reduce_my_bool_2(byte[] in1) { 19052 // Verify that "in1" is non-null. 19053 if (in1 == null) { 19054 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19055 } 19056 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19057 ain1.setAutoPadding(true); 19058 ain1.copyFrom(in1); 19059 19060 result_int result = reduce_my_bool_2(ain1, null); 19061 result.mTempIns = new Allocation[]{ain1}; 19062 return result; 19063 } 19064 19065 // ain1 = "bool in" 19066 public result_int reduce_my_bool_2(Allocation ain1) { 19067 return reduce_my_bool_2(ain1, null); 19068 } 19069 19070 // ain1 = "bool in" 19071 public result_int reduce_my_bool_2(Allocation ain1, Script.LaunchOptions sc) { 19072 // check ain1 19073 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19074 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19075 } 19076 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19077 aout.setAutoPadding(true); 19078 reduce(mExportReduceIdx_my_bool_2, new Allocation[]{ain1}, aout, sc); 19079 return new result_int(aout); 19080 } 19081 19082 private final static int mExportReduceIdx_my_bool_3 = 531; 19083 // in1 = "in" 19084 public result_int reduce_my_bool_3(byte[] in1) { 19085 // Verify that "in1" is non-null. 19086 if (in1 == null) { 19087 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19088 } 19089 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19090 ain1.setAutoPadding(true); 19091 ain1.copyFrom(in1); 19092 19093 result_int result = reduce_my_bool_3(ain1, null); 19094 result.mTempIns = new Allocation[]{ain1}; 19095 return result; 19096 } 19097 19098 // ain1 = "bool in" 19099 public result_int reduce_my_bool_3(Allocation ain1) { 19100 return reduce_my_bool_3(ain1, null); 19101 } 19102 19103 // ain1 = "bool in" 19104 public result_int reduce_my_bool_3(Allocation ain1, Script.LaunchOptions sc) { 19105 // check ain1 19106 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19107 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19108 } 19109 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19110 aout.setAutoPadding(true); 19111 reduce(mExportReduceIdx_my_bool_3, new Allocation[]{ain1}, aout, sc); 19112 return new result_int(aout); 19113 } 19114 19115 private final static int mExportReduceIdx_my_bool_4 = 532; 19116 // in1 = "in" 19117 public result_int reduce_my_bool_4(byte[] in1) { 19118 // Verify that "in1" is non-null. 19119 if (in1 == null) { 19120 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19121 } 19122 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19123 ain1.setAutoPadding(true); 19124 ain1.copyFrom(in1); 19125 19126 result_int result = reduce_my_bool_4(ain1, null); 19127 result.mTempIns = new Allocation[]{ain1}; 19128 return result; 19129 } 19130 19131 // ain1 = "bool in" 19132 public result_int reduce_my_bool_4(Allocation ain1) { 19133 return reduce_my_bool_4(ain1, null); 19134 } 19135 19136 // ain1 = "bool in" 19137 public result_int reduce_my_bool_4(Allocation ain1, Script.LaunchOptions sc) { 19138 // check ain1 19139 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19140 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19141 } 19142 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19143 aout.setAutoPadding(true); 19144 reduce(mExportReduceIdx_my_bool_4, new Allocation[]{ain1}, aout, sc); 19145 return new result_int(aout); 19146 } 19147 19148 private final static int mExportReduceIdx_my_bool_5 = 533; 19149 // in1 = "in" 19150 public result_int reduce_my_bool_5(byte[] in1) { 19151 // Verify that "in1" is non-null. 19152 if (in1 == null) { 19153 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19154 } 19155 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19156 ain1.setAutoPadding(true); 19157 ain1.copyFrom(in1); 19158 19159 result_int result = reduce_my_bool_5(ain1, null); 19160 result.mTempIns = new Allocation[]{ain1}; 19161 return result; 19162 } 19163 19164 // ain1 = "bool in" 19165 public result_int reduce_my_bool_5(Allocation ain1) { 19166 return reduce_my_bool_5(ain1, null); 19167 } 19168 19169 // ain1 = "bool in" 19170 public result_int reduce_my_bool_5(Allocation ain1, Script.LaunchOptions sc) { 19171 // check ain1 19172 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19173 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19174 } 19175 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19176 aout.setAutoPadding(true); 19177 reduce(mExportReduceIdx_my_bool_5, new Allocation[]{ain1}, aout, sc); 19178 return new result_int(aout); 19179 } 19180 19181 private final static int mExportReduceIdx_my_bool_6 = 534; 19182 // in1 = "in" 19183 public result_int reduce_my_bool_6(byte[] in1) { 19184 // Verify that "in1" is non-null. 19185 if (in1 == null) { 19186 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19187 } 19188 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19189 ain1.setAutoPadding(true); 19190 ain1.copyFrom(in1); 19191 19192 result_int result = reduce_my_bool_6(ain1, null); 19193 result.mTempIns = new Allocation[]{ain1}; 19194 return result; 19195 } 19196 19197 // ain1 = "bool in" 19198 public result_int reduce_my_bool_6(Allocation ain1) { 19199 return reduce_my_bool_6(ain1, null); 19200 } 19201 19202 // ain1 = "bool in" 19203 public result_int reduce_my_bool_6(Allocation ain1, Script.LaunchOptions sc) { 19204 // check ain1 19205 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19206 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19207 } 19208 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19209 aout.setAutoPadding(true); 19210 reduce(mExportReduceIdx_my_bool_6, new Allocation[]{ain1}, aout, sc); 19211 return new result_int(aout); 19212 } 19213 19214 private final static int mExportReduceIdx_my_bool_7 = 535; 19215 // in1 = "in" 19216 public result_int reduce_my_bool_7(byte[] in1) { 19217 // Verify that "in1" is non-null. 19218 if (in1 == null) { 19219 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19220 } 19221 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19222 ain1.setAutoPadding(true); 19223 ain1.copyFrom(in1); 19224 19225 result_int result = reduce_my_bool_7(ain1, null); 19226 result.mTempIns = new Allocation[]{ain1}; 19227 return result; 19228 } 19229 19230 // ain1 = "bool in" 19231 public result_int reduce_my_bool_7(Allocation ain1) { 19232 return reduce_my_bool_7(ain1, null); 19233 } 19234 19235 // ain1 = "bool in" 19236 public result_int reduce_my_bool_7(Allocation ain1, Script.LaunchOptions sc) { 19237 // check ain1 19238 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19239 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19240 } 19241 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19242 aout.setAutoPadding(true); 19243 reduce(mExportReduceIdx_my_bool_7, new Allocation[]{ain1}, aout, sc); 19244 return new result_int(aout); 19245 } 19246 19247 private final static int mExportReduceIdx_my_bool_8 = 536; 19248 // in1 = "in" 19249 public result_int reduce_my_bool_8(byte[] in1) { 19250 // Verify that "in1" is non-null. 19251 if (in1 == null) { 19252 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19253 } 19254 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19255 ain1.setAutoPadding(true); 19256 ain1.copyFrom(in1); 19257 19258 result_int result = reduce_my_bool_8(ain1, null); 19259 result.mTempIns = new Allocation[]{ain1}; 19260 return result; 19261 } 19262 19263 // ain1 = "bool in" 19264 public result_int reduce_my_bool_8(Allocation ain1) { 19265 return reduce_my_bool_8(ain1, null); 19266 } 19267 19268 // ain1 = "bool in" 19269 public result_int reduce_my_bool_8(Allocation ain1, Script.LaunchOptions sc) { 19270 // check ain1 19271 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19272 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19273 } 19274 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19275 aout.setAutoPadding(true); 19276 reduce(mExportReduceIdx_my_bool_8, new Allocation[]{ain1}, aout, sc); 19277 return new result_int(aout); 19278 } 19279 19280 private final static int mExportReduceIdx_my_bool_9 = 537; 19281 // in1 = "in" 19282 public result_int reduce_my_bool_9(byte[] in1) { 19283 // Verify that "in1" is non-null. 19284 if (in1 == null) { 19285 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19286 } 19287 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19288 ain1.setAutoPadding(true); 19289 ain1.copyFrom(in1); 19290 19291 result_int result = reduce_my_bool_9(ain1, null); 19292 result.mTempIns = new Allocation[]{ain1}; 19293 return result; 19294 } 19295 19296 // ain1 = "bool in" 19297 public result_int reduce_my_bool_9(Allocation ain1) { 19298 return reduce_my_bool_9(ain1, null); 19299 } 19300 19301 // ain1 = "bool in" 19302 public result_int reduce_my_bool_9(Allocation ain1, Script.LaunchOptions sc) { 19303 // check ain1 19304 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19305 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19306 } 19307 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19308 aout.setAutoPadding(true); 19309 reduce(mExportReduceIdx_my_bool_9, new Allocation[]{ain1}, aout, sc); 19310 return new result_int(aout); 19311 } 19312 19313 private final static int mExportReduceIdx_my_bool_10 = 538; 19314 // in1 = "in" 19315 public result_int reduce_my_bool_10(byte[] in1) { 19316 // Verify that "in1" is non-null. 19317 if (in1 == null) { 19318 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19319 } 19320 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19321 ain1.setAutoPadding(true); 19322 ain1.copyFrom(in1); 19323 19324 result_int result = reduce_my_bool_10(ain1, null); 19325 result.mTempIns = new Allocation[]{ain1}; 19326 return result; 19327 } 19328 19329 // ain1 = "bool in" 19330 public result_int reduce_my_bool_10(Allocation ain1) { 19331 return reduce_my_bool_10(ain1, null); 19332 } 19333 19334 // ain1 = "bool in" 19335 public result_int reduce_my_bool_10(Allocation ain1, Script.LaunchOptions sc) { 19336 // check ain1 19337 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19338 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19339 } 19340 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19341 aout.setAutoPadding(true); 19342 reduce(mExportReduceIdx_my_bool_10, new Allocation[]{ain1}, aout, sc); 19343 return new result_int(aout); 19344 } 19345 19346 private final static int mExportReduceIdx_my_bool_11 = 539; 19347 // in1 = "in" 19348 public result_int reduce_my_bool_11(byte[] in1) { 19349 // Verify that "in1" is non-null. 19350 if (in1 == null) { 19351 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19352 } 19353 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19354 ain1.setAutoPadding(true); 19355 ain1.copyFrom(in1); 19356 19357 result_int result = reduce_my_bool_11(ain1, null); 19358 result.mTempIns = new Allocation[]{ain1}; 19359 return result; 19360 } 19361 19362 // ain1 = "bool in" 19363 public result_int reduce_my_bool_11(Allocation ain1) { 19364 return reduce_my_bool_11(ain1, null); 19365 } 19366 19367 // ain1 = "bool in" 19368 public result_int reduce_my_bool_11(Allocation ain1, Script.LaunchOptions sc) { 19369 // check ain1 19370 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19371 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19372 } 19373 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19374 aout.setAutoPadding(true); 19375 reduce(mExportReduceIdx_my_bool_11, new Allocation[]{ain1}, aout, sc); 19376 return new result_int(aout); 19377 } 19378 19379 private final static int mExportReduceIdx_my_bool_12 = 540; 19380 // in1 = "in" 19381 public result_int reduce_my_bool_12(byte[] in1) { 19382 // Verify that "in1" is non-null. 19383 if (in1 == null) { 19384 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19385 } 19386 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19387 ain1.setAutoPadding(true); 19388 ain1.copyFrom(in1); 19389 19390 result_int result = reduce_my_bool_12(ain1, null); 19391 result.mTempIns = new Allocation[]{ain1}; 19392 return result; 19393 } 19394 19395 // ain1 = "bool in" 19396 public result_int reduce_my_bool_12(Allocation ain1) { 19397 return reduce_my_bool_12(ain1, null); 19398 } 19399 19400 // ain1 = "bool in" 19401 public result_int reduce_my_bool_12(Allocation ain1, Script.LaunchOptions sc) { 19402 // check ain1 19403 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19404 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19405 } 19406 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19407 aout.setAutoPadding(true); 19408 reduce(mExportReduceIdx_my_bool_12, new Allocation[]{ain1}, aout, sc); 19409 return new result_int(aout); 19410 } 19411 19412 private final static int mExportReduceIdx_my_bool_13 = 541; 19413 // in1 = "in" 19414 public result_int reduce_my_bool_13(byte[] in1) { 19415 // Verify that "in1" is non-null. 19416 if (in1 == null) { 19417 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19418 } 19419 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19420 ain1.setAutoPadding(true); 19421 ain1.copyFrom(in1); 19422 19423 result_int result = reduce_my_bool_13(ain1, null); 19424 result.mTempIns = new Allocation[]{ain1}; 19425 return result; 19426 } 19427 19428 // ain1 = "bool in" 19429 public result_int reduce_my_bool_13(Allocation ain1) { 19430 return reduce_my_bool_13(ain1, null); 19431 } 19432 19433 // ain1 = "bool in" 19434 public result_int reduce_my_bool_13(Allocation ain1, Script.LaunchOptions sc) { 19435 // check ain1 19436 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19437 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19438 } 19439 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19440 aout.setAutoPadding(true); 19441 reduce(mExportReduceIdx_my_bool_13, new Allocation[]{ain1}, aout, sc); 19442 return new result_int(aout); 19443 } 19444 19445 private final static int mExportReduceIdx_my_bool_14 = 542; 19446 // in1 = "in" 19447 public result_int reduce_my_bool_14(byte[] in1) { 19448 // Verify that "in1" is non-null. 19449 if (in1 == null) { 19450 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19451 } 19452 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19453 ain1.setAutoPadding(true); 19454 ain1.copyFrom(in1); 19455 19456 result_int result = reduce_my_bool_14(ain1, null); 19457 result.mTempIns = new Allocation[]{ain1}; 19458 return result; 19459 } 19460 19461 // ain1 = "bool in" 19462 public result_int reduce_my_bool_14(Allocation ain1) { 19463 return reduce_my_bool_14(ain1, null); 19464 } 19465 19466 // ain1 = "bool in" 19467 public result_int reduce_my_bool_14(Allocation ain1, Script.LaunchOptions sc) { 19468 // check ain1 19469 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19470 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19471 } 19472 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19473 aout.setAutoPadding(true); 19474 reduce(mExportReduceIdx_my_bool_14, new Allocation[]{ain1}, aout, sc); 19475 return new result_int(aout); 19476 } 19477 19478 private final static int mExportReduceIdx_my_bool_15 = 543; 19479 // in1 = "in" 19480 public result_int reduce_my_bool_15(byte[] in1) { 19481 // Verify that "in1" is non-null. 19482 if (in1 == null) { 19483 throw new RSIllegalArgumentException("Array \"in1\" is null!"); 19484 } 19485 Allocation ain1 = Allocation.createSized(mRSLocal, __BOOLEAN, in1.length); 19486 ain1.setAutoPadding(true); 19487 ain1.copyFrom(in1); 19488 19489 result_int result = reduce_my_bool_15(ain1, null); 19490 result.mTempIns = new Allocation[]{ain1}; 19491 return result; 19492 } 19493 19494 // ain1 = "bool in" 19495 public result_int reduce_my_bool_15(Allocation ain1) { 19496 return reduce_my_bool_15(ain1, null); 19497 } 19498 19499 // ain1 = "bool in" 19500 public result_int reduce_my_bool_15(Allocation ain1, Script.LaunchOptions sc) { 19501 // check ain1 19502 if (!ain1.getType().getElement().isCompatible(__BOOLEAN)) { 19503 throw new RSRuntimeException("Type mismatch with BOOLEAN!"); 19504 } 19505 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19506 aout.setAutoPadding(true); 19507 reduce(mExportReduceIdx_my_bool_15, new Allocation[]{ain1}, aout, sc); 19508 return new result_int(aout); 19509 } 19510 19511 private final static int mExportReduceIdx_my_rs_matrix2x2_0 = 544; 19512 // ain1 = "rs_matrix2x2 in" 19513 public result_int reduce_my_rs_matrix2x2_0(Allocation ain1) { 19514 return reduce_my_rs_matrix2x2_0(ain1, null); 19515 } 19516 19517 // ain1 = "rs_matrix2x2 in" 19518 public result_int reduce_my_rs_matrix2x2_0(Allocation ain1, Script.LaunchOptions sc) { 19519 // check ain1 19520 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19521 aout.setAutoPadding(true); 19522 reduce(mExportReduceIdx_my_rs_matrix2x2_0, new Allocation[]{ain1}, aout, sc); 19523 return new result_int(aout); 19524 } 19525 19526 private final static int mExportReduceIdx_my_rs_matrix2x2_1 = 545; 19527 // ain1 = "rs_matrix2x2 in" 19528 public result_int reduce_my_rs_matrix2x2_1(Allocation ain1) { 19529 return reduce_my_rs_matrix2x2_1(ain1, null); 19530 } 19531 19532 // ain1 = "rs_matrix2x2 in" 19533 public result_int reduce_my_rs_matrix2x2_1(Allocation ain1, Script.LaunchOptions sc) { 19534 // check ain1 19535 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19536 aout.setAutoPadding(true); 19537 reduce(mExportReduceIdx_my_rs_matrix2x2_1, new Allocation[]{ain1}, aout, sc); 19538 return new result_int(aout); 19539 } 19540 19541 private final static int mExportReduceIdx_my_rs_matrix2x2_2 = 546; 19542 // ain1 = "rs_matrix2x2 in" 19543 public result_int reduce_my_rs_matrix2x2_2(Allocation ain1) { 19544 return reduce_my_rs_matrix2x2_2(ain1, null); 19545 } 19546 19547 // ain1 = "rs_matrix2x2 in" 19548 public result_int reduce_my_rs_matrix2x2_2(Allocation ain1, Script.LaunchOptions sc) { 19549 // check ain1 19550 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19551 aout.setAutoPadding(true); 19552 reduce(mExportReduceIdx_my_rs_matrix2x2_2, new Allocation[]{ain1}, aout, sc); 19553 return new result_int(aout); 19554 } 19555 19556 private final static int mExportReduceIdx_my_rs_matrix2x2_3 = 547; 19557 // ain1 = "rs_matrix2x2 in" 19558 public result_int reduce_my_rs_matrix2x2_3(Allocation ain1) { 19559 return reduce_my_rs_matrix2x2_3(ain1, null); 19560 } 19561 19562 // ain1 = "rs_matrix2x2 in" 19563 public result_int reduce_my_rs_matrix2x2_3(Allocation ain1, Script.LaunchOptions sc) { 19564 // check ain1 19565 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19566 aout.setAutoPadding(true); 19567 reduce(mExportReduceIdx_my_rs_matrix2x2_3, new Allocation[]{ain1}, aout, sc); 19568 return new result_int(aout); 19569 } 19570 19571 private final static int mExportReduceIdx_my_rs_matrix2x2_4 = 548; 19572 // ain1 = "rs_matrix2x2 in" 19573 public result_int reduce_my_rs_matrix2x2_4(Allocation ain1) { 19574 return reduce_my_rs_matrix2x2_4(ain1, null); 19575 } 19576 19577 // ain1 = "rs_matrix2x2 in" 19578 public result_int reduce_my_rs_matrix2x2_4(Allocation ain1, Script.LaunchOptions sc) { 19579 // check ain1 19580 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19581 aout.setAutoPadding(true); 19582 reduce(mExportReduceIdx_my_rs_matrix2x2_4, new Allocation[]{ain1}, aout, sc); 19583 return new result_int(aout); 19584 } 19585 19586 private final static int mExportReduceIdx_my_rs_matrix2x2_5 = 549; 19587 // ain1 = "rs_matrix2x2 in" 19588 public result_int reduce_my_rs_matrix2x2_5(Allocation ain1) { 19589 return reduce_my_rs_matrix2x2_5(ain1, null); 19590 } 19591 19592 // ain1 = "rs_matrix2x2 in" 19593 public result_int reduce_my_rs_matrix2x2_5(Allocation ain1, Script.LaunchOptions sc) { 19594 // check ain1 19595 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19596 aout.setAutoPadding(true); 19597 reduce(mExportReduceIdx_my_rs_matrix2x2_5, new Allocation[]{ain1}, aout, sc); 19598 return new result_int(aout); 19599 } 19600 19601 private final static int mExportReduceIdx_my_rs_matrix2x2_6 = 550; 19602 // ain1 = "rs_matrix2x2 in" 19603 public result_int reduce_my_rs_matrix2x2_6(Allocation ain1) { 19604 return reduce_my_rs_matrix2x2_6(ain1, null); 19605 } 19606 19607 // ain1 = "rs_matrix2x2 in" 19608 public result_int reduce_my_rs_matrix2x2_6(Allocation ain1, Script.LaunchOptions sc) { 19609 // check ain1 19610 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19611 aout.setAutoPadding(true); 19612 reduce(mExportReduceIdx_my_rs_matrix2x2_6, new Allocation[]{ain1}, aout, sc); 19613 return new result_int(aout); 19614 } 19615 19616 private final static int mExportReduceIdx_my_rs_matrix2x2_7 = 551; 19617 // ain1 = "rs_matrix2x2 in" 19618 public result_int reduce_my_rs_matrix2x2_7(Allocation ain1) { 19619 return reduce_my_rs_matrix2x2_7(ain1, null); 19620 } 19621 19622 // ain1 = "rs_matrix2x2 in" 19623 public result_int reduce_my_rs_matrix2x2_7(Allocation ain1, Script.LaunchOptions sc) { 19624 // check ain1 19625 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19626 aout.setAutoPadding(true); 19627 reduce(mExportReduceIdx_my_rs_matrix2x2_7, new Allocation[]{ain1}, aout, sc); 19628 return new result_int(aout); 19629 } 19630 19631 private final static int mExportReduceIdx_my_rs_matrix2x2_8 = 552; 19632 // ain1 = "rs_matrix2x2 in" 19633 public result_int reduce_my_rs_matrix2x2_8(Allocation ain1) { 19634 return reduce_my_rs_matrix2x2_8(ain1, null); 19635 } 19636 19637 // ain1 = "rs_matrix2x2 in" 19638 public result_int reduce_my_rs_matrix2x2_8(Allocation ain1, Script.LaunchOptions sc) { 19639 // check ain1 19640 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19641 aout.setAutoPadding(true); 19642 reduce(mExportReduceIdx_my_rs_matrix2x2_8, new Allocation[]{ain1}, aout, sc); 19643 return new result_int(aout); 19644 } 19645 19646 private final static int mExportReduceIdx_my_rs_matrix2x2_9 = 553; 19647 // ain1 = "rs_matrix2x2 in" 19648 public result_int reduce_my_rs_matrix2x2_9(Allocation ain1) { 19649 return reduce_my_rs_matrix2x2_9(ain1, null); 19650 } 19651 19652 // ain1 = "rs_matrix2x2 in" 19653 public result_int reduce_my_rs_matrix2x2_9(Allocation ain1, Script.LaunchOptions sc) { 19654 // check ain1 19655 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19656 aout.setAutoPadding(true); 19657 reduce(mExportReduceIdx_my_rs_matrix2x2_9, new Allocation[]{ain1}, aout, sc); 19658 return new result_int(aout); 19659 } 19660 19661 private final static int mExportReduceIdx_my_rs_matrix2x2_10 = 554; 19662 // ain1 = "rs_matrix2x2 in" 19663 public result_int reduce_my_rs_matrix2x2_10(Allocation ain1) { 19664 return reduce_my_rs_matrix2x2_10(ain1, null); 19665 } 19666 19667 // ain1 = "rs_matrix2x2 in" 19668 public result_int reduce_my_rs_matrix2x2_10(Allocation ain1, Script.LaunchOptions sc) { 19669 // check ain1 19670 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19671 aout.setAutoPadding(true); 19672 reduce(mExportReduceIdx_my_rs_matrix2x2_10, new Allocation[]{ain1}, aout, sc); 19673 return new result_int(aout); 19674 } 19675 19676 private final static int mExportReduceIdx_my_rs_matrix2x2_11 = 555; 19677 // ain1 = "rs_matrix2x2 in" 19678 public result_int reduce_my_rs_matrix2x2_11(Allocation ain1) { 19679 return reduce_my_rs_matrix2x2_11(ain1, null); 19680 } 19681 19682 // ain1 = "rs_matrix2x2 in" 19683 public result_int reduce_my_rs_matrix2x2_11(Allocation ain1, Script.LaunchOptions sc) { 19684 // check ain1 19685 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19686 aout.setAutoPadding(true); 19687 reduce(mExportReduceIdx_my_rs_matrix2x2_11, new Allocation[]{ain1}, aout, sc); 19688 return new result_int(aout); 19689 } 19690 19691 private final static int mExportReduceIdx_my_rs_matrix2x2_12 = 556; 19692 // ain1 = "rs_matrix2x2 in" 19693 public result_int reduce_my_rs_matrix2x2_12(Allocation ain1) { 19694 return reduce_my_rs_matrix2x2_12(ain1, null); 19695 } 19696 19697 // ain1 = "rs_matrix2x2 in" 19698 public result_int reduce_my_rs_matrix2x2_12(Allocation ain1, Script.LaunchOptions sc) { 19699 // check ain1 19700 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19701 aout.setAutoPadding(true); 19702 reduce(mExportReduceIdx_my_rs_matrix2x2_12, new Allocation[]{ain1}, aout, sc); 19703 return new result_int(aout); 19704 } 19705 19706 private final static int mExportReduceIdx_my_rs_matrix2x2_13 = 557; 19707 // ain1 = "rs_matrix2x2 in" 19708 public result_int reduce_my_rs_matrix2x2_13(Allocation ain1) { 19709 return reduce_my_rs_matrix2x2_13(ain1, null); 19710 } 19711 19712 // ain1 = "rs_matrix2x2 in" 19713 public result_int reduce_my_rs_matrix2x2_13(Allocation ain1, Script.LaunchOptions sc) { 19714 // check ain1 19715 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19716 aout.setAutoPadding(true); 19717 reduce(mExportReduceIdx_my_rs_matrix2x2_13, new Allocation[]{ain1}, aout, sc); 19718 return new result_int(aout); 19719 } 19720 19721 private final static int mExportReduceIdx_my_rs_matrix2x2_14 = 558; 19722 // ain1 = "rs_matrix2x2 in" 19723 public result_int reduce_my_rs_matrix2x2_14(Allocation ain1) { 19724 return reduce_my_rs_matrix2x2_14(ain1, null); 19725 } 19726 19727 // ain1 = "rs_matrix2x2 in" 19728 public result_int reduce_my_rs_matrix2x2_14(Allocation ain1, Script.LaunchOptions sc) { 19729 // check ain1 19730 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19731 aout.setAutoPadding(true); 19732 reduce(mExportReduceIdx_my_rs_matrix2x2_14, new Allocation[]{ain1}, aout, sc); 19733 return new result_int(aout); 19734 } 19735 19736 private final static int mExportReduceIdx_my_rs_matrix2x2_15 = 559; 19737 // ain1 = "rs_matrix2x2 in" 19738 public result_int reduce_my_rs_matrix2x2_15(Allocation ain1) { 19739 return reduce_my_rs_matrix2x2_15(ain1, null); 19740 } 19741 19742 // ain1 = "rs_matrix2x2 in" 19743 public result_int reduce_my_rs_matrix2x2_15(Allocation ain1, Script.LaunchOptions sc) { 19744 // check ain1 19745 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19746 aout.setAutoPadding(true); 19747 reduce(mExportReduceIdx_my_rs_matrix2x2_15, new Allocation[]{ain1}, aout, sc); 19748 return new result_int(aout); 19749 } 19750 19751 private final static int mExportReduceIdx_my_rs_matrix3x3_0 = 560; 19752 // ain1 = "rs_matrix3x3 in" 19753 public result_int reduce_my_rs_matrix3x3_0(Allocation ain1) { 19754 return reduce_my_rs_matrix3x3_0(ain1, null); 19755 } 19756 19757 // ain1 = "rs_matrix3x3 in" 19758 public result_int reduce_my_rs_matrix3x3_0(Allocation ain1, Script.LaunchOptions sc) { 19759 // check ain1 19760 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19761 aout.setAutoPadding(true); 19762 reduce(mExportReduceIdx_my_rs_matrix3x3_0, new Allocation[]{ain1}, aout, sc); 19763 return new result_int(aout); 19764 } 19765 19766 private final static int mExportReduceIdx_my_rs_matrix3x3_1 = 561; 19767 // ain1 = "rs_matrix3x3 in" 19768 public result_int reduce_my_rs_matrix3x3_1(Allocation ain1) { 19769 return reduce_my_rs_matrix3x3_1(ain1, null); 19770 } 19771 19772 // ain1 = "rs_matrix3x3 in" 19773 public result_int reduce_my_rs_matrix3x3_1(Allocation ain1, Script.LaunchOptions sc) { 19774 // check ain1 19775 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19776 aout.setAutoPadding(true); 19777 reduce(mExportReduceIdx_my_rs_matrix3x3_1, new Allocation[]{ain1}, aout, sc); 19778 return new result_int(aout); 19779 } 19780 19781 private final static int mExportReduceIdx_my_rs_matrix3x3_2 = 562; 19782 // ain1 = "rs_matrix3x3 in" 19783 public result_int reduce_my_rs_matrix3x3_2(Allocation ain1) { 19784 return reduce_my_rs_matrix3x3_2(ain1, null); 19785 } 19786 19787 // ain1 = "rs_matrix3x3 in" 19788 public result_int reduce_my_rs_matrix3x3_2(Allocation ain1, Script.LaunchOptions sc) { 19789 // check ain1 19790 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19791 aout.setAutoPadding(true); 19792 reduce(mExportReduceIdx_my_rs_matrix3x3_2, new Allocation[]{ain1}, aout, sc); 19793 return new result_int(aout); 19794 } 19795 19796 private final static int mExportReduceIdx_my_rs_matrix3x3_3 = 563; 19797 // ain1 = "rs_matrix3x3 in" 19798 public result_int reduce_my_rs_matrix3x3_3(Allocation ain1) { 19799 return reduce_my_rs_matrix3x3_3(ain1, null); 19800 } 19801 19802 // ain1 = "rs_matrix3x3 in" 19803 public result_int reduce_my_rs_matrix3x3_3(Allocation ain1, Script.LaunchOptions sc) { 19804 // check ain1 19805 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19806 aout.setAutoPadding(true); 19807 reduce(mExportReduceIdx_my_rs_matrix3x3_3, new Allocation[]{ain1}, aout, sc); 19808 return new result_int(aout); 19809 } 19810 19811 private final static int mExportReduceIdx_my_rs_matrix3x3_4 = 564; 19812 // ain1 = "rs_matrix3x3 in" 19813 public result_int reduce_my_rs_matrix3x3_4(Allocation ain1) { 19814 return reduce_my_rs_matrix3x3_4(ain1, null); 19815 } 19816 19817 // ain1 = "rs_matrix3x3 in" 19818 public result_int reduce_my_rs_matrix3x3_4(Allocation ain1, Script.LaunchOptions sc) { 19819 // check ain1 19820 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19821 aout.setAutoPadding(true); 19822 reduce(mExportReduceIdx_my_rs_matrix3x3_4, new Allocation[]{ain1}, aout, sc); 19823 return new result_int(aout); 19824 } 19825 19826 private final static int mExportReduceIdx_my_rs_matrix3x3_5 = 565; 19827 // ain1 = "rs_matrix3x3 in" 19828 public result_int reduce_my_rs_matrix3x3_5(Allocation ain1) { 19829 return reduce_my_rs_matrix3x3_5(ain1, null); 19830 } 19831 19832 // ain1 = "rs_matrix3x3 in" 19833 public result_int reduce_my_rs_matrix3x3_5(Allocation ain1, Script.LaunchOptions sc) { 19834 // check ain1 19835 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19836 aout.setAutoPadding(true); 19837 reduce(mExportReduceIdx_my_rs_matrix3x3_5, new Allocation[]{ain1}, aout, sc); 19838 return new result_int(aout); 19839 } 19840 19841 private final static int mExportReduceIdx_my_rs_matrix3x3_6 = 566; 19842 // ain1 = "rs_matrix3x3 in" 19843 public result_int reduce_my_rs_matrix3x3_6(Allocation ain1) { 19844 return reduce_my_rs_matrix3x3_6(ain1, null); 19845 } 19846 19847 // ain1 = "rs_matrix3x3 in" 19848 public result_int reduce_my_rs_matrix3x3_6(Allocation ain1, Script.LaunchOptions sc) { 19849 // check ain1 19850 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19851 aout.setAutoPadding(true); 19852 reduce(mExportReduceIdx_my_rs_matrix3x3_6, new Allocation[]{ain1}, aout, sc); 19853 return new result_int(aout); 19854 } 19855 19856 private final static int mExportReduceIdx_my_rs_matrix3x3_7 = 567; 19857 // ain1 = "rs_matrix3x3 in" 19858 public result_int reduce_my_rs_matrix3x3_7(Allocation ain1) { 19859 return reduce_my_rs_matrix3x3_7(ain1, null); 19860 } 19861 19862 // ain1 = "rs_matrix3x3 in" 19863 public result_int reduce_my_rs_matrix3x3_7(Allocation ain1, Script.LaunchOptions sc) { 19864 // check ain1 19865 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19866 aout.setAutoPadding(true); 19867 reduce(mExportReduceIdx_my_rs_matrix3x3_7, new Allocation[]{ain1}, aout, sc); 19868 return new result_int(aout); 19869 } 19870 19871 private final static int mExportReduceIdx_my_rs_matrix3x3_8 = 568; 19872 // ain1 = "rs_matrix3x3 in" 19873 public result_int reduce_my_rs_matrix3x3_8(Allocation ain1) { 19874 return reduce_my_rs_matrix3x3_8(ain1, null); 19875 } 19876 19877 // ain1 = "rs_matrix3x3 in" 19878 public result_int reduce_my_rs_matrix3x3_8(Allocation ain1, Script.LaunchOptions sc) { 19879 // check ain1 19880 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19881 aout.setAutoPadding(true); 19882 reduce(mExportReduceIdx_my_rs_matrix3x3_8, new Allocation[]{ain1}, aout, sc); 19883 return new result_int(aout); 19884 } 19885 19886 private final static int mExportReduceIdx_my_rs_matrix3x3_9 = 569; 19887 // ain1 = "rs_matrix3x3 in" 19888 public result_int reduce_my_rs_matrix3x3_9(Allocation ain1) { 19889 return reduce_my_rs_matrix3x3_9(ain1, null); 19890 } 19891 19892 // ain1 = "rs_matrix3x3 in" 19893 public result_int reduce_my_rs_matrix3x3_9(Allocation ain1, Script.LaunchOptions sc) { 19894 // check ain1 19895 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19896 aout.setAutoPadding(true); 19897 reduce(mExportReduceIdx_my_rs_matrix3x3_9, new Allocation[]{ain1}, aout, sc); 19898 return new result_int(aout); 19899 } 19900 19901 private final static int mExportReduceIdx_my_rs_matrix3x3_10 = 570; 19902 // ain1 = "rs_matrix3x3 in" 19903 public result_int reduce_my_rs_matrix3x3_10(Allocation ain1) { 19904 return reduce_my_rs_matrix3x3_10(ain1, null); 19905 } 19906 19907 // ain1 = "rs_matrix3x3 in" 19908 public result_int reduce_my_rs_matrix3x3_10(Allocation ain1, Script.LaunchOptions sc) { 19909 // check ain1 19910 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19911 aout.setAutoPadding(true); 19912 reduce(mExportReduceIdx_my_rs_matrix3x3_10, new Allocation[]{ain1}, aout, sc); 19913 return new result_int(aout); 19914 } 19915 19916 private final static int mExportReduceIdx_my_rs_matrix3x3_11 = 571; 19917 // ain1 = "rs_matrix3x3 in" 19918 public result_int reduce_my_rs_matrix3x3_11(Allocation ain1) { 19919 return reduce_my_rs_matrix3x3_11(ain1, null); 19920 } 19921 19922 // ain1 = "rs_matrix3x3 in" 19923 public result_int reduce_my_rs_matrix3x3_11(Allocation ain1, Script.LaunchOptions sc) { 19924 // check ain1 19925 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19926 aout.setAutoPadding(true); 19927 reduce(mExportReduceIdx_my_rs_matrix3x3_11, new Allocation[]{ain1}, aout, sc); 19928 return new result_int(aout); 19929 } 19930 19931 private final static int mExportReduceIdx_my_rs_matrix3x3_12 = 572; 19932 // ain1 = "rs_matrix3x3 in" 19933 public result_int reduce_my_rs_matrix3x3_12(Allocation ain1) { 19934 return reduce_my_rs_matrix3x3_12(ain1, null); 19935 } 19936 19937 // ain1 = "rs_matrix3x3 in" 19938 public result_int reduce_my_rs_matrix3x3_12(Allocation ain1, Script.LaunchOptions sc) { 19939 // check ain1 19940 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19941 aout.setAutoPadding(true); 19942 reduce(mExportReduceIdx_my_rs_matrix3x3_12, new Allocation[]{ain1}, aout, sc); 19943 return new result_int(aout); 19944 } 19945 19946 private final static int mExportReduceIdx_my_rs_matrix3x3_13 = 573; 19947 // ain1 = "rs_matrix3x3 in" 19948 public result_int reduce_my_rs_matrix3x3_13(Allocation ain1) { 19949 return reduce_my_rs_matrix3x3_13(ain1, null); 19950 } 19951 19952 // ain1 = "rs_matrix3x3 in" 19953 public result_int reduce_my_rs_matrix3x3_13(Allocation ain1, Script.LaunchOptions sc) { 19954 // check ain1 19955 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19956 aout.setAutoPadding(true); 19957 reduce(mExportReduceIdx_my_rs_matrix3x3_13, new Allocation[]{ain1}, aout, sc); 19958 return new result_int(aout); 19959 } 19960 19961 private final static int mExportReduceIdx_my_rs_matrix3x3_14 = 574; 19962 // ain1 = "rs_matrix3x3 in" 19963 public result_int reduce_my_rs_matrix3x3_14(Allocation ain1) { 19964 return reduce_my_rs_matrix3x3_14(ain1, null); 19965 } 19966 19967 // ain1 = "rs_matrix3x3 in" 19968 public result_int reduce_my_rs_matrix3x3_14(Allocation ain1, Script.LaunchOptions sc) { 19969 // check ain1 19970 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19971 aout.setAutoPadding(true); 19972 reduce(mExportReduceIdx_my_rs_matrix3x3_14, new Allocation[]{ain1}, aout, sc); 19973 return new result_int(aout); 19974 } 19975 19976 private final static int mExportReduceIdx_my_rs_matrix3x3_15 = 575; 19977 // ain1 = "rs_matrix3x3 in" 19978 public result_int reduce_my_rs_matrix3x3_15(Allocation ain1) { 19979 return reduce_my_rs_matrix3x3_15(ain1, null); 19980 } 19981 19982 // ain1 = "rs_matrix3x3 in" 19983 public result_int reduce_my_rs_matrix3x3_15(Allocation ain1, Script.LaunchOptions sc) { 19984 // check ain1 19985 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 19986 aout.setAutoPadding(true); 19987 reduce(mExportReduceIdx_my_rs_matrix3x3_15, new Allocation[]{ain1}, aout, sc); 19988 return new result_int(aout); 19989 } 19990 19991 private final static int mExportReduceIdx_my_rs_matrix4x4_0 = 576; 19992 // ain1 = "rs_matrix4x4 in" 19993 public result_int reduce_my_rs_matrix4x4_0(Allocation ain1) { 19994 return reduce_my_rs_matrix4x4_0(ain1, null); 19995 } 19996 19997 // ain1 = "rs_matrix4x4 in" 19998 public result_int reduce_my_rs_matrix4x4_0(Allocation ain1, Script.LaunchOptions sc) { 19999 // check ain1 20000 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20001 aout.setAutoPadding(true); 20002 reduce(mExportReduceIdx_my_rs_matrix4x4_0, new Allocation[]{ain1}, aout, sc); 20003 return new result_int(aout); 20004 } 20005 20006 private final static int mExportReduceIdx_my_rs_matrix4x4_1 = 577; 20007 // ain1 = "rs_matrix4x4 in" 20008 public result_int reduce_my_rs_matrix4x4_1(Allocation ain1) { 20009 return reduce_my_rs_matrix4x4_1(ain1, null); 20010 } 20011 20012 // ain1 = "rs_matrix4x4 in" 20013 public result_int reduce_my_rs_matrix4x4_1(Allocation ain1, Script.LaunchOptions sc) { 20014 // check ain1 20015 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20016 aout.setAutoPadding(true); 20017 reduce(mExportReduceIdx_my_rs_matrix4x4_1, new Allocation[]{ain1}, aout, sc); 20018 return new result_int(aout); 20019 } 20020 20021 private final static int mExportReduceIdx_my_rs_matrix4x4_2 = 578; 20022 // ain1 = "rs_matrix4x4 in" 20023 public result_int reduce_my_rs_matrix4x4_2(Allocation ain1) { 20024 return reduce_my_rs_matrix4x4_2(ain1, null); 20025 } 20026 20027 // ain1 = "rs_matrix4x4 in" 20028 public result_int reduce_my_rs_matrix4x4_2(Allocation ain1, Script.LaunchOptions sc) { 20029 // check ain1 20030 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20031 aout.setAutoPadding(true); 20032 reduce(mExportReduceIdx_my_rs_matrix4x4_2, new Allocation[]{ain1}, aout, sc); 20033 return new result_int(aout); 20034 } 20035 20036 private final static int mExportReduceIdx_my_rs_matrix4x4_3 = 579; 20037 // ain1 = "rs_matrix4x4 in" 20038 public result_int reduce_my_rs_matrix4x4_3(Allocation ain1) { 20039 return reduce_my_rs_matrix4x4_3(ain1, null); 20040 } 20041 20042 // ain1 = "rs_matrix4x4 in" 20043 public result_int reduce_my_rs_matrix4x4_3(Allocation ain1, Script.LaunchOptions sc) { 20044 // check ain1 20045 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20046 aout.setAutoPadding(true); 20047 reduce(mExportReduceIdx_my_rs_matrix4x4_3, new Allocation[]{ain1}, aout, sc); 20048 return new result_int(aout); 20049 } 20050 20051 private final static int mExportReduceIdx_my_rs_matrix4x4_4 = 580; 20052 // ain1 = "rs_matrix4x4 in" 20053 public result_int reduce_my_rs_matrix4x4_4(Allocation ain1) { 20054 return reduce_my_rs_matrix4x4_4(ain1, null); 20055 } 20056 20057 // ain1 = "rs_matrix4x4 in" 20058 public result_int reduce_my_rs_matrix4x4_4(Allocation ain1, Script.LaunchOptions sc) { 20059 // check ain1 20060 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20061 aout.setAutoPadding(true); 20062 reduce(mExportReduceIdx_my_rs_matrix4x4_4, new Allocation[]{ain1}, aout, sc); 20063 return new result_int(aout); 20064 } 20065 20066 private final static int mExportReduceIdx_my_rs_matrix4x4_5 = 581; 20067 // ain1 = "rs_matrix4x4 in" 20068 public result_int reduce_my_rs_matrix4x4_5(Allocation ain1) { 20069 return reduce_my_rs_matrix4x4_5(ain1, null); 20070 } 20071 20072 // ain1 = "rs_matrix4x4 in" 20073 public result_int reduce_my_rs_matrix4x4_5(Allocation ain1, Script.LaunchOptions sc) { 20074 // check ain1 20075 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20076 aout.setAutoPadding(true); 20077 reduce(mExportReduceIdx_my_rs_matrix4x4_5, new Allocation[]{ain1}, aout, sc); 20078 return new result_int(aout); 20079 } 20080 20081 private final static int mExportReduceIdx_my_rs_matrix4x4_6 = 582; 20082 // ain1 = "rs_matrix4x4 in" 20083 public result_int reduce_my_rs_matrix4x4_6(Allocation ain1) { 20084 return reduce_my_rs_matrix4x4_6(ain1, null); 20085 } 20086 20087 // ain1 = "rs_matrix4x4 in" 20088 public result_int reduce_my_rs_matrix4x4_6(Allocation ain1, Script.LaunchOptions sc) { 20089 // check ain1 20090 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20091 aout.setAutoPadding(true); 20092 reduce(mExportReduceIdx_my_rs_matrix4x4_6, new Allocation[]{ain1}, aout, sc); 20093 return new result_int(aout); 20094 } 20095 20096 private final static int mExportReduceIdx_my_rs_matrix4x4_7 = 583; 20097 // ain1 = "rs_matrix4x4 in" 20098 public result_int reduce_my_rs_matrix4x4_7(Allocation ain1) { 20099 return reduce_my_rs_matrix4x4_7(ain1, null); 20100 } 20101 20102 // ain1 = "rs_matrix4x4 in" 20103 public result_int reduce_my_rs_matrix4x4_7(Allocation ain1, Script.LaunchOptions sc) { 20104 // check ain1 20105 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20106 aout.setAutoPadding(true); 20107 reduce(mExportReduceIdx_my_rs_matrix4x4_7, new Allocation[]{ain1}, aout, sc); 20108 return new result_int(aout); 20109 } 20110 20111 private final static int mExportReduceIdx_my_rs_matrix4x4_8 = 584; 20112 // ain1 = "rs_matrix4x4 in" 20113 public result_int reduce_my_rs_matrix4x4_8(Allocation ain1) { 20114 return reduce_my_rs_matrix4x4_8(ain1, null); 20115 } 20116 20117 // ain1 = "rs_matrix4x4 in" 20118 public result_int reduce_my_rs_matrix4x4_8(Allocation ain1, Script.LaunchOptions sc) { 20119 // check ain1 20120 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20121 aout.setAutoPadding(true); 20122 reduce(mExportReduceIdx_my_rs_matrix4x4_8, new Allocation[]{ain1}, aout, sc); 20123 return new result_int(aout); 20124 } 20125 20126 private final static int mExportReduceIdx_my_rs_matrix4x4_9 = 585; 20127 // ain1 = "rs_matrix4x4 in" 20128 public result_int reduce_my_rs_matrix4x4_9(Allocation ain1) { 20129 return reduce_my_rs_matrix4x4_9(ain1, null); 20130 } 20131 20132 // ain1 = "rs_matrix4x4 in" 20133 public result_int reduce_my_rs_matrix4x4_9(Allocation ain1, Script.LaunchOptions sc) { 20134 // check ain1 20135 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20136 aout.setAutoPadding(true); 20137 reduce(mExportReduceIdx_my_rs_matrix4x4_9, new Allocation[]{ain1}, aout, sc); 20138 return new result_int(aout); 20139 } 20140 20141 private final static int mExportReduceIdx_my_rs_matrix4x4_10 = 586; 20142 // ain1 = "rs_matrix4x4 in" 20143 public result_int reduce_my_rs_matrix4x4_10(Allocation ain1) { 20144 return reduce_my_rs_matrix4x4_10(ain1, null); 20145 } 20146 20147 // ain1 = "rs_matrix4x4 in" 20148 public result_int reduce_my_rs_matrix4x4_10(Allocation ain1, Script.LaunchOptions sc) { 20149 // check ain1 20150 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20151 aout.setAutoPadding(true); 20152 reduce(mExportReduceIdx_my_rs_matrix4x4_10, new Allocation[]{ain1}, aout, sc); 20153 return new result_int(aout); 20154 } 20155 20156 private final static int mExportReduceIdx_my_rs_matrix4x4_11 = 587; 20157 // ain1 = "rs_matrix4x4 in" 20158 public result_int reduce_my_rs_matrix4x4_11(Allocation ain1) { 20159 return reduce_my_rs_matrix4x4_11(ain1, null); 20160 } 20161 20162 // ain1 = "rs_matrix4x4 in" 20163 public result_int reduce_my_rs_matrix4x4_11(Allocation ain1, Script.LaunchOptions sc) { 20164 // check ain1 20165 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20166 aout.setAutoPadding(true); 20167 reduce(mExportReduceIdx_my_rs_matrix4x4_11, new Allocation[]{ain1}, aout, sc); 20168 return new result_int(aout); 20169 } 20170 20171 private final static int mExportReduceIdx_my_rs_matrix4x4_12 = 588; 20172 // ain1 = "rs_matrix4x4 in" 20173 public result_int reduce_my_rs_matrix4x4_12(Allocation ain1) { 20174 return reduce_my_rs_matrix4x4_12(ain1, null); 20175 } 20176 20177 // ain1 = "rs_matrix4x4 in" 20178 public result_int reduce_my_rs_matrix4x4_12(Allocation ain1, Script.LaunchOptions sc) { 20179 // check ain1 20180 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20181 aout.setAutoPadding(true); 20182 reduce(mExportReduceIdx_my_rs_matrix4x4_12, new Allocation[]{ain1}, aout, sc); 20183 return new result_int(aout); 20184 } 20185 20186 private final static int mExportReduceIdx_my_rs_matrix4x4_13 = 589; 20187 // ain1 = "rs_matrix4x4 in" 20188 public result_int reduce_my_rs_matrix4x4_13(Allocation ain1) { 20189 return reduce_my_rs_matrix4x4_13(ain1, null); 20190 } 20191 20192 // ain1 = "rs_matrix4x4 in" 20193 public result_int reduce_my_rs_matrix4x4_13(Allocation ain1, Script.LaunchOptions sc) { 20194 // check ain1 20195 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20196 aout.setAutoPadding(true); 20197 reduce(mExportReduceIdx_my_rs_matrix4x4_13, new Allocation[]{ain1}, aout, sc); 20198 return new result_int(aout); 20199 } 20200 20201 private final static int mExportReduceIdx_my_rs_matrix4x4_14 = 590; 20202 // ain1 = "rs_matrix4x4 in" 20203 public result_int reduce_my_rs_matrix4x4_14(Allocation ain1) { 20204 return reduce_my_rs_matrix4x4_14(ain1, null); 20205 } 20206 20207 // ain1 = "rs_matrix4x4 in" 20208 public result_int reduce_my_rs_matrix4x4_14(Allocation ain1, Script.LaunchOptions sc) { 20209 // check ain1 20210 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20211 aout.setAutoPadding(true); 20212 reduce(mExportReduceIdx_my_rs_matrix4x4_14, new Allocation[]{ain1}, aout, sc); 20213 return new result_int(aout); 20214 } 20215 20216 private final static int mExportReduceIdx_my_rs_matrix4x4_15 = 591; 20217 // ain1 = "rs_matrix4x4 in" 20218 public result_int reduce_my_rs_matrix4x4_15(Allocation ain1) { 20219 return reduce_my_rs_matrix4x4_15(ain1, null); 20220 } 20221 20222 // ain1 = "rs_matrix4x4 in" 20223 public result_int reduce_my_rs_matrix4x4_15(Allocation ain1, Script.LaunchOptions sc) { 20224 // check ain1 20225 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20226 aout.setAutoPadding(true); 20227 reduce(mExportReduceIdx_my_rs_matrix4x4_15, new Allocation[]{ain1}, aout, sc); 20228 return new result_int(aout); 20229 } 20230 20231 private final static int mExportReduceIdx_my_MyStruct_0 = 592; 20232 // ain1 = "/* struct <> */ in" 20233 public result_int reduce_my_MyStruct_0(Allocation ain1) { 20234 return reduce_my_MyStruct_0(ain1, null); 20235 } 20236 20237 // ain1 = "/* struct <> */ in" 20238 public result_int reduce_my_MyStruct_0(Allocation ain1, Script.LaunchOptions sc) { 20239 // check ain1 20240 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20241 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20242 } 20243 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20244 aout.setAutoPadding(true); 20245 reduce(mExportReduceIdx_my_MyStruct_0, new Allocation[]{ain1}, aout, sc); 20246 return new result_int(aout); 20247 } 20248 20249 private final static int mExportReduceIdx_my_MyStruct_1 = 593; 20250 // ain1 = "/* struct <> */ in" 20251 public result_int reduce_my_MyStruct_1(Allocation ain1) { 20252 return reduce_my_MyStruct_1(ain1, null); 20253 } 20254 20255 // ain1 = "/* struct <> */ in" 20256 public result_int reduce_my_MyStruct_1(Allocation ain1, Script.LaunchOptions sc) { 20257 // check ain1 20258 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20259 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20260 } 20261 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20262 aout.setAutoPadding(true); 20263 reduce(mExportReduceIdx_my_MyStruct_1, new Allocation[]{ain1}, aout, sc); 20264 return new result_int(aout); 20265 } 20266 20267 private final static int mExportReduceIdx_my_MyStruct_2 = 594; 20268 // ain1 = "/* struct <> */ in" 20269 public result_int reduce_my_MyStruct_2(Allocation ain1) { 20270 return reduce_my_MyStruct_2(ain1, null); 20271 } 20272 20273 // ain1 = "/* struct <> */ in" 20274 public result_int reduce_my_MyStruct_2(Allocation ain1, Script.LaunchOptions sc) { 20275 // check ain1 20276 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20277 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20278 } 20279 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20280 aout.setAutoPadding(true); 20281 reduce(mExportReduceIdx_my_MyStruct_2, new Allocation[]{ain1}, aout, sc); 20282 return new result_int(aout); 20283 } 20284 20285 private final static int mExportReduceIdx_my_MyStruct_3 = 595; 20286 // ain1 = "/* struct <> */ in" 20287 public result_int reduce_my_MyStruct_3(Allocation ain1) { 20288 return reduce_my_MyStruct_3(ain1, null); 20289 } 20290 20291 // ain1 = "/* struct <> */ in" 20292 public result_int reduce_my_MyStruct_3(Allocation ain1, Script.LaunchOptions sc) { 20293 // check ain1 20294 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20295 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20296 } 20297 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20298 aout.setAutoPadding(true); 20299 reduce(mExportReduceIdx_my_MyStruct_3, new Allocation[]{ain1}, aout, sc); 20300 return new result_int(aout); 20301 } 20302 20303 private final static int mExportReduceIdx_my_MyStruct_4 = 596; 20304 // ain1 = "/* struct <> */ in" 20305 public result_int reduce_my_MyStruct_4(Allocation ain1) { 20306 return reduce_my_MyStruct_4(ain1, null); 20307 } 20308 20309 // ain1 = "/* struct <> */ in" 20310 public result_int reduce_my_MyStruct_4(Allocation ain1, Script.LaunchOptions sc) { 20311 // check ain1 20312 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20313 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20314 } 20315 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20316 aout.setAutoPadding(true); 20317 reduce(mExportReduceIdx_my_MyStruct_4, new Allocation[]{ain1}, aout, sc); 20318 return new result_int(aout); 20319 } 20320 20321 private final static int mExportReduceIdx_my_MyStruct_5 = 597; 20322 // ain1 = "/* struct <> */ in" 20323 public result_int reduce_my_MyStruct_5(Allocation ain1) { 20324 return reduce_my_MyStruct_5(ain1, null); 20325 } 20326 20327 // ain1 = "/* struct <> */ in" 20328 public result_int reduce_my_MyStruct_5(Allocation ain1, Script.LaunchOptions sc) { 20329 // check ain1 20330 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20331 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20332 } 20333 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20334 aout.setAutoPadding(true); 20335 reduce(mExportReduceIdx_my_MyStruct_5, new Allocation[]{ain1}, aout, sc); 20336 return new result_int(aout); 20337 } 20338 20339 private final static int mExportReduceIdx_my_MyStruct_6 = 598; 20340 // ain1 = "/* struct <> */ in" 20341 public result_int reduce_my_MyStruct_6(Allocation ain1) { 20342 return reduce_my_MyStruct_6(ain1, null); 20343 } 20344 20345 // ain1 = "/* struct <> */ in" 20346 public result_int reduce_my_MyStruct_6(Allocation ain1, Script.LaunchOptions sc) { 20347 // check ain1 20348 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20349 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20350 } 20351 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20352 aout.setAutoPadding(true); 20353 reduce(mExportReduceIdx_my_MyStruct_6, new Allocation[]{ain1}, aout, sc); 20354 return new result_int(aout); 20355 } 20356 20357 private final static int mExportReduceIdx_my_MyStruct_7 = 599; 20358 // ain1 = "/* struct <> */ in" 20359 public result_int reduce_my_MyStruct_7(Allocation ain1) { 20360 return reduce_my_MyStruct_7(ain1, null); 20361 } 20362 20363 // ain1 = "/* struct <> */ in" 20364 public result_int reduce_my_MyStruct_7(Allocation ain1, Script.LaunchOptions sc) { 20365 // check ain1 20366 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20367 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20368 } 20369 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20370 aout.setAutoPadding(true); 20371 reduce(mExportReduceIdx_my_MyStruct_7, new Allocation[]{ain1}, aout, sc); 20372 return new result_int(aout); 20373 } 20374 20375 private final static int mExportReduceIdx_my_MyStruct_8 = 600; 20376 // ain1 = "/* struct <> */ in" 20377 public result_int reduce_my_MyStruct_8(Allocation ain1) { 20378 return reduce_my_MyStruct_8(ain1, null); 20379 } 20380 20381 // ain1 = "/* struct <> */ in" 20382 public result_int reduce_my_MyStruct_8(Allocation ain1, Script.LaunchOptions sc) { 20383 // check ain1 20384 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20385 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20386 } 20387 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20388 aout.setAutoPadding(true); 20389 reduce(mExportReduceIdx_my_MyStruct_8, new Allocation[]{ain1}, aout, sc); 20390 return new result_int(aout); 20391 } 20392 20393 private final static int mExportReduceIdx_my_MyStruct_9 = 601; 20394 // ain1 = "/* struct <> */ in" 20395 public result_int reduce_my_MyStruct_9(Allocation ain1) { 20396 return reduce_my_MyStruct_9(ain1, null); 20397 } 20398 20399 // ain1 = "/* struct <> */ in" 20400 public result_int reduce_my_MyStruct_9(Allocation ain1, Script.LaunchOptions sc) { 20401 // check ain1 20402 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20403 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20404 } 20405 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20406 aout.setAutoPadding(true); 20407 reduce(mExportReduceIdx_my_MyStruct_9, new Allocation[]{ain1}, aout, sc); 20408 return new result_int(aout); 20409 } 20410 20411 private final static int mExportReduceIdx_my_MyStruct_10 = 602; 20412 // ain1 = "/* struct <> */ in" 20413 public result_int reduce_my_MyStruct_10(Allocation ain1) { 20414 return reduce_my_MyStruct_10(ain1, null); 20415 } 20416 20417 // ain1 = "/* struct <> */ in" 20418 public result_int reduce_my_MyStruct_10(Allocation ain1, Script.LaunchOptions sc) { 20419 // check ain1 20420 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20421 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20422 } 20423 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20424 aout.setAutoPadding(true); 20425 reduce(mExportReduceIdx_my_MyStruct_10, new Allocation[]{ain1}, aout, sc); 20426 return new result_int(aout); 20427 } 20428 20429 private final static int mExportReduceIdx_my_MyStruct_11 = 603; 20430 // ain1 = "/* struct <> */ in" 20431 public result_int reduce_my_MyStruct_11(Allocation ain1) { 20432 return reduce_my_MyStruct_11(ain1, null); 20433 } 20434 20435 // ain1 = "/* struct <> */ in" 20436 public result_int reduce_my_MyStruct_11(Allocation ain1, Script.LaunchOptions sc) { 20437 // check ain1 20438 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20439 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20440 } 20441 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20442 aout.setAutoPadding(true); 20443 reduce(mExportReduceIdx_my_MyStruct_11, new Allocation[]{ain1}, aout, sc); 20444 return new result_int(aout); 20445 } 20446 20447 private final static int mExportReduceIdx_my_MyStruct_12 = 604; 20448 // ain1 = "/* struct <> */ in" 20449 public result_int reduce_my_MyStruct_12(Allocation ain1) { 20450 return reduce_my_MyStruct_12(ain1, null); 20451 } 20452 20453 // ain1 = "/* struct <> */ in" 20454 public result_int reduce_my_MyStruct_12(Allocation ain1, Script.LaunchOptions sc) { 20455 // check ain1 20456 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20457 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20458 } 20459 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20460 aout.setAutoPadding(true); 20461 reduce(mExportReduceIdx_my_MyStruct_12, new Allocation[]{ain1}, aout, sc); 20462 return new result_int(aout); 20463 } 20464 20465 private final static int mExportReduceIdx_my_MyStruct_13 = 605; 20466 // ain1 = "/* struct <> */ in" 20467 public result_int reduce_my_MyStruct_13(Allocation ain1) { 20468 return reduce_my_MyStruct_13(ain1, null); 20469 } 20470 20471 // ain1 = "/* struct <> */ in" 20472 public result_int reduce_my_MyStruct_13(Allocation ain1, Script.LaunchOptions sc) { 20473 // check ain1 20474 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20475 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20476 } 20477 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20478 aout.setAutoPadding(true); 20479 reduce(mExportReduceIdx_my_MyStruct_13, new Allocation[]{ain1}, aout, sc); 20480 return new result_int(aout); 20481 } 20482 20483 private final static int mExportReduceIdx_my_MyStruct_14 = 606; 20484 // ain1 = "/* struct <> */ in" 20485 public result_int reduce_my_MyStruct_14(Allocation ain1) { 20486 return reduce_my_MyStruct_14(ain1, null); 20487 } 20488 20489 // ain1 = "/* struct <> */ in" 20490 public result_int reduce_my_MyStruct_14(Allocation ain1, Script.LaunchOptions sc) { 20491 // check ain1 20492 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20493 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20494 } 20495 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20496 aout.setAutoPadding(true); 20497 reduce(mExportReduceIdx_my_MyStruct_14, new Allocation[]{ain1}, aout, sc); 20498 return new result_int(aout); 20499 } 20500 20501 private final static int mExportReduceIdx_my_MyStruct_15 = 607; 20502 // ain1 = "/* struct <> */ in" 20503 public result_int reduce_my_MyStruct_15(Allocation ain1) { 20504 return reduce_my_MyStruct_15(ain1, null); 20505 } 20506 20507 // ain1 = "/* struct <> */ in" 20508 public result_int reduce_my_MyStruct_15(Allocation ain1, Script.LaunchOptions sc) { 20509 // check ain1 20510 if (!ain1.getType().getElement().isCompatible(__ScriptField_MyStruct)) { 20511 throw new RSRuntimeException("Type mismatch with ScriptField_MyStruct!"); 20512 } 20513 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1); 20514 aout.setAutoPadding(true); 20515 reduce(mExportReduceIdx_my_MyStruct_15, new Allocation[]{ain1}, aout, sc); 20516 return new result_int(aout); 20517 } 20518 20519 } 20520 20521