Martin Kruliš
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Research Interests
Martin Kruliš has a total of 53 co-authors. Here are the top co-authors by number of shared publications:
- David Bednárek
Charles University
10 shared publications - Jakub Yaghob
Charles University, Czech Republic
9 shared publications - Jiří Klepl
Charles University
8 shared publications - Adam Šmelko
Charles University
7 shared publications - Petr Hnetynka
Charles University
7 shared publications - Filip Zavoral
Charles University
6 shared publications
Latest Publications
- Open Access
- 18 November 2026
- Published by Elsevier in Journal of Parallel and Distributed Computing
- Vol. 220
Accelerating k-Nearest neighbors search with GPU-based top-k selection
- 18 November 2026
- Published by Elsevier in Journal of Parallel and Distributed Computing
- Vol. 220
Open AccessAccelerating k-Nearest neighbors search with GPU-based top-k selection
- Open Access
- 11 November 2026
- Published by Association for Computing Machinery (ACM)
- p. 267-273
ReCodEx: Universal Automated Assessment for Modern CS Education
- 11 November 2026
- Published by Association for Computing Machinery (ACM)
- p. 267-273
Open AccessReCodEx: Universal Automated Assessment for Modern CS Education
- Open Access
- 25 September 2026
- Published by Elsevier in Parallel Computing
- Vol. 130
Improving cellular automata performance with bit-planes encoding and bitwise vectorization
- 25 September 2026
- Published by Elsevier in Parallel Computing
- Vol. 130
Open AccessImproving cellular automata performance with bit-planes encoding and bitwise vectorization
- Open Access
Tutoring LLM into a Better CUDA Optimizer
Recent leaps in large language models (LLMs) caused a revolution in programming tools (like GitHub Copilot) that can help with code generation, debugging, and even performance optimization. In this paper, we focus on the capabilities of the most recent reasoning models to generate optimized CUDA code for predefined, well-known tasks. Our objective is to determine which types of code optimizations and parallel patterns the LLMs can perform by themselves and whether they can be improved by tutoring (providing more detailed hints and guidelines in the prompt). The generated solutions were evaluated both automatically (for correctness and speedup) and manually (code reviews) to provide a more detailed perspective. We also tried an interactive approach where the LLM can fix its previous mistakes within a session. The results indicate that LLMs are quite skilled coders; however, they require tutoring to reach optimized solutions provided by parallel computing experts.
Open AccessTutoring LLM into a Better CUDA Optimizer
Recent leaps in large language models (LLMs) caused a revolution in programming tools (like GitHub Copilot) that can help with code generation, debugging, and even performance optimization. In this paper, we focus on the capabilities of the most recent reasoning models to generate optimized CUDA code for predefined, well-known tasks. Our objective is to determine which types of code optimizations and parallel patterns the LLMs can perform by themselves and whether they can be improved by tutoring (providing more detailed hints and guidelines in the prompt). The generated solutions were evaluated both automatically (for correctness and speedup) and manually (code reviews) to provide a more detailed perspective. We also tried an interactive approach where the LLM can fix its previous mistakes within a session. The results indicate that LLMs are quite skilled coders; however, they require tutoring to reach optimized solutions provided by parallel computing experts.
- Open Access
Layout-Agnostic MPI Abstraction for Distributed Computing in Modern C++
Message Passing Interface (MPI) has been a well-established technology in the domain of distributed high-performance computing for several decades. However, one of its greatest drawbacks is a rather ancient pure-C interface. It lacks many useful features of modern languages (namely C++), like basic type-checking or support for generic code design. In this paper, we propose a novel abstraction for MPI, which we implemented as an extension of the C++ Noarr library. It follows Noarr paradigms (first-class layout and traversal abstraction) and offers layout-agnostic design of MPI applications. We also implemented a layout-agnostic distributed GEMM kernel as a case study to demonstrate the usability and syntax of the proposed abstraction. We show that the abstraction achieves performance comparable to the state-of-the-art MPI C++ bindings while allowing for a more flexible design of distributed applications.
Open AccessLayout-Agnostic MPI Abstraction for Distributed Computing in Modern C++
Message Passing Interface (MPI) has been a well-established technology in the domain of distributed high-performance computing for several decades. However, one of its greatest drawbacks is a rather ancient pure-C interface. It lacks many useful features of modern languages (namely C++), like basic type-checking or support for generic code design. In this paper, we propose a novel abstraction for MPI, which we implemented as an extension of the C++ Noarr library. It follows Noarr paradigms (first-class layout and traversal abstraction) and offers layout-agnostic design of MPI applications. We also implemented a layout-agnostic distributed GEMM kernel as a case study to demonstrate the usability and syntax of the proposed abstraction. We show that the abstraction achieves performance comparable to the state-of-the-art MPI C++ bindings while allowing for a more flexible design of distributed applications.
- 15 October 2025
- Published by Springer Nature
- p. 36-53
Layout-Agnostic MPI Abstraction for Distributed Computing in Modern C++
- 15 October 2025
- Published by Springer Nature
- p. 36-53
Layout-Agnostic MPI Abstraction for Distributed Computing in Modern C++
- 23 August 2025
- Published by Springer Nature
- p. 250-263
Tutoring LLM into a Better CUDA Optimizer
- 13 February 2025
- Published by Elsevier in Journal of Parallel and Distributed Computing
- Vol. 199
Efficient GPU-accelerated parallel cross-correlation
- 13 February 2025
- Published by Elsevier in Journal of Parallel and Distributed Computing
- Vol. 199
Efficient GPU-accelerated parallel cross-correlation
- Open Access
- 14 August 2024
- Published by Elsevier in Parallel Computing
- Vol. 121
Abstractions for C++ code optimizations in parallel high-performance applications
- 14 August 2024
- Published by Elsevier in Parallel Computing
- Vol. 121
Open AccessAbstractions for C++ code optimizations in parallel high-performance applications
- Open Access
- 20 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 94-101
Tackling Students' Coding Assignments with LLMs
State-of-the-art large language models (LLMs) have demonstrated an extraordinary ability to write computer code. This ability can be quite beneficial when integrated into an IDE to assist a programmer with basic coding. On the other hand, it may be misused by computer science students for cheating on coding tests or homework assignments. At present, knowledge about the exact capabilities and limitations of state-of-the-art LLMs is still inadequate. Furthermore, their capabilities have been changing quickly with each new release. In this paper, we present a dataset of 559 programming exercises in 10 programming languages collected from a system for evaluating coding assignments at our university. We have experimented with four well-known LLMs (GPT-3.5, GPT-4, Codey, Code Llama) and asked them to solve these assignments. The evaluation results are intriguing and provide insights into the strengths and weaknesses of the models. In particular, GPT-4 (which performed the best) is currently capable of solving 55% of all our exercises and achieved an average score of 86% on exercises from the introductory programming course (using the best of five generated solutions).
- 20 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 94-101
Open AccessTackling Students' Coding Assignments with LLMs
State-of-the-art large language models (LLMs) have demonstrated an extraordinary ability to write computer code. This ability can be quite beneficial when integrated into an IDE to assist a programmer with basic coding. On the other hand, it may be misused by computer science students for cheating on coding tests or homework assignments. At present, knowledge about the exact capabilities and limitations of state-of-the-art LLMs is still inadequate. Furthermore, their capabilities have been changing quickly with each new release. In this paper, we present a dataset of 559 programming exercises in 10 programming languages collected from a system for evaluating coding assignments at our university. We have experimented with four well-known LLMs (GPT-3.5, GPT-4, Codey, Code Llama) and asked them to solve these assignments. The evaluation results are intriguing and provide insights into the strengths and weaknesses of the models. In particular, GPT-4 (which performed the best) is currently capable of solving 55% of all our exercises and achieved an average score of 86% on exercises from the introductory programming course (using the best of five generated solutions).