8000 fix signature for unavailable version · pytorch/pytorch@b534129 · GitHub
[go: up one dir, main page]

Skip to content

Commit b534129

Browse files
committed
fix signature for unavailable version
1 parent 7fe0e75 commit b534129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c10/cuda/CUDAMallocAsyncAllocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ void setMemoryFraction(double fraction, int device) {
775775
void emptyCache() {
776776
NOT_AVAILABLE("emptyCache")
777777
}
778-
void cacheInfo(int dev_id, size_t* cachedAndFree, size_t* largestBlock) {
778+
void cacheInfo(int device, size_t* maxWorkspaceGuess) {
779779
NOT_AVAILABLE("cacheInfo")
780780
}
781781
void* getBaseAllocation(void* ptr, size_t* size) {

0 commit comments

Comments
 (0)
0