Mercurial > hg > graal-jvmci-8
diff src/gpu/ptx/vm/gpu_ptx.hpp @ 13828:5c8a3c09397b
Add additional device checks and compute capability checks for CUDA devices found on Linux.
author | S.Bharadwaj Yadavalli <bharadwaj.yadavalli@oracle.com> |
---|---|
date | Thu, 30 Jan 2014 17:49:56 -0500 |
parents | 8053c3ede984 |
children | 51584f76462d |
line wrap: on
line diff
--- a/src/gpu/ptx/vm/gpu_ptx.hpp Thu Jan 30 21:11:38 2014 +0100 +++ b/src/gpu/ptx/vm/gpu_ptx.hpp Thu Jan 30 17:49:56 2014 -0500 @@ -87,6 +87,12 @@ #define GRAAL_CU_CTX_MAP_HOST 0x08 #define GRAAL_CU_CTX_SCHED_BLOCKING_SYNC 0x04 +/** + * Support compute capability 3.0 and later + */ + +#define GRAAL_SUPPORTED_COMPUTE_CAPABILITY_VERSION 3.0 + class Ptx { friend class PtxCall;