CANN/asc-devkit 废弃矢量寄存器对齐存储函数
asc_storealign (废弃)【免费下载链接】asc-devkit本项目是CANN 推出的昇腾AI处理器专用的算子程序开发语言原生支持C和C标准规范主要由类库和语言扩展层构成提供多层级API满足多维场景算子开发诉求。项目地址: https://gitcode.com/cann/asc-devkit产品支持情况Ascend 950PR/Ascend 950DT支持Atlas A3 训练系列产品/Atlas A3 推理系列产品不支持Atlas A2 训练系列产品/Atlas A2 推理系列产品不支持Atlas 200I/500 A2 推理产品不支持Atlas 推理系列产品AI Core不支持Atlas 推理系列产品Vector Core不支持Atlas 训练系列产品不支持功能说明头文件路径c_api/reg_compute/reg_store.h。该接口已废弃请使用asc_storealign_postupdate实现此功能。reg计算数据搬运接口适用于从矢量数据寄存器连续对齐搬出到UB的场景接口使用repeat stride模式。函数原型// repeat stride模式搬出 __simd_callee__ inline void asc_storealign(__ubuf__ int8_t* dst_align32b, vector_int8_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ uint8_t* dst_align32b, vector_uint8_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ fp8_e5m2_t* dst_align32b, vector_fp8_e5m2_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ fp8_e4m3fn_t* dst_align32b, vector_fp8_e4m3fn_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ hifloat8_t* dst_align32b, vector_hifloat8_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ fp8_e8m0_t* dst_align32b, vector_fp8_e8m0_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ int16_t* dst_align32b, vector_int16_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ uint16_t* dst_align32b, vector_uint16_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ half* dst_align32b, vector_half src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ bfloat16_t* dst_align32b, vector_bfloat16_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ int32_t* dst_align32b, vector_int32_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ uint32_t* dst_align32b, vector_uint32_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign(__ubuf__ float* dst_align32b, vector_float src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) // repeat stride模式搬出同时开启硬件自动Post Update模式 __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ int8_t* dst_align32b, vector_int8_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ uint8_t* dst_align32b, vector_uint8_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ fp8_e5m2_t* dst_align32b, vector_fp8_e5m2_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ fp8_e4m3fn_t* dst_align32b, vector_fp8_e4m3fn_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ hifloat8_t* dst_align32b, vector_hifloat8_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ fp8_e8m0_t* dst_align32b, vector_fp8_e8m0_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ int16_t* dst_align32b, vector_int16_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ uint16_t* dst_align32b, vector_uint16_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ half* dst_align32b, vector_half src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ bfloat16_t* dst_align32b, vector_bfloat16_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ int32_t* dst_align32b, vector_int32_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ uint32_t* dst_align32b, vector_uint32_t src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask) __simd_callee__ inline void asc_storealign_postupdate(__ubuf__ float* dst_align32b, vector_float src, uint16_t block_stride, uint16_t repeat_stride, vector_bool mask)参数说明参数名输入/输出描述dst_align32b输出目的操作数矢量的起始地址。src输入源操作数矢量数据寄存器。block_stride输入源操作数单次迭代内不同DataBlock间地址步长。repeat_stride输入源操作数相邻迭代间相同DataBlock的地址步长。mask输入源操作数掩码掩码寄存器用于指示在计算过程中哪些元素参与计算。对应位置为1时参与计算为0时不参与计算。矢量数据寄存器和掩码寄存器的详细说明请参见data_type_definition.md。返回值说明无流水类型PIPE_V约束说明无调用示例// asc_storealign __ubuf__ int8_t* dst_align32b; vector_int8_t src; uint16_t block_stride; uint16_t repeat_stride; vector_bool mask asc_create_mask_b8(PAT_ALL); asc_storealign(dst_align32b, src, block_stride, repeat_stride, mask); // asc_storealign_postupdate __ubuf__ int8_t* dst_align32b; vector_int8_t src; uint16_t block_stride; uint16_t repeat_stride; vector_bool mask asc_create_mask_b8(PAT_ALL); asc_storealign_postupdate(dst_align32b, src, block_stride, repeat_stride, mask);【免费下载链接】asc-devkit本项目是CANN 推出的昇腾AI处理器专用的算子程序开发语言原生支持C和C标准规范主要由类库和语言扩展层构成提供多层级API满足多维场景算子开发诉求。项目地址: https://gitcode.com/cann/asc-devkit创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

