Please use this identifier to cite or link to this item: http://hdl.handle.net/1843/72182
Full metadata record
DC FieldValueLanguage
dc.contributor.advisor1Fernando Magno Quintão Pereirapt_BR
dc.contributor.advisor1Latteshttp://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4762727Z6&tokenCaptchar=03AFcWeA4ZLM0nIM4eM1w8FT6lHkDRWZCpXXaw3GORYxY15w5JnDWqVnEX3KgtakjscHwoAQlw9CP3GUGAXdXoo1y0jiMW7Lv23D8C5yygvr5qY-XZOtyQguMvG5P-FWbDMJje7_HHM1vki619kCsyMsPy0VSchZ200lT3hIG6byOlo5ziWGQhY6bo2Yk6by28wntLnnTbVaIFwxFEkKRTRwIk_6kNn3dfOonnQCeyzkExlhPJuH_zjYmcGLijosN9WYH9X-v8Zq_z3WggxIn-YIb4ZoNNMmVGuoPgxHR8sSiur5n2dA5wNIsFbiYtnTifuWU_lqkHs8dL5RxISV88hAbRs6CyuLbSbNysTvZ3Fi7yl0tLYfB56SL_ktGwPU-Si1qVs2K8wuf4uaJlJHrlbAACAq2RZNnQecnk8Sd-RvXoRkKufnYoHmmi8bFoM6t67Fdw_mdF4gnjl8klvi0VrxMr3RKXmEeSnrTdnY__n8cJlSb35q_kIG0o_lN_2Mh9RyQpVGs5Blm9esqRAQzVTkTSpO8tBa1tzEEpaJ4maeIOru_VHxQ3jHTv8N827x6VAYgoOb7f2cnZlSBXbBb6d45MdYUCvoUqtwomHDiObbKUkiAs2XpHqa1VNS6htlCr5WOxKSqn9OcaViJCdyY7J-bIG8KeZo-LufuosuDEWur-Yywk-lqVtozvXou4R4CVB5dQ2O6IstPGFfat2I0RF-Omu0ijtAZMe8fWJcLWyI0yvr47x_ZwiLApt_BR
dc.contributor.referee1Edson Borinpt_BR
dc.contributor.referee2George Luiz Medeiros Teodoropt_BR
dc.creatorGuilherme Vieira Leobaspt_BR
dc.creator.Latteshttp://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K8715906Y7&tokenCaptchar=03AFcWeA5flI10KZTodQIEy_W_KetdmMe4CTiW2_L5Dcm3zDJ_usOa7SpUJyn09GGcYFVvTFM_NOTBnsKis4EoVqw96qzCHPI72hTA2KPgUcb-xK_5NDqaN0GhLMU8A9bcqfk7hnJNl1l59OTNwUvEkKKaQ-QSCJN78keji8szXnSV25wO1LdzcI2MWg-rsTWnT6UpL02k2x7_DW6OODmKxNZkrivGLoMtK8fX8SFtWnv3TNvrqcCDm17VH7BBNjUwgpbVpkdebGLVm3GIZqaBdfBQrkkGVxvdEke5bt0t_oAEPsNvB4i6f8D24CvRPMZDhNcuqeC6_Ac3Rquxy_nUyBiclHKWnMaxNUo4P59hmr3njWylbagvymz-nIXahWutWtf0xi2BHa7rNdKIfbeNTUtMECHLks0yo_bsmzCN5TOUtRyg080MyGZo7yJae7oayuT_t4ccUuLjcIrggSQ3ovk1XtoYLbrui44x3ZgzQQgh3w4X_iPHk_QNJIp5vDuVVTOqMmKmBaEblIqMcyMt3MhfxOIe-mc9go_4HNIiId887CO8S-ABwL1JrUVt-bOQ1gQa-VCuBTkKWKFvQyoNCbxnqjHpQJI11cUxbQxqPToR9B7Ss3no_0_IlqYftXtln89JayAPWqYZEty3skby1JWczXGGqixDRyE9MF6BzsjoVONrqx_YUtXC-8VVzOaOhF4YJDqjGBVizw9ovAniQQxlM-qVI-5g_T8tmBS9wMas7_6li3NCnz4pt_BR
dc.date.accessioned2024-07-31T16:38:11Z-
dc.date.available2024-07-31T16:38:11Z-
dc.date.issued2019-10-03-
dc.identifier.urihttp://hdl.handle.net/1843/72182-
dc.description.abstractEssa dissertação descreve uma técnica de otimização que elimina ocorrências dinâmicas de expressões no formato a = a ⊕ b ⊗ c. A operação ⊕ deve admitir um elemento identidade z, de forma que a ⊕ z = z ⊕ a = a. Além disso, z deve ser o elemento anulador da operação ⊗, de forma que b ⊗ z = z ⊗ c = z. Semi anéis onde ⊕ é a operação de adição e ⊗ é o operador de multiplicação cumprem esse contrato. Esse padrão é muito comum em benchmarks de alta performance – seu representante canônico é a operação de adição e multiplicação a = a + b × c. No entanto, várias outras expressões envolvendo operações aritméticas e lógicas podem ser agrupadas dentro da álgebra necessária. Nós mostramos que a eliminação em tempo de execução de tais atribuições pode ser implementada de uma maneira segura do ponto de vista de performance utilizando perfilamento in-loco. A eliminação dinâmica de expressões redundantes envolvendo identidade e elemento anulador em 35 programas da suíte de testes do LLVM é responsável por um ganho de velocidade de 1.19x (tempo total otimizado sobre tempo total não otimizado) quando comparado com o clang -O3. Quando aplicado a toda a suíte de testes (259 programas), a otimização leva a um ganho de 1.025x. Quando adicionadas ao clang, a otimização de semi anel aproxima aquele sistema de TACO, um compilador especializado de álgebra tensorial.pt_BR
dc.description.resumoThis dissertation describes a compiler optimization to eliminates dynamic occurrences of expressions in the format a ← a ⊕ b ⊗ c. The operation ⊕ must admit an identity element z, such that a ⊕ z = a. Also, z must be the absorbing element of ⊗, such that b ⊗ z = z ⊗ c = z. Semirings where ⊕ is the additive operator and ⊗ is the multiplicative operator meet this contract. This pattern is common in high-performance benchmarks— its canonical representative being the multiply-add operation a ← a + b × c. However, several other expressions involving arithmetic and logic operations satisfy the required algebra. We show that the runtime elimination of such assignments can be implemented in a performance-safe way via online profiling. The elimination of dynamic redundancies involving identity and absorbing elements in 35 programs of the LLVM test suite that present semiring patterns brings an average speedup of 1.19x (total optimized time over total unoptimized time) on top of clang -O3. When projected onto the entire test suite (259 programs) the optimization leads to a speedup of 1.025x. Once added onto clang, semiring optimizations approximates it to TACO, a specialized tensor compiler.pt_BR
dc.description.sponsorshipCAPES - Coordenação de Aperfeiçoamento de Pessoal de Nível Superiorpt_BR
dc.languageengpt_BR
dc.publisherUniversidade Federal de Minas Geraispt_BR
dc.publisher.countryBrasilpt_BR
dc.publisher.departmentICX - DEPARTAMENTO DE CIÊNCIA DA COMPUTAÇÃOpt_BR
dc.publisher.programPrograma de Pós-Graduação em Ciência da Computaçãopt_BR
dc.publisher.initialsUFMGpt_BR
dc.rightsAcesso Abertopt_BR
dc.subjectCompilerspt_BR
dc.subjectCode optimizationpt_BR
dc.subjectSemiringpt_BR
dc.subjectCode generationpt_BR
dc.subject.otherComputação – Teses-
dc.subject.otherOtimização – Teses-
dc.subject.otherCompiladores (Computadores) - Teses-
dc.subject.otherAnéis semilocais – Teses-
dc.titleSemiring optimization: dynamic elision of expressions with identity and absorbing elementspt_BR
dc.title.alternativeOtimização de semi-anel: elisão dinâmica de expressões com identidade e elementos absorventespt_BR
dc.typeDissertaçãopt_BR
dc.identifier.orcidhttps://orcid.org/0000-0001-7626-5281pt_BR
Appears in Collections:Dissertações de Mestrado

Files in This Item:
File Description SizeFormat 
ppgccufmg_main.pdf2.2 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.