summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/amd_gpu
Commit message (Collapse)AuthorAgeFilesLines
...
* remove early returnspsychocrypt2017-10-101-335/+376
| | | | | | | | | | | | Early returns within a kernel can have unexpected behavior, this strongly depends on the opencl runtime compiler. To avoid errors all early returns are removed. There is no negative effect(e.g.performance) if the threads stay alive up to the end of the kernel. One source for the early return is: http://al-key-opencl.blogspot.de/2014/09/be-careful-not-to-mix-early-return-and.html This pull request also fix a race condition where all fill the shared memory. Also a bug introduced with #16 is fixed, because of the early return not was possible that the last block works with an wrong initilized shared memory (result should be a wrong hash if the result target size is valid).
* avoid possible illegal memory accesspsychocrypt2017-10-062-8/+31
| | | | | Is is possible that the number of results are greater than the result output array, in this case invalid memory can be access within the device and on the host side.
* add assert to validate number of global threadspsychocrypt2017-10-051-0/+5
| | | | check that the number of global threads is a multiple of the workgroup size
* fix invalid kernel call parameterpsychocrypt2017-10-052-24/+59
| | | | | The number of threads within a kernel must be a multiple of the worksize. If not it can crash on some systems.
* fix windows compilepsychocrypt2017-09-301-1/+2
| | | | - string literal can only be 16kbyte
* cleanup includespsychocrypt2017-09-302-4/+3
|
* group filespsychocrypt2017-09-308-0/+2664
- move source code to `src` - categorize files and move to group folder - change upper case class files to lower case - change C++ header to `*.hpp`
OpenPOWER on IntegriCloud