You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c2e8f0e
Browse filesBrowse the repository at this point in the historyBrowse files
Fix the install path check and guard device inputs
Two problems in the new verification path.
The install check looked for the delegate under a hardcoded lib directory, but the
install honors the platform library directory, which is lib64 on several
distributions. A completely successful build would have been reported as a failed
install. The configure now pins the directory and the check searches for the file
rather than assuming where it landed.
The device-input path handed a device pointer to the runtime without checking how
that input is supplied. A memory-planned input is copied into the plan with a host
memcpy, so a device pointer there would be read from the host. Only a non-planned
input has its pointer aliased, which is what makes device memory safe. The runner
now reports that clearly instead of corrupting memory.
Test plan: confirmed the install check finds the library when it lands in either
lib or lib64, and that a host-side copy of a device pointer is what the runtime
would do for a memory-planned input.
0 commit comments