llama.cpp/ggml/src/ggml-cann
Chenguang Li bc4064cfea
CANN: fix acl_tensor_ptr usage in ASCEND_310P ROPE (#17347)
* cann: fix acl_tensor_ptr usage in ASCEND_310P ROPE implementation

Fix compilation errors in the ASCEND_310P-specific ROPE operation code
by adding .get() calls when passing acl_tensor_ptr smart pointers to
functions expecting raw aclTensor* pointers.

This fixes the code that was missed in the previous refactoring commit
(8981848) which changed ggml_cann_create_tensor() return type from
aclTensor* to acl_tensor_ptr.

* cann: format code
2025-11-18 16:41:52 +08:00
..
CMakeLists.txt CANN: add support for ACL Graph (#15065) 2025-08-06 14:12:42 +08:00
acl_tensor.cpp CANN: Use smart pointers to manage ACL objects (#17238) 2025-11-17 08:43:59 +08:00
acl_tensor.h CANN: Use smart pointers to manage ACL objects (#17238) 2025-11-17 08:43:59 +08:00
aclnn_ops.cpp CANN: fix acl_tensor_ptr usage in ASCEND_310P ROPE (#17347) 2025-11-18 16:41:52 +08:00
aclnn_ops.h CANN: Use smart pointers to manage ACL objects (#17238) 2025-11-17 08:43:59 +08:00
common.h CANN: Use smart pointers to manage ACL objects (#17238) 2025-11-17 08:43:59 +08:00
ggml-cann.cpp CANN: Use smart pointers to manage ACL objects (#17238) 2025-11-17 08:43:59 +08:00