Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/gpu.hpp @ 15206:de9ead115e26
Gpu needs to extend one of the allocation classes
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 17 Apr 2014 19:29:03 +0200 |
parents | 66e3af78ea96 |
children |
comparison
equal
deleted
inserted
replaced
15205:affef8631cf4 | 15206:de9ead115e26 |
---|---|
30 #include "utilities/array.hpp" | 30 #include "utilities/array.hpp" |
31 | 31 |
32 #define MAX_GPUS 2 | 32 #define MAX_GPUS 2 |
33 | 33 |
34 // Defines the interface to the graphics processor(s). | 34 // Defines the interface to the graphics processor(s). |
35 class Gpu { | 35 class Gpu : public CHeapObj<mtInternal> { |
36 private: | 36 private: |
37 static int _initialized_gpus_count; | 37 static int _initialized_gpus_count; |
38 static Gpu* _initialized_gpus[MAX_GPUS]; | 38 static Gpu* _initialized_gpus[MAX_GPUS]; |
39 | 39 |
40 public: | 40 public: |