public ComputeDevice(int id, string group, string name, int threads, ulong affinityMask, int CPUCount)
{
ID = id;
Name = name;
Threads = threads;
AffinityMask = affinityMask;
Enabled = true;
DeviceGroupType = DeviceGroupType.CPU;
DeviceType = DeviceType.CPU;
NameCount = String.Format(International.GetText("ComputeDevice_Short_Name_CPU"), CPUCount);
UUID = GetUUID(ID, GroupNames.GetGroupName(DeviceGroupType, ID), Name, DeviceGroupType);
AlgorithmSettings = GroupAlgorithms.CreateForDevice(this);
IsEtherumCapale = false;
}