Skip to content

Commit 9fadfb1

Browse files
committed
Cuda cache: add getter for application name
1 parent 3cc2d13 commit 9fadfb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/luxrays/utils/cudacache.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ class cudaKernelPersistentCache : public cudaKernelCache {
5858

5959
static std::filesystem::path GetCacheDir(const std::string &applicationName);
6060

61+
std::string getApplicationName() {
62+
return appName;
63+
}
6164
private:
6265
std::string appName;
6366
};
@@ -68,3 +71,4 @@ class cudaKernelPersistentCache : public cudaKernelCache {
6871

6972
#endif /* _LUXRAYS_CUDACACHE_H */
7073

74+
// vim: autoindent noexpandtab tabstop=4 shiftwidth=4

0 commit comments

Comments
 (0)