Эти тестовые примеры хорошо работают на моей машине x86 с наборами инструментов RTX4060 + CUDA 12.4.
Но не могут работать на Jetson AGX Orin.
Моя среда: (обновлено менеджером Nvidia SDK)
Код: Выделить всё
Ubuntu 22.04
Jetpack 6
CUDA toolkits 12.5

Код: Выделить всё
1: /home/ddjetson/Desktop/cudadev/cpp/src/unittest/unittest.cu:13: Failure
1: Expected equality of these values:
1: v2[i]
1: Which is: 0
1: 601
1:
1: /home/ddjetson/Desktop/cudadev/cpp/src/unittest/unittest.cu:13: Failure
1: Expected equality of these values:
1: v2[i]
1: Which is: 0
1: 601
1:
1: /home/ddjetson/Desktop/cudadev/cpp/src/unittest/unittest.cu:13: Failure
1: Expected equality of these values:
1: v2[i]
1: Which is: 0
1: 601
1:
1: [ FAILED ] CUDAfunction.CUDAReduce (247 ms)
1: [----------] 1 test from CUDAfunction (247 ms total)
1:
1: [----------] Global test environment tear-down
1: [==========] 1 test from 1 test suite ran. (247 ms total)
1: [ PASSED ] 0 tests.
1: [ FAILED ] 1 test, listed below:
1: [ FAILED ] CUDAfunction.CUDAReduce
1:
1: 1 FAILED TEST
1/5 Test #1: CUDAfunction.CUDAReduce …***Failed 0.38 sec
test 2
Спасибо!
Подробнее здесь: https://stackoverflow.com/questions/785 ... lues-are-0