JuliaSmoothOptimizers / JuliaSmoothOptimizers/QuadraticModels.jl

Add GPU tests

Open
#125 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
22
Forks
13
PR merge metrics
No merged PRs in 30d

Description

With NLPModels 0.21, we try to support the NLPModel API for CuArray types.

For instance, things like that are being done: https://github.com/JuliaSmoothOptimizers/NLPModelsTest.jl/blob/3409ae7a292a1e7baa5955787c2db56aa42e386f/test/runtests.jl#L76

I am suspecting most of this package is compatible already, but maybe not 100%, e.g. https://github.com/JuliaSmoothOptimizers/QuadraticModels.jl/blob/main/src/qps.jl

Contributor guide

Open the contributing guide

Research direction

Start with the referenced test/runtests.jl coverage in NLPModelsTest.jl and inspect src/qps.jl for CuArray handling. Compare the existing API tests with GPU-compatible cases, then run the package tests with CuArray support; done means the relevant NLPModel API behavior is covered and passes for GPU arrays.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.