Commit Graph
166 Commits
Author SHA1 Message Date
psychocrypt b0d03b3302 AMD: reduce register usage
reduce usage of registers: based on the suggestion of @enerc77
2018-02-14 21:21:51 +01:00
fireice-ukandGitHub b55fa7e324 Merge pull request #1013 from psychocrypt/topic-improveAmdAeonAutosuggestion
improve AMD auto suggestion for AEON
2018-02-03 10:31:06 +00:00
fireice-ukandGitHub 8bef63c913 Merge pull request #1014 from psychocrypt/topic-speedupVolta
speedup Volta
2018-02-03 10:30:16 +00:00
fireice-ukandGitHub 4d7fdd2dea Merge pull request #1015 from psychocrypt/fix-outputOfAMDGpuName
fix output of gpu name
2018-02-03 10:26:52 +00:00
RyanandGitHub 064804bd17 Fix Disabling AMD GPUs
The AMD jconf.cpp would only accept an array. The config sample, and the nvidia and cpu config work with the value 'null', as they accept a 'kNullType'. This means at current, AMD GPUs could not be turned off, the config file wouldn't parse on load.

This change makes AMD consistent with the others, and can now be disabled.
2018-02-01 20:37:50 +10:30
psychocrypt 1ea14c8d23 fix output of gpu name
fix that the GPU name is printed before the name is querried from OpenCL
2018-01-30 21:33:30 +01:00
psychocrypt c528f51a76 speedup Volta
- enable L1 cache for Nvidia Volta GPUs and newer
- remove explicit cache controll for Volta GPU and newer

