Updates docs for hipHcc* functions, move to header

Αυτή η υποβολή περιλαμβάνεται σε:
Ben Sander committed 2016-09-22 13:05:47 -05:00
1 γονέας 470a1583d1
υποβολή b4bc101c96
3 files changed
+5 -6

No files matched your search

@@ -7,11 +7,15 @@
#include <hc.hpp>
/**
* @brief Return hc::accelerator associated with the specified deviceId
* @return #hipSuccess, #hipErrorInvalidDevice
*/
hipError_t hipHccGetAccelerator(int deviceId, hc::accelerator *acc);
/**
* @brief Return hc::accelerator_view associated with the specified stream
*
* If stream is 0, the accelerator_view for the default stream is returned.
* @return #hipSuccess
*/
hipError_t hipHccGetAcceleratorView(hipStream_t stream, hc::accelerator_view **av);
#endif