fix gpu performance sample compilation
Merge pull request #3415 from jet47:fix-gpu-perf-sample