mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
[hip] bump version to 50300000
This commit is contained in:
parent
44530f2c6c
commit
4773fc6ffb
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ static inline void offloadEnsureMallocHeapSize(const size_t required_size) {
|
|||
if (current_size < required_size) {
|
||||
OFFLOAD_CHECK(cudaDeviceSetLimit(cudaLimitMallocHeapSize, required_size));
|
||||
}
|
||||
#elif defined(__OFFLOAD_HIP) && (HIP_VERSION > 50200000)
|
||||
#elif defined(__OFFLOAD_HIP) && (HIP_VERSION >= 50300000)
|
||||
OFFLOAD_CHECK(hipDeviceGetLimit(¤t_size, hipLimitMallocHeapSize));
|
||||
if (current_size < required_size) {
|
||||
OFFLOAD_CHECK(hipDeviceSetLimit(hipLimitMallocHeapSize, required_size));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue