Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
13827:8053c3ede984 | 13828:5c8a3c09397b |
---|---|
84 * Context creation flags | 84 * Context creation flags |
85 */ | 85 */ |
86 | 86 |
87 #define GRAAL_CU_CTX_MAP_HOST 0x08 | 87 #define GRAAL_CU_CTX_MAP_HOST 0x08 |
88 #define GRAAL_CU_CTX_SCHED_BLOCKING_SYNC 0x04 | 88 #define GRAAL_CU_CTX_SCHED_BLOCKING_SYNC 0x04 |
89 | |
90 /** | |
91 * Support compute capability 3.0 and later | |
92 */ | |
93 | |
94 #define GRAAL_SUPPORTED_COMPUTE_CAPABILITY_VERSION 3.0 | |
89 | 95 |
90 class Ptx { | 96 class Ptx { |
91 friend class PtxCall; | 97 friend class PtxCall; |
92 | 98 |
93 private: | 99 private: |