helpRAPP - Raster Processing Primitives - Support: sr #108195, This is an initial SIMD...


sr #108195: This is an initial SIMD implementation of integral imag

Submitted by:  Willie Betschart <williebetschart>
Submitted on:  Tue 04 Dec 2012 12:38:59 PM UTC  
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 04 Dec 2012 12:38:59 PM UTC, original submission:  

This is an initial SIMD implementation of integral image for 8 bits to 16 and 32 bit integrals.

The current solution is a mixture of hardcoded swar and SIMD.

The file /rapp/tune/rapptune.h was required to add

#define rc_integral_sum_u8_u16_IMPL                          RC_IMPL_SIMD
#define rc_integral_sum_u8_u16_UNROLL                        1
#define rc_integral_sum_u8_u16_SCORE                         1.69e+09

#define rc_integral_sum_u8_u32_IMPL                          RC_IMPL_SIMD
#define rc_integral_sum_u8_u32_UNROLL                        1
#define rc_integral_sum_u8_u32_SCORE                         1.57e+09

The score is just copied but this was necessary to make it build when adding a vector implementation. This wasn't trivial.

Willie Betschart <williebetschart>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #27038:  simd_integral.patch added by williebetschart (23KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by williebetschart (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-12-04 williebetschart Attached File- => Added simd_integral.patch, #27038

    Back to the top

    Powered by Savane 3.5