kernels.rs revision 7d1b3c14dd3aeaefafcab6f4bb87cceb257122c9
1/* 2 * Copyright (C) 2013 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#pragma version(1) 18#pragma rs java_package_name(com.android.rs.cppbasic) 19#pragma rs_fp_relaxed 20 21void __attribute__((kernel)) test_BOOLEAN(bool in) { 22} 23 24void __attribute__((kernel)) test_I8(char in) { 25} 26 27void __attribute__((kernel)) test_U8(uchar in) { 28} 29 30void __attribute__((kernel)) test_I16(short in) { 31} 32 33void __attribute__((kernel)) test_U16(ushort in) { 34} 35 36void __attribute__((kernel)) test_I32(int in) { 37} 38 39void __attribute__((kernel)) test_U32(uint in) { 40} 41 42void __attribute__((kernel)) test_I64(long in) { 43} 44 45void __attribute__((kernel)) test_U64(ulong in) { 46} 47 48void __attribute__((kernel)) test_F32(float in) { 49} 50 51void __attribute__((kernel)) test_F64(double in) { 52} 53 54