ckolivas
|
a54f76061b
|
Fix multiple work size entry.
|
13 years ago |
Con Kolivas
|
26c59fbf0f
|
Allow the worksize to be set per-device.
|
13 years ago |
Con Kolivas
|
deff55c640
|
Allow different vectors to be set per device.
|
13 years ago |
Con Kolivas
|
bf3a9f94f1
|
Unintentionally dropped the device name from the binary filenames. Reinstate.
|
13 years ago |
Con Kolivas
|
5d23d70f68
|
As all kernels will be new versions it's an opportunity to change the .bin format and make it simpler. Specifying bitalign is redundant and long can be
l.
|
13 years ago |
Con Kolivas
|
d1cddf8bad
|
Update licensing to GPL V3.
|
13 years ago |
Con Kolivas
|
00290a3e02
|
Select diablo kernel on all but GCN+SDK 2.6.
|
13 years ago |
Con Kolivas
|
e9c3d7309a
|
Tahiti prefers worksize 64 with poclbm.
|
13 years ago |
Con Kolivas
|
30936f17e3
|
No need to expressly retain the opencl program now that the zero binary issue is fixed.
|
13 years ago |
Con Kolivas
|
810ad04578
|
More copyright updates.
|
13 years ago |
Con Kolivas
|
22d3034e10
|
Show error code on any opencl failure status.
|
13 years ago |
Con Kolivas
|
be9db9ce63
|
Copyright updates.
|
13 years ago |
Con Kolivas
|
0b6e35cda9
|
Add detection for version 898.1 SDK as well but only give SDK 2.6 warning once on startup instead of with each device initialisation.
|
13 years ago |
Con Kolivas
|
67c4ada1b7
|
Provide warning on each startup about sdk 2.6 and decrease poclbm kernel selection to LOG_INFO.
|
13 years ago |
Con Kolivas
|
b4c86ba615
|
Give SDK 2.6 warning only on building a kernel for !GCN bitalign devices.
|
13 years ago |
Con Kolivas
|
728e3d4398
|
Revert "Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then only select poclbm if SDK2.6 is detected."
This reverts commit e7fdadfc8f .
Broke kernel loading.
|
13 years ago |
ckolivas
|
e7fdadfc8f
|
Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then only select poclbm if SDK2.6 is detected.
|
13 years ago |
ckolivas
|
6a78594618
|
Make SDK 2.6 warning and advice big and bold.
|
13 years ago |
Con Kolivas
|
23c01bc79c
|
Make output buffer write only as per Diapolo's suggestion.
|
13 years ago |
Con Kolivas
|
b2b5083bda
|
Microoptimise phatk kernel on return code.
|
13 years ago |
Con Kolivas
|
fd05341a87
|
Do not loop indefinitely setting poclbm kernel to load a binary.
|
13 years ago |
Con Kolivas
|
d689cfbdf6
|
Try to load a binary if we've defaulted to the poclbm kernel on SDK2.6
|
13 years ago |
Con Kolivas
|
3057b701e7
|
Use the poclbm kernel on SDK2.6 with bitalign devices only if there is no binary available.
|
13 years ago |
Con Kolivas
|
2c33f12255
|
Whitelist ATI SDK 2.6 to use the poclbm kernel by default.
|
13 years ago |
Con Kolivas
|
fb99c8d52a
|
The longstanding generation of a zero sized binary appears to be due to the OpenCL library putting the binary in a RANDOM SLOT amongst 4 possible binary
locations. Iterate over each of them after building from source till the real binary is found and use that.
|
13 years ago |
Con Kolivas
|
56907db2d6
|
Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
|
13 years ago |
Con Kolivas
|
405a2120f8
|
Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog().
|
13 years ago |
Con Kolivas
|
60c701457a
|
Retain cl program after successfully loading a binary image.
|
13 years ago |
Con Kolivas
|
55bd031db3
|
Variable unused after this so remove setting it.
|
13 years ago |
Con Kolivas
|
1c1b8bec9a
|
BFI INT patching is not necessarily true on binary loading of files and not true on ATI SDK2.6+. Report bitalign instead.
|
13 years ago |
ckolivas
|
f2d5db0c77
|
Use only working kernels by default.
|
13 years ago |
ckolivas
|
59d3d0112b
|
Implement diablo kernel support and try to make it work.
|
13 years ago |
ckolivas
|
95a989da4d
|
Conflicting entries of cl_kernel may have been causing problems, and automatically chosen kernel type was not being passed on. Rename the enum to cl_kernels and store the chosen kernel in each clState.
|
13 years ago |
ckolivas
|
e6cf96adfa
|
ALlow much longer filenames for kernels to load properly.
|
13 years ago |
ckolivas
|
4822cca72b
|
Allow different kernels to be used by different devices and fix the logic fail of overcorrecting on last commit with !strstr.
|
13 years ago |
Con Kolivas
|
196e8a0f76
|
Fix kernel selection process and build error.
|
13 years ago |
Philip Kaufmann
|
47a09ceab8
|
added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support
|
13 years ago |
ckolivas
|
cb7145b179
|
Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places.
|
13 years ago |
ckolivas
|
6776b0ea9d
|
Use only working kernels by default.
|
13 years ago |
ckolivas
|
2270b4e053
|
Implement diablo kernel support and try to make it work.
|
13 years ago |
ckolivas
|
02c94272b4
|
Conflicting entries of cl_kernel may have been causing problems, and automatically chosen kernel type was not being passed on. Rename the enum to cl_kernels and store the chosen kernel in each clState.
|
13 years ago |
ckolivas
|
35ea31b1a5
|
ALlow much longer filenames for kernels to load properly.
|
13 years ago |
ckolivas
|
8af2365e6e
|
Allow different kernels to be used by different devices and fix the logic fail of overcorrecting on last commit with !strstr.
|
13 years ago |
Con Kolivas
|
2b23805e1d
|
Fix kernel selection process and build error.
|
13 years ago |
Philip Kaufmann
|
ed7210af6c
|
added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support
|
13 years ago |
ckolivas
|
a6c6866a0d
|
Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places.
|
13 years ago |
ckolivas
|
53c1e9ae37
|
Allow the OpenCL platform ID to be chosen with --gpu-platform.
|
13 years ago |
ckolivas
|
a4f47812ff
|
Iterate over all platforms displaying their information and number of devices when --ndevs is called.
|
13 years ago |
Con Kolivas
|
ebaa2be1df
|
Update poclbm kernel for better performance on GCN and new SDKs with bitalign support when not BFI INT patching.
Update phatk kernel to work properly for non BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI cards.
|
13 years ago |
Con Kolivas
|
82af288e69
|
Revert "Fix various harmless warnings."
This reverts commit a4b67f030f .
|
13 years ago |