Lolliedieb / lolMiner-releases

2.63k stars 581 forks source link

Could not discriminate AMD Mi100 #388

Open hackhy opened 3 years ago

hackhy commented 3 years ago

image

root@amd:~# /opt/rocm-4.0.0/opencl/bin/clinfo Number of platforms: 1 Platform Profile: FULL_PROFILE Platform Version: OpenCL 2.0 AMD-APP (3212.0) Platform Name: AMD Accelerated Parallel Proces sing Platform Vendor: Advanced Micro Devices, Inc. Platform Extensions: cl_khr_icd cl_amd_event_callbac k

Platform Name: AMD Accelerated Parallel Proces sing Number of devices: 1 Device Type: CL_DEVICE_TYPE_GPU Vendor ID: 1002h Board name: Device 738c Device Topology: PCI[ B#228, D#0, F#0 ] Max compute units: 120 Max work items dimensions: 3 Max work items[0]: 1024 Max work items[1]: 1024 Max work items[2]: 1024 Max work group size: 256 Preferred vector width char: 4 Preferred vector width short: 2 Preferred vector width int: 1 Preferred vector width long: 1 Preferred vector width float: 1 Preferred vector width double: 1 Native vector width char: 4 Native vector width short: 2 Native vector width int: 1 Native vector width long: 1 Native vector width float: 1 Native vector width double: 1 Max clock frequency: 1502Mhz Address bits: 64 Max memory allocation: 29191516976 Image support: Yes Max number of images read arguments: 128 Max number of images write arguments: 8 Max image 2D width: 16384 Max image 2D height: 16384 Max image 3D width: 16384 Max image 3D height: 16384 Max image 3D depth: 8192 Max samplers within kernel: 29580 Max size of kernel argument: 1024 Alignment (bits) of base address: 1024 Minimum alignment (bytes) for any datatype: 128 Single precision floating point capability Denorms: Yes Quiet NaNs: Yes Round to nearest even: Yes Round to zero: Yes Round to +ve and infinity: Yes IEEE754-2008 fused multiply-add: Yes Cache type: Read/Write Cache line size: 64 Cache size: 16384 Global memory size: 34342961152 Constant buffer size: 29191516976 Max number of constant args: 8 Local memory type: Scratchpad Local memory size: 65536 Max pipe arguments: 16 Max pipe active reservations: 16 Max pipe packet size: 3421713200 Max global variable size: 29191516976 Max global variable preferred total size: 34342961152 Max read/write image args: 64 Max on device events: 1024 Queue on device max size: 8388608 Max on device queues: 1 Queue on device preferred size: 262144 SVM capabilities: Coarse grain buffer: Yes Fine grain buffer: Yes Fine grain system: No Atomics: No Preferred platform atomic alignment: 0 Preferred global atomic alignment: 0 Preferred local atomic alignment: 0 Kernel Preferred work group size multiple: 64 Error correction support: 0 Unified memory for Host and Device: 0 Profiling timer resolution: 1 Device endianess: Little Available: Yes Compiler available: Yes Execution capabilities: Execute OpenCL kernels: Yes Execute native function: No Queue on Host properties: Out-of-Order: No Profiling : Yes Queue on Device properties: Out-of-Order: Yes Profiling : Yes Platform ID: 0x7f58399b7cf0 Name: gfx908 Vendor: Advanced Micro Devices, Inc. Device OpenCL C version: OpenCL C 2.0 Driver version: 3212.0 (HSA1.1,LC) Profile: FULL_PROFILE Version: OpenCL 2.0 Extensions: cl_khr_fp64 cl_khr_global_int32 _base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomi cs cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_ex tended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_op s2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_b uffer_p2p cl_amd_assembly_program

Lolliedieb commented 3 years ago

On fix list for 1.27

lukirch1984 commented 3 years ago

Hi there,

I am facing the same problem as hackhy also with 1.29

` Setup Miner... OpenCL driver detected. Number of OpenCL supported GPUs: 1 No Cuda driver or GPUs detected. Device 0: Name: Device 738c Address: 4294967171:0 Vendor: Advanced Micro Devices (AMD), ROCm Drivers: OpenCL Memory: 32752 MByte (32752 MByte free) Active: false (Unsupported device or driver version.)

Connecting to pool... Connected to eth.2miners.com:2020 (TLS disabled) Set Ethash stratum mode: Ethereum Proxy Authorized worker: 0x74.vision-amd New job received: 0x71896f Epoch: 417 Target: 000000007e000000 Start Mining... All devices deselected or failed compatiblity check. Closing lolMiner `

what is interessting is that 1.29 works with the MI100 if you're mining Zel/Flux

` Setup Miner... OpenCL driver detected. Number of OpenCL supported GPUs: 1 No Cuda driver or GPUs detected. Device 0: Name: Device 738c Address: 4294967171:0 Vendor: Advanced Micro Devices (AMD), ROCm Drivers: OpenCL Memory: 32752 MByte (32752 MByte free) Active: true (Selected Algorithm: ZelHash, 3/4G)

Connecting to pool... Connected to flux.2miners.com:9090 (TLS disabled) Subscribed to stratum server Authorized worker: New target received: 0007878787878787 New job received: 143929684630907 Start Mining... Average speed (30s): 32.2 sol/s Average speed (30s): 32.8 sol/s Average speed (30s): 34.7 sol/s New job received: 226628521355906 Average speed (30s): 34.9 sol/s New job received: 806991010766727 `