Skip to content

Commit eba837b

Browse files
committed
bebump allocation
1 parent 4bef39a commit eba837b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driverapi/src/librecuda.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ static inline NvU64 maxOf(NvU64 a, NvU64 b) {
241241
return (a > b) ? a : b;
242242
}
243243

244+
244245
NvU64 bump_alloc_virtual_addr(LibreCUcontext ctx, size_t size, NvU32 alignment = 4 << 10) {
245246
NvU64 va_address = ctx->uvm_vaddr;
246247
NvU64 slack = va_address % alignment;

0 commit comments

Comments
 (0)