[all-commits] [llvm/llvm-project] 8193b2: Revert "[HIP] Allow std::malloc in device function"
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Wed Jun 14 13:34:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8193b291cefa732dd37fc917bd2921385e639d21
https://github.com/llvm/llvm-project/commit/8193b291cefa732dd37fc917bd2921385e639d21
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M clang/lib/Headers/__clang_hip_runtime_wrapper.h
M clang/test/Headers/Inputs/include/cstdlib
M clang/test/Headers/Inputs/include/math.h
R clang/test/Headers/Inputs/include/sstream
R clang/test/Headers/Inputs/include/stdexcept
M clang/test/Headers/hip-header.hip
Log Message:
-----------
Revert "[HIP] Allow std::malloc in device function"
This reverts commit f5033c37025db46df95a7859d7189d09b5e3433e.
revert this patch since it causes regressions for Tensile. A
reduced test case is:
int main()
{
std::shared_ptr<float> a;
a = std::shared_ptr<float>(
(float*)std::malloc(sizeof(float) * 100),
std::free
);
return 0;
}
Will fix the issue then re-commit.
Fixes: SWDEV-405317
More information about the All-commits
mailing list