thodg/cgminer/ocl.c

Branch :


Log

Author Commit Date CI Message
a636a674 2011-07-05 21:31:41 Merge branch 'cgminer' of git://github.com/ckolivas/cgminer into cgminer
52d6e7ca 2011-07-05 21:31:24 Fixed fread issues under Windows.
a93b22c6 2011-07-05 17:34:54 Make it possible to build without GPU mining by picking up HAVE_OPENCL from config.h.
13b43cfa 2011-07-03 00:28:51 Update copyright and authors.
594b38b8 2011-07-02 13:46:17 Fix redefinition of gnu source.
ec831917 2011-06-25 04:43:37 Build on windows using mingw32.
5d301c8b 2011-07-02 10:22:09 Make a binary load failure build from source.
821da37c 2011-07-04 13:49:28 Add hardware name to binary kernel name allowing for unique kernels for different cards on the same machine.
4d730577 2011-06-30 10:36:19 Build binaries with unique filenames from the kernel generated and save them. Try to load this cached binary if it matches on next kernel instantiation. This speeds up start-up dramatically, and has a unique kernel binary for different kernel configurations.
973b2199 2011-06-30 08:58:07 Tidy.
2b6e8416 2011-06-29 23:38:16 Use a buffer of up to 512 * 4 integers when retrieving work from the GPU. This allows each local thread id to have one slot to put any positive results into, thus making overlapping results far less likely. Thus races will be much rarer, allowing more threads. It should also pick up blocks close to each other more reliably and hopefully decrease the number of rejects and opencl errors. Do the search over the buffer entirely in a separate thread to allow the GPU to stay as busy as possible. Detach threads from themselves to prevent unlucky even where dereferencing occurs by freeing the data that stores the thread info.
3aa5be4f 2011-07-01 01:14:43 Reinstate binary kernel loading with fixes. Build binaries with unique filenames from the kernel generated and save them. Try to load this cached binary if it matches on next kernel instantiation. This speeds up start-up dramatically, and has a unique kernel binary for different kernel configurations.
60f0bb19 2011-06-30 15:47:17 Temporarily back out binary building till it's working more reliably.
a095f0fa 2011-06-30 14:30:10 Broke source generated program. Fix.
1dfbe603 2011-06-29 09:24:38 Put sanity limit on work size since some nvidia fail :(
6374e0fa 2011-06-28 21:11:04 Import the phatk kernel. Enable it only for hardware with amd media ops for now since it crashes nvidia et. al. Fallback to the poclbm kernel for the rest. Try harder to avoid stale blocks around longpoll detecting new blocks.
2dbb3944 2011-06-27 22:05:03 Base was being set wrongly meaning we were repeating searches and the rate was actually lower than displayed :( Tweak Ma with new changes. Change default vectors to 2 since it's faster than 4 even when 4 is reported as preferred.
c5666051 2011-06-27 16:41:39 Tab dainbramage.
11c88185 2011-06-27 16:08:46 32 bit only builds one elf, not an elf in an elf, so account for it to be able to bfi int patch properly.
623b9b9f 2011-06-27 12:45:03 Patch bitalign separately from bfi_int. Recover from failing to patch for bfi int.
06f39506 2011-06-26 08:49:50 Fix typo which prevented BFI INT patch working on multi-GPUs.
30e38e2e 2011-06-26 00:59:07 Typo i - gpu
fdb46f2d 2011-06-26 00:06:19 32bit fixes.
656b485d 2011-06-25 18:58:59 Make the worksize and vector width configurable.
401586f9 2011-06-25 18:06:38 Only try to patch GPU referenced.
ac4ab6af 2011-06-25 12:32:30 Fix mutli-gpu initialisation when BFI_INT patching.
64f268c8 2011-06-24 17:00:54 Display correct worksize.
808d5b07 2011-06-24 11:17:58 Make output debug.
88761e6c 2011-06-23 21:04:29 Multiple compiler warning fixes.
d28f526b 2011-06-23 17:56:11 Need memmem in advance() to work properly for patching.
19eea906 2011-06-23 17:50:37 Implement code detecting max work size and optimal vector width. Use this to patch the kernel to suit the idea values for the card. Then use these values when invoking the kernel.
33352213 2011-06-23 16:39:56 Report preferred vector width.
407df0f4 2011-06-23 12:35:22 Use correct boolean testing and long enough string for cl_amd_media ops testing and kernel changing.
c2e41655 2011-06-23 12:04:53 Detect platforms that support cl_amd_media_ops and decide whether to BFI_INT patch or not. Remove unused kernels.
b4d2733c 2011-06-22 16:47:34 Convert to poclbm kernel.
79fec01a 2011-06-22 12:27:57 Remove the input buffer and just pass args to the kernel as per plugin design.
f05270b8 2011-06-22 01:19:19 Optimise loop and make debug debug only.
91e5cef3 2011-06-22 00:13:46 Actually get first BFI_INT patch working.
a40003ab 2011-06-21 09:46:25 More bfi_int patching.
c548dea8 2011-06-20 16:53:13 First BFI_INT patch changes.
910e6943 2011-06-19 22:21:51 Increase baseline threads to 1<<22. Make total counter regularly update every 5 seconds. Only write the blank buffer when it needs to be blanked.
6b77d850 2011-06-17 14:00:41 Fixes.
feb8cfc8 2011-06-24 09:51:54 applog fixes.
26546ad5 2011-06-24 09:17:09 Make the optimisations per-gpu card and update code to work properly with multiple cards.
afc83cb2 2011-06-23 21:10:19 Need gnu_source for memmem to work properly.
4cd5f47e 2011-06-23 21:09:22 Revert "Multiple compiler warning fixes." This reverts commit a5cbfbde2610e9f60e14b41a4e0595bcb34c772a. Broke.
dde70397 2011-06-14 10:32:54 Merge gpumining from oclmine. Unstable.