OpenMathLib / OpenMathLib/OpenBLAS

Hadamard product?

Open
#1,083 27 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature request
Dominant language
C
Stars
7.6k
Forks
1.7k
Avg merge
1d 3h
Merged PRs (30d)
42

Description

Elementwise vector product (like dot, but without the reduction to one number)
Does it exist?

In MKL its vdMul, in cuBLAS its DHAD (so, not part of the standard BLAS function list)...

Hadamard product is completely central in machine learning, and is the only reason which prevents me from using OpenBLAS...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing OpenBLAS's existing vector-operation entry points and checking whether an elementwise vector product is already exposed. Compare the available API with the MKL vdMul and cuBLAS DHAD references named in the issue. Done means determining whether the operation exists or defining and implementing the missing support with appropriate validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
hpc, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.