Dataset Viewer
Auto-converted to Parquet Duplicate
type
stringclasses
2 values
schema_version
int64
2
2
task_id
stringlengths
6
23
date
timestamp[s]date
2025-10-31 00:00:00
2026-07-20 00:00:00
prompt
stringlengths
194
4.22k
metadata
dict
group
stringclasses
9 values
context_files
listlengths
0
4
test_files
listlengths
1
3
source_references
dict
build_command
stringclasses
88 values
test_command
stringclasses
58 values
benchmark_command
stringclasses
51 values
base_image
stringclasses
1 value
timing_mode
unknown
min_cuda_toolkit
stringclasses
7 values
compute_capability
stringclasses
3 values
requires_datacenter_gpu
bool
2 classes
timeout_seconds
float64
30
360
baseline_solution
dict
cuda_cpp
2
CUDA/146
2025-10-31T00:00:00
Develop a CUDA program using the Thrust API to search for a set of elements within an input array and return their corresponding indices. If multiple occurrences of an element exist in the input array, the index of its first occurrence will be returned; if an element is not found, -1 will be returned. Your implementat...
{ "difficulty": "medium", "tags": [ "thrust", "binary-search", "sorting", "functor" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/find_indices.h", "content": "#ifndef FIND_INDICES_H\n#define FIND_INDICES_H\n\n#include <thrust/host_vector.h>\n#include <thrust/device_vector.h>\n\n#define DEFAULT_OUTPUT -1\n\n// Functor for updating indices\nstruct indexUpdate {\n int* result;\n const int* testData;\n const in...
[ { "path": "test/test_main.cu", "content": "#include <limits>\n#include <cstdio>\n#include <cstring>\n#include <assert.h>\n#include <cuda.h>\n#include <cuda_runtime.h>\n#include <algorithm>\n#include <vector>\n#include <numeric>\n\n#include <thrust/host_vector.h>\n#include <thrust/device_vector.h>\n\n#includ...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/146", "files": [ { "path": "solution.cu", "content": "#include <thrust/sequence.h>\n#include <thrust/sort.h>\n#include <thrust/binary_search.h>\n#include <thrust/gather.h>\n#include <thrust/for_each.h>\n#include <thrust/device_vector.h>\n\n...
cuda_cpp
2
CUDA/151
2025-11-05T00:00:00
Write a CUDA kernel to test the primality of a list of numbers using the Miller-Rabin algorithm. The kernel should be launched with different configurations of blocksize. Your implementation must be in `solution.cu` and include `miller_rabin.h`. Implement the following kernel signature: ```cuda __global__ void k_mill...
{ "difficulty": "hard", "tags": [ "miller-rabin", "primality-testing", "warp-primitives", "shared-memory", "occupancy-api", "perf-sensitive" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "helper.cu", "content": "#include \"miller_rabin.h\"\n\nint gWarpSize;\n\n// Compute the required dynamic shared memory size for k_millerRabin.\n__host__ size_t dynamicSMemSizeMillerRabin(int blockSize) {\n int numWarps = blockSize / gWarpSize;\n return numWarps * (sizeof(unsigned long long)...
[ { "path": "test/test_main.cu", "content": "#include \"miller_rabin.h\"\n#include <nvtx3/nvToolsExt.h>\n#include <cstdlib>\n#include <cstring>\n\nstatic void benchmarkMillerRabin() {\n cudaDeviceProp prop;\n CUDA_CHECK(cudaGetDeviceProperties(&prop, 0));\n gWarpSize = prop.warpSize;\n\n const int...
null
nvcc -I include -o test.out solution.cu helper.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/151", "files": [ { "path": "solution.cu", "content": "#include \"miller_rabin.h\"\n\n__global__ void k_millerRabin(unsigned long long* inputNumbers, unsigned long long* primalityResults, int numberOfElements) {\n \n // Compute the num...
cuda_cpp
2
CUDA/152
2025-10-31T00:00:00
Write a CUDA function using the Thrust library to remove integers from an array if they are divisible by any integer in another array. Use the functor `ThrustTransformFunctor` to do the divisibility checks within the `thrust::transform` function. The signature of the functor is: ```cpp struct ThrustTransformFunctor { ...
{ "difficulty": "medium", "tags": [ "thrust", "transform", "remove_if", "functors", "streams", "perf-sensitive" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/remove_divisible.h", "content": "#ifndef REMOVE_DIVISIBLE_H\n#define REMOVE_DIVISIBLE_H\n\n#include <cuda.h>\n#include <thrust/remove.h>\n#include <thrust/device_vector.h>\n#include <thrust/host_vector.h>\n#include <thrust/execution_policy.h>\n#include <thrust/system/cuda/vector.h>\n#incl...
[ { "path": "test/test_main.cu", "content": "#undef NDEBUG\n#include <assert.h>\n#include <stdio.h>\n#include <map>\n#include <cstring>\n#include <cuda.h>\n#include <nvtx3/nvToolsExt.h>\n#include \"remove_divisible.h\"\n\n#define CUDA_CHECK(call) { \\\n cudaError_t error...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/152", "files": [ { "path": "solution.cu", "content": "#include \"remove_divisible.h\"\n\nint removeDivisibleElements(thrust::device_vector<int> & dividend_d, \n thrust::device_vector<int> & divisor_d, \n ...
cuda_cpp
2
CUDA/156
2025-10-31T00:00:00
Implement a CUDA function to find the kth smallest element in an array of floats using Thrust library's sort functionality. The function signature is defined in `include/kth_smallest.h`: ```cpp float findKthSmallest(thrust::device_vector<float>& data_d, int k, thrust::device_vector<float>& buffe...
{ "difficulty": "medium", "tags": [ "thrust", "sorting", "device-vector", "streams" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/kth_smallest.h", "content": "#ifndef KTH_SMALLEST_H\n#define KTH_SMALLEST_H\n\n#include <cuda.h>\n#include <thrust/device_vector.h>\n\nfloat findKthSmallest(thrust::device_vector<float>& data_d, int k, \n thrust::device_vector<float>& buffer_d,\n ...
[ { "path": "test/test_main.cu", "content": "#undef NDEBUG\n#include <assert.h>\n#include <cstdio>\n#include <cstring>\n#include <map>\n#include <random>\n#include <cuda.h>\n#include <algorithm>\n#include <thrust/partition.h>\n#include <thrust/sort.h>\n#include <thrust/device_vector.h>\n#include <thrust/host_...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/156", "files": [ { "path": "solution.cu", "content": "#include \"kth_smallest.h\"\n#include \"cuda_helpers.h\"\n#include <thrust/copy.h>\n#include <thrust/sort.h>\n#include <thrust/execution_policy.h>\n#include <thrust/system/cuda/execution...
cuda_cpp
2
CUDA/157
2025-10-31T00:00:00
Write a function to compute the cumulative distribution function (CDF) of grayscale images using the CUDA Thrust library. The pixel values of the image range from 0-255. The function should sort the pixel values, calculate their histogram, derive the CDF, and then map each pixel to its CDF value. Implement the functio...
{ "difficulty": "medium", "tags": [ "thrust", "image-processing", "histogram", "cdf", "async" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/cdf_calculator.h", "content": "#ifndef CDF_CALCULATOR_H\n#define CDF_CALCULATOR_H\n\n#include <thrust/device_vector.h>\n#include <cuda_runtime.h>\n\nvoid calculatePixelCdf(thrust::device_vector<int> &srcImage, int size, cudaStream_t stream, thrust::device_vector<float> &output);\n\n#endif...
[ { "path": "test/test_main.cu", "content": "#include \"cdf_calculator.h\"\n#include \"cuda_utils.h\"\n#include <algorithm>\n#include <vector>\n#include <cstdlib>\n#include <cstring>\n#undef NDEBUG\n#include <cassert>\n#include <nvtx3/nvToolsExt.h>\n\n#define EPSILON 1e-4\n\nvoid launch() {\n // Number of ...
null
nvcc -I include -o test.out solution.cu test/*.cu --extended-lambda
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/157", "files": [ { "path": "solution.cu", "content": "#include \"cdf_calculator.h\"\n#include \"cuda_utils.h\"\n#include <thrust/sort.h>\n#include <thrust/reduce.h>\n#include <thrust/scan.h>\n#include <thrust/scatter.h>\n#include <thrust/tr...
cuda_cpp
2
CUDA/160
2025-10-31T00:00:00
Use CUB's device-wide primitives to identify all continuous sequences of identical boolean values in a given boolean array, and count the frequency of each sequence. Implement the function declared in `include/detect_streaks.h`: ```cpp void detectStreaks(char* input_d, char* streakTypes_d, int* streakLengths_d, ...
{ "difficulty": "medium", "tags": [ "cub", "run-length-encode", "streams", "device-primitives" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/detect_streaks.h", "content": "#ifndef DETECT_STREAKS_H\n#define DETECT_STREAKS_H\n\n#include <cuda_runtime.h>\n#include <cstdio>\n#include <cstdlib>\n\n#define CUDA_CHECK(call) \\\n{ ...
[ { "path": "test/test_main.cu", "content": "#include \"detect_streaks.h\"\n#include <vector>\n#include <utility>\n#include <cassert>\n#include <algorithm>\n#include <cstring>\n\nstruct StreakTestCase {\n std::vector<char> inputArray;\n std::vector<std::pair<bool, int>> expectedStreaks;\n};\n\nvoid laun...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "kernels", "include": null, "exclude": null }
12.2
null
false
60
{ "schema_version": 1, "type": "file", "task_id": "CUDA/160", "files": [ { "path": "solution.cu", "content": "#include \"detect_streaks.h\"\n#include <cub/device/device_run_length_encode.cuh>\n\nvoid detectStreaks(char* input_d, char* streakTypes_d, int* streakLengths_d, int* numStreaks_d, int i...
cuda_cpp
2
CUDA/164
2025-10-31T00:00:00
Implement a function using Thrust that filters out elements from the input array wherever the corresponding value in the predicate array is one. The function signature is declared in `include/predicate_filter.h`: ```cpp void predicateBasedFilter(thrust::device_vector<int>& inpVector, thrust::d...
{ "difficulty": "medium", "tags": [ "thrust", "partition", "filter", "predicate", "perf-sensitive" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/predicate_filter.h", "content": "#ifndef PREDICATE_FILTER_H\n#define PREDICATE_FILTER_H\n\n#include <thrust/device_vector.h>\n\nvoid predicateBasedFilter(thrust::device_vector<int>& inpVector, \n thrust::device_vector<int>& predicateVector, \n ...
[ { "path": "test/test_main.cu", "content": "#define _USE_MATH_DEFINES\n\n#include \"predicate_filter.h\"\n#include <cuda_runtime_api.h>\n#include <thrust/partition.h>\n#include <thrust/host_vector.h>\n#include <thrust/device_vector.h>\n#include <thrust/unique.h>\n#include <thrust/reduce.h>\n#include <thrust/...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.8
null
false
60
{ "schema_version": 1, "type": "file", "task_id": "CUDA/164", "files": [ { "path": "solution.cu", "content": "#include \"predicate_filter.h\"\n#include <thrust/reduce.h>\n#include <thrust/partition.h>\n#include <thrust/copy.h>\n#include <thrust/execution_policy.h>\n\nvoid predicateBasedFilter(th...
cuda_cpp
2
CUDA/170
2025-10-31T00:00:00
Use CUB's device-wide primitives to compute inclusive prefix maximum on a device array. Implement the function declared in `include/prefix_max.h`: ```cpp void computePrefixMax(int* input_d, int* output_d, int dataSize, cudaStream_t stream); ``` Where: - `input_d`: pointer to the input array in device memory - `outpu...
{ "difficulty": "medium", "tags": [ "cub", "prefix-scan", "device-primitives" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/prefix_max.h", "content": "#ifndef PREFIX_MAX_H\n#define PREFIX_MAX_H\n\n#include <cuda_runtime.h>\n\nvoid computePrefixMax(int* input_d, int* output_d, int dataSize, cudaStream_t stream);\n\n#endif // PREFIX_MAX_H" }, { "path": "include/cuda_utils.h", "content": "#ifndef CUDA...
[ { "path": "test/test_main.cu", "content": "#include \"prefix_max.h\"\n#include \"cuda_utils.h\"\n#include <cassert>\n#include <cstdlib>\n#include <cstring>\n#include <nvtx3/nvToolsExt.h>\n\nvoid launch() {\n const int ARRAY_SIZE = 10;\n const int NUM_TEST_CASES = 7;\n\n int testInputs[NUM_TEST_CASE...
null
nvcc -I include -o test.out solution.cu test/*.cu -ldl
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
60
{ "schema_version": 1, "type": "file", "task_id": "CUDA/170", "files": [ { "path": "solution.cu", "content": "#include \"prefix_max.h\"\n#include \"cuda_utils.h\"\n#include <cub/device/device_scan.cuh>\n\nstruct MaxOp {\n __host__ __device__ __forceinline__\n int operator()(const int &a, c...
cuda_cpp
2
CUDA/175
2025-10-31T00:00:00
Write a CUDA function using CUB device-wide API to transform the input array into its logarithmic form using a given custom functor. The function should have the following signature: ```cpp void cubNormalizeFunction(int* input_d, float* output_d, int inputSize, cudaStream_t stream); ``` Where: - `input_d` is the poin...
{ "difficulty": "medium", "tags": [ "cub", "device-transform", "functor", "logarithmic-scaling", "perf-sensitive" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/cuda_helpers.h", "content": "#ifndef CUDA_HELPERS_H\n#define CUDA_HELPERS_H\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <cuda.h>\n#include <cuda_runtime.h>\n\n#define TOLERANCE 1e-4\n\n#define CUDA_CHECK(call){ \\\n cudaError_t error = call...
[ { "path": "test/test_main.cu", "content": "#include <stdio.h>\n#include <iostream>\n#include <assert.h>\n#include <algorithm>\n#include <cstring>\n#include <cuda.h>\n#include <cuda_runtime.h>\n#include <nvtx3/nvToolsExt.h>\n#include \"cub_normalize.h\"\n#include \"cuda_helpers.h\"\n\n#undef NDEBUG\n\nvoid l...
null
nvcc -I include -o test.out solution.cu test/*.cu -Icccl/thrust -Icccl/libcudacxx/include -Icccl/cub --extended-lambda
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
13.0
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/175", "files": [ { "path": "solution.cu", "content": "#include \"cub_normalize.h\"\n#include \"cuda_helpers.h\"\n\nvoid cubNormalizeFunction(int* input_d, float* output_d, int inputSize, cudaStream_t stream){\n //Transform the input to l...
cuda_cpp
2
CUDA/176
2025-10-31T00:00:00
Perform filtering of perfect squares from an integer array using the CUB library with a custom predicate functor which validates the elements, compacting the sequence to retain only qualifying elements and resulting the total count of selected values. Implement the function declared in `include/perfect_squares.h`: ``...
{ "difficulty": "medium", "tags": [ "cub", "device-select", "predicates" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/perfect_squares.h", "content": "#ifndef PERFECT_SQUARES_H\n#define PERFECT_SQUARES_H\n\n#include <cuda_runtime.h>\n\nvoid selectPerfectSquares(int* input_d, int* output_d, int* numSelected_d, int inputSize, cudaStream_t stream);\n\n#endif // PERFECT_SQUARES_H" }, { "path": "includ...
[ { "path": "test/test_main.cu", "content": "#include \"perfect_squares.h\"\n#include \"cuda_utils.h\"\n#include <vector>\n#include <cassert>\n#include <algorithm>\n#include <cstring>\n#include <cstdlib>\n#include <nvtx3/nvToolsExt.h>\n\nusing namespace std;\n\n// Simplified structure for test cases\nstruct P...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
60
{ "schema_version": 1, "type": "file", "task_id": "CUDA/176", "files": [ { "path": "solution.cu", "content": "#include \"perfect_squares.h\"\n#include \"cuda_utils.h\"\n#include <cub/device/device_select.cuh>\n#include <cmath>\n\n// Custom predicate for perfect squares\nstruct IsPerfectSquare {\...
cuda_cpp
2
CUDA/177
2025-10-31T00:00:00
Write a CUDA function that computes histograms for the R, G, and B channels from an RGBA image with equally sized bins using the CUB library. The image is stored as an interleaved array of 32-bit pixels, each with four 8-bit unsigned char channels. Implement the following function in `solution.cu`: ```cpp void calcM...
{ "difficulty": "medium", "tags": [ "cub", "histogram", "multi-channel", "image-processing", "perf-sensitive" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/histogram_helpers.h", "content": "#ifndef HISTOGRAM_HELPERS_H\n#define HISTOGRAM_HELPERS_H\n\n#include <cstdio>\n#include <cstdlib>\n#include <cuda_runtime.h>\n\n#define NUM_CHANNELS (4)\n#define NUM_ACTIVE_CHANNELS (3)\n#define LOWER_LEVEL (0)\n#define UPPER_LEVEL ...
[ { "path": "test/test_main.cu", "content": "#include <algorithm>\n#include <cstring>\n#include <cuda_runtime.h>\n#include <nvtx3/nvToolsExt.h>\n#undef NDEBUG\n#include <assert.h>\n#include \"histogram.h\"\n#include \"histogram_helpers.h\"\n\nvoid launch() {\n // Number of test cases\n constexpr int TES...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/177", "files": [ { "path": "solution.cu", "content": "#include <cub/cub.cuh>\n#include \"histogram.h\"\n#include \"histogram_helpers.h\"\n\nvoid calcMultiHistogram(uint8_t* inputImage_d, int** histogram_d,\n int* nu...
cuda_cpp
2
CUDA/178
2025-10-31T00:00:00
Use CUB's device-wide primitives to compute the minimum and maximum values of each segment of a row major matrix of dimension m x n. Consider each row as an individual segment. Implement the function declared in `include/minmax_function.h`: ```cpp void minMaxFunction(int* input_d, int* outputMin_d, int* outputMax_d, ...
{ "difficulty": "medium", "tags": [ "cub", "segmented-reduction", "device-primitives", "streams" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/minmax_function.h", "content": "#ifndef MINMAX_FUNCTION_H\n#define MINMAX_FUNCTION_H\n\n#include <cuda_runtime.h>\n\nvoid minMaxFunction(int* input_d, int* outputMin_d, int* outputMax_d, int rows, int cols, cudaStream_t stream);\n\n#endif // MINMAX_FUNCTION_H" }, { "path": "includ...
[ { "path": "test/test_main.cu", "content": "#include \"minmax_function.h\"\n#include \"cuda_helpers.h\"\n#include <assert.h>\n#include <algorithm>\n#include <climits>\n#include <string>\n#include <nvtx3/nvToolsExt.h>\n\n#undef NDEBUG\n\nvoid launch() {\n\n const int TEST_CASE_COUNT = 7;\n int rows[TEST...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/178", "files": [ { "path": "solution.cu", "content": "#include \"minmax_function.h\"\n#include \"cuda_helpers.h\"\n#include <limits>\n\n// Define custom reduction operators for CUB\nstruct MinOp {\n __device__ __forceinline__ int operato...
cuda_cpp
2
CUDA/179
2025-10-31T00:00:00
Use the Thrust API to perform a parallel element-wise transformation on the array with a custom predicate that uses a flag array to mark peaks (elements greater than both neighbors) with 1 and valleys (elements smaller than both neighbors) with -1. Implement the function declared in `include/peaks_valleys.h`: ```cpp v...
{ "difficulty": "medium", "tags": [ "thrust", "transformation", "peaks-valleys", "custom-functor" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/peaks_valleys.h", "content": "#ifndef PEAKS_VALLEYS_H\n#define PEAKS_VALLEYS_H\n\n#include <cuda.h>\n#include <thrust/device_vector.h>\n\nvoid detectPeaksAndValleys(thrust::device_vector<int>& data_d, \n thrust::device_vector<int>& flags_d,\n ...
[ { "path": "test/test_main.cu", "content": "#undef NDEBUG\n#include <assert.h>\n#include <vector>\n#include <cstring>\n#include <cuda.h>\n#include <thrust/device_vector.h>\n#include <thrust/host_vector.h>\n#include <nvtx3/nvToolsExt.h>\n#include \"cuda_utils.h\"\n#include \"peaks_valleys.h\"\n\nusing namespa...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/179", "files": [ { "path": "solution.cu", "content": "#include <thrust/device_vector.h>\n#include <thrust/host_vector.h>\n#include <thrust/transform.h>\n#include <thrust/functional.h>\n#include <thrust/execution_policy.h>\n#include <thrust/...
cuda_cpp
2
CUDA/181
2025-11-05T00:00:00
Write a CUDA kernel to find the mode (most frequent element) and its frequency (no. of occurrences) in an array using libcu++ synchronization primitives. The function signature is declared in `include/mode_detection.h`: ```cpp __global__ void k_parallelMode( cuda::std::span<const int> input, cuda::std::span<cu...
{ "difficulty": "hard", "tags": [ "cooperative-groups", "atomics", "libcu++", "histogram", "mode-detection", "perf-sensitive" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/mode_detection.h", "content": "#ifndef MODE_DETECTION_H\n#define MODE_DETECTION_H\n\n#include <cuda/atomic>\n#include <cuda/std/cstdint>\n#include <cuda/std/span>\n#include <cuda_runtime.h>\n#include <cooperative_groups.h>\n#include <vector>\n#include <algorithm>\n\n#define BLOCK_SIZE 256...
[ { "path": "test/test_main.cu", "content": "#include \"mode_detection.h\"\n#include <cassert>\n#include <cstring>\n#include <cstdlib>\n#include <nvtx3/nvToolsExt.h>\n\nvoid launch() {\n // Testโ€case struct for mode detection\n struct TestCase {\n std::vector<int> array; // input array\n ...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/181", "files": [ { "path": "solution.cu", "content": "#include \"mode_detection.h\"\n\n// Kernel: gridโ€stride over array, updating histogram and tracking mode\n__global__ void k_parallelMode(\n cuda::std::span<const int> input,\n ...
cuda_cpp
2
CUDA/182
2025-10-31T00:00:00
Write a CUDA kernel that calculates Minkowski distance between 3D floating points and the fixed reference point (0,0,0) using libcu++ library. The kernel should leverage libcu++ containers to store the multi-dimensional spatial data points. The kernel signature is defined in `include/minkowski.h`: ```cpp __global__ vo...
{ "difficulty": "medium", "tags": [ "libcudacxx", "mdspan", "kernel-launch", "distance-computation", "perf-sensitive" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/minkowski.h", "content": "#ifndef MINKOWSKI_H\n#define MINKOWSKI_H\n\n#include <cuda/std/mdspan>\n#include <cuda/std/array>\n#include <cstdio>\n#include <cstdlib>\n\n// Reference point to calculate distances from\nconstexpr float REF_X = 0.0f;\nconstexpr float REF_Y = 0.0f;\nconstexpr flo...
[ { "path": "test/test_main.cu", "content": "#include \"minkowski.h\"\n#include <vector>\n#include <cmath>\n#include <string>\n#include <cassert>\n#include <random>\n#include <chrono>\n#include <cstring>\n#include <nvtx3/nvToolsExt.h>\n\n// Function containing all test cases and launching them\nvoid launch() ...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/182", "files": [ { "path": "solution.cu", "content": "#include \"minkowski.h\"\n#include <cuda/std/mdspan>\n#include <cuda/std/array>\n\n__global__ void k_calculateMinkowskiDistance(\n cuda::std::mdspan<DataPoint, cuda::std::extents<size...
cuda_cpp
2
CUDA/187
2025-10-31T00:00:00
Implement a CUDA kernel that calculates powers of complex numbers, where input is an array of tuples containing complex numbers and their integer powers. Use libcu++ library to extract the complex number z and power p from each tuple then compute z^p and store in the output array named results. The signature of the CU...
{ "difficulty": "medium", "tags": [ "libcudacxx", "complex-numbers", "kernel-launch", "tuple", "mathematical-operations", "perf-sensitive" ], "releases": [ "2025-2", "2025-3", "2026-1", "2026-2" ], "do_not_release": false }
cccl
[ { "path": "include/complex_powers.h", "content": "#ifndef COMPLEX_POWERS_H\n#define COMPLEX_POWERS_H\n\n#include <cuda/std/tuple>\n#include <cuda/std/complex>\n\n// Define a tuple to store a complex number and its power\nusing ComplexPower = cuda::std::tuple<cuda::std::complex<double>, int>;\n\n__global__ v...
[ { "path": "test/test_main.cu", "content": "#include \"complex_powers.h\"\n#include <cuda/std/cassert>\n#include <iostream>\n#include <random>\n#include <vector>\n#include <cassert>\n#include <cstring>\n#include <nvtx3/nvToolsExt.h>\n\n// CUDA error checking macro\n#define CUDA_CHECK(call) do { \\\n cudaE...
null
nvcc -I include -o test.out solution.cu test/*.cu
./test.out
./test.out --perf
null
{ "type": "region", "include": [ "bench_region" ], "exclude": null, "time_type": "kernel" }
12.2
null
false
120
{ "schema_version": 1, "type": "file", "task_id": "CUDA/187", "files": [ { "path": "solution.cu", "content": "#include \"complex_powers.h\"\n\n__global__ void calculateComplexPowers(\n ComplexPower* input,\n cuda::std::complex<double>* results,\n int numElements\n) {\n\nfor (int idx = b...
End of preview. Expand in Data Studio

nvidia/compute-eval๏ผˆ่ค‡่ฃฝ๏ผ‰

ใƒ‡ใƒผใ‚ฟใฎๅ†…ๅฎน

LLM ใŒ็”Ÿๆˆใ—ใŸ CUDA ใ‚ณใƒผใƒ‰ใฎๆญฃใ—ใ•ใจๆ€ง่ƒฝใ‚’ๆธฌใ‚‹ใƒ™ใƒณใƒใƒžใƒผใ‚ฏใฎ่ชฒ้กŒใฎใƒ‡ใƒผใ‚ฟใ€‚1 ่กŒใŒ 1 ๅ•ใงใ€่ชฒ้กŒๆ–‡ promptใ€ๆ‰€ๅฑžใ™ใ‚‹้ ˜ๅŸŸ groupใ€ใƒ“ใƒซใƒ‰ใจใƒ†ใ‚นใƒˆใฎใ‚ณใƒžใƒณใƒ‰ใ€ๅŸบๆบ–ใจใชใ‚‹่งฃ็ญ” baseline_solution ใชใฉใ‚’ๆŒใคใ€‚ๅ•้กŒใฏ NVIDIA ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒไฝœใ‚Šใ€ไธ€้ƒจใฏ OpenAI ใจ Anthropic ใฎใƒขใƒ‡ใƒซใฎๆ”ฏๆดใง็”ŸๆˆใพใŸใฏไฟฎๆญฃใ—ใ€ใ™ในใฆไบบ้–“ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒ็ขบ่ชใ—ใŸใ€‚ใƒฉใ‚คใ‚ปใƒณใ‚นใฏ NVIDIA Evaluation Dataset License Agreement ใงใ€่ฉ•ไพก็”จใฎใƒ™ใƒณใƒใƒžใƒผใ‚ฏใจใ—ใฆไฝœใ‚‰ใ‚Œใฆใ„ใ‚‹ใ€‚

ใƒ‡ใƒผใ‚ฟใฎๆฆ‚่ฆ

้ …็›ฎ ๅ€ค
่กŒๆ•ฐ 3,102๏ผˆ15 ๆง‹ๆˆใƒป15 ๅˆ†ๅ‰ฒใฎๅˆ่จˆ๏ผ‰
ๅˆ—ๆ•ฐ 20
ๅฎน้‡ 31.99 MB๏ผˆใƒ•ใ‚กใ‚คใƒซ 27 ๆœฌ๏ผ‰
ใƒ•ใ‚กใ‚คใƒซใฎๅฝขๅผ jsonl 14ใ€json 5ใ€md 2ใ€pdf 1ใ€yaml 1
่จ€่ชž en
ๅ…ฌ้–‹ public

ๆง‹ๆˆใจๅˆ†ๅ‰ฒ

ๆง‹ๆˆ๏ผˆconfig๏ผ‰ ๅˆ†ๅ‰ฒ๏ผˆsplit๏ผ‰ใ”ใจใฎ่กŒๆ•ฐ ๅˆ—ๆ•ฐ
default eval 591 20
2025-1 eval 127 20
2025-2 eval 231 20
2025-3 eval 405 20
2026-1 eval 566 20
2026-2 eval 591 20
cccl eval 80 20
cublas eval 81 20
cuda-kernels eval 114 20
cuda-runtime eval 29 20
cudnn eval 113 20
cute-dsl eval 15 20
cutile eval 48 20
cutlass eval 10 20
mathlibs eval 101 20

ๅˆ—๏ผˆๆง‹ๆˆ defaultใƒปๅˆ†ๅ‰ฒ evalใ€‚ๆง‹ๆˆใ”ใจใซๅˆ—ใŒ้•ใ†๏ผ‰

ๅˆ— ๅž‹ ๅ…ˆ้ ญใฎ่กŒใฎๅ€ค
type string cuda_cpp
schema_version int64 2
task_id string CUDA/146
date timestamp[s] 2025-10-31T00:00:00
prompt string Develop a CUDA program using the Thrust API to sโ€ฆ
metadata struct{difficulty: string, tags: list<string>, releases: list<string>, do_not_release: bool} {difficulty, tags, releases, do_not_release}
group string cccl
context_files list<struct{path: string, content: string}> [1 ไปถ]
test_files list<struct{path: string, content: string}> [1 ไปถ]
source_references struct{any: list<string>, all: list<string>} null
build_command string nvcc -I include -o test.out solution.cu test/*.cโ€ฆ
test_command string ./test.out
benchmark_command string ./test.out --perf
base_image string null
timing_mode json {type, include, exclude, time_type}
min_cuda_toolkit string 12.2
compute_capability string null
requires_datacenter_gpu bool False
timeout_seconds float64 120.0
baseline_solution struct{schema_version: int64, type: string, task_id: string, files: list<struct{โ€ฆ}>} {schema_version, type, task_id, files}

่กŒๆ•ฐใจๅˆ—ใฏ HF ใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใƒ“ใƒฅใƒผใ‚ขใฎ้›†่จˆ๏ผˆๅ…ƒใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใฎ็พๅœจใฎ็‰ˆใงๆ•ฐใˆใŸใ‚‚ใฎ๏ผ‰ใ€‚ๅ…จใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใฎไธ€่ฆงใฏ HYUKI5/dataset-catalog ใซใ‚ใ‚‹ใ€‚

่ค‡่ฃฝใซใคใ„ใฆ

nvidia/compute-eval ใ‚’ใƒชใƒ“ใ‚ธใƒงใƒณ 60301f090273ee64967105ebb2eb5bad0aed3595 ใฎๆ™‚็‚นใงใใฎใพใพ่ค‡่ฃฝใ—ใŸใ‚‚ใฎใ€‚ไธญ่บซใฏๅค‰ใˆใฆใ„ใชใ„ใ€‚ๅˆคๆ–ญใƒขใƒ‡ใƒซ Laya๏ผˆconvaiinnovations/laya๏ผ‰ใฎๅพฎ่ชฟๆ•ดใซไฝฟใ†ๅ€™่ฃœใจใ—ใฆใ€่ชฟๆŸปใƒกใƒข๏ผˆLaya ๅญฆ็ฟ’็”จใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆ่ชฟๆŸป๏ผ‰ใซ่ผ‰ใ›ใŸใƒ‡ใƒผใ‚ฟใ‚’้›†ใ‚ใฆใ„ใ‚‹ใ€‚

ๅ‡บๅ…ธ

  • ๅ…ƒใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆ: https://huggingface.co/datasets/nvidia/compute-eval
  • ่ค‡่ฃฝใ—ใŸใƒชใƒ“ใ‚ธใƒงใƒณ: 60301f090273ee64967105ebb2eb5bad0aed3595๏ผˆ2026-09-14 20:39:09+00:00๏ผ‰
  • ๅ…ƒใฎใƒฉใ‚คใ‚ปใƒณใ‚น่กจ่จ˜: other

่ซ–ๆ–‡

  • ๅ…ƒใฎใ‚ซใƒผใƒ‰ใซ่ซ–ๆ–‡ใธใฎใƒชใƒณใ‚ฏใฏ่ฆ‹ใคใ‹ใ‚‰ใชใ‹ใฃใŸ

ใ‚ขใƒŽใƒ†ใƒผใ‚ทใƒงใƒณใฎๆ–นๆณ•

๏ผˆๅ…ƒใฎใ‚ซใƒผใƒ‰ใซ่ฉฒๅฝ“ใฎ่ฆ‹ๅ‡บใ—ใŒ็„กใ„ใฎใงใ€ใƒฉใƒ™ใƒซใฎไป˜ใ‘ๆ–นใซ่งฆใ‚ŒใŸๆฎต่ฝใ‚’ๆŠœใๅ‡บใ—ใŸ๏ผ‰

ComputeEval ใฏใ€LLM ใŒ็”Ÿๆˆใ—ใŸ CUDA ใ‚ณใƒผใƒ‰ใ‚’ๆญฃใ—ใ•ใจๆ€ง่ƒฝใฎไธก้ขใง่ฉ•ไพกใ™ใ‚‹ใƒ™ใƒณใƒใƒžใƒผใ‚ฏใงใ‚ใ‚‹ใ€‚ๅ„ๅ•้กŒใฏ่‡ชๅทฑๅฎŒ็ตใ—ใŸใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐใฎ่ชฒ้กŒใ‚’ 1 ใคๆ็คบใ™ใ‚‹ใ€‚่ชฒ้กŒใฏใ€ใ‚ซใƒผใƒใƒซใ€ใƒฉใƒณใ‚ฟใ‚คใƒ  APIใ€ใƒกใƒขใƒช็ฎก็†ใ€ไธฆๅˆ—ใ‚ขใƒซใ‚ดใƒชใ‚บใƒ ใ€GPU ใƒฉใ‚คใƒ–ใƒฉใƒชใ€ใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆใจ DSL ใซใ‚ˆใ‚‹ใ‚ซใƒผใƒใƒซใฎ่จ˜่ฟฐใซใ‚ใŸใ‚‹ใ€‚ๆฉŸ่ƒฝใฎๆคœ่จผ็”จใซ้žๅ…ฌ้–‹ใฎใƒ†ใ‚นใƒˆใƒใƒผใƒใ‚นใ‚’ๆŒใกใ€ไปปๆ„ใงใ€GPU ใฎๅฎŸ่กŒๆ™‚้–“ใ‚’ๅŸบๆบ–ใจๆฏ”ในใฆๆธฌใ‚‹ๆ€ง่ƒฝใฎใƒ™ใƒณใƒใƒžใƒผใ‚ฏใ‚‚ๆŒใคใ€‚

ใƒ‡ใƒผใ‚ฟใฎๅŽ้›†ๆ–นๆณ•

  • ใƒใ‚คใƒ–ใƒชใƒƒใƒ‰: ๆ‰‹ไฝœๆฅญใซใ‚ˆใ‚‹ๅŽ้›†ใ€ๅˆๆˆ โ€” ๅ•้กŒใฏ NVIDIA ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒไฝœๆˆใ—ใ€ไธ€้ƒจใฏๆœ€ๅ…ˆ็ซฏใฎ่จ€่ชžใƒขใƒ‡ใƒซ๏ผˆOpenAIใ€Anthropic๏ผ‰ใฎๆ”ฏๆดใง็”ŸๆˆใพใŸใฏไฟฎๆญฃใ—ใŸใ€‚ใ™ในใฆใฎๅ•้กŒใฏไบบ้–“ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒ็ขบ่ชใ—ใ€ๆคœ่จผใ—ใŸใ€‚

ใƒฉใƒ™ใƒซไป˜ใ‘ใฎๆ–นๆณ•

  • ใƒใ‚คใƒ–ใƒชใƒƒใƒ‰: ๆ‰‹ไฝœๆฅญใซใ‚ˆใ‚‹ใƒฉใƒ™ใƒซไป˜ใ‘ใ€ๅˆๆˆ โ€” ใƒ†ใ‚นใƒˆใƒใƒผใƒใ‚นใ€ใƒ“ใƒซใƒ‰ใจใƒ†ใ‚นใƒˆใฎใ‚ณใƒžใƒณใƒ‰ใ€้ ˜ๅŸŸใฎใ‚ฐใƒซใƒผใƒ—ใฎๅ‰ฒใ‚Šๅฝ“ใฆใฏ NVIDIA ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒไฝœๆˆใ—ใŸใ€‚้›ฃๆ˜“ๅบฆใฎ่ฉ•ไพกใจใ‚ฟใ‚ฐใฏใ€ๆœ€ๅ…ˆ็ซฏใฎ่จ€่ชžใƒขใƒ‡ใƒซใฎๆ”ฏๆดใง่ฃœใฃใŸใ€‚ใ™ในใฆใฎใƒฉใƒ™ใƒซใฏไบบ้–“ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒ็ขบ่ชใ—ใ€ๆคœ่จผใ—ใŸใ€‚
  1. ไฝœๆฅญ็”จใฎไธ€ๆ™‚ใƒฏใƒผใ‚ฏใ‚นใƒšใƒผใ‚นใ‚’ไฝœใ‚‹๏ผˆๅ•้กŒใŒ base_image ใ‚’ๅฎฃ่จ€ใ—ใฆใ„ใ‚Œใฐใ€ใใฎใ‚ณใƒณใƒ†ใƒŠๅ†…ใง๏ผ‰
  2. context_files ใ‚’ใƒฏใƒผใ‚ฏใ‚นใƒšใƒผใ‚นใซๆ›ธใๅ‡บใ™
  3. ใƒขใƒ‡ใƒซใŒ็”Ÿๆˆใ—ใŸ่งฃใฎใƒ•ใ‚กใ‚คใƒซใ‚’ใƒฏใƒผใ‚ฏใ‚นใƒšใƒผใ‚นใซๆ›ธใๅ‡บใ™
  4. test_files ใ‚’ใƒฏใƒผใ‚ฏใ‚นใƒšใƒผใ‚นใซๆ›ธใๅ‡บใ™๏ผˆใ“ใฎๆ™‚็‚นใง่ฆ‹ใˆใ‚‹ใ‚ˆใ†ใซใชใ‚‹๏ผ‰
  5. build_command ใ‚’ๅฎŸ่กŒใ—ใฆใ‚ณใƒณใƒ‘ใ‚คใƒซใ™ใ‚‹๏ผˆใ‚ใ‚‹ๅ ดๅˆ๏ผ‰
  6. ใ‚ณใƒณใƒ‘ใ‚คใƒซใŒๆˆๅŠŸใ—ใŸๅ ดๅˆ๏ผˆใพใŸใฏใƒ“ใƒซใƒ‰ใฎๆ‰‹้ †ใŒไธ่ฆใชๅ ดๅˆ๏ผ‰ใ€test_command ใ‚’ๅฎŸ่กŒใ™ใ‚‹
  7. ใƒ†ใ‚นใƒˆใฎ็ต‚ไบ†ใ‚ณใƒผใƒ‰ใงๅˆๅฆใ‚’ๆฑบใ‚ใ‚‹๏ผˆ็ต‚ไบ†ใ‚ณใƒผใƒ‰ 0 ใŒๅˆๆ ผ๏ผ‰
  8. Compute Sanitizer ใฎใ‚ฒใƒผใƒˆใŒๆœ‰ๅŠนใชๅ ดๅˆใ€้ธใ‚“ใ ใ‚ตใƒ‹ใ‚ฟใ‚คใ‚ถใƒผใฎๅ„ใƒ„ใƒผใƒซใฎใ‚‚ใจใงใƒ†ใ‚นใƒˆใ‚’ๅ†ๅฎŸ่กŒใ™ใ‚‹๏ผˆใ‚ตใƒ‹ใ‚ฟใ‚คใ‚ถใƒผใฎใ‚ฒใƒผใƒˆ ใ‚’ๅ‚็…ง๏ผ‰
  9. ใƒ†ใ‚นใƒˆใŒๅˆๆ ผใ—ใ€benchmark_command ใŒๅฎฃ่จ€ใ•ใ‚Œใฆใ„ใ‚Œใฐใ€่จญๅฎšใ•ใ‚ŒใŸ timing_mode ใจใƒ—ใƒญใƒ•ใ‚กใ‚คใƒฉใงๆ€ง่ƒฝใ‚’ๆธฌใ‚‹

ๅพฎ่ชฟๆ•ดใซไฝฟใ†ใจใใฎๆณจๆ„

  • ่ชฟๆŸปใƒกใƒขใฎๅฐๅธณใงใฎๅŒบๅˆ†: D๏ผˆ่จ˜่ผ‰ใชใ—ใƒปotherใƒปunknownใƒป่ณ‡ๆ–™้–“ใฎ้ฃŸใ„้•ใ„๏ผ‰ใ€‚ๅŒบๅˆ†ใฏ่จ˜่ผ‰ใฎๆ–‡่จ€ใงๆฉŸๆขฐ็š„ใซไป˜ใ‘ใŸใ‚‚ใฎใงใ€ๆณ•็š„ใชๅˆคๅฎšใงใฏใชใ„ใ€‚ๅญฆ็ฟ’ใซๅ…ฅใ‚Œใ‚‹ๅ‰ใซๅ…ƒใฎใ‚ซใƒผใƒ‰ใจใƒฉใ‚คใ‚ปใƒณใ‚นใฎๅŽŸๆ–‡ใง็ขบใ‹ใ‚ใ‚‹ใ€‚
  • Laya ใฎๅ…ฅๅŠ›ใฏ 2,048 token ใพใง๏ผˆModernBERT-large / mmBERT๏ผ‰ใ€‚้•ทใ„ๆœฌๆ–‡ใฏๅ…ˆ้ ญใ‹ใ‚‰้ป™ใฃใฆๅˆ‡ใ‚‰ใ‚Œใ‚‹ใฎใงใ€ๅˆ‡ใ‚Œใ‚‹่กŒใฏไบ‹ๅ‰ใซ้™คใใ‹ใ€่ฆ็ด„ใƒปๅˆ‡ใ‚Šๅ‡บใ—ใ‚’ใ—ใฆใ‹ใ‚‰ๅ…ฅใ‚Œใ‚‹ใ€‚
  • ๅˆ†ๅ‰ฒใฏ่จ˜ไบ‹ใƒปๆ–‡ๆ›ธๅ˜ไฝใง่กŒใ„ใ€ๅŒใ˜ๆœฌๆ–‡ใ‹ใ‚‰ไฝœใฃใŸๅˆฅใฎๅ•ใ„ใ‚’ๅญฆ็ฟ’ๅดใจ่ผƒๆญฃๅดใซๅˆ†ใ‘ใชใ„ใ€‚ๆธฉๅบฆใจ้–พๅ€คใฏๅญฆ็ฟ’ใซไฝฟใฃใฆใ„ใชใ„ๅˆ†ๅ‰ฒใงๅˆฅใ€…ใซๅฝ“ใฆใ‚‹ใ€‚

่ชฟๆŸปใƒกใƒขใฎ่จ˜่ฟฐ

ใƒกใƒข ็ฏ€ ใƒฉใ‚คใ‚ปใƒณใ‚น๏ผˆ่จ˜่ผ‰๏ผ‰ ็ขบ่ช ๆณจ่จ˜
nvidia_nemotron.md ไป˜้Œฒ. ๅ–ๅพ—ใ—ใŸ nvidia ็ต„็น”ใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆๅ…จไปถใฎ็ฐกๆ˜“ไธ€่ฆง (L390) other ็ขบ่ชๆธˆ ็ขบ่ชๅฐใชใ—(ๅ„ใƒ•ใ‚กใ‚คใƒซใฎๅ‡กไพ‹ใซใ‚ˆใ‚Š็ขบ่ชๆธˆๆ‰ฑใ„) ๏ผ ๅŽŸๆ–‡ๆณจ่จ˜: ร— ๆ•ฐๅญฆใƒปใ‚ณใƒผใƒ‰ใƒป็ง‘ๅญฆใƒป่จˆๆธฌ

ๅ…ƒใฎใ‚ซใƒผใƒ‰๏ผˆๆ—ฅๆœฌ่ชž่จณ๏ผ‰

ไปฅไธ‹ใฏๅ…ƒใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใฎใ‚ซใƒผใƒ‰ใฎๆœฌๆ–‡ใ‚’ๆ—ฅๆœฌ่ชžใซ่จณใ—ใŸใ‚‚ใฎ๏ผˆๆฉŸๆขฐ็ฟป่จณ๏ผ‰ใ€‚่จณใซ็–‘ๅ•ใŒใ‚ใ‚‹ใจใใฏใ€ๆœซๅฐพใฎๅŽŸๆ–‡ใ‚’็ขบใ‹ใ‚ใ‚‹ใ€‚


ComputeEval ใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใ‚ซใƒผใƒ‰

ComputeEval ใฏใ€LLM ใŒ็”Ÿๆˆใ—ใŸ CUDA ใ‚ณใƒผใƒ‰ใ‚’ๆญฃใ—ใ•ใจๆ€ง่ƒฝใฎไธก้ขใง่ฉ•ไพกใ™ใ‚‹ใƒ™ใƒณใƒใƒžใƒผใ‚ฏใงใ‚ใ‚‹ใ€‚ๅ„ๅ•้กŒใฏ่‡ชๅทฑๅฎŒ็ตใ—ใŸใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐใฎ่ชฒ้กŒใ‚’ 1 ใคๆ็คบใ™ใ‚‹ใ€‚่ชฒ้กŒใฏใ€ใ‚ซใƒผใƒใƒซใ€ใƒฉใƒณใ‚ฟใ‚คใƒ  APIใ€ใƒกใƒขใƒช็ฎก็†ใ€ไธฆๅˆ—ใ‚ขใƒซใ‚ดใƒชใ‚บใƒ ใ€GPU ใƒฉใ‚คใƒ–ใƒฉใƒชใ€ใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆใจ DSL ใซใ‚ˆใ‚‹ใ‚ซใƒผใƒใƒซใฎ่จ˜่ฟฐใซใ‚ใŸใ‚‹ใ€‚ๆฉŸ่ƒฝใฎๆคœ่จผ็”จใซ้žๅ…ฌ้–‹ใฎใƒ†ใ‚นใƒˆใƒใƒผใƒใ‚นใ‚’ๆŒใกใ€ไปปๆ„ใงใ€GPU ใฎๅฎŸ่กŒๆ™‚้–“ใ‚’ๅŸบๆบ–ใจๆฏ”ในใฆๆธฌใ‚‹ๆ€ง่ƒฝใฎใƒ™ใƒณใƒใƒžใƒผใ‚ฏใ‚‚ๆŒใคใ€‚

ใƒ›ใƒผใƒ ใƒšใƒผใ‚ธ: github.com/NVIDIA/compute-eval ใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆ: huggingface.co/datasets/nvidia/compute-eval

ไฝœใฃใŸใ‚‚ใฎใ‚„ๅญฆใ‚“ใ ใ“ใจใ€ไปŠๅพŒใฎๆ–นๅ‘ๆ€งใซใคใ„ใฆใฎๅฎšๆœŸ็š„ใชๆŠ€่ก“่งฃ่ชฌใฏใ€ใ‚จใƒณใ‚ธใƒ‹ใ‚ขใƒชใƒณใ‚ฐๆ—ฅ่จ˜ ใ‚’ๅ‚็…งใ€‚


ใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใฎๆฆ‚่ฆ

ใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใฎๆ‰€ๆœ‰่€… NVIDIA Corporation
ไฝœๆˆๆ—ฅ 2025-04-02
ใƒฉใ‚คใ‚ปใƒณใ‚น NVIDIA Evaluation Dataset License Agreement๏ผˆใƒ‡ใƒผใ‚ฟ๏ผ‰ใ€‚Apache 2.0๏ผˆ่ฉ•ไพกใƒใƒผใƒใ‚นใฎใ‚ณใƒผใƒ‰๏ผ‰ใ€‚
ๆƒณๅฎšใ•ใ‚Œใ‚‹็”จ้€” CUDA ใ‚ณใƒผใƒ‰็”Ÿๆˆใฎ่ƒฝๅŠ›ใ‚’่ฉ•ไพกใ™ใ‚‹็ ”็ฉถ่€…ใจ้–‹็™บ่€…ใ€‚็”จ้€”ใฏใ€GPU ใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐใฎ่ชฒ้กŒใง LLM ใฎๆญฃใ—ใ•ใจๆ€ง่ƒฝใ‚’ใƒ™ใƒณใƒใƒžใƒผใ‚ฏใ™ใ‚‹ใ“ใจใ€CUDA ใฎ้ ˜ๅŸŸใ‚’ใพใŸใ„ใงใƒขใƒ‡ใƒซใ‚’ๆฏ”่ผƒใ™ใ‚‹ใ“ใจใ€ใ‚ทใ‚นใƒ†ใƒ ใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐใฎใŸใ‚ใฎ LLM ใฎๅญฆ็ฟ’ใงๆ”นๅ–„ใ™ในใ็‚นใ‚’่ฆ‹ใคใ‘ใ‚‹ใ“ใจใ‚’ๅซใ‚€ใ€‚

ใ“ใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใฏใ€ๅ•†็”จๅˆฉ็”จใซใ‚‚้žๅ•†็”จๅˆฉ็”จใซใ‚‚ไฝฟใˆใ‚‹ใ€‚


ใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใฎ็‰นๅพด

ใƒ‡ใƒผใ‚ฟใฎๅŽ้›†ๆ–นๆณ•

  • ใƒใ‚คใƒ–ใƒชใƒƒใƒ‰: ๆ‰‹ไฝœๆฅญใซใ‚ˆใ‚‹ๅŽ้›†ใ€ๅˆๆˆ โ€” ๅ•้กŒใฏ NVIDIA ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒไฝœๆˆใ—ใ€ไธ€้ƒจใฏๆœ€ๅ…ˆ็ซฏใฎ่จ€่ชžใƒขใƒ‡ใƒซ๏ผˆOpenAIใ€Anthropic๏ผ‰ใฎๆ”ฏๆดใง็”ŸๆˆใพใŸใฏไฟฎๆญฃใ—ใŸใ€‚ใ™ในใฆใฎๅ•้กŒใฏไบบ้–“ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒ็ขบ่ชใ—ใ€ๆคœ่จผใ—ใŸใ€‚

ใƒฉใƒ™ใƒซไป˜ใ‘ใฎๆ–นๆณ•

  • ใƒใ‚คใƒ–ใƒชใƒƒใƒ‰: ๆ‰‹ไฝœๆฅญใซใ‚ˆใ‚‹ใƒฉใƒ™ใƒซไป˜ใ‘ใ€ๅˆๆˆ โ€” ใƒ†ใ‚นใƒˆใƒใƒผใƒใ‚นใ€ใƒ“ใƒซใƒ‰ใจใƒ†ใ‚นใƒˆใฎใ‚ณใƒžใƒณใƒ‰ใ€้ ˜ๅŸŸใฎใ‚ฐใƒซใƒผใƒ—ใฎๅ‰ฒใ‚Šๅฝ“ใฆใฏ NVIDIA ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒไฝœๆˆใ—ใŸใ€‚้›ฃๆ˜“ๅบฆใฎ่ฉ•ไพกใจใ‚ฟใ‚ฐใฏใ€ๆœ€ๅ…ˆ็ซฏใฎ่จ€่ชžใƒขใƒ‡ใƒซใฎๆ”ฏๆดใง่ฃœใฃใŸใ€‚ใ™ในใฆใฎใƒฉใƒ™ใƒซใฏไบบ้–“ใฎใ‚จใƒณใ‚ธใƒ‹ใ‚ขใŒ็ขบ่ชใ—ใ€ๆคœ่จผใ—ใŸใ€‚

ใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใฎ่ฆๆจก

  • ใƒฌใ‚ณใƒผใƒ‰ๆ•ฐ: ใƒใƒผใ‚ธใƒงใƒณไป˜ใใฎ 5 ใคใฎใƒ‡ใƒผใ‚ฟใƒ‘ใƒƒใ‚ฏใซใพใŸใŒใ‚‹ 591 ๅ•๏ผˆ2025.1: 127ใ€2025.2: 231ใ€2025.3: 405ใ€2026.1: 566ใ€2026.2: 591๏ผ‰
  • ใƒ•ใ‚ฃใƒผใƒซใƒ‰ๆ•ฐ: ๅ•้กŒใ”ใจใซ 20 ใƒ•ใ‚ฃใƒผใƒซใƒ‰๏ผˆtask_id, type, prompt, group, metadata, context_files, test_files, source_references, build_command, test_command, benchmark_command, base_image, timing_mode, baseline_solution, min_cuda_toolkit, compute_capability, requires_datacenter_gpu, timeout_seconds, date, schema_version๏ผ‰
  • ใƒ‡ใƒผใ‚ฟใฎๅˆ่จˆใ‚ตใ‚คใ‚บ: ใ™ในใฆใฎใƒ‡ใƒผใ‚ฟใƒ‘ใƒƒใ‚ฏใงๅœง็ธฎๅพŒใŠใ‚ˆใ 4.1 MB๏ผˆๅ•้กŒใจๅŸบๆบ–ใฎ่งฃใ‚’ๅซใ‚€๏ผ‰

ๅ•้กŒใฎใ‚ฐใƒซใƒผใƒ—

ๅ•้กŒใฏ้ ˜ๅŸŸใ”ใจใซใ‚ฐใƒซใƒผใƒ—ใซๅˆ†ใ‘ใฆใ‚ใ‚‹ใ€‚ๅ„ๅ•้กŒใฏใกใ‚‡ใ†ใฉ 1 ใคใฎใ‚ฐใƒซใƒผใƒ—ใซๅฑžใ—ใ€ใใฎใ‚ฐใƒซใƒผใƒ—ใŒใ€ๅ•้กŒใฎ่ฉฆใ™ CUDA API ใจใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐใฎๆฆ‚ๅฟตใ‚’ๆฑบใ‚ใ‚‹ใ€‚

CUDA C++

Group Description
cuda-runtime ใ‚ซใƒผใƒใƒซ่ตทๅ‹•ใ€ใƒกใƒขใƒช็ฎก็†ใ€ใ‚นใƒˆใƒชใƒผใƒ ใ€ใ‚คใƒ™ใƒณใƒˆใ€CUDA Graphsใ€ใ‚ฏใƒฉใ‚นใ‚ฟ่ตทๅ‹•ใ€ใ‚ชใ‚ญใƒฅใƒ‘ใƒณใ‚ทใƒผ
cuda-kernels ๅ…ฑๆœ‰ใƒกใƒขใƒชใ€warp ใฎ็ต„ใฟ่พผใฟ้–ขๆ•ฐใ€ใƒชใƒ€ใ‚ฏใ‚ทใƒงใƒณใ€ใ‚นใ‚ญใƒฃใƒณใ€ใ‚นใƒ†ใƒณใ‚ทใƒซใ€ใƒ†ใƒณใ‚ฝใƒซใ‚ณใ‚ขใ€ๅ”่ชฟใ‚ฐใƒซใƒผใƒ—
cccl Thrustใ€CUBใ€libcu++
cublas BLAS ใฎใƒฌใƒ™ใƒซ 1ใ€œ3ใ€ๆ‹กๅผตใ€ๅฟœ็”จ
mathlibs cuSPARSEใ€cuSOLVERใ€cuFFTใ€cuRAND
cudnn cuDNN Graph API ใซใ‚ˆใ‚‹็•ณใฟ่พผใฟใ€ใ‚ขใƒ†ใƒณใ‚ทใƒงใƒณใ€่กŒๅˆ—็ฉใ€ๆญฃ่ฆๅŒ–
cutlass CUTLASS ใฎใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆใ€collectiveใ€ใ‚นใ‚ฑใ‚ธใƒฅใƒผใƒฉใ€ใ‚จใƒ”ใƒญใƒผใ‚ฐใ€็ตฑๅˆใฎใƒ‘ใ‚ฟใƒผใƒณ

CUDA Python

Group Description
cutile ใ‚ฟใ‚คใƒซใƒ™ใƒผใ‚นใฎใ‚ซใƒผใƒใƒซ: ่กŒๅˆ—็ฉใ€ใ‚ขใƒ†ใƒณใ‚ทใƒงใƒณใ€ๆญฃ่ฆๅŒ–ใ€่ฆ็ด ใ”ใจใฎๆผ”็ฎ—๏ผˆSM 10.0 ไปฅไธŠ๏ผ‰
cute-dsl CuTe DSL ใฎใƒฌใ‚คใ‚ขใ‚ฆใƒˆใ€ใƒ†ใƒณใ‚ฝใƒซใ€ใ‚ณใƒ”ใƒผใจ MMA ใฎ atomใ€ใƒ‘ใ‚คใƒ—ใƒฉใ‚คใƒณใ€ใ‚ซใ‚นใ‚ฟใƒ ใ‚ซใƒผใƒใƒซ

cutlass ใจ cute-dsl ใฎๅ•้กŒใฏใ€ๅ›บๅฎšใ•ใ‚ŒใŸ็’ฐๅขƒใง่ฉ•ไพกใ™ใ‚‹ใ€‚CUDA Toolkit 13.1 ใจ CUTLASS 4.6.1๏ผˆC++๏ผ‰ใ€nvidia-cutlass-dsl 4.6.1๏ผˆPython๏ผ‰ใงใ‚ใ‚‹ใ€‚ๅ•้กŒใฏ base_image ใงใ“ใ‚Œใ‚’ๅฎฃ่จ€ใ—ใฆใ„ใ‚‹ใ€‚

้ ˜ๅŸŸใฎ็ถฒ็พ…ใฎๅฏพๅฟœ่กจใจใƒใƒƒใ‚ฏใƒญใ‚ฐใฏ DOMAIN_MAP.md ใ‚’ๅ‚็…งใ€‚


ใƒ‡ใƒผใ‚ฟใฎๅฝขๅผ

ใƒขใƒ€ใƒชใƒ†ใ‚ฃ: ใƒ†ใ‚ญใ‚นใƒˆ๏ผˆๆง‹้€ ๅŒ–ใ•ใ‚ŒใŸ JSONL๏ผ‰

ๅ•้กŒใฏใƒ‡ใƒผใ‚ฟใƒ‘ใƒƒใ‚ฏใจใ—ใฆ้…ๅธƒใ™ใ‚‹ใ€‚ใƒ‡ใƒผใ‚ฟใƒ‘ใƒƒใ‚ฏใฏใ€ๅœง็ธฎใ•ใ‚ŒใŸ tarball๏ผˆ.tar.gz๏ผ‰ใจใ—ใฆไฟๅญ˜ใ•ใ‚Œใ‚‹ใƒใƒผใ‚ธใƒงใƒณไป˜ใใฎใƒชใƒชใƒผใ‚นใงใ‚ใ‚‹ใ€‚ๅ„ใƒ‡ใƒผใ‚ฟใƒ‘ใƒƒใ‚ฏใซใฏๆฌกใŒๅ…ฅใ‚‹ใ€‚

  • metadata.json - ใƒชใƒชใƒผใ‚นใฎใƒใƒผใ‚ธใƒงใƒณใ€ไฝœๆˆๆ—ฅๆ™‚ใ€ๅ•้กŒๆ•ฐใ€ๆ•ดๅˆๆ€งใฎใƒใƒƒใ‚ทใƒฅ
  • problems.jsonl - ๅ•้กŒใ”ใจใซ 1 ่กŒใฎ JSON ใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆ

ใ‚จใƒณใ‚ณใƒผใƒ‡ใ‚ฃใƒณใ‚ฐ: UTF-8


ใƒ‡ใƒผใ‚ฟใฎใ‚นใ‚ญใƒผใƒž

ๅ•้กŒใฎๆง‹้€ 

ๅ„ๅ•้กŒใฏใ€ๆฌกใฎใ‚นใ‚ญใƒผใƒžใ‚’ๆŒใค JSON ใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใงใ‚ใ‚‹ใ€‚

ไธป่ฆใชใƒ•ใ‚ฃใƒผใƒซใƒ‰

Field Type Required Description
task_id string โœ“ ไธ€ๆ„ใฎ ID๏ผˆไพ‹: "CUDA/0"ใ€"CUDA/42"๏ผ‰
type string โœ“ ๅ•้กŒใฎๅž‹: "cuda_cpp" ใพใŸใฏ "cuda_python"
group string โœ“ ้ ˜ๅŸŸใฎใ‚ฐใƒซใƒผใƒ—๏ผˆไธŠใฎ ๅ•้กŒใฎใ‚ฐใƒซใƒผใƒ— ใ‚’ๅ‚็…ง๏ผ‰
schema_version integer โœ“ ใƒ‡ใƒผใ‚ฟใฎใ‚นใ‚ญใƒผใƒžใฎใƒใƒผใ‚ธใƒงใƒณ๏ผˆ็พๅœจใฏ 2๏ผ‰
date string โœ“ ๅ•้กŒใฎไฝœๆˆๆ—ฅ๏ผˆISO 8601 ๅฝขๅผ: "YYYY-MM-DD"๏ผ‰
prompt string โœ“ ใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐ่ชฒ้กŒใฎ่‡ช็„ถ่จ€่ชžใซใ‚ˆใ‚‹ๆŒ‡็คบ
context_files array โœ“ ใƒขใƒ‡ใƒซ/ใ‚ทใ‚นใƒ†ใƒ ใซ่ฆ‹ใˆใ‚‹ใƒ•ใ‚กใ‚คใƒซ๏ผˆใƒ˜ใƒƒใƒ€ใ€ใ‚นใ‚ฟใƒ–ใ€่ฃœๅŠฉ้–ขๆ•ฐ๏ผ‰
test_files array โœ“ ่ฉ•ไพก็”จใฎ้žๅ…ฌ้–‹ใฎใƒ†ใ‚นใƒˆใƒใƒผใƒใ‚น๏ผˆใƒขใƒ‡ใƒซ/ใ‚ทใ‚นใƒ†ใƒ ใซใฏ่ฆ‹ใ›ใชใ„๏ผ‰
build_command string โ€” ่งฃใ‚’ใ‚ณใƒณใƒ‘ใ‚คใƒซใ™ใ‚‹ใ‚ณใƒžใƒณใƒ‰๏ผˆไพ‹: "nvcc -I include ..."๏ผ‰
test_command string โœ“ ใƒ†ใ‚นใƒˆใ‚’ๅฎŸ่กŒใ™ใ‚‹ใ‚ณใƒžใƒณใƒ‰๏ผˆไพ‹: "./test.out"๏ผ‰
benchmark_command string โ€” ๆ€ง่ƒฝใฎใƒ™ใƒณใƒใƒžใƒผใ‚ฏใ‚’ๅฎŸ่กŒใ™ใ‚‹ใ‚ณใƒžใƒณใƒ‰๏ผˆใƒ†ใ‚นใƒˆใจใฏๅˆฅ๏ผ‰
base_image string โ€” ๅ•้กŒใ‚’่ฉ•ไพกใ™ใ‚‹ใ‚ณใƒณใƒ†ใƒŠใ‚คใƒกใƒผใ‚ธใ€‚ๆ—ขๅฎšใฎ่ฉ•ไพกใ‚คใƒกใƒผใ‚ธใ‚’ไธŠๆ›ธใใ™ใ‚‹๏ผˆไพ‹: "compute-eval:13.1.0"๏ผ‰
timing_mode object โ€” ๆ€ง่ƒฝใฎๆ™‚้–“ใ‚’ใฉใ†ๅ–ใ‚Šๅ‡บใ™ใ‹๏ผˆๆ—ขๅฎšๅ€ค: {"type": "process"}๏ผ‰ใ€‚ใ‚ฟใ‚คใƒŸใƒณใ‚ฐใƒขใƒผใƒ‰ ใ‚’ๅ‚็…ง
baseline_solution object โ€” ้€Ÿๅบฆๅ‘ไธŠใ‚’ๆฏ”ในใ‚‹ใŸใ‚ใฎๅ‚็…ง่งฃ
min_cuda_toolkit string โ€” ๅฟ…่ฆใช CUDA Toolkit ใฎๆœ€ไฝŽใƒใƒผใ‚ธใƒงใƒณ๏ผˆไพ‹: "12.0"๏ผ‰
compute_capability string โ€” ๅฟ…่ฆใช GPU ใฎ compute capability ใฎๆœ€ไฝŽๅ€ค๏ผˆๆ—ขๅฎšๅ€ค: "8.0"๏ผ‰
requires_datacenter_gpu boolean โ€” ใƒ‡ใƒผใ‚ฟใ‚ปใƒณใ‚ฟใƒผๅ‘ใ‘ใฎ GPU ใ‚’ๅฟ…่ฆใจใ™ใ‚‹ใ‹ใฉใ†ใ‹๏ผˆๆ—ขๅฎšๅ€ค: false๏ผ‰
timeout_seconds float โ€” ใƒ†ใ‚นใƒˆใซ่จฑใ™ๆœ€ๅคงใฎๅฎŸ่กŒๆ™‚้–“๏ผˆ็ง’๏ผ‰
source_references stringใ€arrayใ€object โ€” ่งฃใฎไธญใงๆคœ่จผใ™ใ‚‹ๅฟ…้ ˆใฎ API ๅ‘ผใณๅ‡บใ—ใ€‚{any: [...], all: [...]} ใฎๆ„ๅ‘ณใฅใ‘ใซๅฏพๅฟœใ™ใ‚‹
metadata object โ€” ๅ•้กŒใฎใƒกใ‚ฟใƒ‡ใƒผใ‚ฟ: difficultyใ€tagsใ€releasesใ€do_not_release

ใƒ•ใ‚กใ‚คใƒซใฎใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆ๏ผˆcontext_files ใจ test_files๏ผ‰

context_files ใจ test_files ใฎๅ„ใƒ•ใ‚กใ‚คใƒซใฏใ€ๆฌกใฎใƒ•ใ‚ฃใƒผใƒซใƒ‰ใ‚’ๆŒใคใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใงใ‚ใ‚‹ใ€‚

Field Type Description
path string ็›ธๅฏพใƒ•ใ‚กใ‚คใƒซใƒ‘ใ‚น๏ผˆไพ‹: "include/kernel.h"๏ผ‰
content string ใƒ•ใ‚กใ‚คใƒซใฎๅ…จๅ†…ๅฎน๏ผˆUTF-8 ใงใ‚จใƒณใ‚ณใƒผใƒ‰๏ผ‰

ใ‚ฟใ‚คใƒŸใƒณใ‚ฐใƒขใƒผใƒ‰

ๆ€ง่ƒฝใฎใƒ™ใƒณใƒใƒžใƒผใ‚ฏใ‚’ๅฎฃ่จ€ใ™ใ‚‹ๅ•้กŒใฏใ€timing_mode ใงๆ€ง่ƒฝใฎๆ™‚้–“ใฎๅ–ใ‚Šๆ–นใ‚’ๆŒ‡ๅฎšใงใใ‚‹ใ€‚ใ™ในใฆใฎใƒขใƒผใƒ‰ใฏๅ€คใ‚’ใƒŸใƒช็ง’ใงๅ ฑๅ‘Šใ™ใ‚‹ใ€‚

Type Description
process ๆ—ขๅฎšๅ€คใ€‚ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณๅ…จไฝ“ใฎๅฃๆ™‚่จˆๆ™‚้–“ใ€‚
kernels GPU ใ‚ซใƒผใƒใƒซใฎๅฎŸ่กŒๆ™‚้–“ใฎๅˆ่จˆใ€‚include/exclude ใฎใ‚ฐใƒญใƒ–ใƒ‘ใ‚ฟใƒผใƒณใซๅฏพๅฟœใ™ใ‚‹ใ€‚
region NVTX ใงๆณจ้‡ˆใ‚’ไป˜ใ‘ใŸใ‚ณใƒผใƒ‰็ฏ„ๅ›ฒใ‹ใ‚‰ใฎๆ™‚้–“ใ€‚include/exclude ใฎใ‚ฐใƒญใƒ–ใจ time_type๏ผˆ"kernel" ใพใŸใฏ "wall_clock"๏ผ‰ใซๅฏพๅฟœใ™ใ‚‹ใ€‚
gpu GPU ใฎๅˆ่จˆๆ™‚้–“๏ผˆใ‚ซใƒผใƒใƒซใฎๅฎŸ่กŒใจใƒกใƒขใƒช่ปข้€๏ผ‰ใ€‚
custom ใƒ™ใƒณใƒใƒžใƒผใ‚ฏใฎใƒ—ใƒญใ‚ฐใƒฉใƒ ใŒ่‡ชๅˆ†ใฎๆ™‚้–“ใ‚’ STDOUT ใซ COMPUTE_EVAL_TIME_MS: <value> ใฎๅฝขใงๅ‡บๅŠ›ใ™ใ‚‹ใ€‚

่ฉ•ไพกใฎๆ‰‹้ †

ComputeEval ใฏใ€็”Ÿๆˆใจ่ฉ•ไพกใ‚’ๅŽณๅฏ†ใซๅˆ†ใ‘ใ‚‹ใ€‚

ใƒขใƒ‡ใƒซ/ใ‚ทใ‚นใƒ†ใƒ ใŒ่ฆ‹ใ‚‹ใ‚‚ใฎ๏ผˆ็”Ÿๆˆใฎใจใ๏ผ‰

  • ๅ•้กŒใฎ prompt๏ผˆ่ชฒ้กŒใจ่ฆไปถใ‚’่จ˜่ฟฐ๏ผ‰
  • context_files๏ผˆใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใƒผใ‚นใฎๅฎš็พฉใจ่ฃœๅŠฉ้–ขๆ•ฐ๏ผ‰
  • build_command๏ผˆใ‚ณใƒณใƒ‘ใ‚คใƒซใฎๆŒ‡็คบใ€‚ใ‚ใ‚‹ๅ ดๅˆ๏ผ‰
  • CUDA Toolkit ใฎๆœ€ไฝŽใƒใƒผใ‚ธใƒงใƒณใจใ‚ขใƒผใ‚ญใƒ†ใ‚ฏใƒใƒฃใฎ่ฆไปถ

ใƒขใƒ‡ใƒซ/ใ‚ทใ‚นใƒ†ใƒ ใŒ่ฆ‹ใชใ„ใ‚‚ใฎ

  • test_files๏ผˆ้žๅ…ฌ้–‹ใฎใƒ†ใ‚นใƒˆใƒใƒผใƒใ‚น๏ผ‰
  • ๅ‚็…ง่งฃ

่ฉ•ไพกใฎๆตใ‚Œ

  1. ไฝœๆฅญ็”จใฎไธ€ๆ™‚ใƒฏใƒผใ‚ฏใ‚นใƒšใƒผใ‚นใ‚’ไฝœใ‚‹๏ผˆๅ•้กŒใŒ base_image ใ‚’ๅฎฃ่จ€ใ—ใฆใ„ใ‚Œใฐใ€ใใฎใ‚ณใƒณใƒ†ใƒŠๅ†…ใง๏ผ‰
  2. context_files ใ‚’ใƒฏใƒผใ‚ฏใ‚นใƒšใƒผใ‚นใซๆ›ธใๅ‡บใ™
  3. ใƒขใƒ‡ใƒซใŒ็”Ÿๆˆใ—ใŸ่งฃใฎใƒ•ใ‚กใ‚คใƒซใ‚’ใƒฏใƒผใ‚ฏใ‚นใƒšใƒผใ‚นใซๆ›ธใๅ‡บใ™
  4. test_files ใ‚’ใƒฏใƒผใ‚ฏใ‚นใƒšใƒผใ‚นใซๆ›ธใๅ‡บใ™๏ผˆใ“ใฎๆ™‚็‚นใง่ฆ‹ใˆใ‚‹ใ‚ˆใ†ใซใชใ‚‹๏ผ‰
  5. build_command ใ‚’ๅฎŸ่กŒใ—ใฆใ‚ณใƒณใƒ‘ใ‚คใƒซใ™ใ‚‹๏ผˆใ‚ใ‚‹ๅ ดๅˆ๏ผ‰
  6. ใ‚ณใƒณใƒ‘ใ‚คใƒซใŒๆˆๅŠŸใ—ใŸๅ ดๅˆ๏ผˆใพใŸใฏใƒ“ใƒซใƒ‰ใฎๆ‰‹้ †ใŒไธ่ฆใชๅ ดๅˆ๏ผ‰ใ€test_command ใ‚’ๅฎŸ่กŒใ™ใ‚‹
  7. ใƒ†ใ‚นใƒˆใฎ็ต‚ไบ†ใ‚ณใƒผใƒ‰ใงๅˆๅฆใ‚’ๆฑบใ‚ใ‚‹๏ผˆ็ต‚ไบ†ใ‚ณใƒผใƒ‰ 0 ใŒๅˆๆ ผ๏ผ‰
  8. Compute Sanitizer ใฎใ‚ฒใƒผใƒˆใŒๆœ‰ๅŠนใชๅ ดๅˆใ€้ธใ‚“ใ ใ‚ตใƒ‹ใ‚ฟใ‚คใ‚ถใƒผใฎๅ„ใƒ„ใƒผใƒซใฎใ‚‚ใจใงใƒ†ใ‚นใƒˆใ‚’ๅ†ๅฎŸ่กŒใ™ใ‚‹๏ผˆใ‚ตใƒ‹ใ‚ฟใ‚คใ‚ถใƒผใฎใ‚ฒใƒผใƒˆ ใ‚’ๅ‚็…ง๏ผ‰
  9. ใƒ†ใ‚นใƒˆใŒๅˆๆ ผใ—ใ€benchmark_command ใŒๅฎฃ่จ€ใ•ใ‚Œใฆใ„ใ‚Œใฐใ€่จญๅฎšใ•ใ‚ŒใŸ timing_mode ใจใƒ—ใƒญใƒ•ใ‚กใ‚คใƒฉใงๆ€ง่ƒฝใ‚’ๆธฌใ‚‹

ใ“ใ‚Œใซใ‚ˆใ‚Šใ€ใƒขใƒ‡ใƒซใฏใƒ†ใ‚นใƒˆใ‚ฑใƒผใ‚นใซ้Žๅญฆ็ฟ’ใงใใšใ€่‡ช็„ถ่จ€่ชžใฎ่ชฌๆ˜Žใจใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใƒผใ‚นใฎๅฅ‘็ด„ใ ใ‘ใซๅŸบใฅใ„ใฆๅ•้กŒใ‚’่งฃใ‹ใชใ‘ใ‚Œใฐใชใ‚‰ใชใ„ใ€‚

ใ‚ตใƒ‹ใ‚ฟใ‚คใ‚ถใƒผใฎใ‚ฒใƒผใƒˆ

่ฉ•ไพกใงใฏไปปๆ„ใงใ€ๆฉŸ่ƒฝใƒ†ใ‚นใƒˆใซๅˆๆ ผใ—ใŸ่งฃใใ‚Œใžใ‚Œใ‚’ NVIDIA Compute Sanitizer๏ผˆmemcheckใ€racecheckใ€synccheckใ€initcheck๏ผ‰ใงๅฎŸ่กŒใงใใ‚‹ใ€‚ๆ—ขๅฎšใงใฏ็„กๅŠนใงใ€ๅ•้กŒใฎๆญฃใ—ใ•ใฎ็ตๆžœใฏๅค‰ใ‚ใ‚‰ใชใ„ใ€‚

ใ“ใฎใ‚ฒใƒผใƒˆใฏใ€ๅ•้กŒใฎ test_files ใซ 1 ใคใฎๅˆถ็ด„ใ‚’่ชฒใ™ใ€‚ใ‚ตใƒ‹ใ‚ฟใ‚คใ‚ถใƒผใฎ็ตๆžœใ‚’ใ€Œ็•ฐๅธธใชใ—ใ€ใจๅ ฑๅ‘Šใ™ใ‚‹ใซใฏใ€ใƒ†ใ‚นใƒˆใŒๆ„ๅ›ณใ—ใŸไฝœๆฅญ้‡ใ‚’ๅฎŸ้š›ใซๅฎŸ่กŒใ—ใŸใ“ใจใ‚’็คบใ•ใชใ‘ใ‚Œใฐใชใ‚‰ใชใ„ใ€‚ComputeEval ใฏใ€ใƒ†ใ‚นใƒˆใซ COMPUTE_EVAL_SANITIZER_REPORT ใจ COMPUTE_EVAL_SANITIZER_TOKEN ใ‚’ๆธกใ™ใ€‚ใƒ†ใ‚นใƒˆใฏใ€ๅฏพ่ฑกใฎใ‚ซใƒผใƒใƒซใŒ่ตทๅ‹•ใ—ใŸใ“ใจใ‚’็ขบใ‹ใ‚ใ‚‹ๅฐใ•ใช JSON ใฎใƒฌใ‚ณใƒผใƒ‰ใ‚’ๆ›ธใๆˆปใ™ใ€‚ๅ€™่ฃœใฎๆจ™ๆบ–ๅ‡บๅŠ›ใฏ่จผๆ‹ ใจใ—ใฆใฏๆฑบใ—ใฆๅ—ใ‘ๅ…ฅใ‚Œใชใ„ใ€‚ใฉใกใ‚‰ใฎๅค‰ๆ•ฐใ‚‚ใ€ๅ€™่ฃœใŒๅˆถๅพกใ™ใ‚‹ๅญใƒ—ใƒญใ‚ปใ‚นใซใฏๆธกใ•ใชใ„ใ“ใจใ€‚ใ“ใฎๅ‰ฏๆฌก็š„ใช็ตŒ่ทฏใ‚’ๅฎŸ่ฃ…ใ—ใฆใ„ใชใ„ๅ•้กŒใฏใ€่ชคใฃใฆใ€Œ็•ฐๅธธใชใ—ใ€ใจๅ ฑๅ‘Šใ›ใšใ€invalid ใฎใ‚ตใƒ‹ใ‚ฟใ‚คใ‚ถใƒผ็ตๆžœใ‚’ๅ ฑๅ‘Šใ™ใ‚‹ใ€‚

ใปใจใ‚“ใฉใฎๅ•้กŒใฏ็”Ÿๆˆใฎ่ชฒ้กŒใงใ‚ใ‚‹ใ€‚ไป•ๆง˜ใ‹ใ‚‰้–ขๆ•ฐใ‚„ใ‚ซใƒผใƒใƒซใ‚’ๆ›ธใใ€‚cutlass ใจ cute-dsl ใฎใ‚ฐใƒซใƒผใƒ—ใงใฏใ€ไฟฎๅพฉใฎ่ชฒ้กŒใ‚‚ๅฐŽๅ…ฅใ™ใ‚‹ใ€‚context_files ใซๆฌ ้™ฅใŒใ‚ใ‚‹ใ€ใพใŸใฏๆ€ง่ƒฝใฎๅ‡บใชใ„ๅฎŸ่ฃ…ใŒๅ…ฅใฃใฆใŠใ‚Šใ€ใƒขใƒ‡ใƒซใŒใใ‚Œใ‚’็›ดใ•ใชใ‘ใ‚Œใฐใชใ‚‰ใชใ„ใ€‚


ใƒใƒผใ‚ธใƒงใƒณ็ฎก็†ใจไฟๅฎˆ

็พๅœจใฎใƒใƒผใ‚ธใƒงใƒณ: 2026.2

ไปฅๅ‰ใฎใƒใƒผใ‚ธใƒงใƒณ:

  • 2026.1: 566 ๅ•ใธใฎๆ‹กๅผต
  • 2025.3: 405 ๅ•ใธใฎๆ‹กๅผต
  • 2025.2: 231 ๅ•ใธใฎๆ‹กๅผต
  • 2025.1: ๆœ€ๅˆใฎ 127 ๅ•

ไปฅๅ‰ใฎใƒใƒผใ‚ธใƒงใƒณใจใฎ้–ขไฟ‚: ๆ‹กๅผตใ€‚NVIDIA ใฎ่ฟฝๅŠ ใฎๆŠ€่ก“ใ‚’ๆ‰ฑใ†ๆ–ฐใ—ใ„ๅ•้กŒใ‚’ๅŠ ใˆใ€ๅฏพ่ฑกใฎ็ฏ„ๅ›ฒใ‚’ๅบƒใ’ใ‚‹ใ€‚

ComputeEval ใฏใ€ไปฅๅ‰ใฎใƒชใƒชใƒผใ‚นใฎใƒใƒผใ‚ธใƒงใƒณใ‚’ใ™ในใฆไฟๆŒใ—ใ€ใƒขใƒ‡ใƒซใฎ้€ฒๆญฉใ‚’็ตŒๆ™‚็š„ใซ่ฟฝ่ทกใงใใ‚‹ใ‚ˆใ†ใซใ—ใฆใ„ใ‚‹ใ€‚ๅˆฉ็”จ่€…ใฏใฉใฎใƒชใƒชใƒผใ‚นใฎใƒใƒผใ‚ธใƒงใƒณใซๅฏพใ—ใฆใ‚‚ใƒ™ใƒณใƒใƒžใƒผใ‚ฏใ‚’ๅฎŸ่กŒใงใใ€ๆ™‚้–“ใ‚’ใ‹ใ‘ใŸๆ”นๅ–„ใ‚’่ฟฝ่ทกใงใใ‚‹ใ€‚

้‡่ฆ: ไบ’ๆ›ๆ€งใฏไฟใคใŒใ€ใƒ“ใƒƒใƒˆๅ˜ไฝใฎไธๅค‰ๆ€งใพใงใฏไฟ่จผใ—ใชใ„ใ€‚ๅ•้กŒใฎใƒใ‚ฐ๏ผˆ่งฃใ‘ใชใ„ใƒ†ใ‚นใƒˆใ‚ฑใƒผใ‚นใ€่ชคใฃใŸไป•ๆง˜ใชใฉ๏ผ‰ใ‚’่ฆ‹ใคใ‘ใŸๅ ดๅˆใ€ไฟฎๆญฃใ—ใฆไปŠๅพŒใฎใƒชใƒชใƒผใ‚นใงใƒ‡ใƒผใ‚ฟใƒ‘ใƒƒใ‚ฏใ‚’ๆ›ดๆ–ฐใ™ใ‚‹ๆจฉๅˆฉใ‚’็•™ไฟใ™ใ‚‹ใ€‚

ใ“ใฎๆ–น้‡ใซใ‚ˆใ‚Šใ€ๅˆฉ็”จ่€…ใฏไปฅๅ‰ใฎใƒ™ใƒณใƒใƒžใƒผใ‚ฏใฎใƒใƒผใ‚ธใƒงใƒณใ‚’ไฝฟใ„็ถšใ‘ใคใคใ€ใƒใ‚ฐใฎไฟฎๆญฃใจๆ”นๅ–„ใฎๆฉๆตใ‚‚ๅ—ใ‘ใ‚‰ใ‚Œใ‚‹ใ€‚


ๅ•้กŒใฎไพ‹

{
  "task_id": "CUDA/3",
  "type": "cuda_cpp",
  "group": "cuda-runtime",
  "date": "2025-10-31",
  "prompt": "Implement a function called `launch` that launches a kernel function named `kernel` without using triple chevrons. The x, y, z grid and block dimensions will be provided as parameters to the `launch` function.\n\nThe function signature is defined in `include/kernel_launch.h`:\n```cuda\nvoid launch(int gridSizeX, int blockSizeX, int gridSizeY = 1, int blockSizeY = 1,\n            int gridSizeZ = 1, int blockSizeZ = 1);\n```\n\nThe `kernel` function is already defined with the following signature:\n```cuda\n__global__ void kernel(int *output, const int *input);\n```\n\nYour implementation should use the CUDA runtime API to launch the kernel with the specified grid and block dimensions.",
  "context_files": [
    {
      "path": "include/kernel_launch.h",
      "content": "#pragma once\n\nvoid launch(int gridSizeX, int blockSizeX, int gridSizeY = 1, int blockSizeY = 1,\n            int gridSizeZ = 1, int blockSizeZ = 1);\n"
    },
    {
      "path": "src/kernel.cu",
      "content": "#include <cuda_runtime.h>\n\n__global__ void kernel(int *output, const int *input) {\n    int idx = blockIdx.x * blockDim.x + threadIdx.x;\n    output[idx] = input[idx] * 2;\n}\n"
    }
  ],
  "test_files": [
    {
      "path": "test/test_main.cu",
      "content": "#include <cassert>\n#include <cuda_runtime.h>\n#include \"../include/kernel_launch.h\"\n\nint main() {\n    // Test implementation\n    int *d_input, *d_output;\n    cudaMalloc(&d_input, 256 * sizeof(int));\n    cudaMalloc(&d_output, 256 * sizeof(int));\n    \n    launch(4, 64);  // Launch with 4 blocks, 64 threads each\n    \n    cudaFree(d_input);\n    cudaFree(d_output);\n    return 0;\n}\n"
    }
  ],
  "build_command": "nvcc -I include -o test.out solution.cu src/kernel.cu test/*.cu -arch=sm_80",
  "test_command": "./test.out",
  "min_cuda_toolkit": "12.0",
  "timeout_seconds": 30.0,
  "source_references": {"any": null, "all": ["cudaLaunchKernelEx"]}
}

ๅ€ซ็†ไธŠใฎ่€ƒๆ…ฎ

NVIDIA ใฏใ€ไฟก้ ผใงใใ‚‹ AI ใฏๅ…ฑๆœ‰ใ•ใ‚ŒใŸ่ฒฌไปปใงใ‚ใ‚‹ใจ่€ƒใˆใฆใŠใ‚Šใ€ๅน…ๅบƒใ„ AI ใฎ็”จ้€”ใงใฎ้–‹็™บใ‚’ๅฏ่ƒฝใซใ™ใ‚‹ใŸใ‚ใฎๆ–น้‡ใจๅฎŸ่ทตใ‚’็ขบ็ซ‹ใ—ใฆใ„ใ‚‹ใ€‚้–‹็™บ่€…ใฏใ€ใ“ใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใŒ่ฉฒๅฝ“ใ™ใ‚‹ๆฅญ็•Œใจ็”จ้€”ใฎ่ฆไปถใ‚’ๆบ€ใŸใ—ใ€ๆƒณๅฎšๅค–ใฎ่ฃฝๅ“ใฎ่ชค็”จใซๅฏพๅ‡ฆใ™ใ‚‹ใ‚ˆใ†ใ€็คพๅ†…ใฎ้–‹็™บใƒใƒผใƒ ใจๅ”ๅŠ›ใ™ในใใงใ‚ใ‚‹ใ€‚ๅ“่ณชใ€ใƒชใ‚นใ‚ฏใ€ใ‚ปใ‚ญใƒฅใƒชใƒ†ใ‚ฃใฎ่„†ๅผฑๆ€งใ€ใพใŸใฏ NVIDIA ใฎ AI ใซ้–ขใ™ใ‚‹ๆ‡ธๅฟตใฏใ€ใ“ใกใ‚‰ ใ‹ใ‚‰ๅ ฑๅ‘Šใ™ใ‚‹ใ“ใจใ€‚


ใƒฉใ‚คใ‚ปใƒณใ‚น

SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: LicenseRef-NVIDIA-Evaluation

ใ“ใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใฏ NVIDIA Evaluation Dataset License Agreement ใฎใ‚‚ใจใงใƒฉใ‚คใ‚ปใƒณใ‚นใ•ใ‚Œใฆใ„ใ‚‹ใ€‚ใ“ใฎใƒฉใ‚คใ‚ปใƒณใ‚นใฏใ€ใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใ‚’ AI ใƒขใƒ‡ใƒซใฎ่ฉ•ไพกใจใƒ™ใƒณใƒใƒžใƒผใ‚ฏใฎใŸใ‚ใ ใ‘ใซ ไฝฟใ†ใ“ใจใ‚’่ชใ‚ใ‚‹ใ€‚็‰นใซๆฌกใฎใจใŠใ‚Šใ€‚

  • ๅญฆ็ฟ’ใฎ็ฆๆญข: ใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใ‚’ AI ใƒขใƒ‡ใƒซใ‚„ๆฉŸๆขฐๅญฆ็ฟ’ใ‚ขใƒซใ‚ดใƒชใ‚บใƒ ใฎๅญฆ็ฟ’ใซไฝฟใฃใฆใฏใชใ‚‰ใชใ„๏ผˆ็ฌฌ 3.1 ๆก๏ผ‰ใ€‚
  • ๅ†้…ๅธƒใฎ็ฆๆญข: ใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใ‚’่ฒฉๅฃฒใ€ๅ†ใƒฉใ‚คใ‚ปใƒณใ‚นใ€้…ๅธƒใ€ใƒ›ใ‚นใƒˆใ—ใฆใฏใชใ‚‰ใชใ„๏ผˆ็ฌฌ 3.2 ๆก๏ผ‰ใ€‚
  • ็ตๆžœใฎๅ…ฌ่กจใฏๅฏ: ่ฉ•ไพกใจใƒ™ใƒณใƒใƒžใƒผใ‚ฏใฎ็ตๆžœใฏๅ…ฌ่กจใ—ใฆใ‚ˆใ„ใ€‚

ๅฎŒๅ…จใชใƒฉใ‚คใ‚ปใƒณใ‚นๆ–‡ใฏ ใƒฉใ‚คใ‚ปใƒณใ‚นๅ…จๆ–‡ ใ‚’ๅ‚็…งใ€‚


ๅผ•็”จ

ComputeEval ใ‚’็ ”็ฉถใงไฝฟใ†ๅ ดๅˆใฏใ€ๆฌกใ‚’ๅผ•็”จใ™ใ‚‹ใ“ใจใ€‚

@misc{computeeval2025,
  title={ComputeEval: A Benchmark for Evaluating Large Language Models on CUDA Code Generation},
  author={NVIDIA Corporation},
  year={2025},
  url={https://github.com/NVIDIA/compute-eval}
}
ๅŽŸๆ–‡๏ผˆ่‹ฑ่ชž๏ผ‰

Dataset Card for ComputeEval

ComputeEval is a benchmark for evaluating LLM-generated CUDA code on correctness and performance. Each problem provides a self-contained programming challenge โ€” spanning kernels, runtime APIs, memory management, parallel algorithms, GPU libraries, and template/DSL kernel authoring โ€” with a held-out test harness for functional validation and optional performance benchmarks for measuring GPU execution time against a baseline.

Homepage: github.com/NVIDIA/compute-eval Dataset: huggingface.co/datasets/nvidia/compute-eval

For periodic technical write-ups on what we've built, what we've learned, and where we're headed, see the Engineering Diaries.


Dataset Overview

Dataset Owner NVIDIA Corporation
Dataset Creation Date 2025-04-02
License NVIDIA Evaluation Dataset License Agreement (data). Apache 2.0 (evaluation harness code).
Intended Usage Researchers and developers evaluating the CUDA code generation capabilities of large language models. Use cases include benchmarking LLM correctness and performance on GPU programming tasks, comparing models across CUDA domains, and identifying areas for improvement in LLM training for systems programming.

This dataset is ready for commercial or non-commercial uses.


Dataset Characterization

Data Collection Method

  • Hybrid: Manually-Collected, Synthetic โ€” Problems were authored by NVIDIA engineers and in some cases generated or modified with assistance from frontier language models (OpenAI, Anthropic). All problems were reviewed and validated by human engineers.

Labeling Method

  • Hybrid: Manually-Labeled, Synthetic โ€” Test harnesses, build/test commands, and domain group assignments were authored by NVIDIA engineers. Difficulty ratings and tags were augmented with assistance from frontier language models. All labels were reviewed and validated by human engineers.

Dataset Quantification

  • Record Count: 591 problems across 5 versioned datapacks (2025.1: 127, 2025.2: 231, 2025.3: 405, 2026.1: 566, 2026.2: 591)
  • Feature Count: 20 fields per problem (task_id, type, prompt, group, metadata, context_files, test_files, source_references, build_command, test_command, benchmark_command, base_image, timing_mode, baseline_solution, min_cuda_toolkit, compute_capability, requires_datacenter_gpu, timeout_seconds, date, schema_version)
  • Total Data Storage: ~4.1 MB compressed across all datapacks (problems + baseline solutions)

Problem Groups

Problems are organized into groups by domain. Each problem belongs to exactly one group, which determines the CUDA APIs and programming concepts it tests.

CUDA C++

Group Description
cuda-runtime Kernel launch, memory management, streams, events, CUDA Graphs, cluster launch, occupancy
cuda-kernels Shared memory, warp intrinsics, reductions, scans, stencils, tensor cores, cooperative groups
cccl Thrust, CUB, libcu++
cublas BLAS levels 1-3, extensions, applications
mathlibs cuSPARSE, cuSOLVER, cuFFT, cuRAND
cudnn Convolutions, attention, matmul, normalization via cuDNN Graph API
cutlass CUTLASS templates, collectives, schedulers, epilogues, and integration patterns

CUDA Python

Group Description
cutile Tile-based kernels: matmul, attention, normalization, element-wise ops (SM 10.0+)
cute-dsl CuTe DSL layouts, tensors, copy/MMA atoms, pipelines, and custom kernels

The cutlass and cute-dsl problems are evaluated against a pinned stack โ€” CUDA Toolkit 13.1 with CUTLASS 4.6.1 (C++) and nvidia-cutlass-dsl 4.6.1 (Python) โ€” and declare it via base_image.

For a full coverage map and domain backlog, see DOMAIN_MAP.md.


Dataset Format

Modality: Text (structured JSONL)

Problems are distributed as datapacks - versioned releases stored as compressed tarballs (.tar.gz). Each datapack contains:

  • metadata.json - Release version, creation timestamp, problem count, and integrity hashes
  • problems.jsonl - One JSON object per line representing each problem

Encoding: UTF-8


Data Schema

Problem Structure

Each problem is a JSON object with the following schema:

Core Fields

Field Type Required Description
task_id string โœ“ Unique identifier (e.g., "CUDA/0", "CUDA/42")
type string โœ“ Problem type: "cuda_cpp" or "cuda_python"
group string โœ“ Domain group (see Problem Groups above)
schema_version integer โœ“ Data schema version (currently 2)
date string โœ“ Problem creation date (ISO 8601 format: "YYYY-MM-DD")
prompt string โœ“ Natural language instruction for the programming task
context_files array โœ“ Files visible to the model/system (headers, stubs, helpers)
test_files array โœ“ Held-out test harness for evaluation (not shown to model/system)
build_command string โ€” Command to compile the solution (e.g., "nvcc -I include ...")
test_command string โœ“ Command to execute tests (e.g., "./test.out")
benchmark_command string โ€” Command to run performance benchmark (separate from tests)
base_image string โ€” Container image to evaluate this problem in, overriding the default evaluation image (e.g. "compute-eval:13.1.0")
timing_mode object โ€” How to extract performance timing (default: {"type": "process"}). See Timing Modes
baseline_solution object โ€” Reference solution for speedup comparison
min_cuda_toolkit string โ€” Minimum CUDA Toolkit version required (e.g., "12.0")
compute_capability string โ€” Minimum GPU compute capability required (default: "8.0")
requires_datacenter_gpu boolean โ€” Whether the problem requires a datacenter-class GPU (default: false)
timeout_seconds float โ€” Maximum execution time allowed for tests (in seconds)
source_references string, array, or object โ€” Required API calls to verify in solution. Supports {any: [...], all: [...]} semantics
metadata object โ€” Problem metadata: difficulty, tags, releases, do_not_release

File Objects (context_files & test_files)

Each file in context_files and test_files is an object with:

Field Type Description
path string Relative file path (e.g., "include/kernel.h")
content string Complete file contents (UTF-8 encoded)

Timing Modes

Problems that declare a benchmark_command can specify a timing_mode to control how performance timing is extracted. All modes report values in milliseconds.

Type Description
process Default. Total application wall-clock time.
kernels Sum of GPU kernel execution time. Supports include/exclude glob patterns.
region Timing from NVTX-annotated code ranges. Supports include/exclude globs and time_type ("kernel" or "wall_clock").
gpu Total GPU time: kernel execution + memory transfers.
custom The benchmark program prints its own timing to STDOUT as COMPUTE_EVAL_TIME_MS: <value>.

Evaluation Protocol

ComputeEval follows a strict separation between generation and evaluation:

What Models/Systems See (Generation Time)

  • Problem prompt - describes the task and requirements
  • context_files - interface definitions and helper utilities
  • build_command - compilation instructions (if provided)
  • Minimum CUDA toolkit version and architecture requirements

What Models/Systems Do NOT See

  • test_files - held-out test harness
  • Reference solutions

Evaluation Process

  1. Create temporary workspace (in the problem's base_image container, if one is declared)
  2. Write context_files to workspace
  3. Write model-generated solution files to workspace
  4. Write test_files to workspace (now visible)
  5. Execute build_command to compile (if provided)
  6. If compilation succeeds (or no build step required), execute test_command
  7. Test exit code determines pass/fail (exit code 0 = pass)
  8. If a Compute Sanitizer gate is enabled, re-run the test under each selected sanitizer tool (see Sanitizer Gate)
  9. If tests pass and benchmark_command is declared, run performance measurement using the configured timing_mode and profiler

This ensures models cannot overfit to test cases and must solve problems based solely on the natural language description and interface contracts.

Sanitizer Gate

Evaluation can optionally run each solution under NVIDIA Compute Sanitizer (memcheck, racecheck, synccheck, initcheck) after it passes its functional test. This is off by default and does not change a problem's correctness result.

The gate imposes one contract on a problem's test_files: to report a clean sanitizer result, the held-out test must prove it actually exercised the intended workload. ComputeEval supplies COMPUTE_EVAL_SANITIZER_REPORT and COMPUTE_EVAL_SANITIZER_TOKEN to the test, which writes back a small JSON record confirming the target launched. Candidate stdout is never accepted as proof, and neither variable should be passed to candidate-controlled child processes. Problems that do not implement this side channel report an invalid sanitizer result rather than a false clean one.

Most problems are generation tasks โ€” write a function or kernel from a specification. The cutlass and cute-dsl groups also introduce repair tasks, where context_files contain a defective or under-performing implementation that the model must fix.


Versioning and Maintenance

Current version: 2026.2

Previous versions:

  • 2026.1: Extension to 566 problems
  • 2025.3: Extension to 405 problems
  • 2025.2: Extension to 231 problems
  • 2025.1: Initial set of 127 problems

Relationship to previous versions: Extension - Adds new problems for coverage of additional NVIDIA technologies.

ComputeEval maintains all previous release versions to enable longitudinal tracking of model progress. Users can benchmark against any release version to track improvements over time.

Important: We are committed to maintaining backward compatibility, but not bit-for-bit immutability. If we discover bugs in problems (e.g., unsolvable test cases, incorrect specifications), we reserve the right to fix them and update the corresponding datapacks in future releases.

This approach ensures users can continue using previous benchmark versions while benefiting from bug fixes and improvements.


Example Problem

{
  "task_id": "CUDA/3",
  "type": "cuda_cpp",
  "group": "cuda-runtime",
  "date": "2025-10-31",
  "prompt": "Implement a function called `launch` that launches a kernel function named `kernel` without using triple chevrons. The x, y, z grid and block dimensions will be provided as parameters to the `launch` function.\n\nThe function signature is defined in `include/kernel_launch.h`:\n```cuda\nvoid launch(int gridSizeX, int blockSizeX, int gridSizeY = 1, int blockSizeY = 1,\n            int gridSizeZ = 1, int blockSizeZ = 1);\n```\n\nThe `kernel` function is already defined with the following signature:\n```cuda\n__global__ void kernel(int *output, const int *input);\n```\n\nYour implementation should use the CUDA runtime API to launch the kernel with the specified grid and block dimensions.",
  "context_files": [
    {
      "path": "include/kernel_launch.h",
      "content": "#pragma once\n\nvoid launch(int gridSizeX, int blockSizeX, int gridSizeY = 1, int blockSizeY = 1,\n            int gridSizeZ = 1, int blockSizeZ = 1);\n"
    },
    {
      "path": "src/kernel.cu",
      "content": "#include <cuda_runtime.h>\n\n__global__ void kernel(int *output, const int *input) {\n    int idx = blockIdx.x * blockDim.x + threadIdx.x;\n    output[idx] = input[idx] * 2;\n}\n"
    }
  ],
  "test_files": [
    {
      "path": "test/test_main.cu",
      "content": "#include <cassert>\n#include <cuda_runtime.h>\n#include \"../include/kernel_launch.h\"\n\nint main() {\n    // Test implementation\n    int *d_input, *d_output;\n    cudaMalloc(&d_input, 256 * sizeof(int));\n    cudaMalloc(&d_output, 256 * sizeof(int));\n    \n    launch(4, 64);  // Launch with 4 blocks, 64 threads each\n    \n    cudaFree(d_input);\n    cudaFree(d_output);\n    return 0;\n}\n"
    }
  ],
  "build_command": "nvcc -I include -o test.out solution.cu src/kernel.cu test/*.cu -arch=sm_80",
  "test_command": "./test.out",
  "min_cuda_toolkit": "12.0",
  "timeout_seconds": 30.0,
  "source_references": {"any": null, "all": ["cudaLaunchKernelEx"]}
}

Ethical Considerations

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. Developers should work with their internal developer teams to ensure this dataset meets requirements for the relevant industry and use case and addresses unforeseen product misuse. Please report quality, risk, security vulnerabilities or NVIDIA AI Concerns here.


License

SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: LicenseRef-NVIDIA-Evaluation

This dataset is licensed under the NVIDIA Evaluation Dataset License Agreement. The license permits use of the dataset solely for evaluation and benchmarking of AI models. In particular:

  • No training: The dataset may not be used for training AI models or machine learning algorithms (Section 3.1).
  • No redistribution: The dataset may not be sold, sublicensed, distributed, or hosted (Section 3.2).
  • Results may be published: You may publish or otherwise disclose evaluation and benchmarking results.

See the full license text for details.


Citation

If you use ComputeEval in your research, please cite:

@misc{computeeval2025,
  title={ComputeEval: A Benchmark for Evaluating Large Language Models on CUDA Code Generation},
  author={NVIDIA Corporation},
  year={2025},
  url={https://github.com/NVIDIA/compute-eval}
}
Downloads last month
109