|
|
@ -84,10 +84,13 @@ static const int ROUNDS_PDF17L8 = 64;
|
|
|
|
|
|
|
|
|
|
|
|
bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hc_device_param_t *device_param)
|
|
|
|
bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hc_device_param_t *device_param)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// AppleM1, OpenCL, MTLCompilerService, createKernel: newComputePipelineState failed (or never-end with pure kernel)
|
|
|
|
// AppleM1, OpenCL, MTLCompilerService, createKernel never-end with pure kernel
|
|
|
|
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_type & CL_DEVICE_TYPE_GPU))
|
|
|
|
if ((device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE) && (device_param->opencl_device_type & CL_DEVICE_TYPE_GPU))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
if ((hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL) == 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
@ -132,6 +135,11 @@ char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
|
|
|
|
{
|
|
|
|
{
|
|
|
|
char *jit_build_options = NULL;
|
|
|
|
char *jit_build_options = NULL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (device_param->is_metal == true)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
hc_asprintf (&jit_build_options, "-D FORCE_DISABLE_SHM");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false))
|
|
|
|
if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// this is a workaround to avoid a Segmentation fault and self-test fails on AMD GPU PRO
|
|
|
|
// this is a workaround to avoid a Segmentation fault and self-test fails on AMD GPU PRO
|
|
|
|