Skip to content

Commit f8ecb84

Browse files
authored
Speed up Punica compilation (#2632)
1 parent 5f036d2 commit f8ecb84

21 files changed

+100
-22
lines changed

.buildkite/test-template.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
steps:
66
- label: ":docker: build image"
77
commands:
8-
- "docker build --tag {{ docker_image }} --target test --progress plain ."
8+
- "docker build --build-arg max_jobs=16 --tag {{ docker_image }} --target test --progress plain ."
99
- "docker push {{ docker_image }}"
1010
env:
1111
DOCKER_BUILDKIT: "1"

csrc/punica/bgmv/bgmv_all.cu

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "bgmv_config.h"
2+
#include "bgmv_impl.cuh"
3+
4+
FOR_BGMV_WIDE_NARROW(INST_BGMV_TWOSIDE, nv_bfloat16, nv_bfloat16, nv_bfloat16)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "bgmv_config.h"
2+
#include "bgmv_impl.cuh"
3+
4+
FOR_BGMV_WIDE_NARROW(INST_BGMV_TWOSIDE, nv_bfloat16, nv_bfloat16, nv_half)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "bgmv_config.h"
2+
#include "bgmv_impl.cuh"
3+
4+
FOR_BGMV_WIDE_NARROW(INST_BGMV_TWOSIDE, nv_bfloat16, nv_half, nv_bfloat16)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "bgmv_config.h"
2+
#include "bgmv_impl.cuh"
3+
4+
FOR_BGMV_WIDE_NARROW(INST_BGMV_TWOSIDE, nv_bfloat16, nv_half, nv_half)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "bgmv_config.h"
2+
#include "bgmv_impl.cuh"
3+
4+
FOR_BGMV_WIDE_NARROW(INST_BGMV_TWOSIDE, nv_bfloat16, float, nv_bfloat16)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "bgmv_config.h"
2+
#include "bgmv_impl.cuh"
3+
4+
FOR_BGMV_WIDE_NARROW(INST_BGMV_TWOSIDE, nv_bfloat16, float, nv_half)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "bgmv_config.h"
2+
#include "bgmv_impl.cuh"
3+
4+
FOR_BGMV_WIDE_NARROW(INST_BGMV_TWOSIDE, nv_half, nv_bfloat16, nv_bfloat16)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "bgmv_config.h"
2+
#include "bgmv_impl.cuh"
3+
4+
FOR_BGMV_WIDE_NARROW(INST_BGMV_TWOSIDE, nv_half, nv_bfloat16, nv_half)

0 commit comments

Comments
 (0)