ethereum-mining / ethminer Goto Github PK
View Code? Open in Web Editor NEWEthereum miner with OpenCL, CUDA and stratum support
License: GNU General Public License v3.0
Ethereum miner with OpenCL, CUDA and stratum support
License: GNU General Public License v3.0
So, I have 7 GPUs running on a measly Celeron with 8GB of RAM. When it's just one, I can run it just fine. When I bump it up, the text output becomes so slow that it ends up freezing and won't mine properly. CPU usage spikes up to 100%.
This issue doesn't happen with any other miner. I'm assuming it is related to the way text is output to the console and I'm wondering if there's either a flag I'm missing or if there is another fix available.
My pagefile is larger than the sum of all GPU's RAM.
Built from source on Ubuntu 14.04.5.
cmake ../ethminer && cmake --build .
-- [hunter] Calculating Config-SHA1
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] HUNTER_ROOT: /home/nick/.hunter
-- [hunter] [ Hunter-ID: 435b09a | Config-ID: cd01ff3 | Toolchain-ID: 66a707b ]
-- [hunter] BOOST_ROOT: /home/nick/.hunter/_Base/435b09a/cd01ff3/66a707b/Install (ver.: 1.64.0)
-- [hunter] BOOST_ROOT: /home/nick/.hunter/_Base/435b09a/cd01ff3/66a707b/Install (ver.: 1.64.0)
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- system
-- [hunter] JSONCPP_ROOT: /home/nick/.hunter/_Base/435b09a/cd01ff3/66a707b/Install (ver.: 1.8.0)
-- [hunter] LIBJSON-RPC-CPP_ROOT: /home/nick/.hunter/_Base/435b09a/cd01ff3/66a707b/Install (ver.: 0.7.0-p0)
------------------------------------------------------------------------
-- CMake 3.5.1
-- Build Release / Linux
------------------------------------------------------------- components
-- ETHASHCL Build OpenCL components ON
-- ETHASHCUDA Build CUDA components OFF
-- ETHSTRATUM Build Stratum components ON
------------------------------------------------------------------------
-- [hunter] OPENCL_ROOT: /home/nick/.hunter/_Base/435b09a/cd01ff3/66a707b/Install (ver.: 2.1-p3)
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/ethminer.build
[ 0%] Built target BuildInfo.h
[ 32%] Built target devcore
[ 44%] Built target ethash
[ 56%] Built target ethash-cl
[ 68%] Built target ethstratum
[ 92%] Built target ethcore
[100%] Built target ethminer
fglrx radeon-crimson-15.12-15.302-151217a-297685e.zip
from AMD.
Relevant log chunks, this is a headless system (no xserver). I've also tried with various combinations of --opencl-platform
and --opencl-device
ethminer --list-devices
[OPENCL]:
Listing OpenCL devices.
FORMAT: [deviceID] deviceName
[0] Tahiti
CL_DEVICE_TYPE: GPU
CL_DEVICE_GLOBAL_MEM_SIZE: 3183306624
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 2205597696
CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
/opt/ethminer.build/ethminer/ethminer --opencl --stratum-protocol 2 --stratum daggerhashimoto.usa.nicehash.com:3353 --userpass ${ADDR}.$(hostname) -v 9
connect /tmp/.X11-unix/X1: No such file or directory
connect /tmp/.X11-unix/X1: No such file or directory
connect /tmp/.X11-unix/X1: No such file or directory
[OPENCL]:Found suitable OpenCL device [Tahiti] with 3183306624 bytes of GPU memory
ℹ 23:51:24|ethminer Connecting to stratum server daggerhashimoto.usa.nicehash.com:3353
ℹ 23:51:24|stratum Connected to stratum server daggerhashimoto.usa.nicehash.com : 3353
ℹ 23:51:24|stratum Starting farm
ℹ 23:51:24|stratum Extranonce set to 0339e6
ℹ 23:51:24|stratum Subscribed to stratum server
ℹ 23:51:25|stratum Authorized worker XXXX.xxxx
ℹ 23:51:25|stratum Difficulty set to 1
ℹ 23:51:25|stratum Received new job #0000000b57dd03f1
ℹ 23:51:25|openclminer0 set work; seed: #2228076c, target: #00000000ffff
ℹ 23:51:25|openclminer0 Initialising miner...
m 23:51:26|ethminer Mining on PoWhash #1df80db5 : 0.00MH/s [A0+0:R0+0:F0]
[OPENCL]:Using platform: AMD Accelerated Parallel Processing
[OPENCL]:Using device: Tahiti(OpenCL 1.2 AMD-APP (1912.5))
[OPENCL]:Printing program log
[OPENCL]:
[OPENCL]:Creating cache buffer
[OPENCL]:Creating DAG buffer
[OPENCL]:Loading kernels
[OPENCL]:Writing cache buffer
[OPENCL]:Creating buffer for header.
[OPENCL]:Creating mining buffer 0
[OPENCL]:Creating mining buffer 1
[OPENCL]:Generating DAG data
OPENCL#0: 0%
OPENCL#0: 1%
OPENCL#0: 2%
OPENCL#0: 2%
OPENCL#0: 3%
OPENCL#0: 4%
OPENCL#0: 5%
OPENCL#0: 5%
OPENCL#0: 6%
OPENCL#0: 7%
OPENCL#0: 8%
m 23:51:28|ethminer Mining on PoWhash #1df80db5 : 0.00MH/s [A0+0:R0+0:F0]
OPENCL#0: 8%
OPENCL#0: 9%
OPENCL#0: 10%
OPENCL#0: 11%
OPENCL#0: 12%
OPENCL#0: 12%
OPENCL#0: 13%
OPENCL#0: 14%
OPENCL#0: 15%
OPENCL#0: 15%
OPENCL#0: 16%
OPENCL#0: 17%
OPENCL#0: 18%
OPENCL#0: 18%
OPENCL#0: 19%
OPENCL#0: 20%
OPENCL#0: 21%
OPENCL#0: 22%
OPENCL#0: 22%
OPENCL#0: 23%
OPENCL#0: 24%
OPENCL#0: 25%
OPENCL#0: 25%
OPENCL#0: 26%
OPENCL#0: 27%
OPENCL#0: 28%
OPENCL#0: 28%
m 23:51:30|ethminer Mining on PoWhash #1df80db5 : 0.00MH/s [A0+0:R0+0:F0]
OPENCL#0: 29%
OPENCL#0: 30%
OPENCL#0: 31%
OPENCL#0: 32%
OPENCL#0: 32%
OPENCL#0: 33%
OPENCL#0: 34%
OPENCL#0: 35%
OPENCL#0: 35%
OPENCL#0: 36%
OPENCL#0: 37%
OPENCL#0: 38%
OPENCL#0: 38%
OPENCL#0: 39%
OPENCL#0: 40%
OPENCL#0: 41%
OPENCL#0: 42%
OPENCL#0: 42%
OPENCL#0: 43%
OPENCL#0: 44%
OPENCL#0: 45%
OPENCL#0: 45%
OPENCL#0: 46%
OPENCL#0: 47%
OPENCL#0: 48%
OPENCL#0: 48%
m 23:51:32|ethminer Mining on PoWhash #1df80db5 : 0.00MH/s [A0+0:R0+0:F0]
OPENCL#0: 49%
OPENCL#0: 50%
OPENCL#0: 51%
OPENCL#0: 52%
OPENCL#0: 52%
OPENCL#0: 53%
OPENCL#0: 54%
OPENCL#0: 55%
OPENCL#0: 55%
OPENCL#0: 56%
OPENCL#0: 57%
OPENCL#0: 58%
OPENCL#0: 58%
OPENCL#0: 59%
OPENCL#0: 60%
OPENCL#0: 61%
OPENCL#0: 62%
OPENCL#0: 62%
OPENCL#0: 63%
OPENCL#0: 64%
OPENCL#0: 65%
OPENCL#0: 65%
OPENCL#0: 66%
OPENCL#0: 67%
OPENCL#0: 68%
OPENCL#0: 68%
OPENCL#0: 69%
m 23:51:34|ethminer Mining on PoWhash #1df80db5 : 0.00MH/s [A0+0:R0+0:F0]
OPENCL#0: 70%
OPENCL#0: 71%
OPENCL#0: 72%
OPENCL#0: 72%
OPENCL#0: 73%
OPENCL#0: 74%
OPENCL#0: 75%
OPENCL#0: 75%
OPENCL#0: 76%
OPENCL#0: 77%
OPENCL#0: 78%
OPENCL#0: 78%
OPENCL#0: 79%
OPENCL#0: 80%
OPENCL#0: 81%
OPENCL#0: 82%
OPENCL#0: 82%
OPENCL#0: 83%
OPENCL#0: 84%
OPENCL#0: 85%
OPENCL#0: 85%
OPENCL#0: 86%
OPENCL#0: 87%
OPENCL#0: 88%
OPENCL#0: 88%
OPENCL#0: 89%
m 23:51:36|ethminer Mining on PoWhash #1df80db5 : 0.00MH/s [A0+0:R0+0:F0]
OPENCL#0: 90%
OPENCL#0: 91%
OPENCL#0: 92%
OPENCL#0: 92%
OPENCL#0: 93%
OPENCL#0: 94%
OPENCL#0: 95%
OPENCL#0: 95%
OPENCL#0: 96%
OPENCL#0: 97%
OPENCL#0: 98%
OPENCL#0: 98%
OPENCL#0: 99%
m 23:51:38|ethminer Mining on PoWhash #1df80db5 : 5.51MH/s [A0+0:R0+0:F0]
m 23:51:40|ethminer Mining on PoWhash #1df80db5 : 10.09MH/s [A0+0:R0+0:F0]
m 23:51:42|ethminer Mining on PoWhash #1df80db5 : 10.22MH/s [A0+0:R0+0:F0]
m 23:51:44|ethminer Mining on PoWhash #1df80db5 : 10.09MH/s [A0+0:R0+0:F0]
ℹ 23:51:44|stratum Received new job #0000000b57dd2618
ℹ 23:51:44|openclminer0 set work; seed: #2228076c, target: #00000000ffff
m 23:51:46|ethminer Mining on PoWhash #0d63eeba : 9.96MH/s [A0+0:R0+0:F0]
ℹ 23:51:46|stratum Received new job #0000000b57dd49ff
ℹ 23:51:46|openclminer0 set work; seed: #2228076c, target: #00000000ffff
m 23:51:48|ethminer Mining on PoWhash #a6517c59 : 9.97MH/s [A0+0:R0+0:F0]
ℹ 23:51:50|stratum Received new job #0000000b57dd709d
ℹ 23:51:50|openclminer0 set work; seed: #2228076c, target: #00000000ffff
m 23:51:50|ethminer Mining on PoWhash #ba90775b : 7.35MH/s [A0+0:R0+0:F0]
ℹ 23:51:51|stratum Received new job #0000000b57dd8c73
ℹ 23:51:51|openclminer0 set work; seed: #2228076c, target: #00000000ffff
m 23:51:52|ethminer Mining on PoWhash #dd8f17de : 9.61MH/s [A0+0:R0+0:F0]
m 23:51:54|ethminer Mining on PoWhash #dd8f17de : 10.22MH/s [A0+0:R0+0:F0]
m 23:51:56|ethminer Mining on PoWhash #dd8f17de : 10.22MH/s [A0+0:R0+0:F0]
ℹ 00:01:15|openclminer0 set work; seed: #2228076c, target: #00000001fffe
m 00:01:16|ethminer Mining on PoWhash #bd3df944 : 9.85MH/s [A0+0:R0+0:F0]
m 00:01:18|ethminer Mining on PoWhash #bd3df944 : 10.09MH/s [A0+0:R0+0:F0]
m 00:01:20|ethminer Mining on PoWhash #bd3df944 : 10.22MH/s [A0+0:R0+0:F0]
m 00:01:22|ethminer Mining on PoWhash #bd3df944 : 10.22MH/s [A0+0:R0+0:F0]
m 00:01:24|ethminer Mining on PoWhash #bd3df944 : 10.09MH/s [A0+0:R0+0:F0]
✘ 00:01:24|stratum Read response failed: End of file
ℹ 00:01:24|stratum Reconnecting in 3 seconds...
ℹ 00:01:27|stratum Connecting to stratum server daggerhashimoto.usa.nicehash.com:3353
ℹ 00:01:28|stratum Connected to stratum server daggerhashimoto.usa.nicehash.com : 3353
ℹ 00:01:28|stratum Extranonce set to 005dcb
ℹ 00:01:28|stratum Subscribed to stratum server
ℹ 00:01:28|stratum Authorized worker 1GTXRCpu7zAPZV2fpXG9s5rF3mteKHFcs4.white
ℹ 00:01:28|stratum Difficulty set to 1
ℹ 00:01:28|stratum Received new job #0000000b57e4b9c8
ℹ 00:01:28|openclminer0 set work; seed: #129656ac, target: #00000000ffff
ℹ 00:01:28|openclminer0 Initialising miner...
m 00:01:30|ethminer Mining on PoWhash #a11b9dc6 : 0.00MH/s [A0+0:R0+0:F0]
[OPENCL]:Using platform: AMD Accelerated Parallel Processing
[OPENCL]:Using device: Tahiti(OpenCL 1.2 AMD-APP (1912.5))
[OPENCL]:Printing program log
[OPENCL]:
[OPENCL]:Creating cache buffer
[OPENCL]:Creating DAG buffer
[OPENCL]:Loading kernels
[OPENCL]:Writing cache buffer
[OPENCL]:Creating buffer for header.
[OPENCL]:Creating mining buffer 0
[OPENCL]:Creating mining buffer 1
[OPENCL]:Generating DAG data
ℹ 00:01:30|stratum Received new job #0000000b57e4de5c
[OPENCL]:clEnqueueNDRangeKernel(-4)
[OPENCL]:clEnqueueNDRangeKernel(-4)
m 00:01:32|ethminer Mining on PoWhash #a11b9dc6 : 0.00MH/s [A0+0:R0+0:F0]
m 00:01:34|ethminer Mining on PoWhash #a11b9dc6 : 0.00MH/s [A0+0:R0+0:F0]
m 00:01:36|ethminer Mining on PoWhash #a11b9dc6 : 0.00MH/s [A0+0:R0+0:F0]
m 00:01:38|ethminer Mining on PoWhash #a11b9dc6 : 0.00MH/s [A0+0:R0+0:F0]
m 00:01:40|ethminer Mining on PoWhash #a11b9dc6 : 0.00MH/s [A0+0:R0+0:F0]
m 00:01:42|ethminer Mining on PoWhash #a11b9dc6 : 0.00MH/s [A0+0:R0+0:F0]
ℹ 00:01:42|stratum Received new job #0000000b57e50866
clinfo
Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.0 AMD-APP (1912.5)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Name: AMD Accelerated Parallel Processing
Number of devices: 2
Device Type: CL_DEVICE_TYPE_GPU
Vendor ID: 1002h
Board name:
Device Topology: PCI[ B#1, D#0, F#0 ]
Max compute units: 28
Max work items dimensions: 3
Max work items[0]: 256
Max work items[1]: 256
Max work items[2]: 256
Max work group size: 256
Preferred vector width char: 4
Preferred vector width short: 2
Preferred vector width int: 1
Preferred vector width long: 1
Preferred vector width float: 1
Preferred vector width double: 1
Native vector width char: 4
Native vector width short: 2
Native vector width int: 1
Native vector width long: 1
Native vector width float: 1
Native vector width double: 1
Max clock frequency: 850Mhz
Address bits: 32
Max memory allocation: 2205597696
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 8
Max image 2D width: 16384
Max image 2D height: 16384
Max image 3D width: 2048
Max image 3D height: 2048
Max image 3D depth: 2048
Max samplers within kernel: 16
Max size of kernel argument: 1024
Alignment (bits) of base address: 2048
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: No
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 64
Cache size: 16384
Global memory size: 3183306624
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Scratchpad
Local memory size: 32768
Max pipe arguments: 0
Max pipe active reservations: 0
Max pipe packet size: 0
Max global variable size: 0
Max global variable preferred total size: 0
Max read/write image args: 0
Max on device events: 0
Queue on device max size: 0
Max on device queues: 0
Queue on device preferred size: 0
SVM capabilities:
Coarse grain buffer: No
Fine grain buffer: No
Fine grain system: No
Atomics: No
Preferred platform atomic alignment: 0
Preferred global atomic alignment: 0
Preferred local atomic alignment: 0
Kernel Preferred work group size multiple: 64
Error correction support: 0
Unified memory for Host and Device: 0
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: No
Queue on Host properties:
Out-of-Order: No
Profiling : Yes
Queue on Device properties:
Out-of-Order: No
Profiling : No
Platform ID: 0x7f29dbd92a18
Name: Tahiti
Vendor: Advanced Micro Devices, Inc.
Device OpenCL C version: OpenCL C 1.2
Driver version: 1912.5 (VM)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1912.5)
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event
Device Type: CL_DEVICE_TYPE_CPU
Vendor ID: 1002h
Board name:
Max compute units: 4
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 1024
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 8
Preferred vector width double: 4
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 8
Native vector width double: 4
Max clock frequency: 1600Mhz
Address bits: 64
Max memory allocation: 2147483648
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 64
Max image 2D width: 8192
Max image 2D height: 8192
Max image 3D width: 2048
Max image 3D height: 2048
Max image 3D depth: 2048
Max samplers within kernel: 16
Max size of kernel argument: 4096
Alignment (bits) of base address: 1024
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 64
Cache size: 32768
Global memory size: 8197476352
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Global
Local memory size: 32768
Max pipe arguments: 16
Max pipe active reservations: 16
Max pipe packet size: 2147483648
Max global variable size: 1879048192
Max global variable preferred total size: 1879048192
Max read/write image args: 64
Max on device events: 0
Queue on device max size: 0
Max on device queues: 0
Queue on device preferred size: 0
SVM capabilities:
Coarse grain buffer: No
Fine grain buffer: No
Fine grain system: No
Atomics: No
Preferred platform atomic alignment: 0
Preferred global atomic alignment: 0
Preferred local atomic alignment: 0
Kernel Preferred work group size multiple: 1
Error correction support: 0
Unified memory for Host and Device: 1
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue on Host properties:
Out-of-Order: No
Profiling : Yes
Queue on Device properties:
Out-of-Order: No
Profiling : No
Platform ID: 0x7f29dbd92a18
Name: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
Vendor: GenuineIntel
Device OpenCL C version: OpenCL C 1.2
Driver version: 1912.5 (sse2,avx)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1912.5)
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_spir cl_khr_gl_event
My PC is Ubuntu 16.04 and AMD RX470.
It is always crashed as following while ethminer is running.
[OPENCL]:Generating DAG data
OPENCL#0: 0%
...
OPENCL#0: 99%
Would you please give me some help to solve it?
Thanks a lot.
CPU mining is no longer supported in this miner. Use -G (opencl) or -U (cuda) flag to select GPU platform.
I on past mine cpu with this software , why i cant anymore ?
When can i found a old version of this software ?
genoil miner works with the same settings.
Found suitable OpenCL device [Tonga] with 3221225472 bytes of GPU memory
i 02:16:39|main Connecting to stratum server eu1.ethermine.org:4444
i 02:16:39|stratum Connected to stratum server eu1.ethermine.org : 4444
i 02:16:39|stratum Starting farm
i 02:16:39|stratum Subscribed to stratum server
i 02:16:39|stratum Authorized worker 0xeFD56742Cb1cB724d2BB0e2B9D1Fe03F6389Df2f.owl2
i 02:16:39|stratum Received new job #82df85e1
i 02:16:39|openclminer0 set work; seed: #2228076c, target: #0000000112e0
i 02:16:39|openclminer0 Initialising miner...
m 02:16:41|main Mining on PoWhash #82df85e1 : 0.00MH/s [A0+0:R0+0:F0]
m 02:16:43|main Mining on PoWhash #82df85e1 : 0.00MH/s [A0+0:R0+0:F0]
Using platform: AMD Accelerated Parallel Processing
Using device: Tonga(OpenCL 1.2 AMD-APP (2348.3))
Using both -S and -FS, on unavailability of the -S address, it switches to -FS. However, it never tries to switch back, even if -FS becomes unavailable.
Ideally, -S should be checked regularily and switched back to when it becomes available, as it can be considered the preferred node.
This is a bug of the original code, any chance of getting a fix?
I have a MSI Z270 SLI Plus with G4400, when I only had 2 GTX 1070, it would mine fine, now that I added another 4, ethminer starts very slow, and I can see 100% cpu utilization being the issue. Eventually it mines, but the console is extremely laggy.
I tried multiple versions (all the way back to genoils), and they all have the problem. I also found some threads from people complaining about the same problem, but no solution.
When using claymore, the cpu usage stays around 1%, and it mines fine, but I want to give the latest ethminer a try, as it should provide some nice optimization gains :)
any ideas?
Hi,
I would Like to test my Nvidia Quadro Plex 2200 S4
It has internal 4xFX5800 with Compute 1.3 and OpenCl 1.0 support on linux.
What I've to do to get the Code running for OpenCl 1.0?
I did this:
https://pastebin.com/aGSAqVg2
Is it enough? Or are there more things I've to adapt?
With a singe FX5800 and the patch up there I get:
m 19:03:24|ethminer Mining on PoWhash #0aab6bd8 : 2.75MH/s [A0+0:R0+0:F0]
Seems slow or isn't it?
I'm attempting to build ethminer on Ubuntu 17.04. New to Linux and command line. Reading up on as much as I can, but I'm struggling to find out what to do to resolve this error.
When I run cmake ..
I receive this error: https://pastebin.com/embed_js/iXqCNmQE
Read the wiki page and looked at the log file but since I am inexperienced, I can't tell how to solve. Do I need to clean up anything from previous previous install attempts and if so, how would I do that?
Also found Found ruslo/hunter#539. Reply by xsacha says "Solution is to use a toolchain that sets fPIC." Found this: https://cmake.org/Wiki/CMake_Cross_Compiling. Do I need to make a toolchain file for cmake to prevent these errors? How do I learn how to do that?
Thanks for any assistance.
I tried the new release on my rig with no monitor (8 x 1060 3GB, 8GB RAM and Celeron CPU) and after ca. 10 minutes it shuts down the whole miner and teamviewer disconnects ... I have no idea whats going on ...
theres an error related to cmake/HunterGate.comke:329 (hunter_gate_internal_error). I left an issue with ruslo and he suggested I tried swapping out a basic CMakeLists.txt, but I havent had any success yet. Any idea what I'm doing wrong or what the problem might be? Thank you so much!
Heres the error from cmake:
[hunter *** DEBUG *** 2017-06-13T09:08:42] HUNTER_ROOT set using SYSTEMDRIVE environment variable
[hunter *** DEBUG *** 2017-06-13T09:08:42] HUNTER_ROOT: C:/.hunter
[hunter *** DEBUG *** 2017-06-13T09:08:42] Locking directory: C:/.hunter/_Base/Download/Hunter/0.18.57/435b09a
[hunter *** DEBUG *** 2017-06-13T09:08:42] Lock done
[hunter *** DEBUG *** 2017-06-13T09:08:42] Run generate
CMake Error at CMakeLists.txt:2 (project):
Failed to run MSBuild command:
MSBuild.exe
to get the value of VCTargetsPath:
-- Configuring incomplete, errors occurred!
See also "C:/.hunter/_Base/Download/Hunter/0.18.57/435b09a/Build/CMakeFiles/CMakeOutput.log".
[hunter ** INTERNAL **] Configure project failed
[hunter ** INTERNAL **] [Directory:E:/ETH/CMAKE ETHMINER/ethminer-master]
CMake Error at cmake/HunterGate.cmake:82 (message):
Call Stack (most recent call first):
cmake/HunterGate.cmake:92 (hunter_gate_wiki)
cmake/HunterGate.cmake:329 (hunter_gate_internal_error)
cmake/HunterGate.cmake:498 (hunter_gate_download)
CMakeLists.txt:10 (HunterGate)
Configuring incomplete, errors occurred!
I am trying to compile the project with CUDA support but i can't it throws me the following error:
I think it's because in Visual Studio 2017 they changed the bin directory
Project "C:\ethminer\build\ALL_BUILD.vcxproj" (1) is building "C:\ethminer\build\libethash-
cuda\ethash-cuda.vcxproj" (6) on node 1 (default targets).
PrepareForBuild:
Creating directory "ethash-cuda.dir\Debug".
Creating directory "C:\ethminer\build\libethash-cuda\Debug".
Creating directory "ethash-cuda.dir\Debug\ethash-cuda.tlog".
InitializeBuildStatus:
Creating "ethash-cuda.dir\Debug\ethash-cuda.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ComputeCustomBuildOutput:
Creating directory "C:\ethminer\build\libethash-cuda\CMakeFiles\ethash-cuda.dir\Debug".
CustomBuild:
Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/Debug/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.obj
CUSTOMBUILD : nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targe
ts to suppress warning). [C:\ethminer\build\libethash-cuda\ethash-cuda.vcxproj]
CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.obj.Debug.cmake:222 (message):
Error generating
C:/ethminer/build/libethash-cuda/CMakeFiles/ethash-cuda.dir//Debug/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.objFailed to run C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/bin (The system cannot find the file specified.
).
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1
. [C:\ethminer\build\libethash-cuda\ethash-cuda.vcxproj]
Done Building Project "C:\ethminer\build\libethash-cuda\ethash-cuda.vcxproj" (default targets) -- FAILED.
Have a 780 TI. Build failed.
`[ 0%] Built target BuildInfo.h
[ 26%] Built target devcore
[ 43%] Built target ethash
[ 53%] Built target ethash-cl
[ 56%] Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_61'
CMake Error at ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o.cmake:207 (message):
Error generating
/home/judas/Code/ethminer/build/libethash-cuda/CMakeFiles/ethash-cuda.dir//./ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
libethash-cuda/CMakeFiles/ethash-cuda.dir/build.make:63: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o' failed
make[2]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o] Error 1
CMakeFiles/Makefile2:320: recipe for target 'libethash-cuda/CMakeFiles/ethash-cuda.dir/all' failed
make[1]: *** [libethash-cuda/CMakeFiles/ethash-cuda.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
`
/usr/include/c++/5/tuple: In static member function ‘static constexpr unsigned int std::__tuple_compare<_Tp, _Up, __i, __size>::__eq(const _Tp&, const _Up&)’:
/usr/include/c++/5/tuple:890:9: error: expected primary-expression before ‘attribute’
return bool(std::get<__i>(__t) == std::get<__i>(__u))
^
/usr/include/c++/5/tuple:890:9: error: expected ‘;’ before ‘attribute’
/usr/include/c++/5/tuple:890:9: error: expected primary-expression before ‘attribute’
/usr/include/c++/5/tuple: In static member function ‘static constexpr unsigned int std::__tuple_compare<_Tp, _Up, __i, __size>::__less(const _Tp&, const _Up&)’:
/usr/include/c++/5/tuple:897:9: error: expected primary-expression before ‘attribute’
return bool(std::get<__i>(__t) < std::get<__i>(__u))
^
/usr/include/c++/5/tuple:897:9: error: expected ‘;’ before ‘attribute’
/usr/include/c++/5/tuple:897:9: error: expected primary-expression before ‘attribute’
In file included from /usr/include/c++/5/functional:53:0,
from /usr/include/c++/5/mutex:42,
from /home/cuttie/ethminer/libethash-cl/CL/cl.hpp:542,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/usr/include/c++/5/typeinfo: In member function ‘__vector(4) __bool int std::type_info::before(const std::type_info&) const’:
/usr/include/c++/5/typeinfo:118:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return
: __builtin_strcmp (__name, __arg.__name) < 0; }
^
/usr/include/c++/5/typeinfo: In member function ‘__vector(4) __bool int std::type_info::operator==(const std::type_info&) const’:
/usr/include/c++/5/typeinfo:124:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return
__builtin_strcmp (__name, __arg.__name) == 0));
^
In file included from /usr/include/c++/5/mutex:42:0,
from /home/cuttie/ethminer/libethash-cl/CL/cl.hpp:542,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/usr/include/c++/5/functional: At global scope:
/usr/include/c++/5/functional:1683:49: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int std::_Function_base::_Base_manager<_Functor>::__stored_locally’ of non-integral type [-fpermissive]
&& (_M_max_align % alignof(_Functor) == 0));
^
/usr/include/c++/5/functional:1685:50: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter
typedef integral_constant<bool, __stored_locally> _Local_storage;
^
/usr/include/c++/5/functional: In member function ‘__vector(4) __bool int std::_Function_base::_M_empty() const’:
/usr/include/c++/5/functional:1834:37: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return
bool _M_empty() const { return !_M_manager; }
^
In file included from /home/cuttie/ethminer/libethash-cl/CL/cl.hpp:542:0,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/usr/include/c++/5/mutex: In member function ‘__vector(4) __bool int std::mutex::try_lock()’:
/usr/include/c++/5/mutex:146:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return
return !__gthread_mutex_trylock(&_M_mutex);
^
/usr/include/c++/5/mutex: In member function ‘__vector(4) __bool int std::recursive_mutex::try_lock()’:
/usr/include/c++/5/mutex:187:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return
return !_gthread_recursive_mutex_trylock(&M_mutex);
^
/usr/include/c++/5/mutex: In member function ‘vector(4) bool int std::timed_mutex::try_lock()’:
/usr/include/c++/5/mutex:273:48: error: cannot convert ‘bool’ to ‘vector(4) bool int’ in return
return !gthread_mutex_trylock(&M_mutex);
^
/usr/include/c++/5/mutex: In member function ‘vector(4) bool int std::recursive_timed_mutex::try_lock()’:
/usr/include/c++/5/mutex:326:58: error: cannot convert ‘bool’ to ‘vector(4) bool int’ in return
return !gthread_recursive_mutex_trylock(&M_mutex);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:567:11: error: expected identifier before ‘attribute’
using vector = std::vector<T, Alloc>;
^
In file included from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15:0,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:567:18: error: expected unqualified-id before ‘=’ token
using vector = std::vector<T, Alloc>;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:933:57: error: expected identifier before ‘<’ token
inline cl_int getInfoHelper(Func f, cl_uint name, vector<vector>* param, int)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:933:57: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In function ‘cl_int cl::detail::getInfoHelper(Func, cl_uint, vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:938:9: error: ‘param’ was not declared in this scope
if (param) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:941:9: error: expected primary-expression before ‘attribute’
vector<unsigned char*> binariesPointers(numBinaries);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:945:13: error: ‘binariesPointers’ was not declared in this scope
binariesPointers[i] = (param)[i].data();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:948:68: error: ‘binariesPointers’ was not declared in this scope
cl_int err = f(name, numBinaries * sizeof(unsigned char), binariesPointers.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:961:57: error: expected identifier before ‘<’ token
inline cl_int getInfoHelper(Func f, cl_uint name, vector* param, long)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:961:57: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In function ‘cl_int cl::detail::getInfoHelper(Func, cl_uint, vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:971:5: error: expected primary-expression before ‘attribute’
vector localData(elements);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:972:29: error: ‘localData’ was not declared in this scope
err = f(name, required, localData.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:976:9: error: ‘param’ was not declared in this scope
if (param) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:991:33: error: expected identifier before ‘<’ token
Func f, cl_uint name, vector* param, int, typename T::cl_type = 0)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:991:33: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:990:15: error: redefinition of ‘template<class Func, class T> cl_int cl::detail::getInfoHelper(Func, cl_uint, vector(4) int)’
inline cl_int getInfoHelper(
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:961:15: note: ‘template<class Func, class T> cl_int cl::detail::getInfoHelper(Func, cl_uint, vector(4) int)’ previously declared here
inline cl_int getInfoHelper(Func f, cl_uint name, vector* param, long)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In function ‘cl_int cl::detail::getInfoHelper(Func, cl_uint, cl::string*, long int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1033:9: error: expected primary-expression before ‘attribute’
vector value(required);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1034:33: error: ‘value’ was not declared in this scope
err = f(name, required, value.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1039:38: error: there are no arguments to ‘begin’ that depend on a template parameter, so a declaration of ‘begin’ must be available [-fpermissive]
param->assign(begin(value), prev(end(value)));
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1039:38: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1039:55: error: there are no arguments to ‘end’ that depend on a template parameter, so a declaration of ‘end’ must be available [-fpermissive]
param->assign(begin(value), prev(end(value)));
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In function ‘cl_int cl::detail::getInfoHelper(Func, cl_uint, cl::array<long unsigned int, N>*, long int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1059:5: error: expected primary-expression before ‘attribute’
vector<size_type> value(elements, 0);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1061:29: error: ‘value’ was not declared in this scope
err = f(name, required, value.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1117:58: error: expected unqualified-id before ‘attribute’
F(cl_device_info, CL_DEVICE_MAX_WORK_ITEM_SIZES, cl::vector<size_type>)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1310:13: note: in definition of macro ‘CL_HPP_DECLARE_PARAM_TRAITS’
typedef T param_type;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1313:1: note: in expansion of macro ‘CL_HPP_PARAM_NAME_INFO_1_0’
CL_HPP_PARAM_NAME_INFO_1_0(CL_HPP_DECLARE_PARAM_TRAITS)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1163:48: error: expected unqualified-id before ‘attribute’
F(cl_context_info, CL_CONTEXT_DEVICES, cl::vector)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1310:13: note: in definition of macro ‘CL_HPP_DECLARE_PARAM_TRAITS’
typedef T param_type;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1313:1: note: in expansion of macro ‘CL_HPP_PARAM_NAME_INFO_1_0’
CL_HPP_PARAM_NAME_INFO_1_0(CL_HPP_DECLARE_PARAM_TRAITS)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1164:51: error: expected unqualified-id before ‘attribute’
F(cl_context_info, CL_CONTEXT_PROPERTIES, cl::vector<cl_context_properties>)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1310:13: note: in definition of macro ‘CL_HPP_DECLARE_PARAM_TRAITS’
typedef T param_type;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1313:1: note: in expansion of macro ‘CL_HPP_PARAM_NAME_INFO_1_0’
CL_HPP_PARAM_NAME_INFO_1_0(CL_HPP_DECLARE_PARAM_TRAITS)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1201:48: error: expected unqualified-id before ‘attribute’
F(cl_program_info, CL_PROGRAM_DEVICES, cl::vector)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1310:13: note: in definition of macro ‘CL_HPP_DECLARE_PARAM_TRAITS’
typedef T param_type;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1313:1: note: in expansion of macro ‘CL_HPP_PARAM_NAME_INFO_1_0’
CL_HPP_PARAM_NAME_INFO_1_0(CL_HPP_DECLARE_PARAM_TRAITS)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1203:53: error: expected unqualified-id before ‘attribute’
F(cl_program_info, CL_PROGRAM_BINARY_SIZES, cl::vector<size_type>)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1310:13: note: in definition of macro ‘CL_HPP_DECLARE_PARAM_TRAITS’
typedef T param_type;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1313:1: note: in expansion of macro ‘CL_HPP_PARAM_NAME_INFO_1_0’
CL_HPP_PARAM_NAME_INFO_1_0(CL_HPP_DECLARE_PARAM_TRAITS)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1204:49: error: expected unqualified-id before ‘attribute’
F(cl_program_info, CL_PROGRAM_BINARIES, cl::vector<cl::vector>)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1310:13: note: in definition of macro ‘CL_HPP_DECLARE_PARAM_TRAITS’
typedef T param_type;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1313:1: note: in expansion of macro ‘CL_HPP_PARAM_NAME_INFO_1_0’
CL_HPP_PARAM_NAME_INFO_1_0(CL_HPP_DECLARE_PARAM_TRAITS)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1263:59: error: expected unqualified-id before ‘attribute’
F(cl_device_info, CL_DEVICE_PARTITION_PROPERTIES, cl::vector<cl_device_partition_property>)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1310:13: note: in definition of macro ‘CL_HPP_DECLARE_PARAM_TRAITS’
typedef T param_type;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1318:1: note: in expansion of macro ‘CL_HPP_PARAM_NAME_INFO_1_2’
CL_HPP_PARAM_NAME_INFO_1_2(CL_HPP_DECLARE_PARAM_TRAITS)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1264:53: error: expected unqualified-id before ‘attribute’
F(cl_device_info, CL_DEVICE_PARTITION_TYPE, cl::vector<cl_device_partition_property>)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1310:13: note: in definition of macro ‘CL_HPP_DECLARE_PARAM_TRAITS’
typedef T param_type;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1318:1: note: in expansion of macro ‘CL_HPP_PARAM_NAME_INFO_1_2’
CL_HPP_PARAM_NAME_INFO_1_2(CL_HPP_DECLARE_PARAM_TRAITS)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1583:39: error: expected ‘,’ or ‘...’ before ‘<’ token
static cl_uint getVersion(const vector &versionInfo)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In function ‘cl_uint cl::detail::getVersion(__vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1588:11: error: ‘versionInfo’ was not declared in this scope
while(versionInfo[index] != '.' ) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1594:11: error: ‘versionInfo’ was not declared in this scope
while(versionInfo[index] != ' ' && versionInfo[index] != '\0') {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In function ‘cl_uint cl::detail::getPlatformVersion(cl_platform_id)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1607:5: error: expected primary-expression before ‘attribute’
vector versionInfo(size);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1608:60: error: ‘versionInfo’ was not declared in this scope
clGetPlatformInfo(platform, CL_PLATFORM_VERSION, size, versionInfo.data(), &size);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In function ‘cl_uint cl::detail::getContextPlatformVersion(cl_context)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1627:5: error: expected primary-expression before ‘attribute’
vector<cl_device_id> devices(size/sizeof(cl_device_id));
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1628:57: error: ‘devices’ was not declared in this scope
clGetContextInfo(context, CL_CONTEXT_DEVICES, size, devices.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1838:61: error: expected identifier before ‘<’ token
friend inline cl_int getInfoHelper(Func, cl_uint, vector, int, typename U::cl_type);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1838:61: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In static member function ‘static __vector(4) __bool int cl::detail::Wrapper<_cl_device_id>::isReferenceCountable(cl_device_id)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1742:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization
bool retVal = false;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1748:24: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment
retVal = true;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::detail::Wrapper<_cl_device_id*>::Wrapper()’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1759:57: error: cannot convert ‘bool’ to ‘__vector(4) bool int’ in initialization
Wrapper() : object(NULL), referenceCountable(false)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::detail::Wrapper<_cl_device_id*>::Wrapper(_cl_device_id* const&, __vector(4) __bool int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1765:34: error: cannot convert ‘bool’ to ‘__vector(4) _bool int’ in initialization
referenceCountable(false)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1769:25: error: could not convert ‘retainObject’ from ‘__vector(4) __bool int’ to ‘bool’
if (retainObject) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::detail::Wrapper<_cl_device_id*>::Wrapper(cl::detail::Wrapper<_cl_device_id*>&&)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1791:33: error: cannot convert ‘bool’ to ‘__vector(4) _bool int’ in assignment
rhs.referenceCountable = false;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl::detail::Wrapper<_cl_device_id*>& cl::detail::Wrapper<_cl_device_id*>::operator=(cl::detail::Wrapper<_cl_device_id*>&&)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1812:37: error: cannot convert ‘bool’ to ‘__vector(4) _bool int’ in assignment
rhs.referenceCountable = false;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::detail::Wrapper<_cl_device_id*>::retain() const’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1842:32: error: could not convert ‘((((cl::detail::Wrapper<_cl_device_id*>::cl_type)((const cl::detail::Wrapper<cl_device_id*>)this)->cl::detail::Wrapper<_cl_device_id>::object) != 0u) ? (((__vector(4) __bool int)((const cl::detail::Wrapper<cl_device_id*>)this)->cl::detail::Wrapper<_cl_device_id>::referenceCountable) != (__vector(4) __bool int){0u, 0u, 0u, 0u}) : (__vector(4) int){0, 0, 0, 0})’ from ‘vector(4) int’ to ‘bool’
if( object != nullptr && referenceCountable ) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::detail::Wrapper<_cl_device_id*>::release() const’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1852:32: error: could not convert ‘((((cl::detail::Wrapper<_cl_device_id*>::cl_type)((const cl::detail::Wrapper<cl_device_id*>)this)->cl::detail::Wrapper<_cl_device_id>::object) != 0u) ? (((__vector(4) __bool int)((const cl::detail::Wrapper<cl_device_id*>)this)->cl::detail::Wrapper<_cl_device_id>::referenceCountable) != (__vector(4) __bool int){0u, 0u, 0u, 0u}) : (__vector(4) int){0, 0, 0, 0})’ from ‘vector(4) int’ to ‘bool’
if (object != nullptr && referenceCountable) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1877:28: error: expected type-specifier before ‘<’ token
using BuildLogType = vector<std::pair<cl::Device, typename detail::param_traits<detail::cl_program_build_info, CL_PROGRAM_BUILD_LOG>::param_type>>;
^
In file included from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15:0,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1885:5: error: ‘BuildLogType’ does not name a type
BuildLogType buildLogs;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1887:55: error: ‘BuildLogType’ does not name a type
BuildError(cl_int err, const char * errStr, const BuildLogType &vec) : Error(err, errStr), buildLogs(vec)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1891:5: error: ‘BuildLogType’ does not name a type
BuildLogType getBuildLog() const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::BuildError::BuildError(cl_int, const char*, const int&)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1887:96: error: class ‘cl::BuildError’ does not have any field named ‘buildLogs’
BuildError(cl_int err, const char * errStr, const BuildLogType &vec) : Error(err, errStr), buildLogs(vec)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1900:15: error: ‘BuildLogType’ does not name a type
const BuildLogType &buildLogs)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2102:15: error: expected identifier before ‘<’ token
vector* devices)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2102:15: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2002:69: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Device(const cl_device_id &device, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::Device::createSubDevices(const cl_device_partition_property*, _vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2110:9: error: expected primary-expression before ‘attribute’
vector<cl_device_id> ids(n);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2111:58: error: ‘ids’ was not declared in this scope
err = clCreateSubDevices(object, properties, n, ids.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2118:13: error: ‘devices’ was not declared in this scope
if (devices) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2340:15: error: expected identifier before ‘<’ token
vector* devices) const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2340:15: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2467:15: error: expected identifier before ‘<’ token
vector* platforms)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2467:15: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2274:75: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Platform(const cl_platform_id &platform, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In static member function ‘static void cl::Platform::makeDefault()’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2226:13: error: expected primary-expression before ‘attribute’
vector<cl_platform_id> ids(n);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2227:41: error: ‘ids’ was not declared in this scope
err = ::clGetPlatformIDs(n, ids.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::Platform::getDevices(cl_device_type, _vector(4) int) const’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2343:13: error: ‘devices’ was not declared in this scope
if( devices == NULL ) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2351:9: error: expected primary-expression before ‘attribute’
vector<cl_device_id> ids(n);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2352:50: error: ‘ids’ was not declared in this scope
err = ::clGetDeviceIDs(object, type, n, ids.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2361:13: error: ‘devices’ was not declared in this scope
if (devices) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In static member function ‘static cl_int cl::Platform::get(__vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2471:13: error: ‘platforms’ was not declared in this scope
if( platforms == NULL ) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2480:9: error: expected primary-expression before ‘attribute’
vector<cl_platform_id> ids(n);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2481:37: error: ‘ids’ was not declared in this scope
err = ::clGetPlatformIDs(n, ids.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2486:13: error: ‘platforms’ was not declared in this scope
if (platforms) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2644:21: error: expected ‘,’ or ‘...’ before ‘<’ token
const vector& devices,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2894:15: error: expected identifier before ‘<’ token
vector* formats) const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2894:15: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2850:69: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Context(const cl_context& context, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Context::Context(__vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2656:32: error: ‘devices’ was not declared in this scope
size_type numDevices = devices.size();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2657:9: error: expected primary-expression before ‘attribute’
vector<cl_device_id> deviceIDs(numDevices);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2660:13: error: ‘deviceIDs’ was not declared in this scope
deviceIDs[deviceIndex] = (devices[deviceIndex])();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2664:13: error: ‘properties’ was not declared in this scope
properties, (cl_uint) numDevices,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2665:13: error: ‘deviceIDs’ was not declared in this scope
deviceIDs.data(),
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2666:13: error: ‘notifyFptr’ was not declared in this scope
notifyFptr, data, &error);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2666:25: error: ‘data’ was not declared in this scope
notifyFptr, data, &error);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2669:13: error: ‘err’ was not declared in this scope
if (err != NULL) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Context::Context(cl_device_type, cl_context_properties*, void ()(const char, const void*, cl::size_type, void*), void*, cl_int*)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2722:13: error: expected primary-expression before ‘attribute’
vector platforms;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2723:36: error: ‘platforms’ was not declared in this scope
error = Platform::get(&platforms);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2736:17: error: expected primary-expression before ‘attribute’
vector devices;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2742:60: error: ‘devices’ was not declared in this scope
error = platforms[i].getDevices(type, &devices);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2758:21: error: ‘devices’ was not declared in this scope
if (devices.size() > 0) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::Context::getSupportedImageFormats(cl_mem_flags, cl_mem_object_type, __vector(4) int) const’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2898:14: error: ‘formats’ was not declared in this scope
if (!formats) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2914:13: error: expected primary-expression before ‘attribute’
vector value(numEntries);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2920:35: error: ‘value’ was not declared in this scope
(cl_image_format*)value.data(),
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2926:13: error: ‘formats’ was not declared in this scope
formats->assign(begin(value), end(value));
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2926:40: error: ‘begin’ was not declared in this scope
formats->assign(begin(value), end(value));
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2926:40: note: suggested alternative:
In file included from /usr/include/c++/5/string:51:0,
from /usr/include/c++/5/bits/locale_classes.h:40,
from /usr/include/c++/5/bits/ios_base.h:41,
from /usr/include/c++/5/ios:42,
from /usr/include/c++/5/istream:38,
from /usr/include/c++/5/fstream:38,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:28:
/usr/include/c++/5/bits/range_access.h:87:5: note: ‘std::begin’
begin(_Tp (&__arr)[_Nm])
^
In file included from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15:0,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2926:52: error: ‘end’ was not declared in this scope
formats->assign(begin(value), end(value));
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2926:52: note: suggested alternative:
In file included from /usr/include/c++/5/string:51:0,
from /usr/include/c++/5/bits/locale_classes.h:40,
from /usr/include/c++/5/bits/ios_base.h:41,
from /usr/include/c++/5/ios:42,
from /usr/include/c++/5/istream:38,
from /usr/include/c++/5/fstream:38,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:28:
/usr/include/c++/5/bits/range_access.h:97:5: note: ‘std::end’
end(_Tp (&__arr)[Nm])
^
In file included from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15:0,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2930:13: error: ‘formats’ was not declared in this scope
formats->clear();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In static member function ‘static void cl::Device::makeDefault()’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2955:60: error: no matching function for call to ‘cl::Context::getInfo()’
default = context.getInfo<CL_CONTEXT_DEVICES>()[0];
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2866:12: note: candidate: template cl_int cl::Context::getInfo(cl_context_info, T*) const
cl_int getInfo(cl_context_info name, T* param) const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2866:12: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2876:5: note: candidate: template typename cl::detail::param_traits<cl::detail::cl_context_info, name>::param_type cl::Context::getInfo(cl_int*) const
getInfo(cl_int* err = NULL) const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2876:5: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In substitution of ‘template typename cl::detail::param_traits<cl::detail::cl_context_info, name>::param_type cl::Context::getInfo(cl_int*) const [with int name = 4225]’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2955:60: required from here
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2876:5: error: no type named ‘param_type’ in ‘struct cl::detail::param_traits<cl::detail::cl_context_info, 4225>’
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:3088:31: error: expected ‘,’ or ‘...’ before ‘<’ token
waitForEvents(const vector& events)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2992:63: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Event(const cl_event& event, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In static member function ‘static cl_int cl::Event::waitForEvents(__vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:3092:27: error: ‘events’ was not declared in this scope
(cl_uint) events.size(), (events.size() > 0) ? (cl_event*)&events.front() : NULL),
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:3145:27: error: expected ‘,’ or ‘...’ before ‘<’ token
WaitForEvents(const vector& events)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In function ‘cl_int cl::WaitForEvents(__vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:3149:23: error: ‘events’ was not declared in this scope
(cl_uint) events.size(), (events.size() > 0) ? (cl_event*)&events.front() : NULL),
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:3783:63: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Buffer(const cl_mem& buffer, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4008:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit BufferGL(const cl_mem& buffer, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4105:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit BufferRenderGL(const cl_mem& buffer, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4176:61: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Image(const cl_mem& image, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4296:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Image1D(const cl_mem& image1D, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4384:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Image1DBuffer(const cl_mem& image1D, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4472:73: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Image1DArray(const cl_mem& imageArray, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4711:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Image2D(const cl_mem& image2D, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Image2D::Image2D(const cl::Context&, cl_mem_flags, cl::ImageFormat, cl::size_type, cl::size_type, cl::size_type, void*, cl_int*)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4544:28: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment
useCreateImage = (version >= 0x10002); // OpenCL 1.2 or above
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4553:27: error: could not convert ‘useCreateImage’ from ‘__vector(4) __bool int’ to ‘bool’
if (useCreateImage)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4579:28: error: could not convert ‘(useCreateImage == (__vector(4) __bool int){0u, 0u, 0u, 0u})’ from ‘__vector(4) int’ to ‘bool’
if (!useCreateImage)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4807:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Image2DGL(const cl_mem& image, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4905:73: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Image2DArray(const cl_mem& imageArray, bool retainObject = false) : Image(imageArray, retainObject) { }
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5036:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Image3D(const cl_mem& image3D, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Image3D::Image3D(const cl::Context&, cl_mem_flags, cl::ImageFormat, cl::size_type, cl::size_type, cl::size_type, cl::size_type, cl::size_type, void*, cl_int*)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4975:28: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment
useCreateImage = (version >= 0x10002); // OpenCL 1.2 or above
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:4984:27: error: could not convert ‘useCreateImage’ from ‘__vector(4) __bool int’ to ‘bool’
if (useCreateImage)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5012:28: error: could not convert ‘(useCreateImage == (__vector(4) __bool int){0u, 0u, 0u, 0u})’ from ‘__vector(4) int’ to ‘bool’
if (!useCreateImage)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5128:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Image3DGL(const cl_mem& image, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5213:63: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit ImageGL(const cl_mem& image, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5459:69: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Sampler(const cl_sampler& sampler, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5684:66: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Kernel(const cl_kernel& kernel, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5979:19: error: expected unqualified-id before ‘<’ token
typedef vector<vector> Binaries;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5980:19: error: expected unqualified-id before ‘<’ token
typedef vector Sources;
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6067:15: error: ‘Sources’ does not name a type
const Sources& sources,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6103:15: error: ‘Sources’ does not name a type
const Sources& sources,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6153:21: error: expected ‘,’ or ‘...’ before ‘<’ token
const vector& devices,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6217:21: error: expected ‘,’ or ‘...’ before ‘<’ token
const vector& devices,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6215:5: error: ‘cl::Program::Program(const cl::Context&, __vector(4) int)’ cannot be overloaded
Program(
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6151:5: error: with ‘cl::Program::Program(const cl::Context&, __vector(4) int)’
Program(
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6291:21: error: expected ‘,’ or ‘...’ before ‘<’ token
const vector& devices,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6402:11: error: expected unqualified-id before ‘<’ token
vector<std::pair<cl::Device, typename detail::param_traits<detail::cl_program_build_info, name>::param_type>>
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6440:32: error: expected identifier before ‘<’ token
cl_int createKernels(vector* kernels)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6440:32: error: expected ‘,’ or ‘...’ before ‘<’ token
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5988:22: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
bool build = false,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6028:22: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
bool build = false,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6253:69: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’
explicit Program(const cl_program& program, bool retainObject = false) :
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Program::Program(const string&, __vector(4) __bool int, cl_int*)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6003:33: error: could not convert ‘((error == 0) ? (build != (__vector(4) __bool int){0u, 0u, 0u, 0u}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’
if (error == CL_SUCCESS && build) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6017:100: error: no matching function for call to ‘cl::Program::getBuildInfo()’
detail::buildErrHandler(error, __BUILD_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: candidate: template cl_int cl::Program::getBuildInfo(const cl::Device&, cl_program_build_info, T*) const
cl_int getBuildInfo(
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: candidate: template typename cl::detail::param_traits<cl::detail::cl_program_build_info, name>::param_type cl::Program::getBuildInfo(const cl::Device&, cl_int*) const
getBuildInfo(const Device& device, cl_int* err = NULL) const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6017:100: note: candidate expects 2 arguments, 0 provided
detail::buildErrHandler(error, __BUILD_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Program::Program(const cl::Context&, const string&, __vector(4) __bool int, cl_int*)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6041:33: error: could not convert ‘((error == 0) ? (build != (__vector(4) __bool int){0u, 0u, 0u, 0u}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’
if (error == CL_SUCCESS && build) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6054:100: error: no matching function for call to ‘cl::Program::getBuildInfo()’
detail::buildErrHandler(error, __BUILD_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: candidate: template cl_int cl::Program::getBuildInfo(const cl::Device&, cl_program_build_info, T*) const
cl_int getBuildInfo(
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: candidate: template typename cl::detail::param_traits<cl::detail::cl_program_build_info, name>::param_type cl::Program::getBuildInfo(const cl::Device&, cl_int*) const
getBuildInfo(const Device& device, cl_int* err = NULL) const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6054:100: note: candidate expects 2 arguments, 0 provided
detail::buildErrHandler(error, __BUILD_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Program::Program(const int&, cl_int*)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6073:48: error: request for member ‘size’ in ‘sources’, which is of non-class type ‘const int’
const size_type n = (size_type)sources.size();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6075:9: error: expected primary-expression before ‘attribute’
vector<size_type> lengths(n);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6076:9: error: expected primary-expression before ‘attribute’
vector<const char*> strings(n);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6080:13: error: ‘strings’ was not declared in this scope
strings[i] = sources[(int)i].data();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6080:40: error: invalid types ‘const int[int]’ for array subscript
strings[i] = sources[(int)i].data();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6081:13: error: ‘lengths’ was not declared in this scope
lengths[i] = sources[(int)i].length();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6081:40: error: invalid types ‘const int[int]’ for array subscript
lengths[i] = sources[(int)i].length();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6089:36: error: ‘strings’ was not declared in this scope
context(), (cl_uint)n, strings.data(), lengths.data(), &error);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6089:52: error: ‘lengths’ was not declared in this scope
context(), (cl_uint)n, strings.data(), lengths.data(), &error);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Program::Program(const cl::Context&, const int&, cl_int*)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6108:48: error: request for member ‘size’ in ‘sources’, which is of non-class type ‘const int’
const size_type n = (size_type)sources.size();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6110:9: error: expected primary-expression before ‘attribute’
vector<size_type> lengths(n);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6111:9: error: expected primary-expression before ‘attribute’
vector<const char*> strings(n);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6115:13: error: ‘strings’ was not declared in this scope
strings[i] = sources[(int)i].data();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6115:40: error: invalid types ‘const int[int]’ for array subscript
strings[i] = sources[(int)i].data();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6116:13: error: ‘lengths’ was not declared in this scope
lengths[i] = sources[(int)i].length();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6116:40: error: invalid types ‘const int[int]’ for array subscript
lengths[i] = sources[(int)i].length();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6124:36: error: ‘strings’ was not declared in this scope
context(), (cl_uint)n, strings.data(), lengths.data(), &error);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6124:52: error: ‘lengths’ was not declared in this scope
context(), (cl_uint)n, strings.data(), lengths.data(), &error);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Program::Program(const cl::Context&, __vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6160:38: error: ‘devices’ was not declared in this scope
const size_type numDevices = devices.size();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6163:12: error: ‘binaries’ was not declared in this scope
if(binaries.size() != numDevices) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6166:17: error: ‘err’ was not declared in this scope
if (err != NULL) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6173:9: error: expected primary-expression before ‘attribute’
vector<size_type> lengths(numDevices);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6174:9: error: expected primary-expression before ‘attribute’
vector<const unsigned char*> images(numDevices);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6177:13: error: ‘images’ was not declared in this scope
images[i] = binaries[i].data();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6177:25: error: ‘binaries’ was not declared in this scope
images[i] = binaries[i].data();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6178:13: error: ‘lengths’ was not declared in this scope
lengths[i] = binaries[(int)i].size();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6187:9: error: expected primary-expression before ‘attribute’
vector<cl_device_id> deviceIDs(numDevices);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6189:13: error: ‘deviceIDs’ was not declared in this scope
deviceIDs[deviceIndex] = (devices[deviceIndex])();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6192:12: error: ‘binaryStatus’ was not declared in this scope
if(binaryStatus) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6198:13: error: ‘deviceIDs’ was not declared in this scope
deviceIDs.data(),
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6199:13: error: ‘lengths’ was not declared in this scope
lengths.data(), images.data(), (binaryStatus != NULL && numDevices > 0)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6199:29: error: ‘images’ was not declared in this scope
lengths.data(), images.data(), (binaryStatus != NULL && numDevices > 0)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6199:45: error: ‘binaryStatus’ was not declared in this scope
lengths.data(), images.data(), (binaryStatus != NULL && numDevices > 0)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6204:13: error: ‘err’ was not declared in this scope
if (err != NULL) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Program::Program(const cl::Context&, __vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6224:32: error: ‘devices’ was not declared in this scope
size_type numDevices = devices.size();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6225:9: error: expected primary-expression before ‘attribute’
vector<cl_device_id> deviceIDs(numDevices);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6227:13: error: ‘deviceIDs’ was not declared in this scope
deviceIDs[deviceIndex] = (devices[deviceIndex])();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6233:13: error: ‘deviceIDs’ was not declared in this scope
deviceIDs.data(),
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6234:13: error: ‘kernelNames’ was not declared in this scope
kernelNames.c_str(),
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6238:13: error: ‘err’ was not declared in this scope
if (err != NULL) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::Program::build(__vector(4) int) const’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6296:32: error: ‘devices’ was not declared in this scope
size_type numDevices = devices.size();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6297:9: error: expected primary-expression before ‘attribute’
vector<cl_device_id> deviceIDs(numDevices);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6300:13: error: ‘deviceIDs’ was not declared in this scope
deviceIDs[deviceIndex] = (devices[deviceIndex])();
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6307:13: error: ‘deviceIDs’ was not declared in this scope
deviceIDs.data(),
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6308:13: error: ‘options’ was not declared in this scope
options,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6309:13: error: ‘notifyFptr’ was not declared in this scope
notifyFptr,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6310:13: error: ‘data’ was not declared in this scope
data);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6312:108: error: no matching function for call to ‘cl::Program::getBuildInfo() const’
return detail::buildErrHandler(buildError, __BUILD_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: candidate: template cl_int cl::Program::getBuildInfo(const cl::Device&, cl_program_build_info, T*) const
cl_int getBuildInfo(
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: candidate: template typename cl::detail::param_traits<cl::detail::cl_program_build_info, name>::param_type cl::Program::getBuildInfo(const cl::Device&, cl_int*) const
getBuildInfo(const Device& device, cl_int* err = NULL) const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6312:108: note: candidate expects 2 arguments, 0 provided
return detail::buildErrHandler(buildError, __BUILD_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::Program::build(const char*, void ()(cl_program, void), void*) const’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6329:108: error: no matching function for call to ‘cl::Program::getBuildInfo() const’
return detail::buildErrHandler(buildError, __BUILD_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: candidate: template cl_int cl::Program::getBuildInfo(const cl::Device&, cl_program_build_info, T*) const
cl_int getBuildInfo(
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: candidate: template typename cl::detail::param_traits<cl::detail::cl_program_build_info, name>::param_type cl::Program::getBuildInfo(const cl::Device&, cl_int*) const
getBuildInfo(const Device& device, cl_int* err = NULL) const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6329:108: note: candidate expects 2 arguments, 0 provided
return detail::buildErrHandler(buildError, __BUILD_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::Program::compile(const char*, void ()(cl_program, void), void*) const’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6348:105: error: no matching function for call to ‘cl::Program::getBuildInfo() const’
return detail::buildErrHandler(error, __COMPILE_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: candidate: template cl_int cl::Program::getBuildInfo(const cl::Device&, cl_program_build_info, T*) const
cl_int getBuildInfo(
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6374:12: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: candidate: template typename cl::detail::param_traits<cl::detail::cl_program_build_info, name>::param_type cl::Program::getBuildInfo(const cl::Device&, cl_int*) const
getBuildInfo(const Device& device, cl_int* err = NULL) const
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6385:5: note: template argument deduction/substitution failed:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6348:105: note: candidate expects 2 arguments, 0 provided
return detail::buildErrHandler(error, __COMPILE_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>());
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::Program::createKernels(_vector(4) int)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6448:9: error: expected primary-expression before ‘attribute’
vector<cl_kernel> value(numKernels);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6451:34: error: ‘value’ was not declared in this scope
object, numKernels, value.data(), NULL);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6456:13: error: ‘kernels’ was not declared in this scope
if (kernels) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In function ‘cl::Program cl::linkProgram(cl::Program, cl::Program, const char*, void ()(cl_program, void), void*, cl_int*)’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6505:24: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘cl::Program::Program(_cl_program* const&, __vector(4) __bool int)’
return Program(prog);
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: At global scope:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6509:5: error: ‘cl::linkProgram’ declared as an ‘inline’ variable
vector inputPrograms,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6509:5: error: ‘cl::Program cl::linkProgram’ redeclared as different kind of symbol
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6472:16: note: previous declaration ‘cl::Program cl::linkProgram(cl::Program, cl::Program, const char*, void ()(cl_program, void), void*, cl_int*)’
inline Program linkProgram(
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6509:5: error: expected primary-expression before ‘attribute’
vector inputPrograms,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6510:5: error: expected primary-expression before ‘const’
const char* options = NULL,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6511:25: error: ‘notifyFptr’ was not declared in this scope
void (CL_CALLBACK * notifyFptr)(cl_program, void ) = NULL,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6511:47: error: expected primary-expression before ‘,’ token
void (CL_CALLBACK * notifyFptr)(cl_program, void ) = NULL,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6511:49: error: expected primary-expression before ‘void’
void (CL_CALLBACK * notifyFptr)(cl_program, void ) = NULL,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6512:5: error: expected primary-expression before ‘void’
void data = NULL,
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6513:11: error: expected primary-expression before ‘’ token
cl_int err = NULL)
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6513:13: error: ‘err’ was not declared in this scope
cl_int* err = NULL)
^
In file included from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:0:
/home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:20:27: error: expected ‘}’ before end of line
/home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:20:27: error: expected declaration before end of line
In file included from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15:0,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In instantiation of ‘cl::detail::Wrapper::Wrapper(const cl_type&, __vector(4) __bool int) [with T = _cl_platform_id*; cl::detail::Wrapper::cl_type = _cl_platform_id*]’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2275:56: required from here
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1647:9: error: could not convert ‘retainObject’ from ‘__vector(4) __bool int’ to ‘bool’
if (retainObject) {
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In instantiation of ‘cl::detail::Wrapper::Wrapper(const cl_type&, __vector(4) __bool int) [with T = _cl_context*; cl::detail::Wrapper::cl_type = _cl_context*]’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2851:55: required from here
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1647:9: error: could not convert ‘retainObject’ from ‘__vector(4) __bool int’ to ‘bool’
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In instantiation of ‘cl::detail::Wrapper::Wrapper(const cl_type&, __vector(4) __bool int) [with T = _cl_event*; cl::detail::Wrapper::cl_type = _cl_event*]’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2993:53: required from here
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1647:9: error: could not convert ‘retainObject’ from ‘__vector(4) __bool int’ to ‘bool’
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In instantiation of ‘cl::detail::Wrapper::Wrapper(const cl_type&, __vector(4) __bool int) [with T = _cl_mem*; cl::detail::Wrapper::cl_type = _cl_mem*]’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:3179:54: required from here
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1647:9: error: could not convert ‘retainObject’ from ‘__vector(4) __bool int’ to ‘bool’
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In instantiation of ‘cl::detail::Wrapper::Wrapper(const cl_type&, __vector(4) __bool int) [with T = _cl_sampler*; cl::detail::Wrapper::cl_type = _cl_sampler*]’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5460:55: required from here
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1647:9: error: could not convert ‘retainObject’ from ‘__vector(4) __bool int’ to ‘bool’
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In instantiation of ‘cl::detail::Wrapper::Wrapper(const cl_type&, __vector(4) __bool int) [with T = _cl_kernel*; cl::detail::Wrapper::cl_type = _cl_kernel*]’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:5685:54: required from here
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1647:9: error: could not convert ‘retainObject’ from ‘__vector(4) __bool int’ to ‘bool’
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In instantiation of ‘cl::detail::Wrapper::Wrapper(const cl_type&, __vector(4) __bool int) [with T = _cl_program*; cl::detail::Wrapper::cl_type = _cl_program*]’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6254:55: required from here
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1647:9: error: could not convert ‘retainObject’ from ‘__vector(4) __bool int’ to ‘bool’
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In instantiation of ‘cl_int cl::detail::getInfoHelper(Func, cl_uint, cl::string*, long int) [with Func = cl::detail::GetInfoFunctor0<int ()(_cl_platform_id, unsigned int, long unsigned int, void*, long unsigned int*), _cl_platform_id*>; cl_int = int; cl_uint = unsigned int; cl::string = std::__cxx11::basic_string]’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1444:25: required from ‘cl_int cl::detail::getInfo(Func, const Arg0&, cl_uint, T*) [with Func = int ()(_cl_platform_id, unsigned int, long unsigned int, void*, long unsigned int*); Arg0 = _cl_platform_id*; T = std::__cxx11::basic_string; cl_int = int; cl_uint = unsigned int]’
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:2316:71: required from here
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1039:32: error: ‘begin’ was not declared in this scope
param->assign(begin(value), prev(end(value)));
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1039:32: note: suggested alternative:
In file included from /usr/include/c++/5/string:51:0,
from /usr/include/c++/5/bits/locale_classes.h:40,
from /usr/include/c++/5/bits/ios_base.h:41,
from /usr/include/c++/5/ios:42,
from /usr/include/c++/5/istream:38,
from /usr/include/c++/5/fstream:38,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:28:
/usr/include/c++/5/bits/range_access.h:87:5: note: ‘std::begin’
begin(_Tp (&__arr)[_Nm])
^
In file included from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15:0,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1039:49: error: ‘end’ was not declared in this scope
param->assign(begin(value), prev(end(value)));
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1039:49: note: suggested alternative:
In file included from /usr/include/c++/5/string:51:0,
from /usr/include/c++/5/bits/locale_classes.h:40,
from /usr/include/c++/5/bits/ios_base.h:41,
from /usr/include/c++/5/ios:42,
from /usr/include/c++/5/istream:38,
from /usr/include/c++/5/fstream:38,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:28:
/usr/include/c++/5/bits/range_access.h:97:5: note: ‘std::end’
end(_Tp (&__arr)[_Nm])
^
In file included from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15:0,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1039:45: error: ‘prev’ was not declared in this scope
param->assign(begin(value), prev(end(value)));
^
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1039:45: note: suggested alternative:
In file included from /usr/include/c++/5/bits/stl_algobase.h:66:0,
from /usr/include/c++/5/bits/char_traits.h:39,
from /usr/include/c++/5/ios:40,
from /usr/include/c++/5/istream:38,
from /usr/include/c++/5/fstream:38,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:28:
/usr/include/c++/5/bits/stl_iterator_base_funcs.h:193:5: note: ‘std::prev’
prev(_BidirectionalIterator __x, typename
^
In file included from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.h:15:0,
from /home/cuttie/ethminer/libethash-cl/ethash_cl_miner.cpp:38:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::detail::Wrapper<_cl_device_id*>::release() const’:
/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:1858:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
libethash-cl/CMakeFiles/ethash-cl.dir/build.make:66: recipe for target 'libethash-cl/CMakeFiles/ethash-cl.dir/ethash_cl_miner.cpp.o' failed
make[2]: *** [libethash-cl/CMakeFiles/ethash-cl.dir/ethash_cl_miner.cpp.o] Error 1
CMakeFiles/Makefile2:265: recipe for target 'libethash-cl/CMakeFiles/ethash-cl.dir/all' failed
make[1]: *** [libethash-cl/CMakeFiles/ethash-cl.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Is the list of commands to use with VGA AMD?
Compiled from master, after a few minutes I get this. Mining on CUDA using GTX 1070's. Not sure what is this, the error is not very descriptive and I am not code wizz.
CUDA error in func 'search' at line 365 : unspecified launch failure. ✘ 15:26:10|cudaminer0 Error CUDA mining: unspecified launch failure CUDA error in func 'search' at line 365 : unspecified launch failure. ✘ 15:26:10|cudaminer4 Error CUDA mining: unspecified launch failure CUDA error in func 'search' at line 365 : unspecified launch failure. ✘ 15:26:10|cudaminer1 Error CUDA mining: unspecified launch failure CUDA error in func 'search' at line 365 : unspecified launch failure. ✘ 15:26:10|cudaminer3 Error CUDA mining: unspecified launch failure CUDA error in func 'search' at line 365 : unspecified launch failure. ✘ 15:26:10|cudaminer2 Error CUDA mining: unspecified launch failure
When I compile the program myself it always freeze, no warnings or errors. First, screen freezes - goes black then usually returns back and I can press ctrl-c. Two times computer has freezed totally, and windows needed to repair itself (after 2-7 reboots). Problems starts either on DAG 99% or after detecting devices. I had the same issue with latest genoils version. Release binaries works without any problems
Downloaded latest master branch, and build it with:
cmake -G "Visual Studio 14 2015 Win64" ..
cmake --build . --config Release
My set-up:
System DLL Versions:
- aticfx32.dll: 8.17.10.1534
- aticfx64.dll: 8.17.10.1534
- OpenCL.dll: 22.19.171.257
OpenGL Renderer:
- Renderer Vendor: ATI Technologies Inc.
- Renderer Name: AMD Radeon R9 200 Series
- Renderer Version: 4.5.13476 Compatibility Profile Context 22.19.171.257
- Renderer Type: Installable client
Device 1 (GPU):
- Platform ID: 1
- Device Type: GPU
- Device Name: Hawaii
- Vendor: Advanced Micro Devices, Inc.
Device 2 (CPU):
- Platform ID: 1
- Device Type: CPU
- Device Name: AMD FX(tm)-8350 Eight-Core Processor
- Vendor: AuthenticAMD
Platform 1:
- Vendor: Advanced Micro Devices, Inc.
- Name: AMD Accelerated Parallel Processing
- Profile: FULL_PROFILE
- Version: OpenCL 2.0 AMD-APP (2348.4)
Application=codexl, Product=Standalone, OS=Win10-64, Version=2.3.629.0 Release Version
CodeXL logs.
CodeXL.txt
CodeXLServers.txt
CodeXLRemoteDebuggingServer.txt
Is it related to opencl compiler version, like on ubuntu? On ubuntu I got it working by downgrading opencl drivers, but I would prefer work with Windows and Visual Studio.
Was having same issue with ethminer 10.0.
upgrading to version 11 to see if any changes happen
Same issue, everything works perfectly fine, I just want to clarify if something is actually wrong with the target # always being all 0's
In other user's logs I have yet to see someone with target #000000000000 on all work packages.
Thanks in advance for any help.
I have build logs if necessary as well.
Also Geth seems to be functioning properly.
starting geth using :
geth --rpc --rpcaddr "localhost" --rpcport8545 --cache 1024
ethminer.exe -G
Found suitable OpenCL device [Tahiti] with 3221225472 bytes of GPU memory
m 10:16:13|main Getting work package...
m 10:16:13|main Got work package: #9adae852
i 10:16:13|openclminer0 set work; seed: #2228076c, target: #000000000000
i 10:16:13|openclminer0 Initialising miner...
m 10:16:14|main Mining on PoWhash #9adae852 : 0.00MH/s [A0+0:R0+0:F0]
m 10:16:14|main Mining on PoWhash #9adae852 : 0.00MH/s [A0+0:R0+0:F0]
m 10:16:15|main Mining on PoWhash #9adae852 : 0.00MH/s [A0+0:R0+0:F0]
m 10:16:15|main Got work package: #a954a3e4
Using platform: AMD Accelerated Parallel Processing
Using device: Tahiti(OpenCL 1.2 AMD-APP (2348.3))
Printing program log
Creating cache buffer
Creating DAG buffer
Loading kernels
Writing cache buffer
Creating buffer for header.
Creating mining buffer 0
Creating mining buffer 1
Generating DAG data
OPENCL#0: 0%
OPENCL#0: 1%
OPENCL#0: 2%
OPENCL#0: 2%
OPENCL#0: 3%
OPENCL#0: 4%
OPENCL#0: 5%
OPENCL#0: 5%
OPENCL#0: 6%
OPENCL#0: 7%
OPENCL#0: 8%
OPENCL#0: 8%
OPENCL#0: 9%
OPENCL#0: 10%
OPENCL#0: 11%
OPENCL#0: 12%
OPENCL#0: 12%
OPENCL#0: 13%
OPENCL#0: 14%
OPENCL#0: 15%
OPENCL#0: 15%
OPENCL#0: 16%
OPENCL#0: 17%
OPENCL#0: 18%
OPENCL#0: 18%
OPENCL#0: 19%
OPENCL#0: 20%
OPENCL#0: 21%
OPENCL#0: 22%
OPENCL#0: 22%
OPENCL#0: 23%
OPENCL#0: 24%
OPENCL#0: 25%
OPENCL#0: 25%
OPENCL#0: 26%
OPENCL#0: 27%
OPENCL#0: 28%
OPENCL#0: 28%
OPENCL#0: 29%
OPENCL#0: 30%
OPENCL#0: 31%
OPENCL#0: 32%
OPENCL#0: 32%
OPENCL#0: 33%
OPENCL#0: 34%
OPENCL#0: 35%
OPENCL#0: 35%
OPENCL#0: 36%
OPENCL#0: 37%
OPENCL#0: 38%
OPENCL#0: 38%
OPENCL#0: 39%
OPENCL#0: 40%
OPENCL#0: 41%
OPENCL#0: 42%
OPENCL#0: 42%
OPENCL#0: 43%
OPENCL#0: 44%
OPENCL#0: 45%
OPENCL#0: 45%
OPENCL#0: 46%
OPENCL#0: 47%
OPENCL#0: 48%
OPENCL#0: 48%
OPENCL#0: 49%
OPENCL#0: 50%
OPENCL#0: 51%
OPENCL#0: 52%
OPENCL#0: 52%
OPENCL#0: 53%
OPENCL#0: 54%
OPENCL#0: 55%
OPENCL#0: 55%
OPENCL#0: 56%
OPENCL#0: 57%
OPENCL#0: 58%
OPENCL#0: 58%
OPENCL#0: 59%
OPENCL#0: 60%
OPENCL#0: 61%
OPENCL#0: 62%
OPENCL#0: 62%
OPENCL#0: 63%
OPENCL#0: 64%
OPENCL#0: 65%
OPENCL#0: 65%
OPENCL#0: 66%
OPENCL#0: 67%
OPENCL#0: 68%
OPENCL#0: 68%
OPENCL#0: 69%
OPENCL#0: 70%
OPENCL#0: 71%
OPENCL#0: 72%
OPENCL#0: 72%
OPENCL#0: 73%
OPENCL#0: 74%
OPENCL#0: 75%
OPENCL#0: 75%
OPENCL#0: 76%
OPENCL#0: 77%
OPENCL#0: 78%
OPENCL#0: 78%
OPENCL#0: 79%
OPENCL#0: 80%
OPENCL#0: 81%
OPENCL#0: 82%
OPENCL#0: 82%
OPENCL#0: 83%
OPENCL#0: 84%
OPENCL#0: 85%
OPENCL#0: 85%
OPENCL#0: 86%
OPENCL#0: 87%
OPENCL#0: 88%
OPENCL#0: 88%
OPENCL#0: 89%
OPENCL#0: 90%
OPENCL#0: 91%
OPENCL#0: 92%
OPENCL#0: 92%
OPENCL#0: 93%
OPENCL#0: 94%
OPENCL#0: 95%
OPENCL#0: 95%
OPENCL#0: 96%
OPENCL#0: 97%
OPENCL#0: 98%
OPENCL#0: 98%
OPENCL#0: 99%
i 10:16:26|openclminer0 set work; seed: #2228076c, target: #000000000000
m 10:16:26|main Mining on PoWhash #a954a3e4 : 12.06MH/s [A0+0:R0+0:F0]
m 10:16:26|main Got work package: #66a595d3
i 10:16:26|openclminer0 set work; seed: #2228076c, target: #000000000000
m 10:16:27|main Mining on PoWhash #66a595d3 : 12.06MH/s [A0+0:R0+0:F0]
m 10:16:27|main Mining on PoWhash #66a595d3 : 12.46MH/s [A0+0:R0+0:F0]
m 10:16:28|main Mining on PoWhash #66a595d3 : 12.98MH/s [A0+0:R0+0:F0]
m 10:16:28|main Mining on PoWhash #66a595d3 : 12.95MH/s [A0+0:R0+0:F0]
GETH:
INFO [06-28|10:16:14] Imported new chain segment blocks=1 txs=40 mgas=4.512 elapsed=130.007ms mgasps=34.707 number=3943672 hash=14972b…b5c9ed
INFO [06-28|10:16:14] Commit new mining work number=3943673 txs=60 uncles=0 elapsed=368.020ms
INFO [06-28|10:16:24] Imported new chain segment blocks=1 txs=58 mgas=4.666 elapsed=98.005ms mgasps=47.610 number=3943673 hash=69d105…900b62
INFO [06-28|10:16:24] Commit new mining work number=3943674 txs=106 uncles=0 elapsed=433.024ms
INFO [06-28|10:17:11] Imported new chain segment blocks=1 txs=63 mgas=4.666 elapsed=152.009ms mgasps=30.697 number=3943674 hash=2a9eca…3fd4c5
Let's start with OpenCL 1.1 support.
OpenCL 1.1 doesn't actually support the 'static' storage class specifier and so running ethminer on Mesa results is a bunch of
input.cl:114:1: error: OpenCL version 1.1 does not support the 'static' storage class specifier
obviously with different line numbers. To fix that I used the solution from cpp-ethereum issue #3020 , where @lvella cleverly figured out you could enable the specifier anyway by prepending
#pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable
at the top of
/libethash-cl/ethash_cl_miner_kernel.cl
which still works with the latest git of ethminer.
With that out of the way, the issue I'm facing now is that I'm instead getting
[OPENCL]:<unknown>:0:0: in function ethash_calculate_dag_item void (i32, %union.compute_hash_share addrspace(1)*, %union.compute_hash_share addrspace(1)*, i32): unsupported initializer for address space
I have no clue what this means since I don't know more than incredibly basic OpenCL. Grepping the source tree reveals this line:
./libethash-cl/ethash_cl_miner_kernel.cl:386:__kernel void ethash_calculate_dag_item(uint start, __global hash64_t const* g_light, __global hash64_t * g_dag, uint isolate)
which I, again, have no clue what it actually does. I presume the solution to this one isn't as simple as adding a #pragma
directive.
How do I proceed from here?
Sample benchmark run, including Ctrl+C at the end where the program simply stopped for several minutes:
ethminer/build$ ./ethminer/ethminer -G -M
[OPENCL]:Found suitable OpenCL device [AMD TAHITI (DRM 2.48.0 / 4.9.0-3-amd64, LLVM 3.9.1)] with 3221225472 bytes of GPU memory
Benchmarking on platform: CL
Preparing DAG for block #0
Warming up...
ℹ 03:06:46|openclminer0 set work; seed: #00000000, target: #000000000000
ℹ 03:06:46|openclminer0 Initialising miner...
[OPENCL]:Using platform: Clover
[OPENCL]:Using device: AMD TAHITI (DRM 2.48.0 / 4.9.0-3-amd64, LLVM 3.9.1)(OpenCL 1.1 Mesa 13.0.6)
[OPENCL]:<unknown>:0:0: in function ethash_calculate_dag_item void (i32, %union.compute_hash_share addrspace(1)*, %union.compute_hash_share addrspace(1)*, i32): unsupported initializer for address space
[OPENCL]:clEnqueueWriteBuffer(-38)
Trial 1... 0
Trial 2... 0
Trial 3... 0
Trial 4... 0
Trial 5... 0
^C
ethminer/build$
Edit: Sorry, there's no simple way to prevent GitHub from butchering the formatting in the last code block.
Hi,
I just started ethminer in a Mesos cluster and the output is kinda inappropriate for this.
I see two issues here:
Regards, Adam.
Whenever a driver fails (unstable overclock, some driver issue), the mining stops, which could lead to significant losses.
This is pretty much the only reason I'd use Claymore, which handles this situation pretty well.
Ethpool and ethermine, and probably others, show the miner's reported hashrate. Ethminer does not send this value to the pools, so it's always 0 or blank.
Looks like macOS builds have no CUDA support? When I am trying to use it with -U
flag I get error:
Selected CUDA mining without having compiled with -DETHASHCUDA=1 or -DBUNDLE=cudaminer
ver: 0.11.0rc1
OS: Windows 8.1 64-bit
Driver: 382.53
Primary GPU: 1060
Secondary GPU: 1070
When running individual CUDA instances of the miner for each card the graphics driver crashes when stopping (either with ctrl+c or closing the window) the miner on the primary GPU when a virtualbox VM is also running (either windows or linux client OS, with or without 2D acceleration). Windows error log shows an openGL error from virtualbox.exe.
I'm not sure if this is related but the CUDA device indexing is backwards from PCIe and nvidia driver adapter indexing. This was the case even across a fresh driver install.
The 1060 is on PCIe lane 1 and is nvidia adapter 0 but is CUDA device 1.
The 1070 is on PCIe lane 5 and is nvidia adapter 1 but is CUDA device 0.
I was able to recreate this while VMs were paused so it may not be related to virtualbox.
I used to use genoils ethminer which had this problem (about every minute i get a dump of these in dmesg):
[ 4700.645531] amdgpu 0000:02:00.0: GPU fault detected: 147 0x03c4c408 [ 4700.647095] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE1E [ 4700.648680] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x041C4008 [ 4700.649497] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113630, read from 'TC7' (0x54433700) (452) [ 4700.649497] amdgpu 0000:02:00.0: GPU fault detected: 147 0x02640808 [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE1A [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x04144008 [ 4700.649497] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113626, read from 'TC1' (0x54433100) (324) [ 4700.649497] amdgpu 0000:02:00.0: GPU fault detected: 147 0x03044808 [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE10 [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x041C8008 [ 4700.649497] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113616, read from 'TC6' (0x54433600) (456) [ 4700.649497] amdgpu 0000:02:00.0: GPU fault detected: 147 0x03840808 [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE15 [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x04188008 [ 4700.649497] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113621, read from 'TC4' (0x54433400) (392) [ 4700.649497] amdgpu 0000:02:00.0: GPU fault detected: 147 0x03444408 [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE1E [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x04088008 [ 4700.649497] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113630, read from 'TC4' (0x54433400) (136) [ 4700.649497] amdgpu 0000:02:00.0: GPU fault detected: 147 0x03840808 [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE13 [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x04044008 [ 4700.649497] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113619, read from 'TC1' (0x54433100) (68) [ 4700.649497] amdgpu 0000:02:00.0: GPU fault detected: 147 0x03e4c808 [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE1C [ 4700.649497] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x04088008 [ 4700.649497] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113628, read from 'TC4' (0x54433400) (136) [ 4700.696148] amdgpu 0000:02:00.0: GPU fault detected: 147 0x02a40808 [ 4700.697552] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE15 [ 4700.698968] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x04108008 [ 4700.700134] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113621, read from 'TC2' (0x54433200) (264) [ 4700.700134] amdgpu 0000:02:00.0: GPU fault detected: 147 0x0204c808 [ 4700.700134] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE1F [ 4700.700134] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x04088008 [ 4700.700134] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113631, read from 'TC4' (0x54433400) (136) [ 4700.700134] amdgpu 0000:02:00.0: GPU fault detected: 147 0x03e48808 [ 4700.700134] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0010FE11 [ 4700.700134] amdgpu 0000:02:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x04104008 [ 4700.700134] amdgpu 0000:02:00.0: VM fault (0x08, vmid 2) at page 1113617, read from 'TC3' (0x54433300) (260)
out of all the card combinations i have it only occurs on the MSI R9 380 card, when i had this problem it I had to update to genoil branch 110 which solved the problem, since i've switched to this build its back =)
btw thanks for the work you've done on this project, appreciated
Hi I get errors if i want to mine. My setup is an I5-4200U and a GT750M 4GB
I use the newest version with the following starting parameters (I've cut out my email and adress):
For cuda
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
ethminer.exe --farm-recheck 1000 -U -S eth-eu1.nanopool.org:9999 -FS eth-eu2.nanopool.org:9999 -O
For openCL
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
ethminer.exe --farm-recheck 1000 -G --opencl-device 0 --opencl-platform 1 -S eth-eu1.nanopool.org:9999 -FS eth-eu2.nanopool.org:9999 -O
The cuda version stops with this error
ethminer.exe --farm-recheck 1000 -U -S eth-eu1.nanopool.org:9999 -FS eth-eu2.nanopool.org:9999 -O
Using grid size 8192, block size 128
i 20:00:43|main Connecting to stratum server eth-eu1.nanopool.org:9999
i 20:00:43|stratum Connected to stratum server eth-eu1.nanopool.org : 9999
i 20:00:43|stratum Starting farm
i 20:00:43|stratum Subscribed to stratum server
i 20:00:43|stratum Authorized worker
i 20:00:43|stratum Received new job #82d8e882
i 20:00:43|cudaminer0 set work; seed: #129656ac, target: #00000000dbe6
i 20:00:43|cudaminer0 Initialising miner...
m 20:00:44|main Mining on PoWhash #82d8e882 : 0.00MH/s [A0+0:R0+0:F0]
m 20:00:45|main Mining on PoWhash #82d8e882 : 0.00MH/s [A0+0:R0+0:F0]
Using device: GeForce GT 750M (Compute 3.0)
Generating DAG for GPU #0
m 20:00:46|main Mining on PoWhash #82d8e882 : 0.00MH/s [A0+0:R0+0:F0]
m 20:00:47|main Mining on PoWhash #82d8e882 : 0.00MH/s [A0+0:R0+0:F0]
i 20:00:48|stratum Received new job #f7b4cb4c
Cuda error in func 'ethash_generate_dag' at line 129 : unspecified launch failure.
The openCl version hangs at clEnqueueWriteBuffer(-4)
ethminer.exe --farm-recheck 1000 -G --opencl-device 0 --opencl-platform 1 -S eth-eu1.nanopool.org:9999 -FS eth-eu2.nanopool.org:9999 -O
Found suitable OpenCL device [GeForce GT 750M] with 4294967296 bytes of GPU memory
i 19:57:23|main Connecting to stratum server eth-eu1.nanopool.org:9999
i 19:57:23|stratum Connected to stratum server eth-eu1.nanopool.org : 9999
i 19:57:23|stratum Starting farm
i 19:57:23|stratum Subscribed to stratum server
i 19:57:23|stratum Authorized worker
i 19:57:23|stratum Received new job #a3ba96db
i 19:57:23|openclminer0 set work; seed: #129656ac, target: #00000000dbe6
i 19:57:23|openclminer0 Initialising miner...
m 19:57:24|main Mining on PoWhash #a3ba96db : 0.00MH/s [A0+0:R0+0:F0]
m 19:57:25|main Mining on PoWhash #a3ba96db : 0.00MH/s [A0+0:R0+0:F0]
i 19:57:25|stratum Received new job #ae2b3c91
Using platform: NVIDIA CUDA
Using device: GeForce GT 750M(OpenCL 1.2 CUDA)
Printing program log
Creating cache buffer
Creating DAG buffer
Loading kernels
Writing cache buffer
Creating buffer for header.
Creating mining buffer 0
Creating mining buffer 1
Generating DAG data
clFinish(-36)
clEnqueueWriteBuffer(-4)
Hi all,
I'm using the latest version of ethminer built from source on Ubuntu 16.04. Every attempt to start mining is met with the same exact error:
18:09:12|stratum Connected to stratum server <server that I am using>
18:09:12|stratum Starting farm
18:09:12|stratum Subscribed to stratum server
18:09:12|stratum Received new job #14c7
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<dev::BadHexCharacter>'
what(): BadHexCharacter
Aborted (core dumped)
I'm only using the flags -G , -S, and -O for GPU usage, Stratum server, and login credentials respectively.
I've looked online to no avail. How can I solve this, and is this an issue on my end/the server's or a bug?
error in func 'ethash_cuda_miner::search' at line 365 : unspecified launch failure.
all 6 of my 1060s go to 0 hash and this happens after about on 30 minutes of mining.
I am using 55 power limit,66 temp limit, 0 core clock, +700 memory. my gpus do not get hotter than 66C. These setting run great in claymore with no isssues. Hopefully this error can be resolved.
We need CMake 3.3 to static link cudart lib.
I have a CentOS 7.2 NVIDIA GPU machine.
When I download ethminer, cd ethminer, mkdir build, cd build and run
cmake ..
I get
[ 75%] Performing build step for 'Boost-system'
Invalid value for the '-j' option, valid values are 1 through 256.
gmake[2]: *** [Boost-system-prefix/src/Boost-system-stamp/Boost-system-build] Error 1
gmake[1]: *** [CMakeFiles/Boost-system.dir/all] Error 2
gmake: *** [all] Error 2
Any ideas?
I am looking to find out if anyone can provide their expertise on developing a program, in mining on the new DGX-1 V100 server?
I've been trying to get the RX550 4GB cards to run under Ubuntu 16.04.02 LTS but haven't had much luck. I've currently only tried the AMDGPU-PRO driver but I was going to test the radeon driver soon. The card mines under Windows So the issue is probably driver side in linux.
The card being polaris 12 instead of 11 might be the source of some issues. I'd gladly donate some ETH to anyone who can help me get these cards mining under Linux
I got ethminer built and working fine but couldn't get any shares accepted through pools. I decided to rebuild my dag file with geth. After going back and retrying ethminer with -S it says invalid argument and the URL of the pool. I definitely messed something up somehow. Why would the flags all of a sudden not work the same?
Is there a quick tutorial on using ethminer on OSX?
Console output would be easier to grasp if:
When compiling, such warning came out.
[ 89%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashCUDAMiner.cpp.o
/home/xxxxxxx/ethminer/ethminer/libethcore/EthashCUDAMiner.cpp: In member function ‘virtual void dev::eth::EthashCUDAMiner::workLoop()’:
/home/xxxxxxx/ethminer/ethminer/libethcore/EthashCUDAMiner.cpp:190:15: warning: deleting ‘volatile > void*’ is undefined [-Wdelete-incomplete]
delete[] s_dagInHostMemory;
^
[ 92%] Linking CXX static library libethcore.a
I'm concerned if it will cause memory leakage. Thanks
-- [hunter] OPENCL_ROOT: C:/.hunter/_Base/435b09a/61c532d/cb59435/Install (ver.: 2.1-p3)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/Modules/FindCUDA.cmake:617 (message):
Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
libethash-cuda/CMakeLists.txt:1 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/Users/owl/Downloads/ethminer-master/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/owl/Downloads/ethminer-master/build/CMakeFiles/CMakeError.log".
I'm trying to build ethminer without GPU DAG file, i.e. calculate it for every search loop.
This may be helpful for 2GB GPU.
Would you please give me some help to do it?
Really appreciate the work done here. I have machines that can only access internet through an http/https proxy. It doesn't seem that this feature is available out of box, but I'm happy to implement this feature and make a pull request if someone can give me pointers on which file I should look at.
Thank you!
Building was easy, but the program crashes by illegal address before it starts generating DAG.
'ethminer.exe' (Win32): Loaded 'D:\path-to-ethminer\build\ethminer\Release\ethminer.exe'. Module was built without symbols.
'ethminer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded.
..
'ethminer.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\c0313676.inf_amd64_96bbc33bec5c7fae\amdocl.dll'. Cannot find or open the PDB file.
..
..
i 10:45:30|stratum Connected to stratum server eth-eu1.nanopool.org : 9999
i 10:45:30|stratum Starting farm
i 10:45:30|stratum Subscribed to stratum server
i 10:45:30|stratum Authorized worker address.name/email
i 10:45:30|stratum Received new job #89d6300b
i 10:45:30|openclminer0 set work; seed: #129656ac, target: #00000000dbe6
i 10:45:30|openclminer0 Initialising miner...
m 10:45:30|main Mining on PoWhash #89d6300b : 0.00MH/s [A0+0:R0+0:F0]
m 10:45:31|main Mining on PoWhash #89d6300b : 0.00MH/s [A0+0:R0+0:F0]
..
m 10:45:37|main Mining on PoWhash #89d6300b : 0.00MH/s [A0+0:R0+0:F0]
i 10:45:37|stratum Received new job #6b9e494a
Using platform: AMD Accelerated Parallel ProcessingUsing device: Hawaii(OpenCL 1.2 AMD-APP (2348.3))Exception thrown at 0x0F74FC53 (amdocl.dll) in ethminer.exe: 0xC0000005: Access violation reading location 0x00000004.
Disassembly window
0F74FC16 mov eax,dword ptr [ecx+690h]
0F74FC1C push ebx
0F74FC1D mov ebx,dword ptr [ebp+8]
0F74FC20 push esi
0F74FC21 mov dword ptr [ebp-4],eax
0F74FC24 push edi
0F74FC25 mov ecx,dword ptr [ebx+0Ch]
0F74FC28 mov dword ptr [ebp-8],ecx
0F74FC2B mov ecx,dword ptr [eax+11Ch]
0F74FC31 push 0
0F74FC33 mov eax,dword ptr [ecx]
0F74FC35 call dword ptr [eax+40h]
0F74FC38 push dword ptr [ebx+14h]
0F74FC3B mov ecx,dword ptr [ebp-4]
0F74FC3E mov edi,dword ptr [ebx+18h]
0F74FC41 mov esi,dword ptr [ebx+1Ch]
0F74FC44 mov dword ptr [ebp+8],eax
0F74FC47 call 0FAE51A0
0F74FC4C mov ecx,dword ptr [ebp-4]
0F74FC4F mov ebx,dword ptr [ebx+10h]
0F74FC52 push esi
0F74FC53 mov eax,dword ptr [eax+4]
0F74FC56 mov dword ptr [ebp-0Ch],eax
0F74FC59 mov eax,dword ptr [ebp+8]
Is this somekind of dll linking problem? Using different versions of same library
Hunter library folder do contain opencl.hpp and opencl.lib but no opencl.dll?
amdocl.dll in Windows driver store do have original name of opencl.dll
Windows 10
r 290X
Radeon Software Version 17.1.1
Visual Studio 2015
AMD SDK installed
On Travis (Ubuntu 14.04) we link against libldap which pulls a lot of other libs. It is not the case for Ubuntu 16.10. Where it come from? Get rid of it.
Or fix the Debug build.
The application crashes after some minutes running, the time it takes differs. It can take between 5 to 10 minutes to crash.
The error:
CUDA error in func 'ethash_cuda_miner::search' at line 359 : an illegal memory access was encountered.
X 05:51:25|cudaminer0 Error CUDA mining: an illegal memory access was encountered
I'm using a GTX 1060 3GB with these launch options:
--farm-recheck 2000 -U -S *address ...* -SP 1
Tried using the latest release 0.10.0, and compiling from source same problem. However it does not crash using the old ethminer-0.9.41-genoil-1.1.7 release version.
Any ideas what could be causing it ?
Hey guys is there an alternative URL for getstuff? It seems 'https://build.ethdev.com/builds/windows-precompiled' no longer works.
Hello!
EDIT: I made a stupid. I've solved my own problem - I'm seeing 140MH/s F*&K Yeah!
I have 3 identical machines, and this happens on two of them, which suggests a software difference. What could it possibly be? In any case, is 8MH/S realistic, or is something else going on? This is a lot slower than I expected. I'm getting ~35MH/S from a pair of GTX Titans.
Trying to build commit 4332082 on a Win 10 machine:
cmake ..
runs fine but on cmake --build .
I get follwoing errors: https://pastebin.com/akD4MSxa
Any pointer to what I'm doing wrong would be appreciated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.