Skip to content
VLASIFY™
ServiceResearch & computing support

GPU code porting services for scientific and simulation codes

Updated · Scientifically reviewed by Priyank Srivastava, PhD on

Short answer

Vlasify Labs ports scientific codes to GPUs. We profile the code to find where time is spent, choose a programming model that fits your hardware and maintenance needs (CUDA, HIP, SYCL, Kokkos, OpenMP or OpenACC offload, or GPU-ready Python libraries), port the hot spots incrementally with regression tests proving results are unchanged, optimise data movement, and scale across multiple GPUs. You receive a documented code, a performance report and training for your developers.

Who this is for

Research groups and companies with CPU-based simulation codes (Fortran, C, C++ or Python) who have GPU hardware or allocations they cannot yet use.

Grid simulation GPU memory calculator

Results update as you type. Scientific notation such as 1e18 is accepted.

Grid simulation GPU memory results
Estimated GPU memory—

When you need this

  • You have GPU nodes or a GPU allocation, but your code only uses CPUs.
  • Simulations take days or weeks, limiting how many cases you can study.
  • A supercomputing proposal requires GPU readiness or scaling data.
  • Your group is moving from NVIDIA to AMD or Intel GPUs (or the reverse) and needs portable code.

Scope

PhaseActivities
AssessmentProfiling, hot-spot analysis, data-movement map, memory estimate (see the GPU memory calculator)
DesignChoice of programming model; data layout (for example structure-of-arrays)
PortingKernel-by-kernel port with regression tests at every step
OptimisationMinimise host–device transfers, memory coalescing, kernel fusion, asynchronous execution
ScalingMulti-GPU with MPI and GPU-aware communication; strong and weak scaling tests
HandoverDocumentation and developer training

Typical timelines: a profiling assessment in one to two weeks; a port in four to twelve weeks, depending on code size and complexity.

How we work

  1. Assessment report with measured profiles, recommended approach and an estimate of the achievable benefit.
  2. Regression baseline: tests that capture current results within an agreed tolerance before any change; see scientific code reproducibility.
  3. Incremental porting in your version control, with each step passing the tests.
  4. Performance measurement on your target hardware, compared with the CPU baseline at equal accuracy.
  5. Handover so your developers can maintain the GPU code.

Background on the options is in CUDA vs OpenCL vs HIP and CPU vs GPU for scientific computing.

Deliverables

  • GPU-enabled code in your repository, with build instructions for your systems.
  • Regression and performance test suites.
  • A performance and scaling report suitable for allocation proposals.
  • Training session and documentation for your team.

Assumptions and limitations

  • Some algorithms map poorly to GPUs (for example, highly irregular, branch-heavy or latency-bound code); the assessment says so before porting begins.
  • Speedups depend on the code and hardware; no figures are promised before profiling.
  • Floating-point results can differ slightly from CPU results because of operation ordering; tests use agreed tolerances.

Frequently asked questions

Will we be locked into one GPU vendor?+

Not unless you choose to be. Portable models such as Kokkos, SYCL and OpenMP offload, or HIP (which also targets NVIDIA GPUs), keep options open. We recommend a model based on your hardware, team skills and expected lifetime of the code.

How much speedup should we expect?+

It depends on the algorithm, memory access patterns and how much of the run time can be moved to the GPU. We measure first and give an estimate after profiling, rather than promising a number in advance.

Do we have to rewrite the whole code?+

Rarely. Most time is usually spent in a small number of kernels. Porting those first, with data kept on the GPU between steps, often delivers most of the benefit.

Can you work on export-controlled or confidential code?+

We sign NDAs and can work on your systems without code leaving them. Export-control constraints must be confirmed for each project.

References

  1. Edwards, Trott & Sunderland, Kokkos: enabling manycore performance portability, J. Parallel Distrib. Comput. 74, 3202 (2014) · Peer-reviewed article
  2. NVIDIA CUDA C++ Best Practices Guide · NVIDIA
  3. AMD HIP programming guide · AMD
  4. OpenMP API specification (device offloading) · OpenMP ARB

Let’s scope your project

Tell us what you need. A founder replies within one working day with a plan and a fixed quote.

Services listed on this page are available today. Products marked “early access” or “in development” on our platform page are not yet generally available.

Spotted an error or an outdated command? Tell us. We correct verified issues promptly.

Related guides

How Vlasify can help

Get a Quote