Recent

Author Topic: hype or not  (Read 1223 times)

mercurhyo

  • Full Member
  • ***
  • Posts: 242
hype or not
« on: February 28, 2024, 11:36:22 am »
hello all.

Is there any port of "HIPify" for pascal/lazarus users or maybe something equivalent?

I mean libraries to use the power of GPU to manipulate scientific data and rely on A.I. (crossway lol for AMD and NVIDIA GPUS)

this is because GPUS are awesome at deep machine learning  ;D

https://github.com/ROCm/HIPIFY

thank you for any guideline !

« Last Edit: February 28, 2024, 11:40:34 am by mercurhyo »
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

Thaddy

  • Hero Member
  • *****
  • Posts: 14357
  • Sensorship about opinions does not belong here.
Re: hype or not
« Reply #1 on: February 28, 2024, 01:00:15 pm »
Freepascal supports OpenCL as standard, which supports GPU's.
Comes with simple examples. May need NVidea SDK.
But OpenCL also supports GPU's from different vendors, like Intel.

I have some opencl code for the Raspberry Pi videocoreIV GPU written in FreePascal.
« Last Edit: February 28, 2024, 01:10:59 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

mercurhyo

  • Full Member
  • ***
  • Posts: 242
Re: hype or not
« Reply #2 on: February 28, 2024, 11:21:34 pm »
Freepascal supports OpenCL as standard, which supports GPU's.
Comes with simple examples. May need NVidea SDK.
But OpenCL also supports GPU's from different vendors, like Intel.

I have some opencl code for the Raspberry Pi videocoreIV GPU written in FreePascal.

thank you thaddy, but i am going to investigate
https://github.com/ROCm/HIP?tab=readme-ov-file
this "hip" because it seems to be crossGPU, modern, and crossplatform; despite the fact it is C++

openCL seems to not be totally crossplatform and crossGPU lol
« Last Edit: February 28, 2024, 11:26:37 pm by mercurhyo »
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

Thaddy

  • Hero Member
  • *****
  • Posts: 14357
  • Sensorship about opinions does not belong here.
Re: hype or not
« Reply #3 on: March 03, 2024, 12:32:43 pm »
It is cross platform in so far that the GPU maker needs to provide OpenCL drivers.
By now many do. (almost all)
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

mercurhyo

  • Full Member
  • ***
  • Posts: 242
Re: hype or not
« Reply #4 on: March 09, 2024, 05:27:06 am »
It is cross platform in so far that the GPU maker needs to provide OpenCL drivers.
By now many do. (almost all)

Dear Thaddy : I read the wiki 142 times and a half and that is not what i exactly call crossplatform as HIPify is

https://wiki.freepascal.org/OpenCL
DEO MERCHVRIO - Linux, Win10pro - Ryzen9XT 24threads + Geforce Rtx 3080SUPRIM
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

 

TinyPortal © 2005-2018