Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 19 Aug 2012 01:47:11 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: OSX 10.8 (GT 650M) build fail

On 2012-08-18 13:04, Erik Winkler wrote:
> macosx-x86-64-cuda:
>         $(LN) x86-64.h arch.h
>         @echo "#define JOHN_BLD" '"'$@'"' > john_build_rule.h
>         $(MAKE) $(PROJ) \
>                 JOHN_OBJS="$(JOHN_OBJS) $(CUDA_OBJS) x86-64.o sse-intrinsics.o" \
>                 CFLAGS="$(CFLAGS) -DBSD -DHAVE_CUDA -m64 -Wno-deprecated-declarations" \
>                 ASFLAGS="$(ASFLAGS) -m64 -DUNDERSCORES -DBSD -DALIGN_LOG" \
>                 LDFLAGS="$(LDFLAGS) -L$(CUDA64PATH) -L$(NVIDIA_CUDA)/lib64 -lcudart -m64"

Thanks Erik, I added this to the git tree in your name.

> You also need to change your NVCC_FLAGS to support 64-bit (32-bit is so last decade!):
> NVCC_FLAGS = -c -Xptxas -v -arch sm_10 -m64

Should this be set according to host arch size or is it about the nvidia
card? Does this setting affect performance or will things not work well
without it?

magnum

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.