Context update.

- Remove tls_deviceID.
- Add first passing test.

Change-Id: If3e2f254abf589028cfe4f9e6369745f04160de0
This commit is contained in:
Ben Sander committed 2016-08-10 08:59:47 -05:00
1 bovenliggende 1786b120ed
commit 89164259ab
8 files changed
+107 -64

No files matched your search

+2 -2
Bestand weergeven
@@ -27,12 +27,12 @@ int main(int argc, char *argv[])
{
HipTest::parseStandardArguments(argc, argv, true);
HIPCHECK(hipInit());
HIPCHECK(hipInit(0));
hipDevice_t device;
hipCtx_t ctx;
HIPCHECK(hipDeviceGet(&device, 1));
HIPCHECK(hipDeviceGetFromId(&device, 0));
HIPCHECK(hipCtxCreate(&ctx, 0, device));
passed();