Skip to content

Commit

Permalink
Implement Cache and __cuda_array_interface__ for v21.06.00 (#48)
Browse files Browse the repository at this point in the history
* Fix memory leak in deflate decoder

* Update build script to handle failures

* Fix typo in meta.yaml

* Add pytest to gpu build script

* Implement cache mechanism

Remove scripts/docs related to bump2version because
we don't need it anymore since the versioning scheme
is changed to CalVer.

* Add __cuda_array_interface__

* Support CUDA 10.x for cucim.skimage package (#44)

* Expose preferred_memory_capacity() for cache

* Fix failures due to GIL and nullptr access

* Add notebooks for cache and cuda array interface

* Update change logs for v21.06.00

* Fix style errors

* Address comments

* Remove debug print code for cache

* Extract methods for find_if

* Fix wrong move of image metadata
  • Loading branch information
gigony authored Jun 8, 2021
1 parent d51cdb8 commit 45cf987
Show file tree
Hide file tree
Showing 97 changed files with 6,167 additions and 553 deletions.
18 changes: 18 additions & 0 deletions 3rdparty/LICENSE.libcuckoo
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Copyright (C) 2013, Carnegie Mellon University and Intel Corporation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

---------------------------

The third-party libraries have their own licenses, as detailed in their source
files.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ include(ExternalProject)
################################################################################
option(CUCIM_SUPPORT_GDS "Support cufile library" OFF)
option(CUCIM_STATIC_GDS "Use static cufile library" OFF)
option(CUCIM_SUPPORT_CUDA "Support CUDA" ON)

# Setup CXX11 ABI
# : Adds CXX11 ABI definition to the compiler command line for targets in the current directory,
Expand All @@ -124,6 +125,8 @@ superbuild_depend(openslide)
superbuild_depend(catch2)
superbuild_depend(cli11)
superbuild_depend(json)
superbuild_depend(libcuckoo)
superbuild_depend(boost-header-only)

################################################################################
# Define some names
Expand Down
Loading

0 comments on commit 45cf987

Please sign in to comment.