Skip to content

SYCLomatic daily 2022-11-17

Pre-release
Pre-release
Compare
Choose a tag to compare
@bb-sycl bb-sycl released this 17 Nov 17:26
· 78330 commits to SYCLomatic since this release
af325b6
[SYCLomatic] Refine migration of cudaMemGetInfo() (#228)

1. Add a new value "device_info" for option “--no-dpcpp-extensions" to guide migration of cudaMemGetInfo().
2. Add a new helper function get_memory_info() in helper file device.hpp  to get the number of bytes of free and total memory of the SYCL device

Signed-off-by: chenwei.sun <chenwei.sun@intel.com>