renaming examples.

This commit is contained in:
kodario 2022-11-03 15:30:12 +01:00
parent f94b3d8f52
commit 3c575a99f3
124 changed files with 62 additions and 127 deletions

View File

@ -19,11 +19,17 @@ jobs:
/usr/bin/cmake ../hw/ -DFDEV_NAME=u55c -DEXAMPLE=perf_host
make shell && make compile
- name: Compile SW Benchmark Host Example
- name: Compile SW Perf Host Example
run: |
mkdir build_perf_host_sw && cd build_perf_host_sw
/usr/bin/cmake ../sw/ -DTARGET_DIR=examples/perf_host
make
- name: Bitstream
uses: actions/upload-artifact@v3
with:
name: bitstream-perf-host
path: build_perf_host_hw/bitstreams
build_perf_fpga:
runs-on: self-hosted
@ -36,11 +42,17 @@ jobs:
/usr/bin/cmake ../hw/ -DFDEV_NAME=u55c -DEXAMPLE=perf_fpga
make shell && make compile
- name: Compile SW Benchmark FPGA Example
- name: Compile SW Perf FPGA Example
run: |
mkdir build_perf_fpga_sw && cd build_perf_fpga_sw
/usr/bin/cmake ../sw/ -DTARGET_DIR=examples/perf_fpga
- name: Bitstream
uses: actions/upload-artifact@v3
with:
name: bitstream-perf-fpga
path: build_perf_fpga_hw/bitstreams
build_gbm_dtrees:
runs-on: self-hosted
steps:

View File

@ -27,40 +27,40 @@ if(NOT EXAMPLE EQUAL 0)
set(EN_HLS 1)
set(EN_STRM 1)
set(EN_MEM 0)
elseif(EXAMPLE STREQUAL "service_aes")
message("** Coyote as a service (AES). Force config.")
set(EN_HLS 0)
set(EN_STRM 1)
set(EN_MEM 0)
set(N_REGIONS 1)
elseif(EXAMPLE STREQUAL "dram")
elseif(EXAMPLE STREQUAL "perf_dram")
message("** Striping DRAM example. Force config.")
set(N_REGIONS 4)
set(EN_HLS 0)
set(EN_STRM 0)
set(EN_MEM 1)
set(N_DDR_CHAN 2) # This depends on how many channels you actually have, u250 for instance can go up to 4
elseif(EXAMPLE STREQUAL "hbm")
elseif(EXAMPLE STREQUAL "perf_hbm")
message("** Striping HBM example. Force config.")
set(N_REGIONS 4)
set(EN_HLS 0)
set(EN_STRM 0)
set(EN_MEM 1)
elseif(EXAMPLE STREQUAL "rdma_host")
message("** RDMA host HOST benchmarks. Force config.")
elseif(EXAMPLE STREQUAL "perf_rdma_host")
message("** RDMA host perf. Force config.")
set(EN_HLS 0)
set(EN_BPSS 1)
set(EN_STRM 1)
set(EN_MEM 0)
set(EN_RDMA_1 1)
elseif(EXAMPLE STREQUAL "rdma_card")
message("** RDMA card CARD benchmarks. Force config.")
elseif(EXAMPLE STREQUAL "perf_rdma_card")
message("** RDMA card perf. Force config.")
set(EN_HLS 0)
set(EN_BPSS 1)
set(EN_STRM 0)
set(EN_MEM 1)
set(N_DDR_CHAN 1) #
set(EN_RDMA_1 1)
elseif(EXAMPLE STREQUAL "perf_tcp")
message("** TCP/IP benchmarks. Force config.")
set(EN_HLS 0)
set(EN_STRM 1)
set(EN_TCP_0 1)
add_subdirectory(hdl/operators/examples/tcp_bench/hls)
elseif(EXAMPLE STREQUAL "rdma_regex")
message("** RDMA regex. Force config.")
set(EN_HLS 0)
@ -68,14 +68,14 @@ if(NOT EXAMPLE EQUAL 0)
set(EN_STRM 0)
set(EN_MEM 0)
set(EN_RDMA_1 1)
elseif(EXAMPLE STREQUAL "tcp")
message("** TCP/IP benchmarks. Force config.")
elseif(EXAMPLE STREQUAL "service_aes")
message("** Coyote as a service (AES). Force config.")
set(EN_HLS 0)
set(EN_STRM 1)
set(EN_TCP_0 1)
add_subdirectory(hdl/operators/examples/tcp_bench/hls)
elseif(EXAMPLE STREQUAL "pr_scheduling")
message("** PR scheduling. Force config.")
set(EN_MEM 0)
set(N_REGIONS 1)
elseif(EXAMPLE STREQUAL "service_reconfiguration")
message("** Coyote as a service (Reconfiguration example). Force config.")
set(EN_HLS 0)
set(EN_STRM 1)
set(EN_MEM 0)

Some files were not shown because too many files have changed in this diff Show More