Compare commits
No commits in common. "5c41fb65e491a1cd860d151b8f04399440b77f2c" and "20c29ed815ff161966d5c6ee08dcd9b58984a36a" have entirely different histories.
5c41fb65e4
...
20c29ed815
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@ -3,16 +3,16 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master, cuda ]
|
branches: [ master ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master, cuda ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
WITH_CURRENT_SHELL: "nix-shell --argstr compiler ${{matrix.compiler}} --arg cuda ${{matrix.cuda}} --run"
|
WITH_CURRENT_SHELL: "nix-shell --argstr compiler ${{matrix.compiler}} --run"
|
||||||
WITH_SHELL: "nix-shell ../../shell.nix --argstr compiler ${{matrix.compiler}} --arg cuda ${{matrix.cuda}} --run"
|
WITH_SHELL: "nix-shell ../../shell.nix --argstr compiler ${{matrix.compiler}} --run"
|
||||||
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
@ -33,9 +33,6 @@ jobs:
|
|||||||
- clang7
|
- clang7
|
||||||
- clang6
|
- clang6
|
||||||
- clang5
|
- clang5
|
||||||
cuda:
|
|
||||||
- false
|
|
||||||
- true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|||||||
@ -137,7 +137,7 @@ int main(int argc, char** argv) {
|
|||||||
printf("no: %ld\n", no);
|
printf("no: %ld\n", no);
|
||||||
printf("nv: %ld\n", nv);
|
printf("nv: %ld\n", nv);
|
||||||
printf("SIZE %f GB\n", (3 * nv * oo
|
printf("SIZE %f GB\n", (3 * nv * oo
|
||||||
+ 6 * no * nv
|
+ 6 * oo * nv
|
||||||
+ 3 * oo
|
+ 3 * oo
|
||||||
+ 3 * ooo
|
+ 3 * ooo
|
||||||
+ 1 * ooo
|
+ 1 * ooo
|
||||||
|
|||||||
@ -14,17 +14,10 @@ $(CTF_SRC_PATH)/configure:
|
|||||||
git clone $(CTF_GIT_REPOSITORY) $(@D)
|
git clone $(CTF_GIT_REPOSITORY) $(@D)
|
||||||
cd $(@D) && git checkout $(CTF_COMMIT)
|
cd $(@D) && git checkout $(CTF_COMMIT)
|
||||||
|
|
||||||
# Here make sure that ctf does not builld with CUDA support
|
|
||||||
# since it is broken anyways
|
|
||||||
#
|
|
||||||
# Also we patch the file kernel.h because it mostl
|
|
||||||
# doesn't work when we try to include ctf in a CUDACC
|
|
||||||
# compiler code.
|
|
||||||
$(CTF_BUILD_PATH)/Makefile: $(CTF_SRC_PATH)/configure
|
$(CTF_BUILD_PATH)/Makefile: $(CTF_SRC_PATH)/configure
|
||||||
mkdir -p $(CTF_BUILD_PATH)
|
mkdir -p $(CTF_BUILD_PATH)
|
||||||
cd $(CTF_BUILD_PATH) && \
|
cd $(CTF_BUILD_PATH) && \
|
||||||
$(abspath $(CTF_SRC_PATH))/configure NVCC="" $(CTF_CONFIG_FLAGS)
|
$(abspath $(CTF_SRC_PATH))/configure $(CTF_CONFIG_FLAGS)
|
||||||
sed -i s/CUDACC/ATRIP_NOT_CUDACC/g ${CTF_SRC_PATH}/src/interface/kernel.h
|
|
||||||
|
|
||||||
|
|
||||||
$(CTF_STATIC_LIB): $(CTF_BUILD_PATH)/Makefile
|
$(CTF_STATIC_LIB): $(CTF_BUILD_PATH)/Makefile
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user