Searched refs:accumIdx (Results 1 – 10 of 10) sorted by relevance
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/ |
D | reduce_general_examples_halter.rscript | 12 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/ |
D | reduce_general_examples_backward.rscript | 86 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/ |
D | reduce_general_examples.rscript | 90 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/ |
D | reduce_backward.rscript | 83 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;
|
D | reduce.rscript | 165 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/ |
D | reduce_backward.rscript | 85 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;
|
D | reduce.rscript | 167 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/ |
D | test_reduce_general_metadata.ll | 157 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
|
D | test_reduce_general_cleanup.ll | 152 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/ |
D | rsCpuCore.cpp | 513 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()
|