Skip to content

Commit

Permalink
[rename] Missed some gt::half --> gt::float16_t
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpfeil committed Sep 7, 2023
1 parent f53673f commit 88f100d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ option(GTENSOR_ALLOCATOR_CACHING "Enable naive caching allocators" ON)
option(GTENSOR_BOUNDS_CHECK "Enable per access bounds checking" OFF)
option(GTENSOR_ADDRESS_CHECK "Enable address checking for device spans" OFF)
option(GTENSOR_SYNC_KERNELS "Enable host sync after assign and launch kernels" OFF)
option(GTENSOR_ENABLE_FP16 "Enable 16-bit floating point type gt::half" OFF)
option(GTENSOR_ENABLE_FP16 "Enable 16-bit floating point type gt::float16_t" OFF)

if (GTENSOR_ENABLE_FORTRAN)
# do this early (here) since later the `enable_language(Fortran)` gives me trouble
Expand Down Expand Up @@ -337,7 +337,7 @@ else()
endif()

if (GTENSOR_ENABLE_FP16)
message(STATUS "${PROJECT_NAME}: gt::half is ENABLED")
message(STATUS "${PROJECT_NAME}: gt::float16_t is ENABLED")
target_compile_definitions(gtensor_${GTENSOR_DEVICE}
INTERFACE GTENSOR_ENABLE_FP16)
endif()
Expand Down

0 comments on commit 88f100d

Please sign in to comment.