Home | History | Annotate | Download | only in generated
      1 /*
      2  * Copyright (C) 2016 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 // Don't edit this file!  It is auto-generated by frameworks/rs/api/generate.sh.
     18 
     19 #pragma version(1)
     20 #pragma rs java_package_name(android.renderscript.cts)
     21 
     22 
     23 float __attribute__((kernel)) testLengthFloatFloat(float inV) {
     24     return length(inV);
     25 }
     26 
     27 float __attribute__((kernel)) testLengthFloat2Float(float2 inV) {
     28     return length(inV);
     29 }
     30 
     31 float __attribute__((kernel)) testLengthFloat3Float(float3 inV) {
     32     return length(inV);
     33 }
     34 
     35 float __attribute__((kernel)) testLengthFloat4Float(float4 inV) {
     36     return length(inV);
     37 }
     38 
     39 half __attribute__((kernel)) testLengthHalfHalf(half inV) {
     40     return length(inV);
     41 }
     42 
     43 half __attribute__((kernel)) testLengthHalf2Half(half2 inV) {
     44     return length(inV);
     45 }
     46 
     47 half __attribute__((kernel)) testLengthHalf3Half(half3 inV) {
     48     return length(inV);
     49 }
     50 
     51 half __attribute__((kernel)) testLengthHalf4Half(half4 inV) {
     52     return length(inV);
     53 }
     54