Claudio's SHA-512 formats fail on Bull AMD (old 13.4 driver) #1834

Closed
magnumripper opened this Issue Oct 15, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@magnumripper
Owner

magnumripper commented Oct 15, 2015

Not sure if we care about it at all (but Myrice's formats work fine with the same ror64 macro)

$ ../run/john -test -dev=1 -form:sha512crypt-opencl
Benchmarking: sha512crypt-opencl, crypt(3) $6$ (rounds=5000) [SHA512 OpenCL]... Device 1: Tahiti [AMD Radeon HD 7900 Series]
Building the kernel, this could take a while
Options used: -I ../run/kernels -cl-mad-enable -D__GPU__ -DDEVICE_INFO=138 -DDEV_VER_MAJOR=1124 -DDEV_VER_MINOR=2 -D_OPENCL_COMPILER  $JOHN/kernels/cryptsha512_kernel_GCN.cl
Build log: "/tmp/OCLwPgB6k.cl", line 70: error: function "amd_bitalign" declared
          implicitly
          t1 = k[i] + w[i] + h + Sigma1(e) + Ch(e, f, g);
                                 ^

"/tmp/OCLwPgB6k.cl", line 85: error: function "amd_bitalign" declared
          implicitly
          w[i & 15] = sigma1(w[(i - 2) & 15]) + sigma0(w[(i - 15) & 15]) + w[(i - 16) & 15] + w[(i - 7) & 15];
                      ^

2 errors detected in the compilation of "/tmp/OCLwPgB6k.cl".

Frontend phase failed compilation.

Error -11 building kernel $JOHN/kernels/cryptsha512_kernel_GCN.cl. DEVICE_INFO=138
OpenCL CL_BUILD_PROGRAM_FAILURE error in common-opencl.c:1004 - clBuildProgram failed.

Similar output for raw-sha512 and xsha512

@magnumripper magnumripper changed the title from Claudio's SHA-512 formats fail on Bull (old 13.4 driver) to Claudio's SHA-512 formats fail on Bull AMD (old 13.4 driver) Oct 15, 2015

@claudioandre-br

This comment has been minimized.

Show comment
Hide comment
@claudioandre-br

claudioandre-br Oct 15, 2015

Collaborator

Just for the record: the solution is:
#pragma OPENCL EXTENSION cl_amd_media_ops : enable

Collaborator

claudioandre-br commented Oct 15, 2015

Just for the record: the solution is:
#pragma OPENCL EXTENSION cl_amd_media_ops : enable

claudioandre-br added a commit to claudioandre-br/JohnTheRipper that referenced this issue Oct 15, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment