20 Commits (95a989da4dcd28b78ea9f9d45343089f45f07dae)

Author SHA1 Message Date
ckolivas 95a989da4d 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
Philip Kaufmann 47a09ceab8 added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support 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 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 42d49ffdc7 Revert "Restart threads by abstracting out the clcontext initialisation and using that instead of probing all cards." 14 years ago
Con Kolivas cf543507c6 Revert "Preinitialise the devices only once on startup." 14 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." 14 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. 14 years ago
Con Kolivas 071a0ad2f1 Preinitialise the devices only once on startup. 14 years ago
Con Kolivas 8f186e61e2 Restart threads by abstracting out the clcontext initialisation and using that instead of probing all cards. 14 years ago
Con Kolivas a93b22c630 Make it possible to build without GPU mining by picking up HAVE_OPENCL from config.h. 14 years ago
Con Kolivas 6374e0fafe Import the phatk kernel. Enable it only for hardware with amd media ops for now since it crashes nvidia et. al. 14 years ago
Con Kolivas 656b485d80 Make the worksize and vector width configurable. 14 years ago
ckolivas 26546ad5b9 Make the optimisations per-gpu card and update code to work properly with multiple cards. 14 years ago
Con Kolivas 4cd5f47efa Revert "Multiple compiler warning fixes." 14 years ago
Con Kolivas 88761e6cf2 Multiple compiler warning fixes. 14 years ago
ckolivas 19eea9067f Implement code detecting max work size and optimal vector width. 14 years ago
ckolivas 79fec01a46 Remove the input buffer and just pass args to the kernel as per plugin design. 14 years ago
Con Kolivas dde7039726 Merge gpumining from oclmine. Unstable. 14 years ago