255
255
uniqueValsA = length(unique(theInImage));
256
256
uniqueValsB = length(unique(theIntImage));
259
259
fprintf('Ouch! Number of unique test samples in different images is not the same! Bug in test code?!?\n');
260
260
fprintf('Input to GPU (float) = %i, Input to CPU (uint32) = %i, Reference Expected (nr. slots) = %i\n', uniqueValsA, uniqueValsB, driverNSlots);
261
261
error('Mismatch in unique values count! Likely a bug in this test code!');