Author

Topic: Cannot build OpenCL program for GPU 0 (Read 200 times)

newbie
Activity: 1
Merit: 0
December 03, 2019, 09:53:06 AM
#6
A couple of things to try.

1. increase paging file from 16gb to 20gb. The recommended 16Gb almost never works for any of my rigs. Try increasing 4Gb at a time up to 32 and see if any of those values work.

2. You may just need to reinstall and re-patch drivers. This may not be applicable to your specific GPU, but my AMD RX 580s every now and then will need the blockchain drivers reinstalled. 
newbie
Activity: 3
Merit: 0
June 05, 2019, 12:52:36 AM
#5
i ran the BAT file removing the code, Still its showing the same error
full member
Activity: 686
Merit: 100
May 31, 2019, 04:09:53 PM
#4
Make sure you have installed latest amd drivers suitable for your gpu and try with removing
Code:
export GPU_FORCE_64BIT_PTR=0
full member
Activity: 585
Merit: 110
May 31, 2019, 02:03:36 AM
#3
nvidia uses opencl
that is why it is failing to build
copy and paste your bat file content as it is here
legendary
Activity: 3094
Merit: 1472
May 30, 2019, 03:10:07 PM
#2
I think Beginners & Help section is not right section for this post. I would suggest to move it to https://bitcointalk.org/index.php?board=160.0 (Mining-Altcoins) for quick and accurate answers to your problem.


Discussion about same issue: https://github.com/nanopool/Claymore-Dual-Miner/issues/29
newbie
Activity: 3
Merit: 0
May 30, 2019, 01:19:36 PM
#1
HI

I have a Dell inspiron with Core I7 and AMD Radeon R7 M440. I have set the virtual device memory to 16 GB. What else i can do to solve the issue.


╔════════════════════════════════════════════════════════════════╗
║                Claymore's Dual GPU Miner - v14.6                                                      ║
║              ETH + DCR/SIA/LBC/PASC/BLAKE2S/KECCAK                                           ║
║                       Supercharged Edition                                                                  ║
╚════════════════════════════════════════════════════════════════╝

ETH: 1 pool is specified
Main Ethereum pool is asia1.ethpool.org:3333
DCR: 0 pool is specified
At least 16 GB of Virtual Memory is required for multi-GPU systems
Make sure you defined GPU_MAX_ALLOC_PERCENT 100
Be careful with overclocking, use default clocks for first tests
Press "s" for current statistics, "0".."9" to turn on/off cards, "r" to reload pools, "e" or "d" to select current pool, "x" to select GPU, "z" to find best -dcri values
Press "y" to set Compute Mode and disable CrossFire in AMD drivers for all cards
OpenCL initializing...

AMD Cards available: 1
GPU #0: Iceland (AMD Radeon R7 M440), 4096 MB available, 6 compute units (pci bus 1:0:0)
POOL/SOLO version
Cannot build OpenCL program for GPU 0
GPU #0: set -etha as 1 (ETH algo for slow cards)
No NVIDIA CUDA GPUs detected.
Total cards: 1
ETH: Stratum - connecting to 'asia1.ethpool.org' <172.65.215.159> port 3333 (unsecure)
ETH: Stratum - Connected (asia1.ethpool.org:3333) (unsecure)
No pool specified for Decred! Ethereum-only mining mode is enabled
ETHEREUM-ONLY MINING MODE ENABLED (-mode 1)
ETH: eth-proxy stratum mode
Watchdog enabled
Remote management (READ-ONLY MODE) is enabled on port 3333

ETH: Authorized
Setting DAG epoch #262...
ETH: 05/30/19-23:45:33 - New job from asia1.ethpool.org:3333
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
Setting DAG epoch #262 for GPU0
Create GPU buffer for GPU0
GPU0, OpenCL error -48 (0) - cannot create DAG on GPU
ETH: 05/30/19-23:45:37 - New job from asia1.ethpool.org:3333
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
GPU 0 failed
Setting DAG epoch #262 for GPU0
GPU0, OpenCL error -48 (0) - cannot create DAG on GPU
ETH: 05/30/19-23:45:41 - New job from asia1.ethpool.org:3333
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
GPU 0 failed
ETH: 05/30/19-23:45:42 - New job from asia1.ethpool.org:3333
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
ETH: 05/30/19-23:45:43 - New job from asia1.ethpool.org:3333
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
ETH: 05/30/19-23:45:44 - New job from asia1.ethpool.org:3333
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
ETH: 05/30/19-23:45:49 - New job from asia1.ethpool.org:3333
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
ETH: 05/30/19-23:45:50 - New job from asia1.ethpool.org:3333
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
ETH: 05/30/19-23:45:54 - New job from asia1.ethpool.org:3333
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
GPU0 t=0C fan=0%
WATCHDOG: GPU error, you need to restart miner Sad
Restarting OK, exit...
Jump to: