HD7660D is a VLIW4 design which should be capable of some 60KH/s @ 800MHz. I'm almost sure the OSS driver doesn't expose any GPU specific data to an OpenCL compiler, so you have to set it up manually. Add "#define VLIW 1" somewhere in the kernel beginning. If there is no support for cl_amd_media_ops, change it to "#define OLD_VLIW 1"
You're right, if I added "# define VLIW 1" into `neoscrypt.cl', just after :
/* NeoScrypt(128, 2, 1) with Salsa20/20 and ChaCha20/20
* Optimised for the AMD GCN, VLIW4 and VLIW5 architectures
* v7, 20-Feb-2016 */
#define VLIW 1
I got this error :
[20:37:42] Probing for an alive pool
[20:37:43] The network difficulty has been set to 8307
[20:37:43] Stratum from pool 0 detected new block
[20:37:43] Error -11: Building Program (clBuildProgram)
[20:37:43] input.cl:100:26: warning: unknown OpenCL extension 'cl_amd_media_ops' - ignoring
input.cl:126:14: warning: implicit declaration of function 'amd_bitalign' is invalid in C99
unsupported call to function amd_bitalign in search
[20:37:43] Failed to init GPU thread 0, disabling device 0
[20:37:43] Restarting the GPU from the menu will not fix this.
[20:37:43] Try to restart the miner.
If I changed it on the same place to "#define OLD_VLIW 1", it's core dumped again :
[20:40:07] Probing for an alive pool
[20:40:07] The network difficulty has been set to 8307
[20:40:07] Stratum from pool 0 detected new block
[20:40:07] Pool 0 is sending mismatched block contents to us (0 is not 1-1)./nsgminer.sh: line 24: 23981 Segmentation fault (core dumped)usr/local/bin/nsgminer --neoscrypt -o stratum+tcp://....
Would be a problem with (enough of free) memory (HD7660D can allocate 256MB at maximum, if I'm not fallen), for example ?