OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dimX
(Results
1 - 11
of
11
) sorted by null
/cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationByteBufferTest.java
36
Allocation createTypedAllocation(DataType dt, int size, int
dimX
, int dimY) {
40
t = Type.createX(mRS, e,
dimX
);
42
t = Type.createXY(mRS, e,
dimX
, dimY);
48
void testByteBufferHelper(DataType dt, int byteSize, int
dimX
, int dimY) {
53
byte[] data = new byte[
dimX
* dimY * vecWidth * byteSize];
56
Allocation alloc = createTypedAllocation(dt, size,
dimX
, dimY);
62
int posX = r.nextInt(
dimX
);
64
byte byteInData = data[(posY *
dimX
+ posX) * vecWidth * byteSize];
74
int
dimX
= r.nextInt(MAX_DIM) + 1;
75
testByteBufferHelper(dt, byteSize,
dimX
, 1)
[
all
...]
single_source_script.rs
43
void testLaunchOptions(rs_allocation in, rs_allocation out, int
dimX
, int dimY) {
46
opts.xEnd =
dimX
;
52
void testAllocationlessLaunch(rs_allocation inAndOut, int
dimX
, int dimY) {
56
opts.xEnd =
dimX
;
64
const uint32_t
dimX
= rsAllocationGetDimX(in);
66
for (int i = 0; i <
dimX
; i++) {
AtomicTest.rs
65
uint32_t
dimX
= rsAllocationGetDimX(a);
68
for (uint32_t x = 0; x <
dimX
; x++) {
77
uint32_t
dimX
= rsAllocationGetDimX(a);
80
for (uint32_t x = 0; x <
dimX
; x++) {
89
uint32_t
dimX
= rsAllocationGetDimX(a);
92
for (uint32_t x = 0; x <
dimX
; x++) {
101
uint32_t
dimX
= rsAllocationGetDimX(a);
104
for (uint32_t x = 0; x <
dimX
; x++) {
TestCtxDim.rs
26
uint32_t
dimX
= rsGetDimX(context);
27
_RS_ASSERT(gDimX ==
dimX
);
SingleSourceAllocationTest.java
31
private static final int
dimX
= 3;
41
s.set_gDimX(
dimX
);
launchclip.rs
21
int
dimX
;
ReduceTest.java
191
final int
dimX
= 450, dimY = 225;
193
final int[] inputArray = createInputArrayInt(
dimX
* dimY, 1, 1 << 13);
195
typeBuilder.setX(
dimX
).setY(dimY);
197
inputAllocation.copy2DRangeFrom(0, 0,
dimX
, dimY, inputArray);
388
final int
dimX
= 225, dimY = 450;
389
final int inputLen =
dimX
* dimY;
396
typeBuilder.setX(
dimX
).setY(dimY);
398
inputAllocation.copy2DRangeFrom(0, 0,
dimX
, dimY, inputArray);
402
final int cellVal = inputArray[rsRslt.x +
dimX
* rsRslt.y];
411
final int
dimX
= 59, dimY = 48, dimZ = 37
[
all
...]
AllocationCreateAllocationsTest.java
32
private int
dimX
= 1920;
38
Type t = Type.createXY(mRS, e,
dimX
, dimY);
single_source_alloc.rs
134
static void CreateAndTestAlloc(rs_data_type dt, int vecSize, int
dimX
, int dimY, int dimZ) {
142
if (
dimX
== 0) {
162
type = rsCreateType(element,
dimX
, dimY, dimZ);
180
for (int x = 0; x <
dimX
; x ++) {
181
int val = gStart + (x + y *
dimX
+ z * dimY *
dimX
);
ImageProcessingTest.java
68
private final int
dimX
= 256;
74
Type t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(
dimX
).setY(
dimX
).create();
821
Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(
dimX
).setY(
dimX
).create();
/cts/tests/tests/rsblas/src/android/renderscript/cts/
IntrinsicBLAS.java
353
int
dimX
= 1 + (mBLASData.dN - 1) * incX;
355
vectorXS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS),
dimX
, 1));
408
int
dimX
= 1 + (mBLASData.dN - 1) * incX;
410
vectorXD = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64(mRS),
dimX
, 1));
463
int
dimX
= 1 + (mBLASData.dN - 1) * incX;
465
vectorXC = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS),
dimX
, 1));
518
int
dimX
= 1 + (mBLASData.dN - 1) * incX;
520
vectorXZ = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F64_2(mRS),
dimX
, 1));
653
int
dimX
= 1 + (mBLASData.dN - 1) * incX;
655
vectorXS = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32(mRS),
dimX
, 1))
[
all
...]
Completed in 163 milliseconds