-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buffer problems with cgminer on 32bit systems #7
Comments
Please try this patch: diff --git a/ocl.c b/ocl.c index aceeb99..df76ec5 100644 --- a/ocl.c +++ b/ocl.c @@ -577,9 +577,9 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize) #ifdef USE_NEOSCRYPT if(opt_neoscrypt){ cgpu->max_intensity = cgpu->dynamic? MAX_INTENSITY: cgpu->intensity; - size_t glob_thread_count = 1U<< cgpu->max_intensity; - size_t glob_thread_count = 1UL<< cgpu->max_intensity; cgpu->thread_concurrency = (glob_thread_count< cgpu->work_size ? cgpu->work_size: glob_thread_count); - if(cgpu->max_alloc< cgpu->thread_concurrency\* NEOSCRYPT_SCRATCHBUF_SIZE) { - if((uint64_t)cgpu->max_alloc< (uint64_t)cgpu->thread_concurrency\* NEOSCRYPT_SCRATCHBUF_SIZE) { /\* Selected intensity will not run on this GPU. Not enough memory. \* Adapt the memory setting. */ glob_thread_count= cgpu->max_alloc/ NEOSCRYPT_SCRATCHBUF_SIZE; by storing it to a file patch.txt and applying it using:patch -p 0 <patch.txt |
This patch is working for me. I'm using Win 7 64 bit, with 13.12 AMD drivers. R9 270x. |
So you compiled the patch for 32 bit and checked it on a 64 bit system? What is the use of that? |
Please try 3.7.7c on the 32bit system. |
I tried all of the precompiled binaries for windows in the "Public Beta Test" thread. With all of them i get "error-61". I compiled the source with MinGW before the commits from today and the problem still appears. After modifying the ocl.c as you suggest and rebuild the source everything is working fine for ~4 hours. I am getting 42-44 KH/s per card / R9 270/. I'm sure that my OS is Win 7 64 bit. |
See
https://forum.feathercoin.com/index.php?/topic/7934-error-61-clcreatebuffer-padbuffer8/
as a starting point for a more general solution.
The text was updated successfully, but these errors were encountered: