24 frequency = (double)0.0;
28 registerPerBlock = (size_t)0;
29 threadPerBlock = (size_t)0;
38 frequency = (double)0.0;
42 registerPerBlock = (size_t)0;
43 threadPerBlock = (size_t)0;
50 compCompatibility = resource.compCompatibility;
51 cores = resource.cores;
52 frequency = resource.frequency;
53 globalMemory = resource.globalMemory;
54 sharedMemory = resource.sharedMemory;
55 constantMemory = resource.constantMemory;
56 registerPerBlock = resource.registerPerBlock;
57 threadPerBlock = resource.threadPerBlock;
58 bOverlap = resource.bOverlap;
64 GPU* resource =
new GPU(*
this);
74 GPU* gpu =
dynamic_cast<GPU*
>(resource);