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: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Add a New Comment (Rich MarkupRich 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 File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 04 Dec 2012 12:38:59 PM UTCwilliebetschartAttached File-=>Added simd_integral.patch, #27038

    Back to the top


    Powered by Savane 3.1-cleanup