我使用的镜像是quay.io/ascend/cann:8.5.1-910-ubuntu22.04-py3.11
机器设备是 800T A2 910b
环境是driver 25.5.1 固件 7.8
内核是4.1版本
我先使用了
err = aclrtMallocHost(&hostPtr, static_cast<uint64_t>(bufferSize));
if (err != ACL_SUCCESS) {
std::cerr << "aclrtMallocHostWithCfg failed, errcode: " << err << std::endl;
aclrtResetDevice(deviceId);
aclFinalize();
return -1;
}
正常运行
但是在运行
err = aclrtHostRegister(hostPtr, static_cast<uint64_t>(bufferSize),
ACL_HOST_REGISTER_MAPPED, (void **)&devPtr); 时报错返回507899 问题,查看跟驱动有关系?是驱动版本问题吗?
我使用的镜像是quay.io/ascend/cann:8.5.1-910-ubuntu22.04-py3.11
机器设备是 800T A2 910b
环境是driver 25.5.1 固件 7.8
内核是4.1版本
我先使用了
err = aclrtMallocHost(&hostPtr, static_cast<uint64_t>(bufferSize));
if (err != ACL_SUCCESS) {
std::cerr << "aclrtMallocHostWithCfg failed, errcode: " << err << std::endl;
aclrtResetDevice(deviceId);
aclFinalize();
return -1;
}
正常运行
但是在运行
err = aclrtHostRegister(hostPtr, static_cast<uint64_t>(bufferSize),
ACL_HOST_REGISTER_MAPPED, (void **)&devPtr); 时报错返回507899 问题,查看跟驱动有关系?是驱动版本问题吗?