Commit Graph
338 Commits
Author SHA1 Message Date
fireice-uk da070d4259 print warning 2017-10-11 23:59:17 +01:00
fireice-uk c897fc0451 cleanup and give a return from set_affinity 2017-10-11 23:53:31 +01:00
fireice-ukandGitHub b40f937bf5 Merge pull request #35 from psychocrypt/fix-cuda7_5Compile
fix cuda 7.5 compile
2017-10-11 22:39:22 +01:00
fireice-ukandGitHub fa5518309e Merge pull request #28 from psychocrypt/fix-missingCUDAOpenCLCmakeOutput
fix CMake find package output
2017-10-11 22:38:27 +01:00
psychocrypt 8d313484e4 fix cuda 7.5 compile
fix error: `identifier "__builtin_ia32_monitorx" is undefined`
2017-10-11 21:25:48 +02:00
fireice-ukandGitHub 01b4460b95 Merge pull request #24 from psychocrypt/fix-amdEarlyReturn
remove early returns
2017-10-11 16:36:46 +01:00
fireice-ukandGitHub 0c332962d9 Merge pull request #27 from psychocrypt/topic-improveAmdAutoAdjust
improve AMD auto suggestion
2017-10-11 16:35:07 +01:00
psychocryptandGitHub 984ddf9ebb Merge pull request #31 from fireice-uk/topic-fix-typo
Minor doc fixes
2017-10-10 21:31:17 +02:00
psychocrypt e52d04fb23 fix CMake find package output
fix #3

- remove QUIET from find package for OpenCL and CUDA
- remove pascal architecture from default CUDA_ARCH for CUDA < 8.0
2017-10-10 21:26:15 +02:00
psychocrypt e0b93c2216 improve AMD auto suggestion
- use always a multiple of the number of compute units
- add more device information to the config file
2017-10-10 21:12:34 +02:00
psychocrypt 2c2d05e57a remove early returns
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).
2017-10-10 21:04:37 +02:00
fireice-uk 204dded5e0 Minor doc fixes 2017-10-10 18:52:06 +01:00
fireice-ukandGitHub e79debcfcb Merge pull request #23 from psychocrypt/fix-possibleIllegalMemoryAccessAMD
avoid possible illegal memory access
2017-10-10 18:01:16 +01:00
fireice-ukandGitHub 9af8d7f6ad Merge pull request #29 from psychocrypt/fix-travisOSXBuild
fix travis OSX build
2017-10-10 01:40:22 +01:00
psychocrypt 9ad1b04ffa fix broken travis macosx compile
add `brew update` to avoid that `brew tap homebrew/science` crash
2017-10-08 22:33:50 +02:00
fireice-ukandGitHub adb2e196c9 Merge pull request #26 from psychocrypt/fix-hashStatWrongTimer
fix wrong timer for stats
2017-10-07 00:52:42 +01:00
psychocrypt 73f75f95b7 fix wrong timer for stats
fix #21, hash values randomly not available.
The reason is that I changed the lables but forget to change all timer.
A GPU needs sometimes ore than 2.5s to finish one hash round, therefore
the results are only visible randomly.
2017-10-06 22:52:54 +02:00
psychocrypt 611378eb96 avoid possible illegal memory access
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.
2017-10-06 21:50:51 +02:00
fireice-ukandGitHub 83752eccc0 Merge pull request #16 from psychocrypt/fix-invalidKernelCall
fix invalid kernel call parameter
2017-10-06 15:22:29 +01:00
psychocryptandGitHub 62217a2488 Merge pull request #19 from fireice-uk/topic-crash-fix
Port the crash fix from xmr-stak-cpu
2017-10-06 10:18:17 +02:00
psychocrypt 65d47dbb31 add assert to validate number of global threads
check that the number of global threads is a multiple of the workgroup size
2017-10-05 22:22:30 +02:00
psychocryptandGitHub e96a761d5a Merge pull request #12 from fireice-uk/topic-large-pages-win
Fix large pages on Windows and make them more user-friendly
2017-10-05 22:15:32 +02:00
fireice-ukandGitHub 34a87c64a1 Merge pull request #18 from fireice-uk/topic-larger-print-buf
Increase the scratchpad size to make sure we don't malform JSON
2017-10-05 15:24:57 +01:00
fireice-uk cb65ae3f78 Port the crash fix from xmr-stak-cpu 2017-10-05 15:08:00 +01:00
fireice-uk 8ddc1f8974 Increase the scratchpad size to make sure we don't malform JSON api replies with TLS 2017-10-05 14:45:40 +01:00
fireice-ukandGitHub 9c3a71ef09 Merge pull request #13 from psychocrypt/fix-amdAutoDetection
fix amd auto suggestion
2017-10-05 11:39:10 +01:00
fireice-ukandGitHub 6fa8ed60a8 Merge pull request #14 from psychocrypt/fix-nicehashSupport
fix broken nicehash support
2017-10-05 11:35:49 +01:00
psychocryptandGitHub 2c2db15431 Merge pull request #17 from fireice-uk/topic-soft-aes-inline
Major cleanup and speedup of soft aes
2017-10-05 09:17:52 +02:00
fireice-uk a581cc7688 Further software aes optimisation 2017-10-05 00:37:06 +01:00
fireice-uk f9c3b6e2fb Cleaned up, so persons not very proficient in C macros, like hyc_symas don't cry about obfuscation 2017-10-05 00:14:15 +01:00
fireice-uk 2f7727e6d4 rename soft_aes.c 2017-10-04 23:32:50 +01:00
psychocrypt 0304a7b09e fix invalid kernel call parameter
The number of threads within a kernel must be a multiple of the worksize.
If not it can crash on some systems.
2017-10-05 00:27:37 +02:00
psychocrypt bf07d73ca1 fix amd auto suggestion
Platform index zero was always used to search for the device detection.

Fix: use correct detected AMD platform index
2017-10-04 23:15:33 +02:00
fireice-uk f6b310dc86 Merge branch 'topic-large-pages-win' of https://github.com/fireice-uk/xmr-stak into topic-large-pages-win 2017-10-04 22:13:01 +01:00
fireice-uk d8d403b2ac Non-manifest UAC elevation 2017-10-04 22:11:31 +01:00
fireice-ukandGitHub 361320a812 Merge pull request #15 from fireice-uk/topic-cleanup
Topic cleanup
2017-10-04 22:10:21 +01:00
fireice-uk e217444c0c Change contributing.md 2017-10-04 22:04:22 +01:00
psychocrypt e34ce368b5 fix broken nicehash support
- add nicehash flag back to `miner_work`
2017-10-04 23:03:45 +02:00
fireice-uk 177f3e676c Lots of little cleanup changes 2017-10-04 21:54:48 +01:00
fireice-uk f9bbdd50bb put global into proper place 2017-10-04 20:33:18 +01:00
fireice-uk 2b9bcc2dfd Add a suggestion to reboot in cases where it might help 2017-10-04 19:04:40 +01:00
fireice-uk 821fe09e97 - Add large page initialisation on Windows
- Add a proper UAC manifest requesting elevation when we start
- Fix self_test() - this is integral part of initialisation
2017-10-04 18:52:46 +01:00
psychocryptandGitHub 8ee452eefa Merge pull request #3 from psychocrypt/topic-addNicehashPoolSupport
readd nicehash pool support
2017-10-01 21:54:30 +02:00
psychocrypt 1f40f88a0c readd nicehash pool support
use nicehash start nonce in all backends if nicehash is enabled
2017-10-01 21:04:12 +02:00
psychocryptandGitHub c3469484cd Merge pull request #2 from psychocrypt/fix-donationDocumentation
fix donation section
2017-10-01 17:10:14 +02:00
psychocrypt 09270dfd6a fix donation section 2017-10-01 13:10:17 +02:00
psychocryptandGitHub 4e5e98a095 Merge pull request #1 from psychocrypt/topic-restructure11
refactor xmr-stak
2017-10-01 00:36:33 +02:00
psychocrypt 2c8d64abfa disable cuda install for MacOS 2017-10-01 00:24:36 +02:00
psychocrypt 2558a70c73 return 0 if help is called
- add CIvariables to debug cuda build
2017-10-01 00:10:12 +02:00
psychocrypt 8fd095e97a enable C++11 for nvcc 2017-10-01 00:02:24 +02:00