doc: updates
libcoprthrcc: added -D__coprthr_device__ to uses of cpp
libcoprthr: cleanup test codes with bug fixes