Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some interface to installer #23

Merged
merged 1 commit into from
Dec 29, 2023
Merged

add some interface to installer #23

merged 1 commit into from
Dec 29, 2023

Conversation

lipracer
Copy link
Owner

No description provided.

@@ -239,66 +240,43 @@ int XpuRuntimeWrapApi::xpuMemcpy(void* dst, const void* src, uint64_t size,
return XpuRuntimeWrapApi::instance().raw_xpu_memcpy_(dst, src, size, kind);
}

int XpuRuntimeWrapApi::xpuSetDevice(int devId) {
return XpuRuntimeWrapApi::instance().raw_xpu_set_device_id_(devId);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO:log backtrace

@lipracer lipracer force-pushed the dev branch 7 times, most recently from 0faff51 to b9dbfde Compare December 29, 2023 06:22
refactor and add pytest
@lipracer lipracer merged commit 5790ac1 into main Dec 29, 2023
1 check passed
lipracer added a commit that referenced this pull request Dec 29, 2023
Merge pull request #23 from lipracer/dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant