Fix for EPR 391497 - StockDataAnalysis and StockDataAnalysis_TBB subtest...

...s fail intermittently when run on gpu