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.
This should enable GCN architectures (ATI 79xx cards) to work properly.
|
13 years ago |
Con Kolivas
|
42d49ffdc7
|
Revert "Restart threads by abstracting out the clcontext initialisation and using that instead of probing all cards."
This reverts commit 8f186e61e2 .
|
13 years ago |
Con Kolivas
|
cf543507c6
|
Revert "Preinitialise the devices only once on startup."
This reverts commit 071a0ad2f1 .
|
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."
This reverts commit 28880d0dc7 .
|
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.
Create a new context from scratch in initCQ in case something was corrupted to maximise our chance of succesfully creating a new worker thread.
|
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 |
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.
Fallback to the poclbm kernel for the rest. Try harder to avoid stale blocks around longpoll detecting new blocks.
|
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."
This reverts commit a5cbfbde2610e9f60e14b41a4e0595bcb34c772a.
Broke.
|
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.
Use this to patch the kernel to suit the idea values for the card.
Then use these values when invoking the kernel.
|
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 |