Created
August 30, 2013 08:09
-
-
Save mnmnm/6387453 to your computer and use it in GitHub Desktop.
oclvanitygen.patch for 7xxx amd ati radeon GPU
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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