Added the core_count attribute to GPU devices
Added the core_count attribute to GPU devices

The attribute corresponds to the number of SMs for an NVidia device or the
number  of compute units for an AMD device.
