Skip to content

Instantly share code, notes, and snippets.

@mnmnm
Created August 30, 2013 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnmnm/6387453 to your computer and use it in GitHub Desktop.
Save mnmnm/6387453 to your computer and use it in GitHub Desktop.
oclvanitygen.patch for 7xxx amd ati radeon GPU
--- ori/vanitygen/oclengine.c 2013-05-31 14:34:11.000000000 +0200
+++ new/vanitygen/oclengine.c 2013-07-28 17:09:27.207382598 +0200
@@ -447,6 +449,8 @@ vg_ocl_get_quirks(vg_ocl_context_t *vocp
dvn = vg_ocl_device_getstr(vocp->voc_ocldid,
CL_DEVICE_NAME);
+ if (!strcmp(dvn, "Tahiti") || !strcmp(dvn, "Pitcairn"))
+ quirks &= ~VG_OCL_AMD_BFI_INT;
if (!strcmp(dvn, "ATI RV710")) {
quirks &= ~VG_OCL_OPTIMIZATIONS;
quirks |= VG_OCL_NO_BINARIES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment