metalGuide翻译-学习资料.pdf

  1. 1、本文档共64页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
Metal Programming Guide Metal 编程指南 About Metal and this Guide 关于Metal和本⽂ The Metal framework supports GPU-accelerated advanced 3D graphics rendering and data-parallel computation workloads. Metal provides a modern and streamlined API for fine-grain, low-level control of the organization, processing, and submission of graphics and computation commands and the management of the associated data and resources for these commands. A primary goal of Metal is to minimize the CPU overhead necessary for executing these GPU workloads. Metal框架⽀持GPU加速的3D图形渲染和并⾏数据计算。Metal提供了⼀系列的API⽤于在细粒度和低层次上组 织、处理、提交图形绘制指令、并⾏计算指令,并管理和这些指令相关联的数据和资源。Metal的⼀个主要⽬标 是减少GPU执⾏这些计算的必要的开销。 At a Glance 概述 This document describes the fundamental concepts of Metal: the command submission model, the memory management model, and the use of independently compiled code (i.e., graphics shader functions or data-parallel computation functions). The document then details how to use the Metal API to write an app that: sets hardware state necessary for graphics or data-parallel compute workloads, commits commands for execution by the GPU, manages memory allocations, including buffer and texture objects, and manages compiled (or compilable) graphics shader or compute function code written in the Metal shading language. 本⽂描述Metal的基本概念:计算指令分发模型,内存管理模型,独⽴编译的代码的使⽤(⽐如图形着⾊器程序 或者并⾏数据计算程序)。接下来本⽂详述如何使⽤Metal的API实现app : 为图形渲染或是并⾏计算设置必要的硬件状态 提交命令到GPU执⾏ 管理内存分配,包括buffer对象和textrue对象 管理编译好的(可编译的)图形着⾊程序或是⽤Metal着⾊程序语⾔写的并⾏计算程序 How to Use This Document 如何使⽤本⽂ This document contains the following articles: Fundamental Metal Concepts (page 9) briefly describes the main features of Metal.
 Command Organization and Execution Model (page 10) explains creating, committing, and executing commands on the GPU. Resource Objects: Buffers and Textures (page 18) discusses the management of device memory, including buffer and texture objects that represent GPU memory allocations. Functions and Libraries (page 26) descr

您可能关注的文档

文档评论(0)

lhp020 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

认证主体李**

1亿VIP精品文档

相关文档

相关课程推荐