cosmicrays / hermes

HERMES is a publicly available computational framework for the line of sight integration over galactic radiative processes which creates sky maps in the HEALPix-compatibile format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When skymap mask is present, multithreading is not optimally used

adundovi opened this issue · comments

The procedure in which pixel chunks are distributed across CPU threads ignores masked pixels (in SkymapTemplate.h), thus threads with many masked pixels are quickly completed and stay idle until other, busy threads finish their chunks. If a computer has many threads and masked scenario is run, redesigning this can bring a significant reduction in the computation time.

2a77f83 gave 40-50% speed up for masked sky maps.