fancyIX / sgminer-phi2-branch

A branch of sgminer optimized with GCN cross lane instructions on AMD (ethash, phi2, lyra2Z[z], allium, x25x, lyra2REv2/v3, argon2d, yescrypt, neoscrypt, 0x10)
GNU General Public License v3.0
54 stars 27 forks source link

ATI HD4550 support #155

Closed eMosbat closed 5 years ago

eMosbat commented 5 years ago

is there any chance to support this card? I know it is too old but I need it for mining a phi2 coin. currently I get lot of errors:

[19:39:19] Set default algorithm to phi2                    
[19:39:19] Global quota greatest common denominator set to 1                    
[19:39:19] Started sgminer v5.6.1.3                    
[19:39:19] * using Jansson 2.11                    
[19:39:19] CL Platform vendor: Advanced Micro Devices, Inc.                    
[19:39:19] CL Platform name: AMD Accelerated Parallel Processing                    
[19:39:19] CL Platform version: OpenCL 1.2 AMD-APP (937.2)                    
[19:39:19] Platform devices: 1                    
[19:39:19]  0   ATI RV710                    
[19:39:19] Number of ADL devices: 1                    
[19:39:19] ATI ADL Overdrive5 API found.                    
[19:39:19] ATI ADL Overdrive6 API found.                    
[19:39:19] Found 2 logical ADL adapters                    
[19:39:19] ADL index 0, id 141509392 - BIOS partno.: 113-455ZNH50-100-XF, version: 011.021.000.007, date: 2010/03/04 02:07                    
[19:39:19] GPU 0 assigned: iAdapterIndex:0 iPresent:1 strUDID:PCI_VEN_1002&DEV_954F&SUBSYS_29201682&REV_00_4&1BF6A20D&0&0008A iBusNumber:4 iDeviceNumber:0 iFunctionNumber:0 iVendorID:1002 name:ATI Radeon HD 4550                    
[19:39:19] ADL index 1, id 141509392 - BIOS partno.: 113-455ZNH50-100-XF, version: 011.021.000.007, date: 2010/03/04 02:07                    
[19:39:19] GPU 0 ATI Radeon HD 4550 hardware monitoring enabled                    
[19:39:19] ADL GPU 0 is Adapter index 0 and maps to adapter id 141509392                    
[19:39:19] GPU 0 BIOS partno.: 113-455ZNH50-100-XF, version: 011.021.000.007, date: 2010/03/04 02:07                    
[19:39:19] Failed to ADL_Overdrive5_FanSpeedInfo_Get                    
[19:39:19] Failed to ADL_Overdrive5_FanSpeed_Get for default value                    
[19:39:19] Default Devices = all                    
[19:39:19] set_devices(all)                    
[19:39:19] GPU 0 Worksize set to 128.                    
[19:39:19] Loading settings from default_profile for pool 0                    
[19:39:19] Pool 0 Algorithm set to "phi2"                    
[19:39:19] Pool 0 devices set to "all"                    
[19:39:19] Pool 0 lookup gap set to "(null)"                    
[19:39:19] Pool 0 Intensity set to "23"                    
[19:39:19] Pool 0 Thread Concurrency set to "(null)"                    
[19:39:19] Pool 0 GPU Clock set to "(null)"                    
[19:39:19] Pool 0 GPU Memory clock set to "(null)"                    
[19:39:19] Pool 0 GPU Threads set to "(null)"                    
[19:39:19] Pool 0 GPU Fan set to "(null)"                    
[19:39:19] Pool 0 GPU Powertune set to "(null)"                    
[19:39:19] Pool 0 GPU Vddc set to "(null)"                    
[19:39:19] Pool 0 Shaders set to "40"                    
[19:39:19] Pool 0 Worksize set to "128"                    
[19:39:19] Probing for an alive pool                    
[19:39:19] Testing 127.0.0.1                    
[19:39:19] Probing for GBT support                    
[19:39:19] JSON protocol request:
{"id": 0, "method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}

[19:39:19] HTTP hdr(Date): Mon, 14 Jan 2019 16:09:19 +0000                    
[19:39:19] HTTP hdr(Connection): keep-alive                    
[19:39:19] HTTP hdr(Content-Length): 1239                    
[19:39:19] HTTP hdr(Content-Type): application/json                    
[19:39:19] HTTP hdr(Server): gex-json-rpc/v1.0.0.0-gcbcb549                    
[19:39:19] JSON protocol response:
{
   "result": {
      "capabilities": [
         "proposal"
      ],
      "version": 1073741902,
      "rules": [],
      "vbavailable": {},
      "vbrequired": 0,
      "previousblockhash": "0000016a02340c579e4c3fc7ebf3698a1a3ed34eed9eb3e9f38d39b9ad3d2897",
      "stateroot": "0000000000000000000000000000000000000000000000000000000000000000",
      "utxoroot": "0000000000000000000000000000000000000000000000000000000000000000",
      "screfund": [],
      "transactions": [],

[19:39:19] No GBT coinbase + append support found, using getwork protocol                    
[19:39:19] JSON protocol request:
{"method": "getwork", "params": [], "id":0}

[19:39:19] HTTP hdr(Date): Mon, 14 Jan 2019 16:09:19 +0000                    
[19:39:19] HTTP hdr(Connection): keep-alive                    
[19:39:19] HTTP hdr(Content-Length): 691                    
[19:39:19] HTTP hdr(Content-Type): application/json                    
[19:39:19] HTTP hdr(Server): gex-json-rpc/v1.0.0.0-gcbcb549                    
[19:39:19] JSON protocol response:
{
   "result": {
      "algo": "phi2",
      "midstate": "c162d596d097e836cef01ef462c5d283c0e38db870d6508fb10d200a1bbb130b786b3d6b93956d30ad0a86b78cc4c57e65f45f0011a06c03b09f5bcc07063537a92099a476479f7801cd4bde627caa123e33a26297ee78091f1e3af625c13d203d7cd6f71478ff6cc8e1c2861512341637c2e8eb010d332514e3d9a3e2ad4dc9",
      "data": "4000004ead3d2897f38d39b9ed9eb3e91a3ed34eebf3698a9e4c3fc702340c570000016ac6083e1cc1128d806e1b4e9fde73cad36968ecf9f16153ee7ba57edb33a369985c3cb42f1e0fffff0000                    
[19:39:19] Successfully retrieved and deciphered work from 127.0.0.1                    
[19:39:19] calc_diff() algorithm = phi2                    
[19:39:19] Pushing pooltest work to base pool                    
[19:39:19] [THR0] Pushing work from 127.0.0.1 to hash queue                    
[19:39:19] New block: 0000016a02340c579e4c3fc7ebf3698a1a3ed34eed9eb3e9f38d39b9ad3d2897... diff 17.5T                    
[19:39:19] No suitable long-poll found for http://127.0.0.1:19999                    
[19:39:19] 127.0.0.1 alive                    
[19:39:19] Startup GPU initialization... Using settings from pool 127.0.0.1.                    
[19:39:19] Startup Pool No = 0                    
[19:39:19] compare_pool_settings()                    
[19:39:19] set_devices(all)                    
[19:39:19] Switching to intensity: pool = 23, default = 23                    
[19:39:19] intensity -> 23                    
[19:39:19] GPU 0 Worksize set to 128.                    
[19:39:19] Set GPU 0 to phi2                    
[19:39:19] Allocate new threads...                    
[19:39:19] Assign threads for device 0                    
[19:39:19] Thread 0 set pool = 0 (127.0.0.1)                    
[19:39:19] Init GPU thread 0 GPU 0 virtual GPU 0                    
[19:39:19] CL Platform vendor: Advanced Micro Devices, Inc.                    
[19:39:19] CL Platform name: AMD Accelerated Parallel Processing                    
[19:39:19] CL Platform version: OpenCL 1.2 AMD-APP (937.2)                    
[19:39:19] Platform devices: 1                    
[19:39:19]  0   ATI RV710                    
[19:39:19] List of devices:                    
[19:39:19]  0   ATI RV710                    
[19:39:19] Selected 0: ATI RV710                    
[19:39:19] Preferred vector width reported 4                    
[19:39:19] Max work group size reported 128                    
[19:39:19] Maximum work size for this GPU (0) is 128.                    
[19:39:19] Your GPU (#0) has 2 compute units, and all AMD cards in the 7 series or newer (GCN cards)        have 64 shaders per compute unit - this means it has 128 shaders.                    
[19:39:19] Max mem alloc size is 386295398                    
[19:39:19] Using source file phi2.cl                    
[19:39:19] GPU 0: selecting lookup gap of 2                    
[19:39:19] GPU 0: computing max. global thread count to 1048576                    
[19:39:19] Setting worksize to 128                    
[19:39:19] Using binary file phi2ATI RV710gw128l4ku0.bin                    
[19:39:19] No prebuilt binary found, search more                    
[19:39:19] No binary found, generating from source                    
[19:39:19] Building binary phi2ATI RV710gw128l4ku0.bin                    
[19:39:19] Trying to open C:\sgminer-phi2/phi2.cl...                    
[19:39:19] Trying to open C:\sgminer-phi2/kernel/phi2.cl...                    
[19:39:19] Using C:\sgminer-phi2/kernel/phi2.cl                    
[19:39:19] CompilerOptions: -I "C:\sgminer-phi2" -I "C:\sgminer-phi2/kernel" -I "." -D WORKSIZE=128 -D OCL1 -D SPH_COMPACT_BLAKE_64=0 -D SPH_LUFFA_PARALLEL=0 -D SPH_KECCAK_UNROLL=0                     
[19:39:20] Error -11: Building Program (clBuildProgram)                    
[19:39:20] "C:\sgminer-phi2/kernel/jh.cl", line 102: error: 
          storage-class specifiers extern/static/register not allowed for
          variables
  __constant static const sph_u64 C[] = {
             ^

"C:\sgminer-phi2/kernel/jh.cl", line 225: error: 
          storage-class specifiers extern/static/register not allowed for
          variables
  __constant static const sph_u64 JH_IV512[] = {
             ^

"C:\sgminer-phi2/kernel/cubehash.cl", line 45: error: 
          storage-class specifiers extern/static/register not allowed for
          variables
  __constant static const sph_u32 CUBEHASH_IV512[] = {
             ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 82: error: 
          can't enable all OpenCL extensions or unrecognized OpenCL extension
  #pragma OPENCL EXTENSION cl_amd_media_ops : enable
                                              ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 83: error: 
          can't enable all OpenCL extensions or unrecognized OpenCL extension
  #pragma OPENCL EXTENSION cl_amd_media_ops2 : enable
                                               ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 88: error: 
          function "amd_bitalign" declared implicitly
    if(y < 32) return(as_ulong(amd_bitalign(x.s10, x, y)));
                               ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 88: error: 
          bad argument type to opencl as_* function: expected src and dst have
          the same size
    if(y < 32) return(as_ulong(amd_bitalign(x.s10, x, y)));
                               ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 89: error: 
          function "amd_bitalign" declared implicitly
    else return(as_ulong(amd_bitalign(x, x.s10, (y - 32))));
                         ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 89: error: 
          bad argument type to opencl as_* function: expected src and dst have
          the same size
    else return(as_ulong(amd_bitalign(x, x.s10, (y - 32))));
                         ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 225: error: 
          identifier "uint3" is undefined
    uint3 hyoff = (uint3)(matin* HYPERMATRIX_COUNT, matrw* HYPERMATRIX_COUNT, matout* HYPERMATRIX_COUNT);
    ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 225: error: 
          identifier "uint3" is undefined
    uint3 hyoff = (uint3)(matin* HYPERMATRIX_COUNT, matrw* HYPERMATRIX_COUNT, matout* HYPERMATRIX_COUNT);
                   ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 269: error: 
          storage-class specifiers extern/static/register not allowed for
          variables
  static constant ulong initial_lyra2[2][4] = {
  ^

"C:\sgminer-phi2/kernel/lyra2mdz.cl", line 274: error: 
          storage-class specifiers extern/static/register not allowed for
          variables
  static constant ulong mid_mix[2][4] = {
  ^

"C:\sgminer-phi2/kernel/wolf-echo.cl", line 21: error: 
          function "amd_bfe" declared implicitly
    Y.s0 = AES0[(BYTE0(X.s0))] ^ AES1[BYTE1(X.s1)] ^ AES2[BYTE2(X.s2)] ^ AES3[BYTE3(X.s3)];
                 ^

"C:\sgminer-phi2/kernel/wolf-echo.cl", line 31: error: 
          function "amd_bfe" declared implicitly
    Y.s0 = AES0[(BYTE0(X.s0))] ^ rotate(AES0[BYTE1(X.s1)], 8U) ^ rotate(AES0[BYTE2(X.s2)], 16U) ^ rotate(AES0[BYTE3(X.s3)], 24U);
                 ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 8: error: 
          storage-class specifiers extern/static/register not allowed for
          variables
  static const __constant ulong SKEIN256_IV[8] =
  ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 25: error: 
          function "amd_bitalign" declared implicitly
    if(y < 32) return(as_ulong(amd_bitalign(x, x.s10, 32 - y)));
                               ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 25: error: 
          bad argument type to opencl as_* function: expected src and dst have
          the same size
    if(y < 32) return(as_ulong(amd_bitalign(x, x.s10, 32 - y)));
                               ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 26: error: 
          function "amd_bitalign" declared implicitly
    else return(as_ulong(amd_bitalign(x.s10, x, 32 - (y - 32))));
                         ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 26: error: 
          bad argument type to opencl as_* function: expected src and dst have
          the same size
    else return(as_ulong(amd_bitalign(x.s10, x, 32 - (y - 32))));
                         ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 45: error: 
          function "shuffle" declared implicitly
    pv0 = shuffle(pv0, (ulong4)(1, 2, 3, 0));
          ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 57: error: 
          function "shuffle2" declared implicitly
    return(shuffle2(pv0, pv1, (ulong8)(1, 4, 2, 7, 3, 6, 0, 5)));
           ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 66: error: 
          function "shuffle" declared implicitly
    pv0 = shuffle(pv0, (ulong4)(1, 2, 3, 0));
          ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 78: error: 
          function "shuffle2" declared implicitly
    return(shuffle2(pv0, pv1, (ulong8)(1, 4, 2, 7, 3, 6, 0, 5)));
           ^

"C:\sgminer-phi2/kernel/wolf-skein.cl", line 88: error: 
          function "shuffle" declared implicitly
        h = shuffle(h, (ulong8)(1, 2, 3, 4, 5, 6, 7, 0));
            ^

"C:\sgminer-phi2/kernel/wolf-jh.cl", line 6: error: 
          storage-class specifiers extern/static/register not allowed for
          variables
  static const __constant ulong C_new[] =
  ^

"C:\sgminer-phi2/kernel/wolf-jh.cl", line 61: error: 
          function "shuffle" declared implicitly
    *hi ^= shuffle(*lo, (JH_CHUNK_TYPE)(1, 2, 3, 0));
           ^

"C:\sgminer-phi2/kernel/wolf-aes.cl", line 6: error: 
          storage-class specifiers extern/static/register not allowed for
          variables
  static const __constant uint AES0_C[256] =
  ^

"C:\sgminer-phi2/kernel/wolf-aes.cl", line 78: error: 
          function "amd_bfe" declared implicitly
    key.s0 ^= AES0[BYTE(X.s0, 0)];
                   ^

"C:\sgminer-phi2/kernel/wolf-groestl.cl", line 16: error: 
          can't enable all OpenCL extensions or unrecognized OpenCL extension
    #pragma OPENCL EXTENSION cl_amd_media_ops2 : enable
                                                 ^

"C:\sgminer-phi2/kernel/wolf-groestl.cl", line 36: error: 
          storage-class specifiers extern/static/register not allowed for
          variables
  static const __constant ulong T0_G[] =
  ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 137: error: 
          function "get_global_offset" declared implicitly
      __global hash_t *hash = &(hashes[gid-get_global_offset(0)]);
                                           ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 300: error: 
          function "get_global_offset" declared implicitly
      __global hash2_t *hash = (__global hash2_t *)(hashes + (8* (gid-get_global_offset(0))));
                                                                      ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 322: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 322: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 322: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 322: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 322: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 322: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 322: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 322: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 348: error: 
          function "get_global_offset" declared implicitly
    __global lyraState_t *lyraState = (__global lyraState_t *)(sharedDataBuf + ((8 * 4  * 4) * (gid-get_global_offset(1))));
                                                                                                    ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 417: error: 
          function "get_global_offset" declared implicitly
      __global hash2_t *hash = (__global hash2_t *)(hashes + (8* (gid-get_global_offset(0))));
                                                                      ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 436: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 436: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 436: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 436: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 436: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 436: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 436: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 436: error: 
          function "amd_bitalign" declared implicitly
          roundLyra(state);
          ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 451: error: 
          function "get_global_offset" declared implicitly
    __global hash_t *hash = &(hashes[gid-get_global_offset(0)]);
                                         ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 487: error: 
          identifier "C_new" is undefined
        evnhi = Sb_new(evnhi, Ceven_hi_new((r * 7) + 0));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 487: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnhi = Sb_new(evnhi, Ceven_hi_new((r * 7) + 0));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 488: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnlo = Sb_new(evnlo, Ceven_lo_new((r * 7) + 0));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 489: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddhi = Sb_new(oddhi, Codd_hi_new((r * 7) + 0));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 490: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddlo = Sb_new(oddlo, Codd_lo_new((r * 7) + 0));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 497: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnhi = Sb_new(evnhi, Ceven_hi_new((r * 7) + 1));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 498: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnlo = Sb_new(evnlo, Ceven_lo_new((r * 7) + 1));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 499: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddhi = Sb_new(oddhi, Codd_hi_new((r * 7) + 1));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 500: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddlo = Sb_new(oddlo, Codd_lo_new((r * 7) + 1));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 506: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnhi = Sb_new(evnhi, Ceven_hi_new((r * 7) + 2));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 507: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnlo = Sb_new(evnlo, Ceven_lo_new((r * 7) + 2));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 508: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddhi = Sb_new(oddhi, Codd_hi_new((r * 7) + 2));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 509: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddlo = Sb_new(oddlo, Codd_lo_new((r * 7) + 2));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 515: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnhi = Sb_new(evnhi, Ceven_hi_new((r * 7) + 3));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 516: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnlo = Sb_new(evnlo, Ceven_lo_new((r * 7) + 3));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 517: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddhi = Sb_new(oddhi, Codd_hi_new((r * 7) + 3));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 518: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddlo = Sb_new(oddlo, Codd_lo_new((r * 7) + 3));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 524: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnhi = Sb_new(evnhi, Ceven_hi_new((r * 7) + 4));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 525: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnlo = Sb_new(evnlo, Ceven_lo_new((r * 7) + 4));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 526: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddhi = Sb_new(oddhi, Codd_hi_new((r * 7) + 4));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 527: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddlo = Sb_new(oddlo, Codd_lo_new((r * 7) + 4));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 533: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnhi = Sb_new(evnhi, Ceven_hi_new((r * 7) + 5));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 534: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnlo = Sb_new(evnlo, Ceven_lo_new((r * 7) + 5));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 535: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddhi = Sb_new(oddhi, Codd_hi_new((r * 7) + 5));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 536: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddlo = Sb_new(oddlo, Codd_lo_new((r * 7) + 5));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 542: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnhi = Sb_new(evnhi, Ceven_hi_new((r * 7) + 6));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 543: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        evnlo = Sb_new(evnlo, Ceven_lo_new((r * 7) + 6));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 544: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddhi = Sb_new(oddhi, Codd_hi_new((r * 7) + 6));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 545: error: bad
          argument type to opencl as_* function: expected src and dst have the
          same size
        oddlo = Sb_new(oddlo, Codd_lo_new((r * 7) + 6));
                              ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 625: error: 
          function "get_global_offset" declared implicitly
    __global hash_t *hash = &(hashes[gid-get_global_offset(0)]);
                                         ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 628: error: write
          to < 32 bits via pointer not allowed unless
          cl_khr_byte_addressable_store is enabled
    *nonceBranch = hash->h1[0] & 1;
    ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 647: error: 
          function "get_global_offset" declared implicitly
    __global hash_t *hash = &(hashes[gid-get_global_offset(0)]);
                                         ^

"C:\Users\username\AppData\Local\Temp\OCL11BF.tmp.cl", line 671: error: write
          to < 32 bits via pointer not allowed u
fancyIX commented 5 years ago

@eMosbat Seems that your driver is too old. Can you try newest driver that supports your card?

eMosbat commented 5 years ago

installed latest version (64bit) with no hope :( https://www.amd.com/en/support/graphics/amd-radeon-hd/ati-radeon-hd-4000-series/ati-radeon-hd-4550

eMosbat commented 5 years ago

what opencl version support those functions?

fancyIX commented 5 years ago

OpenCL 2.0

eMosbat commented 5 years ago

so I think there is no hope with this card. thanks