This pull request increases the hash rate for Volta GPUs by ~5%
2018-01-30 20:47:56 +01:00
psychocrypt 2bc5a055e1 improve AMD auto suggestion for AEON
increase the intensity limit for AEON
2018-01-30 20:32:09 +01:00
fireice-ukandGitHub a8e83eec94 Merge pull request #996 from psychocrypt/fix-cpuNonce2
avoid nonce overlapping
2018-01-28 18:07:59 +00:00
psychocrypt e191229ac1 void nonce overlappping
The cpu miner backend uses the wrong ranges of nonces instead of using `[startNonce,startNonce + nonce_chunk)`
(startNonce,startNonce + nonce_chunk]` is used. This will results in an overlap with nonces used by the gpu back-ends.
2018-01-27 21:10:03 +01:00
fireice-ukandGitHub f737d24897 Merge pull request #758 from dougvj/fix_zero_intensity
Add warning and fallback when auto intensity is 0
2018-01-27 11:50:54 +00:00
fireice-ukandGitHub dded06a3dd Merge pull request #950 from psychocrypt/topic-reduceMemoryForSlowNvidiaGPUs
reduce memory usage for low end gpus
2018-01-26 21:21:56 +00:00
psychocrypt ac474caa8b remove usage of rotate
revert the change that the OpenCl function `rotate` is used instead of `SKEIN_ROT`
2018-01-24 22:11:47 +01:00
Grant Galitzandpsychocrypt b9fb744a10 author update 2018-01-24 22:11:47 +01:00
Grant Galitzandpsychocrypt 617af4b301 Optimize Skein
- Eliminate modulus math (It runs slow inside microcode).
- Convert whatever the hell was going on into a rotate op. Like... Someone kinda reinvented the wheel in order to do a simple rotate.
2018-01-24 22:11:47 +01:00
psychocrypt ea6c147ab2 reduce memory usage for low end gpus
reduce memory usage to 1GiB for NVIDIA devices with <=6 SMX
2018-01-22 21:02:05 +01:00
psychocryptandGitHub 8731717488 Merge pull request #772 from vtamara/comp_adJ
It compiles on OpenBSD/adJ 6.2
2018-01-21 20:49:29 +01:00
Vladimir Tamara 4f109d0335 Extra code path for OpenBSD suggested by psychocrypt 2018-01-16 22:59:42 -05:00
psychocrypt 6e59483f82 fix set affinity for windows
Ignore any affinity >=64 and throw a warning.
2018-01-13 21:23:59 +01:00
psychocrypt 14f6063591 ignore gpu with intensity zero
- if the intensity is zero than do not suggest a config
- remove the links to old issues
2018-01-13 20:31:22 +01:00
fireice-ukandGitHub 2c1b5295a9 Merge pull request #848 from psychocrypt/topic-updateVEGANames
update VEGA names for auto suggestion
2018-01-12 13:42:44 +00:00
fireice-ukandGitHub 3a31266cf3 Merge pull request #846 from psychocrypt/fix-cpuMemAutodetection
fix autosuggestion CPU
2018-01-12 09:24:20 +00:00
psychocrypt eb4967b5bf update VEGA names for auto suggestion
update VEGA names
2018-01-09 21:37:06 +01:00
psychocryptandGitHub 44b8844d4d Merge pull request #697 from dangrabbits/master
Updated config.tpl comments to include how to exclude CPU/GPUs
2018-01-09 21:19:02 +01:00
psychocrypt 054ee94f9e fix usage of bytes instead of KB
bug was introduced with #67

- increase the L3 sanity check to 2GiB
- fix usage of byte instead of KB
2018-01-09 21:01:30 +01:00
Tom Doemillerandpsychocrypt 6a508ce409 Fix cache size detection 2018-01-09 20:45:33 +01:00
fireice-ukandGitHub d015a3d01e Merge pull request #778 from b-/patch-2
Rename "MacOS" to "macOS"
2018-01-08 00:28:32 +00:00
Brian Recchia d01bab0cd7 Update minethd.cpp
Changed capitalization of "macOS"

Squashed the commit
2018-01-04 10:33:14 -05:00
fireice-ukandGitHub c88e76d9a9 Merge pull request #705 from dataway/dev
Rearrange prefetch for slight performance increase in CPU miner
2018-01-03 07:52:56 +00:00
fireice-ukandGitHub e275b4cb98 Merge pull request #754 from dougvj/gpu_id_show
Modify invalid result report to show GPU id
2018-01-03 07:48:39 +00:00
Vladimir Tamara 1d60d43fbc It compiles on OpenBSD/adJ 6.2 2018-01-01 19:22:41 -05:00
Doug JohnsonandDoug Johnson 0c845b3569 Add warning and fallback when auto intensity is 0
Occassionally the auto adjust doesn't find enough memory and the
intensity is detected too low and aligned to 0 with the compute units.
This patch fixes this situation by issuing a warning with a suggestion
to set environment vars and then ignoring the alignment to 0

Per several issues:

Principally:
https://github.com/fireice-uk/xmr-stak/issues/81

Related:
https://github.com/fireice-uk/xmr-stak/issues/490
https://github.com/fireice-uk/xmr-stak/issues/472
2017-12-31 00:14:02 -07:00
Doug Johnson 16759bc353 Modify invalid result report to show GPU id 2017-12-30 16:49:51 -07:00
psychocrypt 58db6082a3 differgence in OpenCL code
remove branch differgences in AMD OpenCl code based on #454

a Please enter the commit message for your changes. Lines starting
2017-12-30 21:16:35 +01:00
LehmaxandGitHub ad2ce39c13 Typo: Obtaning -> Obtaining 2017-12-28 01:37:04 +01:00
fireice-uk b216f39a52 Busywork courtesy of Microsoft
Add messages


Missing include


1
2017-12-26 21:11:22 +00:00
Anthony Uk b38aa07438 CPU - cryptonight_aesni.h - rearranged prefetch instructions to allow more time for cache to charge 2017-12-25 19:38:55 +01:00
fireice-uk 038a4eb34d On-demand elevation 2017-12-25 16:36:44 +00:00
dangrabbits 3216b47fda Updated config.tpl comments to include how to exclude CPU/GPUs 2017-12-25 09:32:26 +08:00
fireice-uk da1da53fae Make sure we are using a steady clock 2017-12-22 18:08:30 +00:00
fireice-ukandGitHub c0eb229107 Merge pull request #464 from psychocrypt/topic-handleCudaErrorCodes
handle cuda error codes
2017-12-15 22:33:14 +00:00
psychocrypt 74378a5ab5 fix cuda9.1 compile
- fix cuda9.1 compile (remove includ eof device_functions.hpp/ removed with cuda9.1)
- remove NVIDIA Volta gpus for MAC OSX
2017-12-14 21:27:19 +01:00
psychocrypt fd0c9db6e8 handle cuda error codes
handle all error codes from the cuda api calls.
2017-12-10 20:39:47 +01:00
Andrew Whittle 41cf1e8b91 Beautification edit as per fireice-uk's suggestion
Makes casting more explicit.
2017-12-09 11:04:39 -07:00
Andrew Whittle 01d6723d5b Fix compat_usleep for WIN32
When compiled with VS2017, the negative applied to the uint wait
time is ignored. Fixed by casting first.
2017-12-09 10:13:52 -07:00
psychocrypt 6b739ece97 fix intention
- fix indention
2017-12-09 09:16:03 +01:00
psychocrypt a317606af9 conservative NVIDIA auto suggestion
Be more conservative with the auto suggestion.

- increase bfactor if `smx <= 6`
- limit memory for pascal < GTX1070 to 2GiB
- limt memory for pascal <= GTX1080 to 4GiB
2017-12-08 23:42:43 +01:00
fireice-ukandGitHub 241591cf10 Merge pull request #168 from grzegorzszczecin/master
Extend low_power_mode to do up to 5 cn hashes at a time.
2017-12-08 16:41:35 +00:00
fireice-ukandGitHub 3bc72ec9c0 Merge pull request #399 from psychocrypt/topic-nvidiaErrorWithMessage
add message to `CUDA_CHECK...` macros
2017-12-08 11:04:50 +00:00
psychocrypt e5127b5ffa add message to CUDA_CHECK... macros
- add macro `CUDA_CHECK_MSG_KERNEL` and `CUDA_CHECK_MSG`
- add suggestion of typicle errors can be solved
2017-12-07 22:29:07 +01:00