mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 06:49:15 +00:00
use single threaded tensor generator (#161)
This commit is contained in:
@@ -101,7 +101,7 @@ bool test_reduce_no_index_impl(int init_method,
|
||||
size_t invariant_total_length = out.mDesc.GetElementSize();
|
||||
size_t reduce_total_length = in.mDesc.GetElementSize() / invariant_total_length;
|
||||
|
||||
std::size_t num_thread = std::thread::hardware_concurrency();
|
||||
std::size_t num_thread = 1;
|
||||
|
||||
switch(init_method)
|
||||
{
|
||||
|
||||
@@ -99,7 +99,7 @@ bool test_reduce_with_index_impl(int init_method,
|
||||
size_t invariant_total_length = out.mDesc.GetElementSize();
|
||||
size_t reduce_total_length = in.mDesc.GetElementSize() / invariant_total_length;
|
||||
|
||||
std::size_t num_thread = std::thread::hardware_concurrency();
|
||||
std::size_t num_thread = 1;
|
||||
|
||||
switch(init_method)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user