Put all constants used in poclbm kernel into __const memory array to speed up concurrent reads on the wavefront.
Reuse some Vals[] variables that can be assigned to constants earlier in the poclbm kernel, making for fewer ops.
Separate out additions in scrypt kernel.
Revise scrypt kernel copyright notice.
Use constants for endian swap macros.
Use global __constants for sha functions in scrypt kernel.
Use global constant arrays for all other constants used in scrypt kernel.
Move to storing the nonce1 in the work struct instead of the sessionid for the now defunct first draft mining.resume protocol.
Use the sessionid as passed on stratum connect to attempt to resume a connection once and then clear it if it fails, to use a new connection.
Fix --benchmark generating valid work for cgminer.
Create a __constant array for use within diablo kernel.
Use constants from the array of __constants throughout the diablo kernel.
Cope with misread sessionid on stratum for now.
Merge branch 'master' into usb-dev