Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XpuOS/xsched
/ main
Function
main
platforms/example/test/main/vecadd.cpp:6–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
#include
"xsched/opencl/hal.h"
5
6
int main()
7
{
8
VecAddTask task(CL_DEVICE_TYPE_GPU, 4096, 1024, true);
9
task.Run();
10
task.CheckResult();
11
}
Callers
nothing calls this directly
Calls
2
Run
Method · 0.45
CheckResult
Method · 0.45
Tested by
no test coverage detected