Use only legal characters in OpenCL cache filename
commit2defd44a4c438e2fff007d0970316524dcfffe53
authorVedran Miletić <vedran@miletic.net>
Tue, 12 Jul 2016 17:07:30 +0000 (12 19:07 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 3 Aug 2016 13:10:11 +0000 (3 15:10 +0200)
treebc9b00362b7183164608b13d754abad5aca7bf04
parent0722e465c5bc31e493c41359917821545a4f9423
Use only legal characters in OpenCL cache filename

The device name from the vendor could contain anything, and we need to
avoid dot and slash when we try to make a filename from it. To help
keep it valid for all possible users, we permit only alphanumeric
characters from the current locale.

Change-Id: Ie55959a9a2161d0cfc7effa6ab57fffc8160f4e2
src/gromacs/gpu_utils/ocl_caching.cpp