153 Commits (836b76a0d6936adc933cc852db5f9c42375517ae)

Author SHA1 Message Date
Con Kolivas 196e8a0f76 Fix kernel selection process and build error. 13 years ago
Philip Kaufmann 47a09ceab8 added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support 13 years ago
ckolivas cb7145b179 Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places. 13 years ago
ckolivas 6776b0ea9d Use only working kernels by default. 13 years ago
ckolivas 2270b4e053 Implement diablo kernel support and try to make it work. 13 years ago
ckolivas 02c94272b4 Conflicting entries of cl_kernel may have been causing problems, and automatically chosen kernel type was not being passed on. Rename the enum to cl_kernels and store the chosen kernel in each clState. 13 years ago
ckolivas 35ea31b1a5 ALlow much longer filenames for kernels to load properly. 13 years ago
ckolivas 8af2365e6e Allow different kernels to be used by different devices and fix the logic fail of overcorrecting on last commit with !strstr. 13 years ago
Con Kolivas 2b23805e1d Fix kernel selection process and build error. 13 years ago
Philip Kaufmann ed7210af6c added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support 13 years ago
ckolivas a6c6866a0d Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places. 13 years ago
ckolivas 53c1e9ae37 Allow the OpenCL platform ID to be chosen with --gpu-platform. 13 years ago
ckolivas a4f47812ff Iterate over all platforms displaying their information and number of devices when --ndevs is called. 13 years ago
Con Kolivas ebaa2be1df Update poclbm kernel for better performance on GCN and new SDKs with bitalign support when not BFI INT patching. 13 years ago
Con Kolivas 82af288e69 Revert "Fix various harmless warnings." 13 years ago
Con Kolivas a4b67f030f Fix various harmless warnings. 13 years ago
Con Kolivas b8f845b478 Display information about the opencl platform with verbose enabled. 13 years ago
ckolivas 5d5584f80c Explicitly check for nvidia in opencl platform strings as well. 13 years ago
Con Kolivas a3d90f84e2 Default to poclbm kernel on Tahiti (7970) since phatk does not work, even though performance is sub-standard so that at least it will mine successfully 13 years ago
Con Kolivas 31f6e8c782 Unset prog_built after it is patched because it needs rebuilding. 13 years ago
Con Kolivas 1e5035497b Retain cl program after every possible place we might build the program. 13 years ago
Con Kolivas 25caca9086 Revert "Don't explicitly retain the cl program as it is of no benefit to do so and may lead to problems when trying to release the program." 13 years ago
Con Kolivas 32910463a3 Don't explicitly retain the cl program as it is of no benefit to do so and may lead to problems when trying to release the program. 13 years ago
Con Kolivas d18d55649f Do not attempt to build the program that becomes the kernel twice. This could have been leading to failures on initialising cl. 13 years ago
Con Kolivas c87460b34e Typo. 13 years ago
Con Kolivas 2ecabd8535 Some opencl compilers have issues with no spaces after -D in the compiler options. 13 years ago
Con Kolivas 77e9b1c2e8 Use calloced stack memory for CompilerOptions to ensure sprintf writes to the beginning of the char. 13 years ago
Con Kolivas d7aac25489 Whitelist 79x0 cards to prefer no vectors as they perform better without. 13 years ago
Con Kolivas 3d4cfce8df Instead of using the BFI_INT patching hack on any device reporting cl_amd_media_ops, create a whitelist of devices that need it. 13 years ago
Con Kolivas 6442c1aba0 Style police. 13 years ago
Con Kolivas 0719d40704 Clean up on failure to load a binary kernel. 13 years ago
Con Kolivas fb0c580b62 Go to kernel build should we fail to clCreateProgramWithBinary instead of failing on that device. 13 years ago
Con Kolivas 2053de6d59 Add the directory name from the arguments cgminer was called from as well to allow it running from a relative pathname. 13 years ago
Con Kolivas 5848c11004 Confusion over the variable name for number of devices was passing a bogus value which likely was causing the zero sized binary issue. 13 years ago
Con Kolivas 3567b69e5e Remove fragile source patching for bitalign, vectors et. al and simply pass it with the compiler options. 13 years ago
Con Kolivas 3d5f555407 Allow a custom kernel path to be entered on the command line. 13 years ago
Con Kolivas 413d97096d Make cgminer look in the install directory for the .cl files making make install work correctly. 13 years ago
Con Kolivas 48180b697b Fail gracefully if unable to open the opencl files. 13 years ago
Con Kolivas 6d10ef2f6e Bump version numbers of kernels to indicate slightly different versions. 13 years ago
Con Kolivas 4beade3772 Retain the program immediately after it's created from source. 13 years ago
Con Kolivas 082e20df5f Explicitly tell the compiler to retain the program to minimise the chance of the zero sized binary errors. 13 years ago
Con Kolivas 0f782ba6bd Update poclbm kernel to FF sized mask and only check that range. 13 years ago
Con Kolivas c40f51c7c1 Move to cgminer style buffer return and file naming convention and fix a compiler warning. 13 years ago
Phateus d15d225a4c Changed phatk version to 2.2 13 years ago
Con Kolivas 42d49ffdc7 Revert "Restart threads by abstracting out the clcontext initialisation and using that instead of probing all cards." 13 years ago
Con Kolivas cf543507c6 Revert "Preinitialise the devices only once on startup." 13 years ago
Con Kolivas b1289a0159 Revert "Move the non cl_ variables into the cgpu info struct to allow creating a new cl state on reinit, preserving known GPU variables." 13 years ago
Con Kolivas 28880d0dc7 Move the non cl_ variables into the cgpu info struct to allow creating a new cl state on reinit, preserving known GPU variables. 13 years ago
Con Kolivas 071a0ad2f1 Preinitialise the devices only once on startup. 13 years ago
Con Kolivas 8f186e61e2 Restart threads by abstracting out the clcontext initialisation and using that instead of probing all cards. 14 years ago