Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update-readme-hip
Browse files Browse the repository at this point in the history
csbnw authored Jan 31, 2025
2 parents cdd0d29 + 044aaf7 commit 2ec92d7
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,9 @@ project adheres to [Semantic Versioning](http://semver.org/).
- Added `cu::DeviceMemory::memset2D()` and `cu::Stream::memset2DAsync()`
- Added `cufft::FFT1DR2C` and `cufft::FFT1DC2R`
- Added `cu::Device::getOrdinal()`
- Improved HIP documentation and building instructions in `README.md`
- Added deprecated warning to `cu::Context` constructor
- Improved HIP documentation and building instructions


### Changed

4 changes: 3 additions & 1 deletion include/cudawrappers/cu.hpp
Original file line number Diff line number Diff line change
@@ -243,7 +243,9 @@ class Context : public Wrapper<CUcontext> {
public:
// Context Management

Context(int flags, Device &device) : _primaryContext(false), _device(device) {
[[deprecated("cu::Context is deprecated since cudawrappers version 0.9.0.")]]
Context(int flags, Device &device)
: _primaryContext(false), _device(device) {
#if !defined(__HIP__)
checkCudaCall(cuCtxCreate(&_obj, flags, device));
manager =

0 comments on commit 2ec92d7

Please sign in to comment.