Con Kolivas
|
56907db2d6
Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
|
14 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().
|
14 years ago |
Con Kolivas
|
60c701457a
Retain cl program after successfully loading a binary image.
|
14 years ago |
Con Kolivas
|
55bd031db3
Variable unused after this so remove setting it.
|
14 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.
|
14 years ago |
ckolivas
|
f2d5db0c77
Use only working kernels by default.
|
14 years ago |
ckolivas
|
59d3d0112b
Implement diablo kernel support and try to make it work.
|
14 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.
|
14 years ago |
ckolivas
|
e6cf96adfa
ALlow much longer filenames for kernels to load properly.
|
14 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.
|
14 years ago |
Con Kolivas
|
196e8a0f76
Fix kernel selection process and build error.
|
14 years ago |
Philip Kaufmann
|
47a09ceab8
added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support
|
14 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.
|
14 years ago |
ckolivas
|
53c1e9ae37
Allow the OpenCL platform ID to be chosen with --gpu-platform.
|
14 years ago |
ckolivas
|
a4f47812ff
Iterate over all platforms displaying their information and number of devices when --ndevs is called.
|
14 years ago |
Con Kolivas
|
ebaa2be1df
Update poclbm kernel for better performance on GCN and new SDKs with bitalign support when not BFI INT patching.
|
14 years ago |
Con Kolivas
|
82af288e69
Revert "Fix various harmless warnings."
|
14 years ago |
Con Kolivas
|
a4b67f030f
Fix various harmless warnings.
|
14 years ago |
Con Kolivas
|
b8f845b478
Display information about the opencl platform with verbose enabled.
|
14 years ago |
ckolivas
|
5d5584f80c
Explicitly check for nvidia in opencl platform strings as well.
|
14 years ago |
Con Kolivas
|
a3d90f84e2
Default to poclbm kernel on Tahiti (7970) since phatk does not work, even though performance is sub-standard so that at least it will mine successfully
|
14 years ago |
Con Kolivas
|
31f6e8c782
Unset prog_built after it is patched because it needs rebuilding.
|
14 years ago |
Con Kolivas
|
1e5035497b
Retain cl program after every possible place we might build the program.
|
14 years ago |
Con Kolivas
|
25caca9086
Revert "Don't explicitly retain the cl program as it is of no benefit to do so and may lead to problems when trying to release the program."
|
14 years ago |
Con Kolivas
|
32910463a3
Don't explicitly retain the cl program as it is of no benefit to do so and may lead to problems when trying to release the program.
|
14 years ago |
Con Kolivas
|
d18d55649f
Do not attempt to build the program that becomes the kernel twice. This could have been leading to failures on initialising cl.
|
14 years ago |
Con Kolivas
|
c87460b34e
Typo.
|
14 years ago |
Con Kolivas
|
2ecabd8535
Some opencl compilers have issues with no spaces after -D in the compiler options.
|
14 years ago |
Con Kolivas
|
77e9b1c2e8
Use calloced stack memory for CompilerOptions to ensure sprintf writes to the beginning of the char.
|
14 years ago |
Con Kolivas
|
d7aac25489
Whitelist 79x0 cards to prefer no vectors as they perform better without.
|
14 years ago |