small efficiency suggestion

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

small efficiency suggestion

Postby notzed » Tue Mar 25, 2014 12:21 am

Suggestion: add core_index to e_group_config.

core_index = (core_col + core_row * group_cols)

It could replace the alignment_padding field.

Also perhaps:

group_size = (group_rows * group_cols)

Both could fit as shorts without breaking linker scripts.

Saves the need for some imul's which can be pretty bulky.
notzed
 
Posts: 331
Joined: Mon Dec 17, 2012 12:28 am
Location: Australia

Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 15 guests

cron