Skip to content

Commit

Permalink
more targets
Browse files Browse the repository at this point in the history
  • Loading branch information
aghaeifar committed Jul 3, 2024
1 parent e28c1be commit 87649d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if(CUDA_FOUND)
# set(CUDA_ARCH "-arch=sm_75" CACHE STRING "CUDA architecture")
# set_property(TARGET ${target} PROPERTY CUDA_ARCHITECTURES native)
# set_property(TARGET ${target} PROPERTY CUDA_ARCHITECTURES 70 75 80 86 90)
set(CMAKE_CUDA_ARCHITECTURES 60 61 62 70 72 75 86)
set(CMAKE_CUDA_ARCHITECTURES 70 72 75 86 89 90)
# set_property(TARGET ${target} PROPERTY CUDA_SEPARABLE_COMPILATION ON)
# Add CUDA and OpenMP flags
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} ${CUDA_ARCH} -Xcompiler=${OpenMP_CXX_FLAGS}")
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#define SPINWALK_VERSION_MAJOR 1
#define SPINWALK_VERSION_MINOR 13
#define SPINWALK_VERSION_PATCH 6
#define SPINWALK_VERSION_PATCH 7

//---------------------------------------------------------------------------------------------
//
Expand Down
4 changes: 2 additions & 2 deletions tests/plot_results.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

m1_t = zeros(numel(scales), 1);
for s=1:numel(scales)
ind = ismember(T(s,:,end), tissue_type);
ind = ismember(T(s,:,end-1), tissue_type);
m1_f = m1(s, ind(:), end-1, :);
m1_f = squeeze(m1_f);
m1_t(s) = abs(complex(sum(m1_f(:,1)), sum(m1_f(:,2))));
Expand Down Expand Up @@ -94,7 +94,7 @@
T = permute(h5read(fname{i}, '/T'), 4:-1:1);
m1_t = zeros(numel(scales), size(m1, dim_echo)-1);
for s=1:numel(scales)
ind = ismember(T(s,:,end), tissue_type);
ind = ismember(T(s,:,end-1), tissue_type);
m1_f = m1(s, ind(:), 1:end-1, :);
m1_f = squeeze(m1_f);
m1_t(s, :) = abs(complex(sum(m1_f(:,:,1)), sum(m1_f(:,:,2))));
Expand Down

0 comments on commit 87649d9

Please sign in to comment.