Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/embree
/ enableUSMAllocTutorial
Function
enableUSMAllocTutorial
tutorials/common/alloc/alloc.cpp:17–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
__thread sycl::device* tls_device = nullptr;
16
17
void enableUSMAllocTutorial(sycl::context* context, sycl::device* device)
18
{
19
tls_context = context;
20
tls_device = device;
21
}
22
23
void disableUSMAllocTutorial()
24
{
Callers
1
create_device
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected