ExceptionallyGreat and GitHub
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
ExceptionallyGreat and GitHub
406cf0fe6e
Update gpu.hpp
...
Fixing the compile error on MacOS X
2017-11-21 11:24:03 -08:00
fireice-uk and GitHub
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-uk and GitHub
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
fireice-uk and GitHub
629542ae4d
Merge pull request #133 from psychocrypt/fix-cudaArchBinaryDetection
...
fix wrong cuda binary arch detection
2017-11-17 10:51:53 +00:00
psychocrypt
d326644d8b
fix nvidia auto suggestion
...
The lmem is still incalculably and crash the miner very often.
Increase the potential lmem usage to 16kiB to respect lmem alignments, ...
2017-11-17 10:04:16 +01:00
psychocrypt
656c55309f
fix wrong cuda binary arch detection
...
fix wrong arch comparsion
2017-11-17 09:32:27 +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
psychocrypt and GitHub
1dc874c542
Merge pull request #115 from fireice-uk/topic-net-ext
...
Network extensions
2017-11-16 12:12:40 +01:00
fireice-uk and GitHub
92dcd340d1
Merge pull request #116 from psychocrypt/topic-checkIfBinarySupportsGPUArch
...
check gpu architecture
2017-11-15 18:07:24 +00:00
fireice-uk and GitHub
21b9863def
Merge pull request #114 from psychocrypt/fix-wrongMemoryDetection
...
fix wrong memory detection
2017-11-15 16:16:23 +00:00
fireice-uk and psychocrypt
117493dc53
Fix misc bugs ( #117 )
...
* CONF_NO_TLS fix
* gpu error fix + always return to sched after pin
2017-11-15 16:34:21 +01:00
psychocrypt
70737c8d1a
check gpu architecture
...
- check if the gpu architecture is supported by the compiled miner binary
- remove not supported gpus from the auto suggestion
- disallow the selection of a not supported gpu by hand tuning the config
2017-11-15 16:29:41 +01:00
psychocrypt
0659458523
fix wrong memory detection
...
Free and total memory is only evaluated on the first device.
To detect the gpu memory the gpu must be selected.
- create context on the gpu before the memory is checked
- add smx to the auto detection
- change the result code of `cuda_get_deviceinfo()`
2017-11-15 16:26:58 +01:00
Unknown
608139ccde
Pass threadno up the food chain
2017-11-14 16:42:12 +00:00
Unknown
8f9eb8ef2e
change getName to static lc string (sorry psc)
2017-11-14 16:12:18 +00:00
psychocrypt
13433097a3
add backend type
...
- add type of the backend to each backend-plugin
- add `gteName` to `iBackend` to get the name of the backend
2017-11-10 22:37:30 +01:00
fireice-uk and psychocrypt
d35893d926
Multi-pool final version ( #90 )
...
* Multi-pool first draft
* Fix wspace from new IDE
* Better TLS error message
* Fix TLS bug
* Don't put dev pool on stats + pool change-back
* bug fixes
* Error message work
* fix win build
* add per-pool nicehash setting
* Fix bugs
* rm debug msg
* Multipool guided setup
* Support TLS and Nicehash in config
* prelim jconf changes
* final multipool changes
* increase default retry_time to 30, fix mac erro
* rm debug dev pool settings
* Fix another source of connect runaway
2017-11-09 23:43:08 +01:00
psychocrypt
5acec3ea8e
optimize NVIDIA autosuggestion
...
- avoid creation of a config with zero threads or blocks
- WINDOWS: reduce the used memory for the auto suggestion by the amount of already used memory
2017-11-03 21:46:27 +01:00
psychocrypt
14f041a971
search for linux backend plugins
...
- search for plugin in
- working directory
- binary directory
- let linux search the plugins (libraries)
2017-11-01 21:12:32 +01:00
psychocrypt
65794c5b5b
OSX file file extension (dynamic libraries)
...
use `.dylib` as dynamic library file extension
2017-10-31 22:37:02 +01:00
fireice-uk and GitHub
69e6013cee
Merge pull request #74 from psychocrypt/topic-vegaAutoSuggestion
...
tune VEGA auto suggestion
2017-10-30 17:44:01 +00:00
psychocrypt
7ecf4cec6e
fix windows compile and broken aeon
...
- fix windows linker error during compile
- fix wrong parameter to call aeon (nvidia-backend)
2017-10-28 21:20:19 +02:00
psychocrypt
3aa04f2871
tune VEGA auto suggestion
...
- allow to use up to 2024 threads on VEGA gpus
fix #5
2017-10-27 22:17:57 +02:00
psychocrypt
3e091d9251
increase safety memory for autosuggestion
...
- increase safty memory from 64 to 128 MiB
- NVIDIA: increase lmem reserve per thread to 1kiB
2017-10-27 21:40:38 +02:00
psychocrypt
12802f12e3
rename xmr to monero
...
- rename all `xmr` to `monero`
- be insensitive while check for set currency
- add function to compate two strings insensitive
2017-10-27 20:13:19 +02:00
psychocrypt
41451d91e8
add aeon support to backend cpu
...
- update auto suggestion default and hwloc
- extent hash function table to support aeon and xmr within one miner
2017-10-27 20:12:38 +02:00
psychocrypt
89749c32b7
add aeon support to backend nvidia
...
- add template parameter to kernel to support aeon and xmr
- update auto suggestion
2017-10-27 20:12:38 +02:00
psychocrypt
2346c8be20
add eon support to amd backend
...
- add compile parameter to support aeon and xmr
- update auto suggestion to handle aeon
2017-10-27 20:12:01 +02:00
psychocrypt
e0f0ad4d03
collect XMR and Aeon characteristics
...
... into a single place
2017-10-27 20:12:01 +02:00
fireice-uk and GitHub
91b307859e
Merge pull request #69 from psychocrypt/topic-threadAffinity
...
thread affinity for non cpu backends
2017-10-27 17:19:00 +01:00
psychocrypt
b5a7e4eb7f
check if affinity must be set
...
- check if affinity vale before calling `thd_setaffinity`
2017-10-27 16:59:44 +02:00
psychocrypt
b685c90fc2
thread affinity for non cpu backends
...
This is a follow up of #43 and use the some mechanism to set the thread affinity for
non cpu backends correct.
- use cpu affinity workflow for nvidia and amd
- cpu: move messages of thread spawning before thread creation
2017-10-26 23:09:14 +02:00
psychocrypt
8888a60898
amd: use 64bit target
...
- remove 32bit target value
- use always 64bit target for amd backend
2017-10-24 23:22:28 +02:00
psychocrypt
c8c9065a88
remove double blob copy
...
- remove double copied memory
2017-10-23 21:11:33 +02:00
fireice-uk and GitHub
7030f1b3ab
Merge pull request #45 from fireice-uk/topic-nonce-alloc
...
Implement pool-controlled nonce allocation
2017-10-23 19:14:20 +01:00
psychocrypt and GitHub
a7116b999e
Merge pull request #61 from fireice-uk/topic-gpu-thread-num
...
Proper removal of gpu_thread_num
2017-10-22 18:22:42 +02:00
fireice-uk and GitHub
336f2325f9
Merge pull request #57 from psychocrypt/fix-nvidiaBackendCrash
...
fix illegal memory access
2017-10-22 15:21:24 +01:00
fireice-uk
203fad6181
Proper removal of gpu_thread_num
2017-10-22 14:18:32 +01:00
fireice-uk
14ceeaca2e
rm debug aids
2017-10-22 13:24:49 +01:00
fireice-uk
53ddca9640
small fix
2017-10-22 13:15:18 +01:00
fireice-uk
265ef629a1
Fix GPU nicehash support
2017-10-22 13:15:18 +01:00
fireice-uk
d3c5911f8e
move nicehash check into nonce calc
2017-10-22 13:15:18 +01:00
fireice-uk
27b839b8d2
note-to-self: don't type with your forehead
2017-10-22 13:12:52 +01:00
fireice-uk
740cb613b8
separate nonce_ctr from result push
2017-10-22 13:12:52 +01:00