Skip to content

Commit 817cc8f

Browse files
committed
fix: fix for PRs
Signed-off-by: YdrMaster <ydrml@hotmail.com>
1 parent 0e3c71d commit 817cc8f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/02hardware/src/devices/mlu/device.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ namespace refactor::hardware {
2525
Mlu::Mlu(int32_t card) : Device(card, bangMemory(card)) {}
2626

2727
void Mlu::setContext() const noexcept {
28+
#ifdef USE_BANG
2829
setDevice(_card);
30+
#endif
2931
}
3032

3133
}// namespace refactor::hardware

src/04kernel/cuda/src/pad.cu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ namespace refactor::kernel::cuda {
4646
unsigned int rank,
4747
unsigned int blockSize) {
4848

49-
5049
padKernel<<<
5150
params.gridSize,
5251
params.blockSize,

0 commit comments

Comments
 (0)