fireice-uk / xmr-stak-amd

Monero AMD miner
GNU General Public License v3.0
193 stars 114 forks source link

Error CL_MEM_OBJECT_ALLOCATION_FAILURE WHEN CALLING clEnqueueNDRangeKernel for Kernel 0. #148

Open Alvinmines opened 7 years ago

Alvinmines commented 7 years ago

when I try to add another gpu_threads_conf like this { "index" : 0, "intensity" : 900, "worksize" : 8, "affine_to_cpu" : true }, { "index" : 1, "intensity" : 900, "worksize" : 8, "affine_to_cpu" : true },

I get the error that I wrote in the title, this does not happen if I only use one gpu thread.

But my H/s goes from 500 with one thread to being very unconsistent between 7000 H/s and 17000 H/s The GPU I have in my computer is AMD 7990.

When I run Clinfo this is some of the information given.

Number of platforms: 1 Platform Profile: FULL_PROFILE Platform Version: OpenCL 2.0 AMD-APP (2348.3) Platform Name: AMD Accelerated Parallel Processing Platform Vendor: Advanced Micro Devices, Inc. Platform Extensions: cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices

Platform Name: AMD Accelerated Parallel Processing Number of devices: 3 Device Type: CL_DEVICE_TYPE_GPU Vendor ID: 1002h Board name: AMD Radeon HD 7900 Series Device Topology: PCI[ B#3, D#0, F#0 ] Max compute units: 32 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

Alvinmines commented 7 years ago

This is the config I am using.

config.txt

psychocrypt commented 7 years ago

Please reduce the intensity for the first gpu. Do you connected the crossfire link between the tw gpus? If so please remove the link cable.

Alvinmines commented 7 years ago

When I reduce the intensity it just makes the 1st one stop, and only the 2nd one mine. I am not using a crossfire link, got any other tips?

chmarti commented 6 years ago

I'm also seeing this issue.