Okay, I give up. I compiled like 12 different versions, trying to use both qubit_luffa512 and x11_luffa512 and even did some weird mixes but obviously I only found cpu validation errors and crashes, but mostly air.
i just removed the four algo from qubit but i don't know if the _80 count as one round(tried both, adding the _64 one also), anyway i'm waiting for pool to see if it work, on solo he just keep running(no error or anything) but dunno if it is working or not
beside that qubit luffa is just for the first hash _80 you certainly need it.... maybe it need that finalhash_80 like whirlcoin
p.s. i'm mining monero right now gpu are really cool, perhaps it consume less?
I can't play for a few hours until I get home but have you tried this:
1) copy cubit.cu to luffa512.cu
2) add luffa512.cu to VS
3) in luffa512.cu
a) comment out everything from extern void x11_cubehash512_cpu_init to quark_compactTest_cpu_hash_64
4) rename qubithash to luffa512hash
5) comment out
//sph_cubehash512_context ctx_cubehash;
//sph_shavite512_context ctx_shavite;
//sph_simd512_context ctx_simd;
//sph_echo512_context ctx_echo;
6) also comment out:
//sph_cubehash512_init(&ctx_cubehash);
//// ZCUBEHASH;
//sph_cubehash512 (&ctx_cubehash, (const void*) hash, 64);
//sph_cubehash512_close(&ctx_cubehash, (void*) hash);
//sph_shavite512_init(&ctx_shavite);
//// ZSHAVITE;
//sph_shavite512 (&ctx_shavite, (const void*) hash, 64);
//sph_shavite512_close(&ctx_shavite, (void*) hash);
//sph_simd512_init(&ctx_simd);
//// ZSIMD
//sph_simd512 (&ctx_simd, (const void*) hash, 64);
//sph_simd512_close(&ctx_simd, (void*) hash);
//sph_echo512_init(&ctx_echo);
//// ZECHO
//sph_echo512 (&ctx_echo, (const void*) hash, 64);
//sph_echo512_close(&ctx_echo, (void*) hash);
7) rename scanhash_qubit to scanhash_luffa512
more generic here but comment out similar routines to above not using luffa
9) rename function calls inside from qubithash to luffa512hash
then setup externs for luffa512hash in main program?
I of course skipped a couple of things as I just quickly looked though it but that should work I'd think if it's just one round of luffa512.
Carlo