
aaos aur soa

computing mein, sanrachanaon kii ack shrinkhala (aos), sarani kii sanrachana (soa) yaa sarani kii sanrachanaon kii ack shrinkhala (aosoa) smriti mein abhilekhon key ack anukram koo vyavasthit karane key vipareet tareeke hain, joe interleaving key sambandh mein hain, aur simmed aur simat prograaming mein ruchi rakhate hain.
sarani kii sanrachana.
sarani kii sanrachana (aiss. oh. aeye.) ack leout haye joe ack record key tatvon (yaa see prograaming bhasha mein 'sanrachana') koo prati kshetra ack samanantar sarani mein alag kartaa haye. adhikansh nirdesh sett vastukala mein paik kiye gaye simmed nirdeshon key saath prerana aasaan herfer haye, kyonki ack ekal simmed register sajaatiya detta koo load curr sakata haye, sambhavatah ack vyaapak aantarik detta path (jaise.jee. 128-bitt). yadi record key kewal ack vishisht hisse kii aavashyakta haye, tou kewal una hisson koo dohraya jaanaa chaahiye, jisase adhik detta ack hii kaish line parr fitt hoe sakey. nakaratmak paksh detta koo paar karate samay adhik kaish tarikon kii aavashyakta haye, aur aksham anukramit pataa.
udaaharan key liye, sarani kii sanrachana kaa upayog karke 3dee sthaan mein aine binduon koo sangraheet karane key liyeh
sanrachana soochi3dee {
 float x [n];
 float y [n];
 float jaid [aine];
sanrachana bindu soochi 3dee bindu;
sanrachanaon kii shrinkhala.
sanrachanaon kii sarani (aeye. oh. aiss.) vipareet (aur adhik paaramparik) leout haye, jisamen vibhinn kshetron key liye detta koo aapas mein jodaa jaataa haye. 
yeh aksar adhik sahaj gyaan yukt hotaa haye, aur adhikansh prograaming bhaashaon dwara seedhe samarthit hotaa haye.
udaaharan key liye, sanrachanaon kii ack shrinkhala kaa upayog karke 3dee sthaan mein aine binduon koo sangraheet karane key liyeh
sanrachana bindu3dee {
 float aiks;
 float vaaee;
 float jaid;
sanrachana bindu 3 dee bindu [aine];
sarani kii sanrachanaon kii sarani.
sarani (aosoa) yaa sanrachanaon kii tyle kii sarani kii sanrachanaon kii sarani pichhale leout key beach ack sankar drishtikon haye, jisamen vibhinn kshetron key liye detta koo simmed vector aakar key barabar aakar key saath tailon yaa blocks kaa upayog karke aapas mein jodaa jaataa haye. yeh aksar cumm sahaj gyaan yukt hotaa haye, lekin aadhunik processors key kaish sthaan aur load port vastukala key liye adhik anukool honey key saath-saath sou drishtikon kii smriti thruput praapt curr sakata haye. vishesh roop seey, aadhunik processors mein smriti anurodhon koo nishchit chaudaai (jaise.jee., ack casheline kaa aakar). aosoa kaa tyle kiya huaa bhandaran anurodhon kii nishchit chaudaai key liye smriti abhigam pattern koo sanrekhit kartaa haye, jisase smriti anurodh koo puuraa karane key liye cumm abhigam sanchaalan hotaa haye aur iss prakaar dakshata mein vriddhi hoti haye.
udaaharan key liye, 8 floats (yaa 8 × 32 = 256 bits) kii simmed register chaudaai key saath sarani kii sanrachanaon kii ack shrinkhala kaa upayog karke 3dee sthaan mein aine binduon koo sangraheet karane key liyeh
sanrachana bindu3dx8 {
 float x [8];
 float y [8];
 float jaid [8];
sanrachana bindu 3dx8 bindu [(n + 7)/8];
vaastavik simdi register chaudaai key aadhar parr ack alag chaudaai kii aavashyakta hoe sakati haye. aantarik sarani koo simdi prakaron seey badala jaa sakata haye jaise kii iss tarah key samarthan vaali bhaashaon key liye.
vikalp.
kissy sanrachana key kuchh subset (pratyek kshetra key bajaay) koo ack samanantar sarani mein vibhajit karna sambhav haye aur yeh vaastav mein sandarbh key sthaan mein sudhaar curr sakata haye yadi karyakram mein alag-alag samay parr kshetron key alag-alag tukadon kaa upayog kiya jaataa haye (detta unmukh design dekhein).
kuchh simdi vastukala soa praarup seey sajaatiya detta load karane key liye stride load/store nirdesh pradaan karate hain. kuchh koshika pustakalayon mein upayog kiya jaane vaalaa ack aur vikalp haye sroton koo rajistaron mein load karate samay aos praarup seey detta koo antar-mukt karna, aur parinam likhate samay antar-mukt karna (kramadesh key atimanyata mudde dwara sugam). kuchh vector ganit pustakalaya, programmer kii suvidha pradaan karate hue, sambandhit detta path aur nirdeshon kaa laabh uthaane key liye simmed register key saath floating point 4dee vactor koo sanrekhit karate hain, halanki yeh chaar laine seey adhik chaudi simmed ikaaiyon key liye scale naheen kartaa haye.
4 dee vactor.
aos banaam. soa chaar laine vaale simmed hardware vaali machines parr 3dee yaa 4dee vector detta parr vichaar karate samay ack vikalp prastut kartaa haye. simmed isas koo aamtaur parr sajaatiya detta key liye design kiya jaataa haye, halanki kuchh ack dott utpaad nirdesh aur atirikt kramadesh pradaan karate hain, jisase aos mamle koo sambhalana aasaan hoe jaataa haye.
haalaanki adhikansh jee. pee. yuu. hardware 4dee nirdeshon seey scalar simt pipelines kii or badh gaye hain, lekin aos key bajaay soa kaa upayog karane vaale aadhunik ganana kernell abhee bhee smriti ekikaran key kaaran behtar pradarshan dey sakate hain.
software samarthan.
adhikansh bhaashaaen abhilekhon aur vibhinn sarani amoort detta prakaron koo milakar adhik swabhavik roop seey aeye. oh. aiss. praarup kaa samarthan karati hain.
soa jyaadaatar bhaashaon, pustakalayon yaa metaa-prograaming upkaranon mein paaya jaataa haye jinka upayog detta-unmukh design kaa samarthan karane key liye kiya jaataa haye. udaharanon mein shamil hainh
aosoa kaa swachaalit nirmaan adhik jatil haye. metaprogramming mein iosoa kaa ack udaaharan see + + mein likhe gaye lannel key kaibana pustakalaya mein paaya jaataa haye; yeh default roop seey 16 laine kii vector chaudaai maanata haye.

