Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cuckoo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
3rdparty-public
cuckoo
Commits
9aaf2bc2
Commit
9aaf2bc2
authored
6 years ago
by
John Tromp
Browse files
Options
Downloads
Patches
Plain Diff
c11 for nvcc
parent
609dde26
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/cuckatoo/Makefile
+7
-6
7 additions, 6 deletions
src/cuckatoo/Makefile
src/cuckoo/Makefile
+3
-2
3 additions, 2 deletions
src/cuckoo/Makefile
with
10 additions
and
8 deletions
src/cuckatoo/Makefile
+
7
−
6
View file @
9aaf2bc2
...
@@ -12,6 +12,7 @@ GPP ?= g++ $(GPP_ARCH_FLAGS) -std=c++11 $(FLAGS)
...
@@ -12,6 +12,7 @@ GPP ?= g++ $(GPP_ARCH_FLAGS) -std=c++11 $(FLAGS)
CFLAGS
?=
-Wall
-Wno-format
-fomit-frame-pointer
$(
OPT
)
CFLAGS
?=
-Wall
-Wno-format
-fomit-frame-pointer
$(
OPT
)
GCC
?=
gcc
$(
GCC_ARCH_FLAGS
)
-std
=
gnu11
$(
CFLAGS
)
GCC
?=
gcc
$(
GCC_ARCH_FLAGS
)
-std
=
gnu11
$(
CFLAGS
)
BLAKE_2B_SRC
?=
../crypto/blake2b-ref.c
BLAKE_2B_SRC
?=
../crypto/blake2b-ref.c
NVCC
?=
nvcc
-std
=
c++11
all
:
simpletest leantest
all
:
simpletest leantest
...
@@ -64,19 +65,19 @@ mean30x1: cuckatoo.h bitmap.hpp graph.hpp ../threads/barrier.hpp ../crypto/siph
...
@@ -64,19 +65,19 @@ mean30x1: cuckatoo.h bitmap.hpp graph.hpp ../threads/barrier.hpp ../crypto/siph
$(
GPP
)
-o
$@
-DNSIPHASH
=
1
-DEXPANDROUND
=
10
-DCOMPRESSROUND
=
22
-DEDGEBITS
=
30 mean.cpp
$(
BLAKE_2B_SRC
)
$(
GPP
)
-o
$@
-DNSIPHASH
=
1
-DEXPANDROUND
=
10
-DCOMPRESSROUND
=
22
-DEDGEBITS
=
30 mean.cpp
$(
BLAKE_2B_SRC
)
lcuda19
:
../crypto/siphash.cuh lean.cu Makefile
lcuda19
:
../crypto/siphash.cuh lean.cu Makefile
nvcc
-o
$@
-DEDGEBITS
=
19
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
$(
NVCC
)
-o
$@
-DEDGEBITS
=
19
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
lcuda29
:
../crypto/siphash.cuh lean.cu Makefile
lcuda29
:
../crypto/siphash.cuh lean.cu Makefile
nvcc
-o
$@
-DEDGEBITS
=
29
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
$(
NVCC
)
-o
$@
-DEDGEBITS
=
29
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
lcuda30
:
../crypto/siphash.cuh lean.cu Makefile
lcuda30
:
../crypto/siphash.cuh lean.cu Makefile
nvcc
-o
$@
-DEDGEBITS
=
30
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
$(
NVCC
)
-o
$@
-DEDGEBITS
=
30
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
lcuda32
:
../crypto/siphash.cuh lean.cu Makefile
lcuda32
:
../crypto/siphash.cuh lean.cu Makefile
nvcc
-o
$@
-DEDGEBITS
=
32
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
$(
NVCC
)
-o
$@
-DEDGEBITS
=
32
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
cuda19
:
../crypto/siphash.cuh mean.cu Makefile
cuda19
:
../crypto/siphash.cuh mean.cu Makefile
nvcc
-o
$@
-DEPS_A
=
4
-DEPS_B
=
3
-DIDXSHIFT
=
6
-DEDGEBITS
=
19
-arch
sm_35 mean.cu
$(
BLAKE_2B_SRC
)
$(
NVCC
)
-o
$@
-DEPS_A
=
4
-DEPS_B
=
3
-DIDXSHIFT
=
6
-DEDGEBITS
=
19
-arch
sm_35 mean.cu
$(
BLAKE_2B_SRC
)
cuda29
:
../crypto/siphash.cuh mean.cu Makefile
cuda29
:
../crypto/siphash.cuh mean.cu Makefile
nvcc
-o
$@
-DEDGEBITS
=
29
-arch
sm_35 mean.cu
$(
BLAKE_2B_SRC
)
$(
NVCC
)
-o
$@
-DEDGEBITS
=
29
-arch
sm_35 mean.cu
$(
BLAKE_2B_SRC
)
This diff is collapsed.
Click to expand it.
src/cuckoo/Makefile
+
3
−
2
View file @
9aaf2bc2
...
@@ -12,6 +12,7 @@ GPP ?= g++ $(GPP_ARCH_FLAGS) -std=c++11 $(FLAGS)
...
@@ -12,6 +12,7 @@ GPP ?= g++ $(GPP_ARCH_FLAGS) -std=c++11 $(FLAGS)
CFLAGS
?=
-Wall
-Wno-format
-fomit-frame-pointer
$(
OPT
)
CFLAGS
?=
-Wall
-Wno-format
-fomit-frame-pointer
$(
OPT
)
GCC
?=
gcc
$(
GCC_ARCH_FLAGS
)
-std
=
gnu11
$(
CFLAGS
)
GCC
?=
gcc
$(
GCC_ARCH_FLAGS
)
-std
=
gnu11
$(
CFLAGS
)
BLAKE_2B_SRC
?=
../crypto/blake2b-ref.c
BLAKE_2B_SRC
?=
../crypto/blake2b-ref.c
NVCC
?=
nvcc
-std
=
c++11
all
:
simpletest leantest
all
:
simpletest leantest
...
@@ -55,7 +56,7 @@ mean29x1: cuckoo.h ../crypto/siphash.h mean.hpp mean.cpp Makefile
...
@@ -55,7 +56,7 @@ mean29x1: cuckoo.h ../crypto/siphash.h mean.hpp mean.cpp Makefile
$(
GPP
)
-o
$@
-DNSIPHASH
=
1
-DEDGEBITS
=
29 mean.cpp
$(
BLAKE_2B_SRC
)
$(
GPP
)
-o
$@
-DNSIPHASH
=
1
-DEDGEBITS
=
29 mean.cpp
$(
BLAKE_2B_SRC
)
lcuda29
:
../crypto/siphash.cuh lean.cu Makefile
lcuda29
:
../crypto/siphash.cuh lean.cu Makefile
nvcc
-o
$@
-DEDGEBITS
=
29
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
$(
NVCC
)
-o
$@
-DEDGEBITS
=
29
-arch
sm_35 lean.cu
$(
BLAKE_2B_SRC
)
cuda29
:
../crypto/siphash.cuh mean.cu Makefile
cuda29
:
../crypto/siphash.cuh mean.cu Makefile
nvcc
-o
$@
-DEDGEBITS
=
29
-arch
sm_35 mean.cu
$(
BLAKE_2B_SRC
)
$(
NVCC
)
-o
$@
-DEDGEBITS
=
29
-arch
sm_35 mean.cu
$(
BLAKE_2B_SRC
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment