Special coloring of Mandelbrot example output #302
otabuzzman
started this conversation in
Show and tell
Replies: 5 comments 3 replies
-
In German. They once had an English edition, but it didn't sell and it was
shut down.
Am Di., 19. Dez. 2023 um 19:43 Uhr schrieb Juan Fumero <
***@***.***>:
… Wow, nice! thank you for the patch! Feel free to push PRs. We welcome
contributions.
Is the tutorial going to be in German? or also in English?
—
Reply to this email directly, view it on GitHub
<#302 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7PMXALIFPZUQHU4VVPLEDYKHN3LAVCNFSM6AAAAABA3TCNQ2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSMBQHA3TS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Regarding an English version of the tutorial: I could send you online
translations of the articles as they are published and ask the editor to
use them, for example on the TornadoVM website.
I'm also thinking about a blog about parallelizing Java apps based on a
project of my own. I did it a few years ago and used [PJ2](
https://www.cs.rit.edu/~ark/pj2.shtml) to parallelize the sequential
version using CUDA. I also wrote about it at the time and also made an
[infographic](
https://create.piktochart.com/output/25355418-java-parallelization-with-cuda)
about it. My idea is to re-do the project this time using TornadoVM.
If you want, feel free to share your ideas for a tutorial with me. I would
be happy to take these into account so that you can use them as you wish.
Am Di., 19. Dez. 2023 um 19:43 Uhr schrieb Juan Fumero <
***@***.***>:
… Wow, nice! thank you for the patch! Feel free to push PRs. We welcome
contributions.
Is the tutorial going to be in German? or also in English?
—
Reply to this email directly, view it on GitHub
<#302 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7PMXALIFPZUQHU4VVPLEDYKHN3LAVCNFSM6AAAAABA3TCNQ2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSMBQHA3TS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I created an installer script for Windows. It uses Windows tools instead of
MSys2 with Linux tools. The changes to the script also affect the SPIR-V
toolkit.
The contribution policy states that PRs must target develop branches, but
there is no such branch in the SPIR-V Toolkit repo. Will you add a develop
branch to the repo or should the PR target the main branch?
By the way, do you think it's even worth a PR (perhaps because TornadoVM is
primarily intended for Linux)?
Regards, Jürgen.
Juan Fumero ***@***.***> schrieb am Mi. 20. Dez. 2023 um
10:12:
… Thanks for the info. All these projects look good. We welcome new examples
and use-cases, and we are happy to help. Some of them for inspiration:
*Ray-Tracer*: we recently created a Ray-Tracer in pure Java (without
external native GPU libraries) with TornadoVM:
https://github.com/beehive-lab/TornadoVM-Ray-Tracer/
We also have a library for running *SLAM* applications:
https://github.com/beehive-lab/kfusion-tornadovm/
This application is very old and now we mainly use it for benchmarking.
—
Reply to this email directly, view it on GitHub
<#302 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7PMXDBZJZJZYMCUSTNIYTYKKTYXAVCNFSM6AAAAABA3TCNQ2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSMBWGA3DM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Neither... :-) I stupidly used this old thread for my question, and will
start a new one if necessary.
It is an installation script intended exclusively for Windows. Anyway, I'll
open the PR in the master branch of the SPIR-V toolkit. However, I want to
do some tests first…
Juan Fumero ***@***.***> schrieb am Sa. 16. März 2024 um
22:03:
… Hi @otabuzzman <https://github.com/otabuzzman> . Do you mean that you
improved the TornadoVM installer? or you improved the Mandelbrot example?
Either case, I think it should be fine by submitting a PR to the TornadoVM
project. Regarding the SPIR-V Toolkit, you can open it in the master
branch.
—
Reply to this email directly, view it on GitHub
<#302 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7PMXC7DUE7FUNLJKXFSBTYYSXSFAVCNFSM6AAAAABA3TCNQ2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQMJUGM3DS>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of Mandelbrot example looks somewhat inverse compared to well-known images. Changed int arithmetic to float and scaling to get color gradients.
Source file with changes provided below. Wasn't sure if you prefer issues or pull requests. Code changes in Mandelbrot.java affected two lines, each containing
replaced by
I wrote a tutorial about TornadoVM for a German computer magazine (iX) to be published in January or February and used the Mandelbrot example to add some color to the text (appreciated by the audience) of part 1. Part 2 will cover the ray tracer use case on multiple accelerators.
Mandelbrot.java
Beta Was this translation helpful? Give feedback.
All reactions