A method for decompilation of AMD GCN kernels to OpenCL
نویسندگان
چکیده
Introduction: Decompilers are useful tools for software analysis and support in the absence of source code. They available many hardware architectures programming languages. However, none existing decompilers modern AMD GPU such as GCN RDNA. Purpose: We aim at developing first assembly decompiler tool a architecture that generates code OpenCL language, which is widely used GPGPUs. Results: developed algorithms following operations: preprocessing code, searching data accesses, extracting systemvalues, decompiling arithmetic operations recovering types. also templates decompilation branching operations. Practical relevance: implemented presented Python called OpenCLDecompiler, supports large subset instructions. This automatically converts disassembled GPGPU into equivalent reduces effort required to analyze
منابع مشابه
CLVectorizer: A Source-to-Source Vectorizer for OpenCL Kernels
While many-core processors offer multiple layers of hardware parallelism to boost performance, applications are lagging behind in exploiting them effectively. A typical example is vector parallelism(SIMD), offered by many processors, but used by too few applications. In this paper we discuss two different strategies to enable the vectorization of naive OpenCL kernels. Further, we show how these...
متن کاملLoop2GPU: Transforming Loops to OpenCL Kernels as a LLVM Pass
Lately, programmers have started to take advantage of the GPU capabilities of their systems. Still, programming for the GPU can be very hard. We are trying to hide some of this complexity from the programmer by making the compiler automatically transform embarrassingly parallel loops to GPU kernels. To this end, we have implemented a compiler pass that transforms simple loops to OpenCL kernels.
متن کاملA comprehensive study of Dynamic Memory Management in OpenCL kernels
Traditional (sequential) applications use malloc for a variety of dynamic data structures, like linked lists or trees. GPGPU is gaining attention and popularity because its massively-parallel architecture allows for great speed improvement for programs that can be parallelised and implemented for a platform like OpenCL. Programmers who try to port their existing sequential or even parallel prog...
متن کاملOptimizing OpenCL Kernels for Iterative Statistical Applications on GPUs
We present a study of three important kernels that occur frequently in iterative statistical applications: K-Means, MultiDimensional Scaling (MDS), and PageRank. We implemented each kernel using OpenCL and evaluated their performance on an NVIDIA Tesla GPGPU card. By examining the underlying algorithms and empirically measuring the performance of various components of the kernel we explored the...
متن کاملa paradigm shift away from method-wise teaching to strategy-wise teaching: an investigation of reconstructive strategy versus communicative strategy
چکیده: هدف اصلی این مطالعه ی توصیفی تحقیقی در حقیقت تلاشی پساروش-گرا به منظور رسیدن به نتیجه ای منطقی در انتخاب مناسبترین راهکار آموزشی بر گرفته از چارچوب راهبردی مطرح شده توسط والدمر مارتن بوده که به بهترین شکل سازگار و مناسب با سامانه ی آموزشی ایران باشد. از این رو، دو راهکار آموزشی، راهکار ارتباطی و راهکار بازساختی، برای تحقیق و بررسی انتخاب شدند. صریحاً اینکه، در راستای هدف اصلی این پژوهش، ر...
15 صفحه اولذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Informatsionno-upravliaiushchie sistemy
سال: 2021
ISSN: ['1684-8853', '2541-8610']
DOI: https://doi.org/10.31799/1684-8853-2021-2-33-42