blob: 918fa148392820b008587cd5e98c89ff6b18781f [file] [log] [blame]
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh.
#pragma version(1)
#pragma rs java_package_name(android.renderscript.cts)
uchar __attribute__((kernel)) testAbsCharUchar(char inV) {
return abs(inV);
}
uchar2 __attribute__((kernel)) testAbsChar2Uchar2(char2 inV) {
return abs(inV);
}
uchar3 __attribute__((kernel)) testAbsChar3Uchar3(char3 inV) {
return abs(inV);
}
uchar4 __attribute__((kernel)) testAbsChar4Uchar4(char4 inV) {
return abs(inV);
}
ushort __attribute__((kernel)) testAbsShortUshort(short inV) {
return abs(inV);
}
ushort2 __attribute__((kernel)) testAbsShort2Ushort2(short2 inV) {
return abs(inV);
}
ushort3 __attribute__((kernel)) testAbsShort3Ushort3(short3 inV) {
return abs(inV);
}
ushort4 __attribute__((kernel)) testAbsShort4Ushort4(short4 inV) {
return abs(inV);
}
uint __attribute__((kernel)) testAbsIntUint(int inV) {
return abs(inV);
}
uint2 __attribute__((kernel)) testAbsInt2Uint2(int2 inV) {
return abs(inV);
}
uint3 __attribute__((kernel)) testAbsInt3Uint3(int3 inV) {
return abs(inV);
}
uint4 __attribute__((kernel)) testAbsInt4Uint4(int4 inV) {
return abs(inV);
}