xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 8 years ago

Closed 8 years ago

Last modified 9 months 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:


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 8 years ago.
implements all calculations using integers

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Antoine Martin

Attachment: csc_opencl-nofloat-v2.patch added

implements all calculations using integers

comment:1 Changed 8 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 7 years ago by Antoine Martin

Milestone: future0.11

(setting correct milestone the work was completed in)

comment:3 Changed 9 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/437

Note: See TracTickets for help on using tickets.