Bitcoin Forum
June 17, 2024, 08:13:50 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] cudaMiner & ccMiner CUDA based mining applications [Windows/Linux/MacOSX] on: June 18, 2014, 08:28:22 PM
Christian a question.
I was testing around with keccak algo and I enabled checkCudaErrors macro in the nvkernel.cu.
Using K1024x32 with a lookup gap of 1024 (I have a GTX 660).
Everything seems to work but I do get a runtime error at: (nvkernel.cu:99 in repository)
Code:
NVKernel::set_scratchbuf_constants(int MAXWARPS, uint32_t** h_V)
at the call:
Code:
cudaMemcpyToSymbol(c_V, h_V, MAXWARPS*sizeof(uint32_t*), 0, cudaMemcpyHostToDevice)


The c_V array on the device only supports up to TOTAL_WARP_LIMIT elements but since MAXWARPS under these settings
is higher the memcpy fails.
What I don't understand is, the pool is still accepting shares. Shouldn't this break the algo?
Is this a bug or can it be ignored?


2  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] cudaMiner - a new litecoin mining application [Windows/Linux] on: March 11, 2014, 03:34:33 PM
And get them to try and fix the need for chrome lmao

so far I do not know how to achieve the same effect. Should I open a DirectX window and render a little spinning cube or what Wink

Ah, now I know: I will have to integrate flash based advertising!

Is this trick only required for windows? If so, you could try to set the time period to 1 ms. (I believe this is what flash does).
The API is: timeBeginPeriod
What this basically does is increase the (global) interrupt time of windows, which among other things allows waiting functions to be more accurate.
Windows has a default period of 15.6 ms. Meaning every WaitForX, Sleep or Timer function has no better accuracy then that.
When 1 process in the system (e.g chrome) requests a lower time period it affects all processes running on the system.  
Hence it might be boosting CudaMiner.
So if someone who gets major benefits of having chrome open and is able to compile the software would like to test this:
Add somewhere at the top of main a call to timeBeginPeriod(1).
At the top of .c file in which main is defined add:
#include <Mmsystem.h>
#pragma comment(lib, "winmm.lib")
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!