Home
last modified time | relevance | path

Searched refs:buffer_half (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/tests/lldb/cpp/Allocations/
DAllocations.cpp296 __fp16 *buffer_half = new __fp16[mAllocSize]; in initFloatAllocations() local
301 buffer_half[i] = (__fp16) 1 / i; in initFloatAllocations()
306 mHalfAllocation->copy1DRangeFrom(0, mAllocSize, buffer_half); in initFloatAllocations()
307 mHalf2Allocation->copy1DRangeFrom(0, mAllocSize/2, buffer_half); in initFloatAllocations()
308 mHalf3Allocation->copy2DRangeFrom(0, 0, 1, 6, buffer_half); in initFloatAllocations()
309 mHalf4Allocation->copy1DRangeFrom(0, mAllocSize/4, buffer_half); in initFloatAllocations()
311 delete [] buffer_half; in initFloatAllocations()
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
Djniallocations.cpp300 __fp16 *buffer_half = new __fp16[mAllocSize]; in initFloatAllocations() local
305 buffer_half[i] = (__fp16) 1 / i; in initFloatAllocations()
310 mHalfAllocation->copy1DRangeFrom(0, mAllocSize, buffer_half); in initFloatAllocations()
311 mHalf2Allocation->copy1DRangeFrom(0, mAllocSize/2, buffer_half); in initFloatAllocations()
312 mHalf3Allocation->copy2DRangeFrom(0, 0, 1, 6, buffer_half); in initFloatAllocations()
313 mHalf4Allocation->copy1DRangeFrom(0, mAllocSize/4, buffer_half); in initFloatAllocations()
315 delete [] buffer_half; in initFloatAllocations()
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/
DMainActivity.java361 short[] buffer_half = new short[mAllocSize]; in initFloatAllocations() local
369 buffer_half[i] = (short)((exponent << 8) | mantissa); in initFloatAllocations()
375 mHalfAllocation.copyFromUnchecked(buffer_half); in initFloatAllocations()
376 mHalf2Allocation.copyFromUnchecked(buffer_half); in initFloatAllocations()
377 mHalf3Allocation.copyFromUnchecked(buffer_half); in initFloatAllocations()
378 mHalf4Allocation.copyFromUnchecked(buffer_half); in initFloatAllocations()