m_passed = true;
watch.stop();
m_gpuTime = watch.elapsedTimeMillis();
watch.start();
for(i = 0; i < known_good_items.size(); ++i){
Kernel known_good_item = known_good_items.get(i);
known_good_item.gpuMethod();
}
watch.stop();
m_cpuTime = watch.elapsedTimeMillis();
for(i = 0; i < known_good_items.size(); ++i){
Kernel known_good_item = known_good_items.get(i);
Kernel testing_item = testing_items.get(i);
if(!m_creator.compare(known_good_item, testing_item)){
m_message = "Compare failed at: "+i;
m_passed = false;
return;
}