Show warning about bad opencl runtime on intel cpu only once

pull/363/head
Jens Steube 8 years ago
parent a3e6690a9c
commit e5359036ff

@ -13627,8 +13627,11 @@ int main (int argc, char **argv)
{
if (data.force == 0)
{
log_info ("Device #%u: WARNING: not native intel opencl runtime, expect massive speed loss", device_id + 1);
log_info (" You can use --force to override this but do not post error reports if you do so");
if (algorithm_pos == 0)
{
log_info ("Device #%u: WARNING: not native intel opencl runtime, expect massive speed loss", device_id + 1);
log_info (" You can use --force to override this but do not post error reports if you do so");
}
device_param->skipped = 1;
}

Loading…
Cancel
Save