Skip to content

Commit

Permalink
Merge pull request #1411 from ROCm/hotfix_swdev_438929
Browse files Browse the repository at this point in the history
Hotfix: Remove passing the device set to lazy load API
  • Loading branch information
rkamd committed Apr 3, 2024
2 parents afdd246 + 3633c1f commit cefa4a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions library/src/tensile_host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ namespace
auto deviceArch = getLazyLoadingArch(devId);
if(tensileDeviceSet.find(deviceArch) == tensileDeviceSet.end())
{
//populate the arch list for lazy loading
//future work: populate the arch list for heterogeneous support
tensileDeviceSet.insert(deviceArch);
//populate device property map, used in finding solutions based on arch
HIP_CHECK_EXC(hipGetDeviceProperties(&prop, devId));
Expand Down Expand Up @@ -900,8 +900,7 @@ namespace
= std::async(std::launch::async,
Tensile::LoadLibraryFilePreload<Tensile::ContractionProblem>,
tensileLibraryPath,
std::vector<Tensile::LazyLoadingInit>{tensileDeviceSet.begin(),
tensileDeviceSet.end()});
std::vector<Tensile::LazyLoadingInit>{});
return 0;
}();
}
Expand Down

0 comments on commit cefa4a9

Please sign in to comment.