31 Commits (3845e89d00c68a5b86752ee0a20ce80a38ac185f)

Author SHA1 Message Date
Noel Maersk 199cb10e18 HAVE_OPENCL is mandatory, remove checks form code an build system. 11 years ago
Noel Maersk 323af83fdb Remove define-clauses for USE_SCRYPT. 11 years ago
Con Kolivas 578fabe07c Do not perform bfi int patching for opencl1.2 or later. 11 years ago
Con Kolivas 39f7d2fa74 Allow lookup gap and thread concurrency to be passed per device and store details in kernel binary filename. 13 years ago
Con Kolivas a9a0bba18b Set the correct data for cldata and prepare for pad8 fixes. 13 years ago
Con Kolivas 243d005b1b Set scrypt settings and buffer size in ocl.c code to be future modifiable. 13 years ago
Con Kolivas b085c338f6 Make scrypt buffers and midstate compatible with cgminer. 13 years ago
Con Kolivas 621bcca7f5 Use global offset parameter to diablo and poclbm kernel ONLY for 1 vector kernels. 13 years ago
ckolivas a54f76061b Fix multiple work size entry. 13 years ago
Con Kolivas deff55c640 Allow different vectors to be set per device. 13 years ago
zefir 713e8be629 move CPU chipset specific optimization into device-cpu 13 years ago
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 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
Philip Kaufmann ed7210af6c 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