Home
last modified time | relevance | path

Searched refs:accumIdx (Results 1 – 10 of 10) sorted by relevance

/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
Dreduce_general_examples_halter.rscript12 static void fzInit(int *accumIdx) { *accumIdx = -1; }
14 static void fzAccum(int *accumIdx,
16 if (inVal==0) *accumIdx = x;
19 static void fzCombine(int *accumIdx, const int *accumIdx2) {
20 if (*accumIdx2 >= 0) *accumIdx = *accumIdx2;
24 static bool fzFound(const int *accumIdx) {
25 return *accumIdx >= 0;
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
Dreduce_general_examples_backward.rscript86 static void fzInit(int *accumIdx) { *accumIdx = -1; }
88 static void fzAccum(int *accumIdx,
90 if (inVal==0) *accumIdx = x;
93 static void fzCombine(int *accumIdx, const int *accumIdx2) {
94 if (*accumIdx2 >= 0) *accumIdx = *accumIdx2;
/frameworks/compile/slang/tests/P_reduce_general_examples/
Dreduce_general_examples.rscript90 static void fzInit(int *accumIdx) { *accumIdx = -1; }
92 static void fzAccum(int *accumIdx,
94 if (inVal==0) *accumIdx = x;
97 static void fzCombine(int *accumIdx, const int *accumIdx2) {
98 if (*accumIdx2 >= 0) *accumIdx = *accumIdx2;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreduce_backward.rscript83 static void fzInit(int *accumIdx) { *accumIdx = -1; }
85 static void fzAccum(int *accumIdx,
87 if (inVal==0) *accumIdx = x;
90 static void fzCombine(int *accumIdx, const int *accumIdx2) {
91 if (*accumIdx2 >= 0) *accumIdx = *accumIdx2;
Dreduce.rscript165 static void fzInit(int *accumIdx) { *accumIdx = -1; }
167 static void fzAccum(int *accumIdx,
169 if (inVal==0) *accumIdx = x;
172 static void fzCombine(int *accumIdx, const int *accumIdx2) {
173 if (*accumIdx2 >= 0) *accumIdx = *accumIdx2;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreduce_backward.rscript85 static void fzInit(int *accumIdx) { *accumIdx = -1; }
87 static void fzAccum(int *accumIdx,
89 if (inVal==0) *accumIdx = x;
92 static void fzCombine(int *accumIdx, const int *accumIdx2) {
93 if (*accumIdx2 >= 0) *accumIdx = *accumIdx2;
Dreduce.rscript167 static void fzInit(int *accumIdx) { *accumIdx = -1; }
169 static void fzAccum(int *accumIdx,
171 if (inVal==0) *accumIdx = x;
174 static void fzCombine(int *accumIdx, const int *accumIdx2) {
175 if (*accumIdx2 >= 0) *accumIdx = *accumIdx2;
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_metadata.ll157 define internal void @fzInit(i32* nocapture %accumIdx) #0 {
158 store i32 -1, i32* %accumIdx, align 4, !tbaa !18
163 define internal void @fzAccum(i32* nocapture %accumIdx, i32 %inVal, i32 %x) #0 {
168 store i32 %x, i32* %accumIdx, align 4, !tbaa !18
176 define internal void @fzCombine(i32* nocapture %accumIdx, i32* nocapture %accumIdx2) #0 {
182 store i32 %1, i32* %accumIdx, align 4, !tbaa !18
190 define internal i1 @fzFound(i32* nocapture %accumIdx) #1 {
191 %1 = load i32, i32* %accumIdx, align 4, !tbaa !18
Dtest_reduce_general_cleanup.ll152 define internal void @fzInit(i32* nocapture %accumIdx) #0 {
153 store i32 -1, i32* %accumIdx, align 4, !tbaa !22
158 define internal void @fzAccum(i32* nocapture %accumIdx, i32 %inVal, i32 %x) #0 {
163 store i32 %x, i32* %accumIdx, align 4, !tbaa !22
171 define internal void @fzCombine(i32* nocapture %accumIdx, i32* nocapture %accumIdx2) #0 {
177 store i32 %1, i32* %accumIdx, align 4, !tbaa !22
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp513 uint32_t accumIdx = (uint32_t)__sync_fetch_and_add(&mtls->accumCount, 1); in reduce_get_accumulator() local
515 accumPtr = mtls->accumAlloc + mtls->accumStride * accumIdx; in reduce_get_accumulator()
517 if (accumIdx == 0) { in reduce_get_accumulator()
520 accumPtr = mtls->accumAlloc + mtls->accumStride * (accumIdx - 1); in reduce_get_accumulator()
524 walkerName, mtls->accumFunc, threadIdx, accumIdx, accumPtr); in reduce_get_accumulator()