相关新闻

Optuna Dashboard性能优化:处理大规模实验数据的最佳实践

Optuna Dashboard性能优化:处理大规模实验数据的最佳实践

Optuna Dashboard性能优化:处理大规模实验数据的最佳实践 【免费下载链接】optuna-dashboard Real-time Web Dashboard for Optuna. 项目地址: https://gitcode.com/gh_mirrors/op/optuna-dashboard Optuna Dashboard是一个实时Web仪表板,专为Opt…

2026/7/16 19:02:34 阅读更多 →
小红书数据采集实战:3步掌握Python爬虫核心技巧

小红书数据采集实战:3步掌握Python爬虫核心技巧

小红书数据采集实战:3步掌握Python爬虫核心技巧 【免费下载链接】xhs 基于小红书 Web 端进行的请求封装。https://reajason.github.io/xhs/ 项目地址: https://gitcode.com/gh_mirrors/xh/xhs 在小红书这个汇聚亿级用户的内容平台中,数据蕴含着无…

2026/7/16 19:02:34 阅读更多 →
如何快速上手Easy-Query:5分钟完成第一个数据库查询

如何快速上手Easy-Query:5分钟完成第一个数据库查询

如何快速上手Easy-Query:5分钟完成第一个数据库查询 【免费下载链接】easy-query java/kotlin high performance lightweight solution for jdbc query,support oltp and olap query,一款java下面支持强类型、轻量级、高性能的ORM,致力于解决jdbc查询,拥有对象模型筛…

2026/7/16 18:58:33 阅读更多 →

最新新闻

mem_hot模块化架构深度解析:从SpeManager到Displayer的完整工作流程

mem_hot模块化架构深度解析:从SpeManager到Displayer的完整工作流程

mem_hot模块化架构深度解析:从SpeManager到Displayer的完整工作流程 【免费下载链接】mem_hot mem_hot is a memory heat analysis tool designed to identify and analyze the heat of memory pages based on ARM SPE (Statistical Profiling Extension). 项目地…

2026/7/16 19:48:46 阅读更多 →
AndroidFastScroll弹出文本定制:PopupTextProvider接口的完整使用指南

AndroidFastScroll弹出文本定制:PopupTextProvider接口的完整使用指南

AndroidFastScroll弹出文本定制:PopupTextProvider接口的完整使用指南 【免费下载链接】AndroidFastScroll Fast scroll for Android RecyclerView and more 项目地址: https://gitcode.com/gh_mirrors/an/AndroidFastScroll AndroidFastScroll是一款为Andro…

2026/7/16 19:48:46 阅读更多 →
WPS AI智能排版+文案生成+图表联动,全链路PPT自动化流程,为什么90%的HR/销售还在手动改稿?

WPS AI智能排版+文案生成+图表联动,全链路PPT自动化流程,为什么90%的HR/销售还在手动改稿?

更多请点击: https://intelliparadigm.com 第一章:WPS AI智能PPT自动化的核心价值与适用场景 WPS AI智能PPT自动化并非简单替换人工点击操作,而是通过自然语言理解、多模态内容生成与结构化排版引擎的深度融合,实现从“输入意图”…

2026/7/16 19:46:45 阅读更多 →
本体语义如何让AI理解企业的真实业务

本体语义如何让AI理解企业的真实业务

企业知识库上线后,最让业务部门头疼的一个现象是:用户用业务术语提问,AI 返回的答案字面上相关,但业务人员看了觉得"不是这个意思"。 某汽车零部件企业的内部调研显示,知识库上线第一个月,业务部…

2026/7/16 19:44:45 阅读更多 →
Windows字体自定义神器:No!! MeiryoUI深度解析与技术实战指南

Windows字体自定义神器:No!! MeiryoUI深度解析与技术实战指南

Windows字体自定义神器:No!! MeiryoUI深度解析与技术实战指南 【免费下载链接】noMeiryoUI No!! MeiryoUI is Windows system font setting tool on Windows 8.1/10/11. 项目地址: https://gitcode.com/gh_mirrors/no/noMeiryoUI 你是否厌倦了Windows 8.1/10…

2026/7/16 19:42:44 阅读更多 →
jpa-spec虚拟视图技术:无需数据库表也能实现复杂统计查询

jpa-spec虚拟视图技术:无需数据库表也能实现复杂统计查询

jpa-spec虚拟视图技术:无需数据库表也能实现复杂统计查询 【免费下载链接】jpa-spec A JPA Query By Specification framework. 项目地址: https://gitcode.com/gh_mirrors/jp/jpa-spec jpa-spec是一个强大的JPA查询规范框架,它提供了虚拟视图技术…

2026/7/16 19:42:44 阅读更多 →

日新闻

HarmonyOs应用《重要日》开发第6篇 - 数据持久化存储

HarmonyOs应用《重要日》开发第6篇 - 数据持久化存储

本篇深入剖析 ImportantDays 项目的数据持久化方案——基于 HarmonyOS ArkData 模块的 Preferences 轻量级存储,以及 PreferenceUtil 工具类的单例封装。一、HarmonyOS 数据存储方案对比 HarmonyOS 提供了多种数据存储方案:方案适用场景特点Preferences轻…

2026/7/16 0:08:27 阅读更多 →
Python实现跨境电商商品图批量翻译教程

Python实现跨境电商商品图批量翻译教程

一、问题引入做跨境电商的卖家朋友,你是否遇到过这样的困扰?每次上架新品到亚马逊、Shopee或Lazada等平台,都需要处理大量商品图片的多语言版本。比如上架200款衣服,每款需要翻译成英语、日语、韩语等5种语言,这意味着…

2026/7/16 0:08:27 阅读更多 →
鸿蒙 7 新特性实战①:从 0 到 1 掌握 @kit 标准导入规范

鸿蒙 7 新特性实战①:从 0 到 1 掌握 @kit 标准导入规范

从鸿蒙 7(HarmonyOS NEXT)开始,官方全面完成了从 ohos.* 零散模块到 kit.* 领域套件的体系重构。对开发者来说,第一道门槛不是 API 用法变化,而是统一的导入规范——旧体系默认导入、解构导入混用的混乱局面被彻底终结…

2026/7/16 0:10:29 阅读更多 →

周新闻

互联网大厂 Java 求职面试:燕双非的搞笑回答与技术探讨

互联网大厂 Java 求职面试:燕双非的搞笑回答与技术探讨

互联网大厂 Java 求职面试:燕双非的搞笑回答与技术探讨 在一个阳光明媚的上午,互联网大厂的面试官坐在桌前,准备迎接他的面试候选人——燕双非,一个以搞笑和幽默著称的程序员。第一轮提问 面试官:燕双非,作…

2026/7/15 21:09:01 阅读更多 →
车载以太网PMA测试设备选型:示波器、VNA、信号源3类仪器关键参数与预算评估

车载以太网PMA测试设备选型:示波器、VNA、信号源3类仪器关键参数与预算评估

车载以太网PMA测试设备选型:示波器、VNA、信号源3类仪器关键参数与预算评估在智能驾驶和车联网技术快速发展的今天,车载以太网作为新一代车载网络的核心传输技术,其物理层性能直接决定了数据传输的可靠性和稳定性。1000BASE-T1作为当前主流的…

2026/7/15 19:42:20 阅读更多 →
VSCode EIDE 插件 2.0:APM32/STM32 项目迁移实战,5步完成Keil工程转换

VSCode EIDE 插件 2.0:APM32/STM32 项目迁移实战,5步完成Keil工程转换

VSCode EIDE 插件 2.0:APM32/STM32 项目迁移实战指南嵌入式开发领域正经历一场工具链的静默革命。当传统Keil用户首次打开VSCode的扩展市场搜索EIDE时,往往会惊讶于这个看似简单的插件竟能重构十余年的开发习惯。本文将揭示如何用五个精准步骤&#xff0…

2026/7/15 17:52:08 阅读更多 →

月新闻