Ejemplo n.º 1
0
        private AmdComputeDevice amdComputeDevDriverDisabled()
        {
            var openCLDev = new NiceHashMiner.Devices.Querying.Amd.OpenCL.OpenCLDevice();

            openCLDev.AMD_BUS_ID = 0;
            openCLDev.DeviceID   = 0;
            openCLDev._CL_DEVICE_GLOBAL_MEM_SIZE = 11589934592;
            openCLDev._CL_DEVICE_NAME            = "Vega 64";
            var amdDev     = new AmdGpuDevice(openCLDev, "", true, "Vega 64", "radeonGpuUUID");
            var amdCompDev = new AmdComputeDevice(amdDev, 0, false, 0);

            return(amdCompDev);
        }
Ejemplo n.º 2
0
        private AmdComputeDevice amdComputeDevLowGCN()
        {
            var openCLDev = new NiceHashMiner.Devices.Querying.Amd.OpenCL.OpenCLDevice();

            openCLDev.AMD_BUS_ID = 0;
            openCLDev.DeviceID   = 0;
            openCLDev._CL_DEVICE_GLOBAL_MEM_SIZE = 11589934592;
            openCLDev._CL_DEVICE_NAME            = "Radeon R7 360";
            var amdDev     = new AmdGpuDevice(openCLDev, "", false, "R7 360", "radeonGpuUUID");
            var amdCompDev = new AmdComputeDevice(amdDev, 0, false, 0);

            return(amdCompDev);
        }