Error: Function call is not allowed in a constant expression
-
can someone help me through gpu plotting? I have configured .bat file and devices.txt with the help of this forum, but I keep getting the error message when launching the .bat file.
the system doesn't start plotting at all, it just gives me the error message "Error: Function call is not allowed in a constant expression" 100 times, then the plotter quits.
any ideas?
thanks!
-
how about poste the content of your bat file, without its hard to guess whats wrong.
-
gpuPlotGenerator.exe generate direct C:/plots/9887840564258710725_100000000000_1435000_2048
pause
-
well, damn ... looks ok for me, guess the bat file is not the problem.
Sry but i can just provide this:
https://github.com/bhamon/gpuPlotGenerator#setupMaybe try 'buffer' instead of 'direct'
-
@yoyoman5 In addition to what Luxe said, are you sure you've got your devices.txt correctly setup ? run "gpuPlotGenerator setup" to make sure the devices.txt matches what you actually have.
Also, what GPU are you using ?
-
Well, doing that seems to have helped. The error went away, but now I have "Unable to create the OpenCL GPU buffer". Below is my new devices.txt
0 0 8448 192 8192
Using MSI R9 280x
Any more ideas? I think we're close!
-
Well...just kidding. I lowered the 3rd number (the amount of memory to be used) in order to allow the buffer to be created, and the original error came back. I'm at a loss.
-
try use: (my opt. setting for 280x)
0 0 8192 256 8192if that does not work, try: (slower)
0 0 4096 128 4096
