Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp
- index 12c6b3f49c43..82869141a451 100644
- --- a/clang/lib/CodeGen/CodeGenAction.cpp
- +++ b/clang/lib/CodeGen/CodeGenAction.cpp
- @@ -1009,6 +1009,8 @@ GetOutputStream(CompilerInstance &CI, StringRef InFile, BackendAction Action) {
- llvm_unreachable("Invalid action!");
- }
- +#include <cstdio>
- +
- std::unique_ptr<ASTConsumer>
- CodeGenAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
- BackendAction BA = static_cast<BackendAction>(Act);
- @@ -1025,6 +1027,7 @@ CodeGenAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
- if (LinkModules.empty())
- for (const CodeGenOptions::BitcodeFileToLink &F :
- CI.getCodeGenOpts().LinkBitcodeFiles) {
- + printf("Loading bitcode: %s\n", F.Filename.c_str());
- auto BCBuf = CI.getFileManager().getBufferForFile(F.Filename);
- if (!BCBuf) {
- CI.getDiagnostics().Report(diag::err_cannot_open_file)
- diff --git a/llvm/lib/Support/TargetParser.cpp b/llvm/lib/Support/TargetParser.cpp
- index a7eccb67e6df..5f71461552ce 100644
- --- a/llvm/lib/Support/TargetParser.cpp
- +++ b/llvm/lib/Support/TargetParser.cpp
- @@ -122,6 +122,8 @@ constexpr GPUInfo AMDGCNGPUs[] = {
- {{"gfx1103"}, {"gfx1103"}, GK_GFX1103, FEATURE_FAST_FMA_F32|FEATURE_FAST_DENORMAL_F32|FEATURE_WAVE32},
- };
- +#include <cstdio>
- +
- const GPUInfo *getArchEntry(AMDGPU::GPUKind AK, ArrayRef<GPUInfo> Table) {
- GPUInfo Search = { {""}, {""}, AK, AMDGPU::FEATURE_NONE };
- @@ -132,6 +134,8 @@ const GPUInfo *getArchEntry(AMDGPU::GPUKind AK, ArrayRef<GPUInfo> Table) {
- if (I == Table.end())
- return nullptr;
- +
- + printf("Getting arch entry: %s, %s\n", I->Name.str().c_str(), I->CanonicalName.str().c_str());
- return I;
- }
- ---
- [LuxCore] [2.635] Configuring 2 CPU render threads
- [LuxRays] [2.635] [OpenCL device::AMD Radeon R9 390 Series (hawaii, LLVM 16.0.0, DRM 3.42, 5.15.0-50-generic)Intersect] QBVH max. stack size: 24
- [LuxRays] [2.635] [OpenCL device::AMD Radeon R9 390 Series (hawaii, LLVM 16.0.0, DRM 3.42, 5.15.0-50-generic)Intersect] OpenCL image support is not available
- [LuxRays] [2.635] [OpenCL device::AMD Radeon R9 390 Series (hawaii, LLVM 16.0.0, DRM 3.42, 5.15.0-50-generic)Intersect] QBVH buffer size: 3873Kbytes
- [LuxRays] [2.636] [OpenCL device::AMD Radeon R9 390 Series (hawaii, LLVM 16.0.0, DRM 3.42, 5.15.0-50-generic)Intersect] QuadTriangle buffer size: 12112Kbytes
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Loading bitcode: install/share/clc/hawaii-amdgcn-mesa-mesa3d.bc
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- Getting arch entry: gfx701, gfx701
- [LuxRays] [2.895] [OpenCL device::AMD Radeon HD 8500 series (oland, LLVM 16.0.0, DRM 3.42, 5.15.0-50-generic)Intersect] QBVH max. stack size: 24
- [LuxRays] [2.895] [OpenCL device::AMD Radeon HD 8500 series (oland, LLVM 16.0.0, DRM 3.42, 5.15.0-50-generic)Intersect] OpenCL image support is not available
- [LuxRays] [2.895] [OpenCL device::AMD Radeon HD 8500 series (oland, LLVM 16.0.0, DRM 3.42, 5.15.0-50-generic)Intersect] QBVH buffer size: 3873Kbytes
- [LuxRays] [2.895] [OpenCL device::AMD Radeon HD 8500 series (oland, LLVM 16.0.0, DRM 3.42, 5.15.0-50-generic)Intersect] QuadTriangle buffer size: 12112Kbytes
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Loading bitcode: install/share/clc/oland-amdgcn-mesa-mesa3d.bc
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- Getting arch entry: gfx602, gfx602
- [LuxCore] [3.170] [PathOCLRenderEngine] OpenCL task count: 524288
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement