|
|
@ -215,6 +215,8 @@ static enum cl_kernels select_kernel(char *arg) |
|
|
|
return KL_QUARKCOIN; |
|
|
|
return KL_QUARKCOIN; |
|
|
|
if (!strcmp(arg, MYRIADCOIN_GROESTL_KERNNAME)) |
|
|
|
if (!strcmp(arg, MYRIADCOIN_GROESTL_KERNNAME)) |
|
|
|
return KL_MYRIADCOIN_GROESTL; |
|
|
|
return KL_MYRIADCOIN_GROESTL; |
|
|
|
|
|
|
|
if (!strcmp(arg, MARUCOIN_KERNNAME)) |
|
|
|
|
|
|
|
return KL_MARUCOIN; |
|
|
|
|
|
|
|
|
|
|
|
return KL_NONE; |
|
|
|
return KL_NONE; |
|
|
|
} |
|
|
|
} |
|
|
@ -1367,6 +1369,9 @@ static bool opencl_thread_prepare(struct thr_info *thr) |
|
|
|
case KL_MYRIADCOIN_GROESTL: |
|
|
|
case KL_MYRIADCOIN_GROESTL: |
|
|
|
cgpu->kname = MYRIADCOIN_GROESTL_KERNNAME; |
|
|
|
cgpu->kname = MYRIADCOIN_GROESTL_KERNNAME; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case KL_MARUCOIN: |
|
|
|
|
|
|
|
cgpu->kname = MARUCOIN_KERNNAME; |
|
|
|
|
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
@ -1406,6 +1411,7 @@ static bool opencl_thread_init(struct thr_info *thr) |
|
|
|
case KL_QUBITCOIN: |
|
|
|
case KL_QUBITCOIN: |
|
|
|
case KL_QUARKCOIN: |
|
|
|
case KL_QUARKCOIN: |
|
|
|
case KL_MYRIADCOIN_GROESTL: |
|
|
|
case KL_MYRIADCOIN_GROESTL: |
|
|
|
|
|
|
|
case KL_MARUCOIN: |
|
|
|
thrdata->queue_kernel_parameters = &queue_sph_kernel; |
|
|
|
thrdata->queue_kernel_parameters = &queue_sph_kernel; |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|