xpra icon
Bug tracker and wiki

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#437 closed enhancement (fixed)

opencl improvements, ie: no float

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 0.11
Component: core Version:
Keywords: Cc:

Description

After testing on both GPU and CPU, it seems that using ints instead of floats can give a 50% performance boost for CPU - and interestingly, absolutely zero for GPU.
It might be worth doing anyway sometime, patch attached.
There are probably other performance improvements we could make.

Attachments (1)

csc_opencl-nofloat-v2.patch (23.5 KB) - added by Antoine Martin 6 years ago.
implements all calculations using integers

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Antoine Martin

Attachment: csc_opencl-nofloat-v2.patch added

implements all calculations using integers

comment:1 Changed 6 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

done in r4425 - only tested RGB to YUV (not the other way around).

Gains are between 0% (Intel SDK with AMD CPU) to 50% (AMD SDK with AMD GPU at 420P) - the wiki/CSC will need updating...

comment:2 Changed 5 years ago by Antoine Martin

Milestone: future0.11

(setting correct milestone the work was completed in)

Note: See TracTickets for help on using tickets.