udf-convert-to-cuda

Official

Convert Spark UDFs to native CUDA

AuthorNVIDIA
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps convert a tested Apache Spark CPU UDF into a native CUDA implementation so the same business logic can run on the GPU through RAPIDS.

Core Features & Use Cases

  • JNI and Java wrapper guidance: Builds the RapidsUDF bridge and columnar entry point.
  • Native CUDA implementation guidance: Shows how to add libcudf and CUDA logic without copying data back to the host.
  • Testing and packaging workflow: Covers build, comparison testing, and native library packaging for the UDF JAR.
  • Use case: A developer has a passing row-by-row UDF test and needs to port it to a GPU path while keeping Spark fallback behavior and null semantics intact.

Quick Start

Ask for help converting your existing Spark UDF into a native CUDA RapidsUDF using this skill and provide the CPU UDF, its unit test, and the expected GPU behavior.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: udf-convert-to-cuda
Download link: https://github.com/NVIDIA/cudf-spark/archive/main.zip#udf-convert-to-cuda

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.