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

 
 

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

Submitter:  Willie Betschart <williebetschart>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-cf05.
    Corresponding source code