mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-10-01 13:49:11 +00:00
Fix warning
This commit is contained in:
parent
7a8a1984ae
commit
f72938a9f5
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ impl LibraryData {
|
|||
let lib = CodeLibraryRef::try_load(ptr).map_err(|_| CUerror::INVALID_VALUE)?;
|
||||
Ok(LibraryData::Lazy(lib))
|
||||
} else {
|
||||
Err(CUerror::NOT_SUPPORTED)
|
||||
Ok(LibraryData::Eager(()))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue