Skip to content
Snippets Groups Projects
Commit c6a4c35d authored by Jonathan Mace's avatar Jonathan Mace
Browse files

Don't set core and priority in tests

parent 9ecca336
No related branches found
No related tags found
No related merge requests found
...@@ -305,8 +305,6 @@ public: ...@@ -305,8 +305,6 @@ public:
cudaStream_t stream; cudaStream_t stream;
unsigned gpu_id = 0; unsigned gpu_id = 0;
Autostream(unsigned gpu_id = 0): gpu_id(gpu_id) { Autostream(unsigned gpu_id = 0): gpu_id(gpu_id) {
util::set_core(0);
util::setCurrentThreadMaxPriority();
REQUIRE(cudaSetDevice(gpu_id) == cudaSuccess); REQUIRE(cudaSetDevice(gpu_id) == cudaSuccess);
REQUIRE(cudaStreamCreateWithPriority(&stream, cudaStreamNonBlocking, 0) REQUIRE(cudaStreamCreateWithPriority(&stream, cudaStreamNonBlocking, 0)
== cudaSuccess); == cudaSuccess);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment