[{"data":1,"prerenderedAt":441},["ShallowReactive",2],{"$fBh08WXBD3OVQq4ObOni-vPI7-CrAPpLPKG0z2P-z864":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":440,"_id":4},"vkBindTensorMemoryARM","Bind device memory to tensor objects","VK_ARM_tensors","protos",[],{"type":10,"children":11,"toc":438},"root",[12,20,278,331,343,432],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To attach memory to tensor objects call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,127],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkBindTensorMemoryARM(\n VkDevice device,\n uint32_t bindInfoCount,\n const VkBindTensorMemoryInfoARM* pBindInfos);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,98],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},",\n",{"type":13,"tag":38,"props":80,"children":82},{"class":40,"line":81},3,[83,89,94],{"type":13,"tag":38,"props":84,"children":86},{"style":85},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[87],{"type":18,"value":88}," uint32_t",{"type":13,"tag":38,"props":90,"children":91},{"style":70},[92],{"type":18,"value":93}," bindInfoCount",{"type":13,"tag":38,"props":95,"children":96},{"style":45},[97],{"type":18,"value":78},{"type":13,"tag":38,"props":99,"children":101},{"class":40,"line":100},4,[102,107,112,117,122],{"type":13,"tag":38,"props":103,"children":104},{"style":85},[105],{"type":18,"value":106}," const",{"type":13,"tag":38,"props":108,"children":109},{"style":45},[110],{"type":18,"value":111}," VkBindTensorMemoryInfoARM",{"type":13,"tag":38,"props":113,"children":114},{"style":85},[115],{"type":18,"value":116},"*",{"type":13,"tag":38,"props":118,"children":119},{"style":70},[120],{"type":18,"value":121}," pBindInfos",{"type":13,"tag":38,"props":123,"children":124},{"style":45},[125],{"type":18,"value":126},");\n",{"type":13,"tag":25,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn bind_tensor_memory_arm(\n device: vk::Device,\n bind_info_count: u32,\n p_bind_infos: *const vk::BindTensorMemoryInfoARM,\n) -> vk::Result;\n","Rust","rs",[134],{"type":13,"tag":34,"props":135,"children":136},{"__ignoreMap":31},[137,159,191,212,246],{"type":13,"tag":38,"props":138,"children":139},{"class":40,"line":41},[140,145,150,155],{"type":13,"tag":38,"props":141,"children":142},{"style":85},[143],{"type":18,"value":144},"pub",{"type":13,"tag":38,"props":146,"children":147},{"style":85},[148],{"type":18,"value":149}," fn",{"type":13,"tag":38,"props":151,"children":152},{"style":51},[153],{"type":18,"value":154}," bind_tensor_memory_arm",{"type":13,"tag":38,"props":156,"children":157},{"style":45},[158],{"type":18,"value":58},{"type":13,"tag":38,"props":160,"children":161},{"class":40,"line":61},[162,167,172,177,182,187],{"type":13,"tag":38,"props":163,"children":164},{"style":45},[165],{"type":18,"value":166}," device",{"type":13,"tag":38,"props":168,"children":169},{"style":85},[170],{"type":18,"value":171},":",{"type":13,"tag":38,"props":173,"children":174},{"style":70},[175],{"type":18,"value":176}," vk",{"type":13,"tag":38,"props":178,"children":179},{"style":85},[180],{"type":18,"value":181},"::",{"type":13,"tag":38,"props":183,"children":184},{"style":70},[185],{"type":18,"value":186},"Device",{"type":13,"tag":38,"props":188,"children":189},{"style":45},[190],{"type":18,"value":78},{"type":13,"tag":38,"props":192,"children":193},{"class":40,"line":81},[194,199,203,208],{"type":13,"tag":38,"props":195,"children":196},{"style":45},[197],{"type":18,"value":198}," bind_info_count",{"type":13,"tag":38,"props":200,"children":201},{"style":85},[202],{"type":18,"value":171},{"type":13,"tag":38,"props":204,"children":205},{"style":70},[206],{"type":18,"value":207}," u32",{"type":13,"tag":38,"props":209,"children":210},{"style":45},[211],{"type":18,"value":78},{"type":13,"tag":38,"props":213,"children":214},{"class":40,"line":100},[215,220,224,229,233,237,242],{"type":13,"tag":38,"props":216,"children":217},{"style":45},[218],{"type":18,"value":219}," p_bind_infos",{"type":13,"tag":38,"props":221,"children":222},{"style":85},[223],{"type":18,"value":171},{"type":13,"tag":38,"props":225,"children":226},{"style":85},[227],{"type":18,"value":228}," *const",{"type":13,"tag":38,"props":230,"children":231},{"style":70},[232],{"type":18,"value":176},{"type":13,"tag":38,"props":234,"children":235},{"style":85},[236],{"type":18,"value":181},{"type":13,"tag":38,"props":238,"children":239},{"style":70},[240],{"type":18,"value":241},"BindTensorMemoryInfoARM",{"type":13,"tag":38,"props":243,"children":244},{"style":45},[245],{"type":18,"value":78},{"type":13,"tag":38,"props":247,"children":249},{"class":40,"line":248},5,[250,255,260,264,268,273],{"type":13,"tag":38,"props":251,"children":252},{"style":45},[253],{"type":18,"value":254},") ",{"type":13,"tag":38,"props":256,"children":257},{"style":85},[258],{"type":18,"value":259},"->",{"type":13,"tag":38,"props":261,"children":262},{"style":70},[263],{"type":18,"value":176},{"type":13,"tag":38,"props":265,"children":266},{"style":85},[267],{"type":18,"value":181},{"type":13,"tag":38,"props":269,"children":270},{"style":70},[271],{"type":18,"value":272},"Result",{"type":13,"tag":38,"props":274,"children":275},{"style":45},[276],{"type":18,"value":277},";\n",{"type":13,"tag":279,"props":280,"children":281},"ul",{},[282,293,312],{"type":13,"tag":283,"props":284,"children":285},"li",{},[286,291],{"type":13,"tag":34,"props":287,"children":289},{"className":288},[],[290],{"type":18,"value":73},{"type":18,"value":292}," is the logical device that owns the buffers and memory.",{"type":13,"tag":283,"props":294,"children":295},{},[296,302,304,310],{"type":13,"tag":34,"props":297,"children":299},{"className":298},[],[300],{"type":18,"value":301},"bindInfoCount",{"type":18,"value":303}," is the number of elements in ",{"type":13,"tag":34,"props":305,"children":307},{"className":306},[],[308],{"type":18,"value":309},"pBindInfos",{"type":18,"value":311},".",{"type":13,"tag":283,"props":313,"children":314},{},[315,320,322,329],{"type":13,"tag":34,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":309},{"type":18,"value":321}," is a pointer to an array of structures of type\n",{"type":13,"tag":323,"props":324,"children":326},"a",{"href":325},"/man/VkBindTensorMemoryInfoARM",[327],{"type":18,"value":328},"VkBindTensorMemoryInfoARM",{"type":18,"value":330},", describing tensors and memory to bind.",{"type":13,"tag":14,"props":332,"children":333},{},[334,336,341],{"type":18,"value":335},"On some implementations, it ",{"type":13,"tag":337,"props":338,"children":340},"normative",{"type":339},"may",[],{"type":18,"value":342}," be more efficient to batch memory bindings\ninto a single command.",{"type":13,"tag":344,"props":345,"children":347},"validity-group",{"name":346},"Valid Usage (Implicit)",[348,377,408],{"type":13,"tag":349,"props":350,"children":352},"validity-field",{"name":351},"VUID-vkBindTensorMemoryARM-device-parameter",[353],{"type":13,"tag":14,"props":354,"children":355},{},[356,361,363,367,369,375],{"type":13,"tag":34,"props":357,"children":359},{"className":358},[],[360],{"type":18,"value":73},{"type":18,"value":362}," ",{"type":13,"tag":337,"props":364,"children":366},{"type":365},"must",[],{"type":18,"value":368}," be a valid ",{"type":13,"tag":323,"props":370,"children":372},{"href":371},"/man/VkDevice",[373],{"type":18,"value":374},"VkDevice",{"type":18,"value":376}," handle",{"type":13,"tag":349,"props":378,"children":380},{"name":379},"VUID-vkBindTensorMemoryARM-pBindInfos-parameter",[381],{"type":13,"tag":14,"props":382,"children":383},{},[384,389,390,393,395,400,402,406],{"type":13,"tag":34,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":309},{"type":18,"value":362},{"type":13,"tag":337,"props":391,"children":392},{"type":365},[],{"type":18,"value":394}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":301},{"type":18,"value":401}," valid ",{"type":13,"tag":323,"props":403,"children":404},{"href":325},[405],{"type":18,"value":328},{"type":18,"value":407}," structures",{"type":13,"tag":349,"props":409,"children":411},{"name":410},"VUID-vkBindTensorMemoryARM-bindInfoCount-arraylength",[412],{"type":13,"tag":14,"props":413,"children":414},{},[415,420,421,424,426],{"type":13,"tag":34,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":301},{"type":18,"value":362},{"type":13,"tag":337,"props":422,"children":423},{"type":365},[],{"type":18,"value":425}," be greater than ",{"type":13,"tag":34,"props":427,"children":429},{"className":428},[],[430],{"type":18,"value":431},"0",{"type":13,"tag":433,"props":434,"children":435},"style",{},[436],{"type":18,"value":437},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":31,"searchDepth":61,"depth":61,"links":439},[],"markdown",1773121624082]