Merge pull request #5592 from hjelmn/v4.0.x_sc_emu
btl/vader: clean up debuging and squash warning
Этот коммит содержится в:
Коммит
4fd51a1563
@ -15,9 +15,7 @@
|
||||
#if OPAL_HAVE_ATOMIC_MATH_64
|
||||
static void mca_btl_vader_sc_emu_atomic_64 (int64_t *operand, volatile int64_t *addr, mca_btl_base_atomic_op_t op)
|
||||
{
|
||||
int64_t result;
|
||||
|
||||
fprintf (stderr, "Performing atomic operation %d on address %p\n", op, (void *) addr);
|
||||
int64_t result = 0;
|
||||
|
||||
switch (op) {
|
||||
case MCA_BTL_ATOMIC_ADD:
|
||||
@ -56,9 +54,7 @@ static void mca_btl_vader_sc_emu_atomic_64 (int64_t *operand, volatile int64_t *
|
||||
#if OPAL_HAVE_ATOMIC_MATH_32
|
||||
static void mca_btl_vader_sc_emu_atomic_32 (int32_t *operand, volatile int32_t *addr, mca_btl_base_atomic_op_t op)
|
||||
{
|
||||
int32_t result;
|
||||
|
||||
fprintf (stderr, "Performing atomic operation %d on address %p\n", op, (void *) addr);
|
||||
int32_t result = 0;
|
||||
|
||||
switch (op) {
|
||||
case MCA_BTL_ATOMIC_ADD:
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user