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

test: remove aclRtGetDevice #756

Closed
wants to merge 4 commits into from

Conversation

hellozmz
Copy link
Collaborator

No description provided.

@hellozmz hellozmz changed the title test_main test: remove aclRtGetDevice Mar 30, 2024
@hellozmz
Copy link
Collaborator Author

现在看来,一定要先set一次,这个是为什么呢???

setDevice(-1);
DIPU_CALLACLRT(::aclrtGetDevice(&currentDeviceIndex))
int device_index = 0;
DIPU_CALLACLRT(::aclrtSetDevice(device_index))
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

模拟原来代码逻辑,没有理论依据

@hellozmz hellozmz closed this Apr 1, 2024
@hellozmz hellozmz reopened this Apr 1, 2024
@lljbash lljbash marked this pull request as draft April 2, 2024 09:38
@hellozmz hellozmz closed this Apr 22, 2024
xuq7410 pushed a commit to xuq7410/deeplink.framework that referenced this pull request May 23, 2024
* feature: pick card on ci
* recovery the wrong previous modification.
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.

2 participants