Context update.
- Remove tls_deviceID. - Add first passing test. Change-Id: If3e2f254abf589028cfe4f9e6369745f04160de0
Cette révision appartient à :
@@ -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();
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur