Luke Dashjr
|
fa2c9b2ec5
opencl: Fail gracefully if clGetProgramInfo/CL_PROGRAM_NUM_DEVICES returns zero
|
11 years ago |
Luke Dashjr
|
f8345dab78
opencl: Remember results of global offset testing
|
11 years ago |
Luke Dashjr
|
cd69b01ae2
opencl: Only save kernel binary when we built from source
|
11 years ago |
Luke Dashjr
|
8b85a09dcb
opencl: Only try to patch BFI_INT when compiling a kernel from source
|
11 years ago |
Luke Dashjr
|
74d8924323
opencl: Major refactor, splitting up opencl_load_kernel into many new functions
|
11 years ago |
Luke Dashjr
|
2291622251
Bugfix: opencl: Correctly handle non-goffset kernels
|
11 years ago |
Luke Dashjr
|
5d66a50971
Bugfix: opencl: free memory if clState creation fails
|
11 years ago |
Luke Dashjr
|
e2f08af285
opencl: Remove support for "OCL1" kernel define (indicated OpenCL 1.1+)
|
11 years ago |
Luke Dashjr
|
09ae9e3921
opencl: Autodetect whether global offset actually works
|
11 years ago |
Luke Dashjr
|
8d8c04855f
opencl: Determine kernel support for goffset by code analysis
|
11 years ago |
Luke Dashjr
|
5edb42d297
opencl: Add "goffset" setting to override detection of support for global work offsets
|
11 years ago |
Luke Dashjr
|
cda82f16c5
opencl: Add a simple "fullheader" kernel interface
|
11 years ago |
Luke Dashjr
|
a9f278b67a
opencl: Simplify kernel-specific data handling
|
11 years ago |
Luke Dashjr
|
2bfdbc7e32
opencl: Remove redundant checks for USE_OPENCL
|
11 years ago |
Luke Dashjr
|
71fe0192d0
opencl: Only attempt to BFI_INT patch SHA256d kernels
|
11 years ago |
Luke Dashjr
|
38b2400e7f
Significantly rewrite configure script to handle driver dependencies cleaner
|
11 years ago |
Luke Dashjr
|
70f17d7540
Make SHA256d mining optional
|
11 years ago |
Luke Dashjr
|
7efe730d7e
Bugfix: Clarify goffset decision code, and refuse to compile kernels in situations where they won't work
|
11 years ago |
Luke Dashjr
|
88688f288f
Bugfix: opencl: Output buffer must be readable by kernel since it is used with a count/position iterator
|
11 years ago |
Luke Dashjr
|
fbfab8b4e4
opencl: Nearly complete migration to per-work mining algorithms
|
11 years ago |
Luke Dashjr
|
c7b7a4a9d5
opencl: Support for per-work mining algorithms
|
11 years ago |
Luke Dashjr
|
28e4673181
opencl: Defer loading kernel until it is needed
|
11 years ago |
Luke Dashjr
|
1d56821c3c
opencl: Split initCl into opencl_create_clState and opencl_load_kernel
|
11 years ago |
Luke Dashjr
|
211fdffd19
Copyright cleanups and updates
|
11 years ago |
Luke Dashjr
|
13e07d049d
Merge branch 'opencl_kernelapi' into bfgminer
|
11 years ago |
Luke Dashjr
|
32db914def
Bugfix: Report actual kernel name in RPC, rather than kernel interface name
|
11 years ago |
Luke Dashjr
|
7bd2a89809
opencl: Silence warning about duplicate const qualifier
|
11 years ago |
Luke Dashjr
|
3342cdff7c
Merge commit 'fac77b0' into bfgminer
|
11 years ago |
Luke Dashjr
|
fac77b0f09
opencl: bfg_clBuildProgram function to share common error handling (logging) code
|
11 years ago |
Luke Dashjr
|
15eff4074c
opencl: Avoid printing empty build logs
|
11 years ago |