Skip to content

Commit e02ed86

Browse files
authored
Merge pull request #2623 from aarongreig/aaron/documentFixtures
Document CTS fixtures and macros.
2 parents 010dc4a + 00d8e1a commit e02ed86

File tree

192 files changed

+452
-369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+452
-369
lines changed

test/adapters/cuda/context_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <thread>
1212

1313
using cudaUrContextCreateTest = uur::urDeviceTest;
14-
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(cudaUrContextCreateTest);
14+
UUR_INSTANTIATE_DEVICE_TEST_SUITE(cudaUrContextCreateTest);
1515

1616
constexpr unsigned int known_cuda_api_version = 3020;
1717

test/adapters/cuda/event_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "raii.h"
1111

1212
using cudaEventTest = uur::urContextTest;
13-
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(cudaEventTest);
13+
UUR_INSTANTIATE_DEVICE_TEST_SUITE(cudaEventTest);
1414

1515
// Testing the urEventGetInfo behaviour for natively constructed (Cuda) events.
1616
// Backend interop APIs can lead to creating event objects that are not fully

test/adapters/cuda/kernel_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "uur/raii.h"
1010

1111
using cudaKernelTest = uur::urQueueTest;
12-
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(cudaKernelTest);
12+
UUR_INSTANTIATE_DEVICE_TEST_SUITE(cudaKernelTest);
1313

1414
// The first argument stores the implicit global offset
1515
inline constexpr size_t NumberOfImplicitArgsCUDA = 1;

test/adapters/cuda/memory_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "uur/raii.h"
99

1010
using cudaMemoryTest = uur::urContextTest;
11-
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(cudaMemoryTest);
11+
UUR_INSTANTIATE_DEVICE_TEST_SUITE(cudaMemoryTest);
1212

1313
TEST_P(cudaMemoryTest, urMemBufferNoActiveContext) {
1414
constexpr size_t memSize = 1024u;

test/adapters/cuda/urContextGetNativeHandle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "fixtures.h"
88

99
using urCudaContextGetNativeHandle = uur::urContextTest;
10-
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urCudaContextGetNativeHandle);
10+
UUR_INSTANTIATE_DEVICE_TEST_SUITE(urCudaContextGetNativeHandle);
1111

1212
TEST_P(urCudaContextGetNativeHandle, Success) {
1313
ur_native_handle_t native_context = 0;

test/adapters/cuda/urDeviceCreateWithNativeHandle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "fixtures.h"
88

99
using urCudaDeviceCreateWithNativeHandle = uur::urPlatformTest;
10-
UUR_INSTANTIATE_PLATFORM_TEST_SUITE_P(urCudaDeviceCreateWithNativeHandle);
10+
UUR_INSTANTIATE_PLATFORM_TEST_SUITE(urCudaDeviceCreateWithNativeHandle);
1111

1212
TEST_P(urCudaDeviceCreateWithNativeHandle, Success) {
1313
// get a device from cuda

test/adapters/cuda/urDeviceGetNativeHandle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "fixtures.h"
88

99
using urCudaGetDeviceNativeHandle = uur::urDeviceTest;
10-
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urCudaGetDeviceNativeHandle);
10+
UUR_INSTANTIATE_DEVICE_TEST_SUITE(urCudaGetDeviceNativeHandle);
1111

1212
TEST_P(urCudaGetDeviceNativeHandle, Success) {
1313
ur_native_handle_t native_handle;

test/adapters/cuda/urEventCreateWithNativeHandle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "raii.h"
99

1010
using urCudaEventCreateWithNativeHandleTest = uur::urQueueTest;
11-
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urCudaEventCreateWithNativeHandleTest);
11+
UUR_INSTANTIATE_DEVICE_TEST_SUITE(urCudaEventCreateWithNativeHandleTest);
1212

1313
TEST_P(urCudaEventCreateWithNativeHandleTest, Success) {
1414
RAIICUevent cuda_event;

test/adapters/cuda/urEventGetNativeHandle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "uur/raii.h"
99

1010
using urCudaEventGetNativeHandleTest = uur::urQueueTest;
11-
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urCudaEventGetNativeHandleTest);
11+
UUR_INSTANTIATE_DEVICE_TEST_SUITE(urCudaEventGetNativeHandleTest);
1212

1313
TEST_P(urCudaEventGetNativeHandleTest, Success) {
1414
constexpr size_t buffer_size = 1024;

test/adapters/cuda/urQueueGetNativeHandle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "queue.hpp"
99

1010
using urCudaQueueGetNativeHandleTest = uur::urQueueTest;
11-
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urCudaQueueGetNativeHandleTest);
11+
UUR_INSTANTIATE_DEVICE_TEST_SUITE(urCudaQueueGetNativeHandleTest);
1212

1313
TEST_P(urCudaQueueGetNativeHandleTest, Success) {
1414
CUstream Stream;

0 commit comments

Comments
 (0)