Closed hyperbolic2346 closed 1 month ago
build
@hyperbolic2346 @abellina you guys are getting a step ahead of me. Probably would have been nice to wait on https://github.com/rapidsai/cudf/pull/16679 so you can use the cudf wrappers. That way if we need to change anything we can do it in one place in cudf.
@harrism sorry about that. I will include that wrapper once it is merged.
Sorry @hyperbolic2346 and @harrism I didn't realize https://github.com/rapidsai/cudf/pull/16679 was in the works.
BTW, I believe that this PR introduces a bug until rapidsai/rmm/#1661 is merged. That PR makes get_current_device_resource_ref()
get the ref of the MR set with set_current_device_resource()
. Before that change, resource_refs and resource pointers were kept separate because the ref APIs were not intended to be used across RAPIDS yet.
Thanks @harrism we'll revert this for now until the RMM pr is merged.
OK, rapidsai/rmm#1661 is now merged.
This changes the use of
rmm::get_current_device_resource
tormm::get_current_device_resource_ref
to match up with the RMM incoming deprecation. I don't know when the original methods will be deprecated, but the new methods are available now, so it seemed a good idea to switch over.closes #2358