AcademySoftwareFoundation / AcademySoftwareFoundation/Imath

IMATH_HOSTDEVICE for hsv2rgb() ?

Open
#370 3 comments 0 reactions 1 assignee Claimed by @owdt-magic View on GitHub
Dominant language
C++
Stars
488
Forks
161
Avg merge
1d 3h
Merged PRs (30d)
3

Description

I've just tried to use Imath as a vector library for CUDA. I'm not sure if it's supposed to work like this, but I saw some promising comments in the source, so I've tried.

All hsv2rgb() in ImathColorAlgo.h are marked as IMATH_HOSTDEVICE but rely on hsv2rgb_d() which is a host-only function.
Please correct me if I'm wrong.

If it's some porting is currently ongoing, it would be very helpful to see which parts of the library are already supported by CUDA.

Thank you,
Alexey

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.