88 Commits
Author SHA1 Message Date
psychocrypt 0f9392f117 OpenCL precompiled code message
change warning when precompiled OpenCL code is not found
2018-03-25 20:09:39 +02:00
1e7911e653 XMR-Stak 2.3.0 RC
Co-authored-by: psychocrypt <psychocryptHPC@gmail.com>
Co-authored-by: fireice-uk <fireice-uk@users.noreply.github.com>
Co-authored-by: Lee Clagett <code@leeclagett.com>
Co-authored-by: curie-kief <curie-kief@users.noreply.github.com>
2018-03-25 13:28:40 +01:00
psychocrypt 702ab56699 fix shadowed variable
A redefinition of a variable in a local scope avoid that the intensity is rounded to a multiple of the work size.
2018-03-13 20:32:07 +01:00
psychocrypt 6beb3f59fe add OpenCL compiler cache
Reduce OpenCL start time by using a self made compiler cache.

- store compiled OpenCL binary
- load OpenCl binary if available
2018-03-03 23:17:23 +01:00
psychocrypt dc4e379345 fix broken memchunk feature
fix double definition of define `MEM_CHUNK`
2018-02-21 22:41:43 +01:00
fireice-ukandGitHub 0ad614836e Merge pull request #1102 from psychocrypt/topic-opencl_1_1
fix compile with OpenCL 1.1
2018-02-21 21:32:10 +00:00
fireice-ukandGitHub aa34bac139 Merge pull request #1101 from psychocrypt/topic-mesaSupport
add Mesa OpenCL support
2018-02-21 21:31:51 +00:00
psychocrypt c975def43e fix compile with OpenCL 1.1
guard error types those are only defined in OpenCL >1.1
2018-02-19 22:49:50 +01:00
psychocrypt cff6b6cbfb add OpenCL compatibility mode
- add new option `comp_mode` to the amd config
- disable `if guards` within opencl kernel if `comp_mode : false`
2018-02-19 22:13:49 +01:00
psychocrypt 7b3929dbef add Mesa OpenCL support
allow usage of Mesa OpenCl
2018-02-19 21:58:17 +01:00
fireice-ukandGitHub f785481bb7 Merge pull request #1087 from psychocrypt/topic-blockedStride3
AMD: option `mem_chunk`and new `strided_index`
2018-02-19 14:10:36 +00:00
psychocrypt 737185ee82 AMD: mem_chunkand new strided_index
- add new option for `strided_index`
- add additional option if `strided_index == 2` to controll the memory chunk with
2018-02-17 20:51:55 +01:00
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 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 2bc5a055e1 improve AMD auto suggestion for AEON
increase the intensity limit for AEON
2018-01-30 20:32:09 +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
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 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
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
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 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
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
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
Unknown e0e8a30099 Make k unsigned. 2017-12-06 16:55:51 +00:00
Unknown af0743b063 Clean up the x-mas tree 2017-12-06 04:23:55 +00:00
fireice-ukandGitHub c6f56b24ec Merge pull request #332 from psychocrypt/topic-tuneAMD
optimize aes round command queue
2017-12-04 15:48:58 +00:00
psychocrypt efc8dc447a optimize aes round command queue
unroll AES round by hand to help the compiler to optimize the command queue
2017-12-03 16:40:42 +01:00
psychocrypt cfe64725f0 set srided_index = true as default
Change the default for strided index. Th euser feedback shows that strided_index = true will give a view hashes more per second.
2017-12-03 14:55:04 +01:00
psychocrypt d10d20f113 add AMD scratchpad indexing option
Allow to change the indexing used to address the hash scratchpad memory.

- add option `strided_index` for each gpu
2017-12-02 21:15:35 +01:00
ExceptionallyGreatandGitHub a7c5e97a12 Update gpu.cpp
Fix for AMD GPU detection on MacOS X
On MacOS X the platform is reported as Apple, and the vendor is reported as AMD.
2017-11-21 12:06:20 -08:00
ExceptionallyGreatandGitHub 406cf0fe6e Update gpu.hpp
Fixing the compile error on MacOS X
2017-11-21 11:24:03 -08:00
fireice-ukandGitHub 36079b9311 Merge pull request #138 from psychocrypt/fix-amdMaxWorkSize
fix max work size shown to user
2017-11-18 21:46:01 +00:00
fireice-ukandGitHub 07a6f84810 Merge pull request #137 from psychocrypt/topic-handleOpenClErrors
handle OpenCL errors
2017-11-18 21:40:23 +00:00
psychocrypt 8bf8e8c86d fix max work size shown to user
The max work size shown to the user was the hardware maximum but not take in account thet some kernel spwning 8 times more threads per work group than configured by the user.
2017-11-18 22:22:46 +01:00
psychocrypt e75c3a6225 handle OpenCL errors
- handle opencl errors to avoid unexpected behaviors
- remove code duplicatio nwithin the some method
2017-11-18 22:03:28 +01:00
psychocrypt 7e8475ab30 fix OpenCL compatibility
- enforce that only host side OpenCl 1.2 functions are used if the miner is compiled with `XMR-STAK_COMPILE=generic`
- update documentation
- add CMake option `XMR-STAK_COMPILE` to windows
2017-11-18 21:24:42 +01:00
Unknown cabd46f39f Remove whitespace lines 2017-11-16 13:42:27 +00:00
psychocrypt 157dd16574 fix wrong indentions by hand after auto conversion 2017-11-16 12:28:54 +01:00
psychocrypt d0b99bb4c6 remove space indention with tabs
- removed all space indention in `*.hpp` and `*.cpp` files
2017-11-16 12:21:38 +01:00