f19f2248bf
APIs: hipInit, hipCtxCreate. Track TLS default ctx. Set deviceID now changes the ctx. Add first context test. Change-Id: If1cb9989b5a04a36147e25e84904336c7b6f3d88
10 lines
266 B
CMake
10 lines
266 B
CMake
cmake_minimum_required (VERSION 2.6)
|
|
|
|
# Functions for kernel attributes (grid_launch, __launch_bounds__, etc)
|
|
project (kernel)
|
|
|
|
include_directories( ${HIPTEST_SOURCE_DIR} )
|
|
|
|
build_hip_executable_libcpp (hipCtx_simple hipCtx_simple.cpp)
|
|
make_test(hipCtx_simple " " )
|