Initial MESA support, needs more fixes

pull/321/head
jsteube 8 years ago
parent 9a22b53254
commit 082b1504b1

@ -12863,6 +12863,12 @@ int main (int argc, char **argv)
if (device_type & CL_DEVICE_TYPE_GPU)
{
if (vendor_id == VENDOR_ID_AMD)
{
if (strstr (device_version, "MESA"))
{
// MESA stuff
}
else
{
cl_uint device_processor_cores = 0;
@ -12872,6 +12878,7 @@ int main (int argc, char **argv)
device_param->device_processor_cores = device_processor_cores;
}
}
else if (vendor_id == VENDOR_ID_NV)
{
cl_uint kernel_exec_timeout = 0;
@ -12961,6 +12968,12 @@ int main (int argc, char **argv)
}
}
else if (vendor_id == VENDOR_ID_AMD)
{
if (strstr (device_version, "MESA"))
{
// MESA stuff
}
else
{
int catalyst_check = (force == 1) ? 0 : 1;
@ -13009,6 +13022,7 @@ int main (int argc, char **argv)
}
}
}
}
/**
* kernel accel and loops tuning db adjustment

Loading…
Cancel
Save