Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Split memcpy_async tests into a few other tests. #364

Merged
merged 2 commits into from
Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -172,18 +172,3 @@ void test_select_source()
test_select_destination<T, global_memory_selector>();
#endif
}


int main(int argc, char ** argv)
{
#ifndef __CUDA_ARCH__
cuda_thread_count = 4;
#endif

//test_select_source<storage<int8_t>>();
test_select_source<storage<uint16_t>>();
test_select_source<storage<int32_t>>();
test_select_source<storage<uint64_t>>();

return 0;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//===----------------------------------------------------------------------===//
//
// Part of libcu++, the C++ Standard Library for your entire system,
// under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In new files we should add our copyright banner

Suggested change
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: pre-sm-70

#include "group_memcpy_async.h"

int main(int argc, char ** argv)
{
#ifndef __CUDA_ARCH__
cuda_thread_count = 4;
#endif

test_select_source<storage<uint16_t>>();

return 0;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//===----------------------------------------------------------------------===//
//
// Part of libcu++, the C++ Standard Library for your entire system,
// under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: pre-sm-70

#include "group_memcpy_async.h"

int main(int argc, char ** argv)
{
#ifndef __CUDA_ARCH__
cuda_thread_count = 4;
#endif

test_select_source<storage<int32_t>>();

return 0;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//===----------------------------------------------------------------------===//
//
// Part of libcu++, the C++ Standard Library for your entire system,
// under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: pre-sm-70

#include "group_memcpy_async.h"

int main(int argc, char ** argv)
{
#ifndef __CUDA_ARCH__
cuda_thread_count = 4;
#endif

test_select_source<storage<uint64_t>>();

return 0;
}