Skip to content

Commit c93c673

Browse files
matborzyszkowskiigcbot
authored andcommittedJan 17, 2025
Add PTL support
Add PTL support
1 parent bea8acd commit c93c673

File tree

112 files changed

+3018
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+3018
-58
lines changed
 

‎IGC/AdaptorCommon/API/igc.h

+15
Original file line numberDiff line numberDiff line change
@@ -206,5 +206,20 @@ typedef enum
206206
FCEXP_DISABLED = FCEXP_TOBE_DESIGNED
207207
} FCEXP_FLAG_t;
208208

209+
//////////////////////////////////////////////////////////////////////////
210+
/// @brief Structure for passing precompiled LLVM bytecode to IGC.
211+
namespace IGC
212+
{
213+
struct BIFModule
214+
{
215+
uint64_t m_ByteCodeSize = 0;
216+
const void* m_pLLVMBytecode = nullptr;
217+
218+
// These bits are opaque to the IGC.
219+
// They can be used to provide configuration data for
220+
// the function(s) in the LLVM from the bytecode.
221+
uint64_t m_ConfigBits = 0;
222+
};
223+
}
209224
#endif // __IGC_H
210225

‎IGC/AdaptorCommon/RayTracing/API/BVHInfo.h

+2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ namespace IGC
2121
bool hasFixedOffset = false;
2222
size_t offset = 0;
2323

24+
bool uses64Bit = false;
2425
inline bool operator==(const BVHInfo& RHS) const
2526
{
2627
return (
28+
uses64Bit == RHS.uses64Bit &&
2729
hasFixedOffset == RHS.hasFixedOffset &&
2830
offset == RHS.offset
2931
);

0 commit comments

Comments
 (0)