ocl.c


Log

Author Commit Date CI Message
Con Kolivas 6374e0fa 2011-06-28T21: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.
Con Kolivas c5666051 2011-06-27T16:41:39 Tab dainbramage.
Con Kolivas ac4ab6af 2011-06-25T12:32:30 Fix mutli-gpu initialisation when BFI_INT patching.
Con Kolivas 11c88185 2011-06-27T16: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.
Con Kolivas 06f39506 2011-06-26T08:49:50 Fix typo which prevented BFI INT patch working on multi-GPUs.
Con Kolivas 30e38e2e 2011-06-26T00:59:07 Typo i - gpu
Con Kolivas fdb46f2d 2011-06-26T00:06:19 32bit fixes.
Con Kolivas 2dbb3944 2011-06-27T22: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.
Con Kolivas 623b9b9f 2011-06-27T12:45:03 Patch bitalign separately from bfi_int. Recover from failing to patch for bfi int.
Con Kolivas 656b485d 2011-06-25T18:58:59 Make the worksize and vector width configurable.
Con Kolivas 401586f9 2011-06-25T18:06:38 Only try to patch GPU referenced.
ckolivas 64f268c8 2011-06-24T17:00:54 Display correct worksize.
Con Kolivas 808d5b07 2011-06-24T11:17:58 Make output debug.
ckolivas 79fec01a 2011-06-22T12:27:57 Remove the input buffer and just pass args to the kernel as per plugin design.
Con Kolivas f05270b8 2011-06-22T01:19:19 Optimise loop and make debug debug only.
Con Kolivas 91e5cef3 2011-06-22T00:13:46 Actually get first BFI_INT patch working.
Con Kolivas a40003ab 2011-06-21T09:46:25 More bfi_int patching.
Con Kolivas c548dea8 2011-06-20T16:53:13 First BFI_INT patch changes.
Con Kolivas 910e6943 2011-06-19T22: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.
ckolivas 6b77d850 2011-06-17T14:00:41 Fixes.
ckolivas feb8cfc8 2011-06-24T09:51:54 applog fixes.
ckolivas 26546ad5 2011-06-24T09:17:09 Make the optimisations per-gpu card and update code to work properly with multiple cards.
Con Kolivas afc83cb2 2011-06-23T21:10:19 Need gnu_source for memmem to work properly.
Con Kolivas 4cd5f47e 2011-06-23T21:09:22 Revert "Multiple compiler warning fixes." This reverts commit a5cbfbde2610e9f60e14b41a4e0595bcb34c772a. Broke.
Con Kolivas 88761e6c 2011-06-23T21:04:29 Multiple compiler warning fixes.
ckolivas d28f526b 2011-06-23T17:56:11 Need memmem in advance() to work properly for patching.
ckolivas 19eea906 2011-06-23T17: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.
ckolivas 33352213 2011-06-23T16:39:56 Report preferred vector width.
Con Kolivas 407df0f4 2011-06-23T12:35:22 Use correct boolean testing and long enough string for cl_amd_media ops testing and kernel changing.
ckolivas c2e41655 2011-06-23T12:04:53 Detect platforms that support cl_amd_media_ops and decide whether to BFI_INT patch or not. Remove unused kernels.
ckolivas b4d2733c 2011-06-22T16:47:34 Convert to poclbm kernel.
Con Kolivas dde70397 2011-06-14T10:32:54 Merge gpumining from oclmine. Unstable.