Search found 35 matches
- Mar 20, 2024 19:23
- Forum: General
- Topic: wth -- Thread time .vs Subroutine time
- Replies: 211
- Views: 38115
Re: wth -- Thread time .vs Subroutine time
Thank you, the code is becoming hard to read. I’ll leave such attempts for now
- Mar 09, 2024 7:55
- Forum: General
- Topic: wth -- Thread time .vs Subroutine time
- Replies: 211
- Views: 38115
Re: wth -- Thread time .vs Subroutine time
Tell me how to parallelize the Procedure into 4-6 threads. For example, let there be 100,000 particles 4 threads running 0-24999 25000-49999 50000 -74999 75000-100000 at synchronization points need to wait for lagging threads for temporal coherence rem======================================= rem data...
- Jul 30, 2023 13:55
- Forum: General
- Topic: How can I use fbgfx in C?
- Replies: 7
- Views: 1791
Re: How can I use fbgfx in C?
is it possible to use fbgfx in C, more correctly in codeblocks-17.12 + mingw (32bit) + fbgfx. ? I would be grateful for instructions on what to prescribe in the options codeblocks IDE. First i need to run the code from post by coderJeff Aug 08, 2020 18:05 (https://www.freebasic.net/forum/viewtopic.p...
- Jul 21, 2022 6:52
- Forum: Beginners
- Topic: Speed up the drawing of a moving waveform
- Replies: 18
- Views: 1863
Re: Speed up the drawing of a moving waveform
You answered my new question before I wrote it ..cool
- Jul 21, 2022 4:39
- Forum: Beginners
- Topic: Speed up the drawing of a moving waveform
- Replies: 18
- Views: 1863
Re: Speed up the drawing of a moving waveform
D.J.Peters
In subScrollOnePixel() Integer for 64bit Windows maybe -->long ?
Your sub works at the pixel level, but is it possible at the vertical line level? line(x) -> line(x-1) (DMA copy ?)
I need sub only for screen21 mode/
In subScrollOnePixel() Integer for 64bit Windows maybe -->long ?
Your sub works at the pixel level, but is it possible at the vertical line level? line(x) -> line(x-1) (DMA copy ?)
I need sub only for screen21 mode/
- Jul 20, 2022 11:04
- Forum: Beginners
- Topic: Speed up the drawing of a moving waveform
- Replies: 18
- Views: 1863
Re: Speed up the drawing of a moving waveform
D.J.Peters Thank you this is what I need
- Jul 20, 2022 8:05
- Forum: Beginners
- Topic: Speed up the drawing of a moving waveform
- Replies: 18
- Views: 1863
Speed up the drawing of a moving waveform
How to significantly speed up the drawing of a moving waveform, in which new samples are displayed on the right and the oldest one is removed. sub Shift_buff () ' SCreen 21 ' Buff_back_Tenzo shared global array ' Buff_back_Opto shared global array ' Buff_back_Filter shared global array ' RX_UART(001...
- Jul 18, 2022 19:04
- Forum: Libraries & Headers
- Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
- Replies: 53
- Views: 22952
Re: OpenCL (Open Coumputer Language) for FreeBASIC .
' OpenCL related initialization ' Create Context, Device list, Command Queue ' Create OpenCL memory buffer objects ' CL code, compile, link CL source ' Build program and kernel objects sub initializeCL print "initializeCL" dim as cl_int status = 0 dim as size_t deviceListSize dim as cl_ui...
- Jul 18, 2022 8:22
- Forum: Libraries & Headers
- Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
- Replies: 53
- Views: 22952
Re: OpenCL (Open Coumputer Language) for FreeBASIC .
thanks D.J.Peters and jerry srvaldez
another question
if there are several openCl device (Pcie 1 slot + Pcie 2 slot + InternalGPU in_processor) in the system
how to run multiple instances of programs on different devices?
another question
if there are several openCl device (Pcie 1 slot + Pcie 2 slot + InternalGPU in_processor) in the system
how to run multiple instances of programs on different devices?
- Jul 13, 2022 17:32
- Forum: Libraries & Headers
- Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
- Replies: 53
- Views: 22952
Re: OpenCL (Open Coumputer Language) for FreeBASIC .
Is it possible to move the opencl kernel to a separate C language file to get away from writing
strSource &= !" .... \n" ?
strSource &= !" .... \n" ?
- Jun 16, 2022 20:20
- Forum: General
- Topic: wth -- Thread time .vs Subroutine time
- Replies: 211
- Views: 38115
Re: wth -- Thread time .vs Subroutine time
tell me how to parallelize iterative calculation? the race of threads and the resulting error within one iteration (dt) is insignificant how to make global array elements visible to all threads ? pseudocode sub Lannard_1 (Byval n_begin As long ,Byval n_end As long ) rem datalist input output from su...
- Dec 06, 2020 7:46
- Forum: Sources, Examples, Tips and Tricks
- Topic: [Win32] Entering Ring 0 (Kernel Mode)!
- Replies: 9
- Views: 4758
Re: [Win32] Entering Ring 0 (Kernel Mode)!
in win 10 x64 ltsc Compiler output: C:\FreeBASIC\BAS\FBIDETEMP.bas(26) error 4: Duplicated definition, Virtual in '#Define Virtual(_a_, _b_, _c_, _d_) Scope: Var v = Type<VIRTUAL1>((_a_), (_b_), (_c_)): NtSystemDebugControl((_d_), @v, SizeOf(v), 0, 0, 0): End Scope' C:\FreeBASIC\BAS\FBIDETEMP.bas(53...
- Nov 21, 2020 18:06
- Forum: Hardware Interfaces / Communication
- Topic: reading the serial port.
- Replies: 12
- Views: 13049
Re: reading the serial port.
SORY // DOUBLE
- Nov 20, 2020 20:48
- Forum: Hardware Interfaces / Communication
- Topic: Try to use inpout32.dll
- Replies: 51
- Views: 18565
Re: Try to use inpout32.dll
I want to connect the MCP3201 directly to the LPT to get the code from the ADC requires 50 requests to the port. one request( for both writing and reading )using this library takes 3+ μS. I remember exactly that when it was under Windows xp through the built-in access to ports, the request was 1.2 μ...
- Nov 20, 2020 20:46
- Forum: Hardware Interfaces / Communication
- Topic: reading the serial port.
- Replies: 12
- Views: 13049
Re: reading the serial port.
I want to connect the MCP3201 directly to the LPT to get the code from the ADC requires 50 requests to the port. one request( for both writing and reading )using this library takes 3+ μS. I remember exactly that when it was under Windows xp through the built-in access to ports, the request was 1.2 μ...