20 frequency = (double)0.0;
24 registerPerBlock = (
size_t)0;
25 threadPerBlock = (
size_t)0;
34 frequency = (double)0.0;
38 registerPerBlock = (
size_t)0;
39 threadPerBlock = (
size_t)0;
46 compCompatibility = resource.compCompatibility;
47 cores = resource.cores;
48 frequency = resource.frequency;
49 globalMemory = resource.globalMemory;
50 sharedMemory = resource.sharedMemory;
51 constantMemory = resource.constantMemory;
52 registerPerBlock = resource.registerPerBlock;
53 threadPerBlock = resource.threadPerBlock;
54 bOverlap = resource.bOverlap;
60 GPU* resource =
new GPU(*
this);
71 GPU* gpu =
dynamic_cast<GPU*
>(resource);
const char * getCompCompatibility()
bool satisfy(GenericResource *resource) override
Capacity getGlobalMemory()
Capacity getSharedMemory()
Capacity getConstantMemory()
void setName(const char *szName)