Commit 8f3883a2 authored by yao's avatar yao

fix a compile warning

parent ed3c3822
......@@ -4345,7 +4345,7 @@ int main(int argc, const char *argv[])
{
if (device == devidx)
{
ocl::setDevice(oclinfo[i], j);
ocl::setDevice(oclinfo[i], (int)j);
TestSystem::instance().setRecordName(oclinfo[i].DeviceName[j]);
printf("\nuse %d: %s\n", devidx, oclinfo[i].DeviceName[j].c_str());
goto END_DEV;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment