changed device code tests to work not to work as one

Change-Id: I0eec1eab19dda3b703bc3a0d778a6bbb2802a412
This commit is contained in:
Aditya Atluri
2017-01-27 09:20:14 -06:00
parent b37422d30b
commit 66dc2d42db
11 changed files with 116 additions and 10 deletions
@@ -19,6 +19,13 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/* HIT_START
* BUILD: %t %s ../test_common.cpp
* RUN: %t
* HIT_END
*/
#include <hip/hip_runtime.h>
#include <hip/math_functions.h>
#include "test_common.h"
@@ -130,3 +137,9 @@ static void compileOnHost()
{
double_precision_math_functions();
}
int main()
{
compileOnHost();
passed();
}