Comments (12)
@alazzaro , could you point me to all the functions that DBCSR is using but is deprecated now? Is there an error report from CI that I could refer to?
For that, please see @hfp issue of today (#810)
from dbcsr.
Oh, oh, I didn't pay much attention... #810 is related to CUDA...
Then, for rocm, the deprecated functions are:
https://github.com/cp2k/dbcsr/actions/runs/9636368793/job/26574254231
Search for "deprecated and may"...
from dbcsr.
Are your comments meant for this issue?
yes, but it seems I omitted some part: by passing the include dirs for external API/frameworks with -isystem
, at least gcc should not be emitting warnings coming from those headers.
from dbcsr.
So, the problem here is that we use FROM rocm/dev-ubuntu-22.04:latest
which moved from ROCM 6.0.1 to 6.1.0 and now some HIP functions are deprecated...
I wonder if we should set a tag for ROCM (up to 6.0.2 for example). I don't think we should remove -Werror...
ROCM 6.1 introduced a long list of deprecated functions, however I'm not sure how we should update them... Maybe @gsitaram can help?
@hfp I would say, for the moment, please ignore this problem.
from dbcsr.
@hfp , you can also add -Wno-error=deprecated-declarations
for the moment...
from dbcsr.
I'll take a look and get back.
from dbcsr.
Hi @alazzaro, @hfp, I see the following message in the ROCm docs:
On the AMD platform, context management APIs are deprecated as there are better alternate interfaces, such as using hipSetDevice and stream APIs to achieve the required functionality.
On the NVIDIA platform, CUDA supports the driver API that defines "Context" and "Devices" as separate entities. Each context contains a single device, which can theoretically have multiple contexts. HIP initially added limited support for these APIs to facilitate easy porting from existing driver codes.
These APIs are only for equivalent driver APIs on the NVIDIA platform.
Are these functions necessary in DBCSR? Or could we replace them with equivalent hipDevice* functionality?
from dbcsr.
Thanks @gsitaram I have no idea how to answer to your question...
I spent some time to understand how to replace them, but I cannot get it from the AMD documentation...
from dbcsr.
@alazzaro , could you point me to all the functions that DBCSR is using but is deprecated now? Is there an error report from CI that I could refer to?
from dbcsr.
in principle CMake should be adding header files from external packages with -isystem
, on the other hand it will then just start failing hard when things are finally being removed
from dbcsr.
moving our docker image to use a tagged upstream and then use something like the pre-commit bot to scan the images periodically might be a better method?
from dbcsr.
in principle CMake should be adding header files from external packages with
-isystem
, on the other hand it will then just start failing hard when things are finally being removed
moving our docker image to use a tagged upstream and then use something like the pre-commit bot to scan the images periodically might be a better method?
Are your comments meant for this issue?
from dbcsr.
Related Issues (20)
- Error with mpich 4.1: Type mismatch in argument 'baseptr' at (1); passed TYPE(c_ptr) to INTEGER(4) HOT 26
- cuda tests are broken HOT 1
- Evaluate USE_ACCEL=opencl
- Test MPI_F08 HOT 1
- Default initializers
- mpich test failure on s390x HOT 2
- Thread number has changed error if OMP_DYNAMIC=TRUE HOT 3
- `TEST_MPI_RANKS=auto` does not account for ctest parallelization HOT 1
- Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation HOT 1
- OpenMP detection with Clang is broken in 2.6.0 HOT 10
- Compilation fails on Archer2 UK system HOT 7
- What levels of sparsity is this useful for? HOT 4
- Removal of dbcsr-data HOT 2
- CUDA RUNTIME API error: DeviceSetLimit failed with error cudaErrorInvalidValue HOT 6
- DBCSR performs very poorly on GH200, when there are large blocks HOT 14
- Discussion on tuning machinery HOT 2
- Make configuration variables immutable when they are already consumed
- cuFuncSetSharedMemConfig deprecated HOT 1
- CP2K performs poorly on AMD platforms HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbcsr.